Hi Bogdan, Re-running the upgrade is guaranteed to fail, because the database is in an inconsistent state.
The problem isn’t so much an upgrade from 1.5.x to 2.0.x.. Rather, it’s anything < 2.0 to 2.0.4. Fortunately, I found the cause, and have put out a django-evolution 0.7.3 release. You should be able to upgrade that: sudo easy_install -U django_evolution And then restore your database dump and re-upgrade. It should work. (Please let me know either way.) We’ll be putting out a 2.0.5 shortly that requires this version. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On July 25, 2014 at 2:06:23 AM, Bogdan Berezovyi ([email protected]) wrote: Hi Christian, Yes I have a backup, I'm playing with it on dev server, so can reimport at any time. I've also tried upgrading from 1.5.3 to 1.6.22 frist (as an intermidiary step) - this went smoothly Next upgrading from 1.6.22 to 2.0.4 gives me the same error first, but I'm able to rerun upgrade (no traceback) and then it gives the other error: 1. Error applying evolution: (1051, "Unknown table 'auth_message'") solution: Recreate table 2. CommandError: Error applying evolution: (1060, "Duplicate column name 'permissions'") solution: alter table accounts_localsiteprofile drop column permissions; 3. CommandError: Error applying evolution: (1060, "Duplicate column name 'timezone'") ... Should I follow the rabbit hole or just redump my database? Thanks, Bogdan On Thursday, July 24, 2014 10:43:49 PM UTC+3, Christian Hammond wrote: Hi, Do you have a backup of your 1.5.3 database? You’ll need one at this point, since the new database is in an inconsistent state. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On July 24, 2014 at 11:48:49 AM, Bogdan Berezovyi ([email protected]) wrote: Hi, I'm having trouble upgrading existing reviewboard 1.5.3 to the new release 2.0.4. After importing mysql dump and running rb-site upgrade I get the following error: CommandError: Error applying evolution: (1061, "Duplicate key name 'scmtools_repository_97c59b73'") I tried removing index as per one of earlier thread with similar error by running drop index scmtools_repository_97c59b73 on scmtools_repository; But this didn't help. If I rerun upgrade it crashes with traceback. Any help would be much appreciated. Bogdan -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
