You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on Production AWS , everytime we run the docker , it removes all the data from app
Before opening this issue, I have:
Upgraded to the latest version of the @shopify packages
Affected @shopify/shopify-* package and version:
Node version:
Operating system:
Set { logger: { level: LogSeverity.Debug } } in my configuration
Found a reliable way to reproduce the problem that indicates it's a problem with the package
Looked for similar issues in this repository
Expected behavior
What do you think should happen?
It should show the previous data as it is
Actual behavior
It is removing all the data from app evertime the docker is run
What actually happens?
Steps to reproduce the problem
deploy this docker file on AWS
make changes to app and redeploy
We also tried removing this line in production , but than it shows the tables are already exist and throwing errors during deployment You'll probably want to remove this in production, it's here to make it easier to test things!
RUN rm -f prisma/dev.sqlite
The text was updated successfully, but these errors were encountered:
Hi @pravin-ptg, thank you for opening the issue and for the feedback.
We're planning to improve how deploying works. In the meanwhile may I recommend switching away from sqlite so you don't rely on a file in the codebase? You can also try changing your docker-start script to not run setup.
Hi @pravin-ptg, thank you for opening the issue and for the feedback. We're planning to improve how deploying works. In the meanwhile may I recommend switching away from sqlite so you don't rely on a file in the codebase? You can also try changing your docker-start script to not run setup.
Hello Matt, Yes , we have already started replacing it with MySQL for now.
Thank You
Issue summary
When running on Production AWS , everytime we run the docker , it removes all the data from app
Before opening this issue, I have:
@shopify
packages@shopify/shopify-*
package and version:{ logger: { level: LogSeverity.Debug } }
in my configurationExpected behavior
What do you think should happen?
It should show the previous data as it is
Actual behavior
It is removing all the data from app evertime the docker is run
What actually happens?
Steps to reproduce the problem
We also tried removing this line in production , but than it shows the tables are already exist and throwing errors during deployment
You'll probably want to remove this in production, it's here to make it easier to test things!
RUN rm -f prisma/dev.sqlite
The text was updated successfully, but these errors were encountered: