Good news! Turns out the dump has been truncated by the allowed_packet_size
for mysqldump (problem with the interface between the seat and keyboard).
The upgrade succeeded, however I had to alter the engine type of all the
tables from myisam to innodb.
Can you advise on updating to mod_wsgi? Is there a way to get reviewboard
to update it for me, just kidding, here is what I have:
os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
os.environ['PYTHON_EGG_CACHE'] = "/var/www/review.company.com/tmp/egg_cache"
os.environ['HOME'] = "/var/www/review.company.com/data"
os.environ['PYTHONPATH'] = '/var/www/review.company.com/conf:' +
sys.path = ['/var/www/review.company.com/conf'] + sys.path
application = django.core.handlers.wsgi.WSGIHandler()
apache vhost config:
# Error handlers
ErrorDocument 500 /errordocs/500.html
Options -Indexes +FollowSymLinks
Allow from all
# Prevent the server from processing or allowing the rendering of
# certain file types.
AddType text/plain .html .htm .shtml .php .php3 .php4 .php5
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht
.jsp .sh .rb
php_flag engine off
# Alias static media requests to filesystem
Alias /media "/var/www/review.vmem.com/htdocs/media"
Alias /static "/var/www/review.vmem.com/htdocs/static"
Alias /errordocs "/var/www/review.vmem.com/htdocs/errordocs"
For posterity's sake, here is my upgrade log,
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 extensions_registeredextension
Creating table accounts_localsiteprofile
Creating table attachments_fileattachment
Creating table diffviewer_filediffdata
Creating table hostingsvcs_hostingserviceaccount
Creating table reviews_fileattachmentcomment
Creating table site_localsite_users
Creating table site_localsite_admins
Creating table site_localsite
Upgrading Review Board from 1.5.2 to 1.7.14
There are unapplied evolutions for auth.
There are unapplied evolutions for sessions.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Adding baseline version for new models
Evolutions in attachments baseline: file_attachment_orig_filename,
Evolutions in hostingsvcs baseline: account_hosting_url,
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Registering new SCM Tool Plastic SCM
(reviewboard.scmtools.plastic.PlasticTool) in database
Evolution could not be simulated, possibly due to raw SQL mutations
------------------- <end log output> -------------------
Resetting in-database caches.
has changed. You will need to make manual changes to
your web server configuration.
For Apache, you will need to add:
Alias /review/static "/var/www/review.company.com/htdocs/static"
alias.url = (
"/review/static" => "/var/www/review.company.com/htdocs/static",
url.rewrite-once = (
"^(/review/static/.*)$" => "$1",
Once you have made these changes, type the following
to resolve this:
$ rb-site manage /var/www/review.company.com resolve-check static-media
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
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.