strapi / starters-and-templates

Monorepo for all official Strapi v4 templates
MIT License
327 stars 117 forks source link

next-corporate starter: Unable to add page #72

Open webhype opened 1 year ago

webhype commented 1 year ago

Reiterating by reference this issue https://github.com/strapi/strapi-starter-next-corporate/issues/76 which still exists and is current, almost one year later, in January 2023, with the latest version of next-corporate starter and Strapi v4.5.6 and the latest version of Postgres.

The backend server error thrown is:

[components_meta_metadata" ("meta_description", "meta_title", "twitter_card_type") 
values ($1, $2, $3) returning "id" -](error: insert into "components_meta_metadata" 
("meta_description", "meta_title", "twitter_card_type") values ($1, $2, $3) returning "id"
 - duplicate key value violates unique constraint "components_meta_metadata_pkey")
webhype commented 1 year ago

This seems to be the same issue; it happens on Postgresql 14 after "mass imports" such as when using the Strapi starters: https://github.com/strapi/strapi/issues/12493 - there's a workaround posted there.