Hi Dan, This sort of information actually comes at a level lower than what we deal with. It's during Django's table building process, and we have no insight or control into any of that. I agree that this would be *very* nice (and we need to document it), but as for creating a better error or knowing ahead of time, there's no easy solution to that right now.
I'll think about this.. Christian -- Christian Hammond - [email protected] Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Jan 19, 2016 at 3:04 AM, Daniel Laird <[email protected] > wrote: > I too had this issue (MySQL default changing from MyISAM to InnoDB). > Although I understand that this is caused by MySQL version being updated > at the same time as a Reviewboard Update (and migrate). > But would there be any way for the 'upgrade' logic of Reviewboard to post > a more useful error message (DB Table formats dont match) or something like > that. > As I am sure it will save a lot of time for some people (but I dont have > the skills to make these changes sadly) > > Dan > > > On Friday, 15 January 2016 07:27:08 UTC, Ben Cooksley wrote: >> >> Hi everyone, >> >> While upgrading from Reviewboard 2.0.17 to 2.5.2 i've encountered a >> few SQL errors. >> Reviewboard itself appears to boot and run fine though, based on the >> nature of the errors I suspect it's a case of index name collisions. >> >> Output from the upgrade process is below: >> >> (virtualenv)reviewboard@mimi:~$ rb-site upgrade >> /srv/www/reviewboard/git.reviewboard.kde.org/ >> 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 >> >> [!] There was an error synchronizing the database. Make sure the >> database is created and has the appropriate permissions, and then >> continue. >> [!] Details: (1005, "Can't create table 'reviewboard_git.#sql- >> 331d_214215' (errno: 150)") >> >> Press Enter to continue >> Creating tables ... >> Creating table attachments_fileattachmenthistory >> Creating table diffviewer_rawfilediffdata >> Creating table notifications_webhooktarget_repositories >> >> [!] There was an error synchronizing the database. Make sure the >> database is created and has the appropriate permissions, and then >> continue. >> [!] Details: (1005, "Can't create table 'reviewboard_git.#sql- >> 331d_214215' (errno: 150)") >> >> Press Enter to continue >> Creating tables ... >> Creating table notifications_webhooktarget >> >> [!] There was an error synchronizing the database. Make sure the >> database is created and has the appropriate permissions, and then >> continue. >> [!] Details: (1005, "Can't create table 'reviewboard_git.#sql- >> 331d_214215' (errno: 150)") >> >> Press Enter to continue >> Creating tables ... >> Creating table webapi_webapitoken >> >> [!] There was an error synchronizing the database. Make sure the >> database is created and has the appropriate permissions, and then >> continue. >> [!] Details: (1005, "Can't create table 'reviewboard_git.#sql- >> 331d_214215' (errno: 150)") >> >> Press Enter to continue >> Creating tables ... >> Upgrading Review Board from 2.0.17 to 2.5.2 >> 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) >> CommandError: Error applying evolution: (1005, "Can't create table >> 'reviewboard_git.#sql-331d_214238' (errno: 150)") >> >> Any pointers? >> >> Cheers, >> Ben Cooksley >> KDE Sysadmin >> > -- > > --- > You received this message because you are subscribed to the Google Groups > "reviewboard-dev" 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.
