New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't import entire db when using postgres #89
Comments
I'm encountering the same issue. |
@landoephan one workaround that just worked for me is individually importing/exporting each model instead of the whole DB at once. I was able to import it all, just a tad more tediously. Maybe that'll work for you too? |
Same problem here cannot import when using postgres |
Same here. |
same problem here. exporting from Postgres is successful, but when importing locally into the default SQLite database is when that same |
+10 |
+1 |
Experiencing the same thing |
I'm experiencing the same issue as a Super Admin. After selecting a file it throws a Could this be related to the recent Strapi CMS update and a change in user permissions? |
When you imported the DB , what deepness level you set or you set it to none? |
I can't test it at the moment since strapi always crashes after a while of loading. I guess my database became too big already |
@landoephan I did came across that too |
Same here. Tried to import locally on a SQLite database, and on a PostgreSQL database. Neither worked. |
Same here. |
+1. Production db is postgres, development is sqlite, I can export from production but can't import to development. I see the same errors mentioned in the first post. |
Same issue here. |
This issue is fixed in version 1.19.0! |
I confirm this is working for me now. Thanks! <3 |
@Baboo7 thanks for the update. I can see 500 error response while uploading: Payload: Do you know what could be a problem? FYI: export works fine Thanks! |
Discussion moved to #113 |
Describe the bug
When I export the entire db from a postgres db and try to import it again I get a 403 error on
POST /import-export-entries/import
and a 500 error afterwards onGET http://localhost:1337/import-export-entries/import/model-attributes/custom:db
The logs from my strapi application look like this:
In the browser console I'm getting the following error messages:
Three requests are made:
1.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The import from a complete db export works. The data is imported in the database and visible in the admin panel
Additional context
Version: "strapi-plugin-import-export-entries": "^1.18.0"
database version: "pg": "^8.8.0"
I'm a superuser in my postgres db
The text was updated successfully, but these errors were encountered: