Hi Wesly, Did you take a backup of your database prior to upgrade, or is this on a staging server?
Christian -- Christian Hammond - [email protected] Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Sat, Nov 14, 2015 at 1:47 PM, Wesly Chen <[email protected]> wrote: > # easy_install -U ReviewBoard > run successfully. > > when upgrade the site, I got the error. My Linux system is CentOS 6.5 > 64-bit > > # rb-site upgrade /var/www/reviews.adara.com > Rebuilding directory structure > Updating database. This may take a while. > > The log output below, including warnings and errors, > can be ignored unless upgrade fails. > > ------------------ <begin log output> ------------------ > Creating tables ... > Creating table accounts_trophy > Creating table attachments_fileattachmenthistory > Creating table diffviewer_rawfilediffdata > Creating table notifications_webhooktarget_repositories > Creating table notifications_webhooktarget > Creating table webapi_webapitoken > Upgrading Review Board from 2.0.20 to 2.5.1.1 > There are unapplied evolutions for accounts. > There are unapplied evolutions for attachments. > There are unapplied evolutions for diffviewer. > There are unapplied evolutions for notifications. > There are unapplied evolutions for reviews. > There are unapplied evolutions for webapi. > Adding baseline version for new models > Evolutions in notifications baseline: webhooktarget_extra_state, > webhooktarget_extra_data_null > Project signature has changed - an evolution is required > Installing custom SQL ... > Installing indexes ... > Installed 0 object(s) from 0 fixture(s) > > ERROR:root:Unexpected error: u'index_together' > Traceback (most recent call last): > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 65, in handle > self.evolve(*app_labels, **options) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 125, in evolve > sql.extend(self.evolve_app(app)) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 164, in evolve_app > app_mutator.run_mutations(mutations) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 279, in run_mutations > self.run_mutation(mutation) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 268, in run_mutation > model_mutator.run_mutation(mutation) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 165, in run_mutation > mutation.mutate(self, self.create_model()) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutations.py", > line 785, in mutate > mutator.change_meta(self, self.prop_name, self.new_value) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 136, in change_meta > 'old_value': self.model_sig['meta'][prop_name], > KeyError: u'index_together' > Traceback (most recent call last): > File "/usr/bin/rb-site", line 9, in <module> > load_entry_point('ReviewBoard==2.5.1.1', 'console_scripts', > 'rb-site')() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.1.1-py2.6.egg/reviewboard/cmdline/rbsite.py", > line 1922, in main > command.run() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.1.1-py2.6.egg/reviewboard/cmdline/rbsite.py", > line 1725, in run > site.migrate_database() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.1.1-py2.6.egg/reviewboard/cmdline/rbsite.py", > line 452, in migrate_database > self.run_manage_command("evolve", ["--noinput", "--execute"]) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.1.1-py2.6.egg/reviewboard/cmdline/rbsite.py", > line 676, in run_manage_command > execute_from_command_line([__file__, cmd] + params) > File > "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", > line 399, in execute_from_command_line > utility.execute() > File > "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/__init__.py", > line 392, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", > line 242, in run_from_argv > self.execute(*args, **options.__dict__) > File > "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/management/base.py", > line 285, in execute > output = self.handle(*args, **options) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 65, in handle > self.evolve(*app_labels, **options) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 125, in evolve > sql.extend(self.evolve_app(app)) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/management/commands/evolve.py", > line 164, in evolve_app > app_mutator.run_mutations(mutations) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 279, in run_mutations > self.run_mutation(mutation) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 268, in run_mutation > model_mutator.run_mutation(mutation) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 165, in run_mutation > mutation.mutate(self, self.create_model()) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutations.py", > line 785, in mutate > mutator.change_meta(self, self.prop_name, self.new_value) > File > "/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg/django_evolution/mutators.py", > line 136, in change_meta > 'old_value': self.model_sig['meta'][prop_name], > KeyError: u'index_together' > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://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. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
