I'm attempting to migrate an existing ReviewBoard database from 1.7.27 to
2.5.2, on a CentOS 7.1 system using sgallagher's RPMs.
The error looks like a permission problem, but on same system, I am able to
create a new site with "rb-site install" and it works nicely.
I then dropped dropped the reviewboard database, created a new one, and
restored from mysqldump of 1.7.27 data. That's where I run into trouble.
Any suggestions on where to look to debug this? The --debug flag did not
seem to make any difference, BTW.
# rb-site --debug upgrade rb
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.#sql-4db_8'
(errno: 150)")
Press Enter to continue^CTraceback (most recent call last):
File "/bin/rb-site", line 9, in <module>
load_entry_point('ReviewBoard==2.5.2', 'console_scripts', 'rb-site')()
File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py",
line 1922, in main
command.run()
File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py",
line 1724, in run
site.sync_database()
File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py",
line 442, in sync_database
force_wait=True)
File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py",
line 1096, in error
input('Press Enter to continue')
KeyboardInterrupt
Thanks,
-Ralph
--
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.