cannot complete update from 2.5.10 to 3.0.15

15 views
Skip to first unread message

Udo Hain

unread,
Oct 21, 2019, 10:52:09 AM10/21/19
to Review Board Community
Hi,

I am using a Bitnami VM to run ReviewBoard 2.5.10. Now I want to update to version 3.0.15 inside this VM. I performed the command

easy_install -U ReviewBoard

and then

root@revboard:~# PATH=/opt/reviewboardpowerpack-2.5.10-1/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@revboard
:~# rb-site upgrade /opt/reviewboardpowerpack-2.5.10-1/apps/reviewboardpowerpack/htdocs/rb-sites/reviewboard
Rebuilding directory structure
Upgrading site settings_local.py
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 ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
INFO
:root:Using reviewboard.scmtools.svn.pysvn backend for SVN
No evolution required.
------------------- <end log output> -------------------

Resetting in-database caches.

Upgrade complete!


But after a reboot of the VM, I see the following message after the login:

The version of Review Board running does not match the version the site was last upgraded to. You are running 2.5.10 and the site was last upgraded to 3.0.15.

Please upgrade your site to fix this by running:

    $ rb-site upgrade /opt/reviewboardpowerpack-2.5.10-1/apps/reviewboardpowerpack/htdocs/rb-sites/reviewboard

If I run the easy_update again, I get the following messages

root@revboard:~# easy_install -U ReviewBoard
Searching for ReviewBoard
Reading https://pypi.python.org/simple/ReviewBoard/
Best match: ReviewBoard 3.0.15
Downloading
 
https
://files.pythonhosted.org/packages/1a/ce/fa95e4b99422f46313de9345480b80e39873addbb2251967402bf964eec5/ReviewBoard-3.0.15-py2.7.egg#sha256=e36010932d325efb654bc6c83b20d6d1164b76a43dbf56875ce106268523ca2b
Processing ReviewBoard-3.0.15-py2.7.egg
removing
 
'/opt/reviewboardpowerpack-2.5.10-1/python/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg'
 
(and everything under it)
creating
/opt/reviewboardpowerpack-2.5.10-1/python/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg
Extracting ReviewBoard-3.0.15-py2.7.egg to /opt/reviewboardpowerpack-2.5.10-1/python/lib/python2.7/site-packages
ReviewBoard 3.0.15 is already the active version in easy-install.pth
Installing rbext script to /opt/reviewboardpowerpack-2.5.10-1/python/bin
Installing rbssh script to /opt/reviewboardpowerpack-2.5.10-1/python/bin
Installing rb-site script to /opt/reviewboardpowerpack-2.5.10-1/python/bin

Installed /opt/reviewboardpowerpack-2.5.10-1/python/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg
Processing dependencies for ReviewBoard
Finished processing dependencies for ReviewBoard


What is missing here? Why do I still see the message that there is a mismatch between ReviewBoard and the database?

BR, Udo

Christian Hammond

unread,
Oct 23, 2019, 2:25:13 AM10/23/19
to revie...@googlegroups.com
Hi,

It sounds like while a newer Review Board package was installed, the version that Bitnami itself is using was not updated.

Can you show me what's in the /opt/reviewboardpowerpack-2.5.10-1/python/lib/python2.7/site-packages/ directory?

Bitnami environments are a bit specialized, so you may need to talk to them about upgrade instructions. Another option is using a newer installer, but migrating over the database and site directory from the old one.

Christian

--
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 "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/50d5772f-d9ad-4a77-b184-e826e4b594e1%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board
Reply all
Reply to author
Forward
0 new messages