-
Notifications
You must be signed in to change notification settings - Fork 687
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
Migration error on upgrade when database is reset via manage.py #4839
Comments
In case this happens to someone in dev/testing, deleting (or moving) the database in |
A proper fix won't make it to 1.1.0 but proposed a string change in #4850 for risk mitigation. |
If no one (in dev) uses this functionality, and the same functionality is achieved by simply deleting the database locally and reconfiguring the securedrop-app-code package, we should consider simply removing the code. |
will |
Update for our future selves that |
I ran into this issue today and #4839 (comment) worked for me |
Description
If a database was reset with
./manage.py reset
, when upgrading to SecureDrop 1.0.0, the postint task will fail during the SQLAlchemy migration with the following error:Steps to Reproduce
./manage.py reset
sudo dpkg-reconfigure securedrop-app-code
Expected Behavior
Actual Behavior
Comments
Because manage.py is mostly dev-facing, this should not affect production instances.
The text was updated successfully, but these errors were encountered: