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
Upgrade failed: django.db.utils.OperationalError: (1091, "Can't DROP 'description_html'; check that column/key exists") #3953
Comments
Solved this one by adding the field to
|
What's 2.5.2? |
Wasn't 2.5.1 the last version before 2.6.0? I might be mistaken there... |
Sorry to confuse you..... I'm upgrading from 2.5.1: build = 25120 |
Ok, thank you. I'll look into this tomorrow. |
Tomorrow is 2 days ago... Any clue to what is causing this issue? |
@princeofnaxos apologies it has taken some time to address this issue. We are currently working on a 2.7.1 release to address bugs and migration issues in the 2.7.0 release. I believe this may be fixed in #4037 - would you be willing to test this for us? |
@princeofnaxos im going to close this ticket as i believe the problem will be resolved in the 2.6.1 release - which we will be releasing in the next few days. If the problem persists please re-open ticket and we can investigate further. |
Reopening as @princeofnaxos reported this still present on the mailing list. From the traceback it seems it's a 2.6.2 release Traceback (most recent call last):
File "/var/www/pootle/env/bin/pootle", line 9, in <module>
load_entry_point('Pootle==2.6.2', 'console_scripts', 'pootle')()
File "/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 171, in main
django_settings_module='pootle.settings') |
@princeofnaxos I think to make this fix really quick it would be great if you could share your DB with one of the devs. |
@princeofnaxos ive tested out your db and it seems that the migrations have some problems prior to the 2.5 to 2.6 upgrade. Not sure how its happened, but i can probably help to get through the migration. ping me on IRC (freenode#pootle) or on gitter.im/translate/pootle and ill try and help |
hi @princeofnaxos afaict this issue is specific to your db - ping me on gitter if you want to follow up, or reopen if you think the problem is wider and ill happily follow up. |
Upgrading from v2.5.1 to 2.6.0,
pootle setup
fails with this error message;django.db.utils.OperationalError: (1091, "Can't DROP 'description_html'; check that column/key exists")
I checked the database for that field, but it isn't there.
How do I proceed?
The text was updated successfully, but these errors were encountered: