Skip to content

Bootstrap function in plugin "users-permissions" failedΒ #4178

@merijnponzo

Description

@merijnponzo

Hello,

When I upgraded from 3.0.0-beta.13 to beta.16.7 I got errors when I try to reconnect my database - on a clean installation, after strapi develop. So it won't boot

error Bootstrap function in plugin "users-permissions" failed
error error: duplicate key value violates unique constraint "users-permissions_permission_pkey"

and

Bootstrap function in plugin "content-manager" failed
duplicate key value violates unique constraint "core_store_pkey"
  1. create strapi-app my-project
  2. make sure a new strapi app install is working
  3. copy your api, config and extensions folder to your new install
    (make sure to install any extra plugins like strapi-graphql)
    (make sure this app is a few versions behind, and already has content, edited permissions etc)
  4. strapi develop

My strapi application is a bit behind, but I would expect that the latest version would work with my database from 3.0.0-beta.13

NodeJs v12.11.1
NPM 6.11.3
Strapi beta.16.7
Database:Postgres
Operating system:Mac

Another upgrade method I tried is simply replace 3.0.0-beta.13 to 3.0.0-beta.16.7 in my package.json, remove my package-lock and node_modules and npm install. But this gave me the same error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions