-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Bug report
Describe the bug
Moved my strapi build from digitaloceans one click service to aws self-installed strapi on ubuntu 18. with postgres rds.
Database was migrated using aws datamigration service. Content was successfully migrated. There were some initial errors, but repeat of the process with truncate enabled allowed the database to be moved successfully.
Strapi is showing the data, but when trying to edit the migrated content you get met with the error "Invalid Input Data Please Verify Unique Constraints ".
Steps to reproduce the behaviour
- Open a digitalocean one click strapi app add some content.
- Set up aws strapi server and database and s3 bucket and steps.
- move database from digitalocean to aws.
- try to change content after logging in.
Expected behavior
No error and successful edit of the fields.
System
- Node.js version: 10.19.0
- NPM version: 6.14.4
- Strapi version: 3.46
- Server: AWS EC2 Ubuntu 18
- Database: postgres on aws rds
- Operating system: windows os
Additional context
from the backside the postgres database is giving a 400 error. But if i were to add a item to the collection content, then that item works fine. I just cant edit or change SOME fields in the cms for content that was migrated over.
Ive tried with node_env to both dev and production.
ive tried strapi development mode.
ive tried strapi production.
ive tried updating all the npm packages and updating to latest strapi build.
still getting the same error.
is this issue related to security groups on aws? or the s3 bucket for file uploads?
any help is appreciated.