Stuck at 3.0.7 version - unable to upgrade

31 views
Skip to first unread message

Mr.Wiser

unread,
Nov 4, 2019, 10:25:22 AM11/4/19
to Review Board Community
Hello guys!
Thank you for a great service... But currently I'm stuck.
Cannot update the review board it's self.

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

Please upgrade your site to fix this by running:

    $ rb-site upgrade /var/www/reviewboard.X.com

Getting this message:
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!
root@Reviewboard:~#
 

Then restart the web server.

service apache2 stop
service apache2 start



- Did it, 

If that does not work...

Check the Python version

Your web server is running Python 2.7.12. You may have installed Review Board using a different version of Python. To find out, run:

   $ rb-site --version

getting this message:

root@Reviewboard:~# rb-site --version
rb-site 3.0.15
Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609]
Installed to /usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15-py2.7.egg/reviewboard

Your installation method might have changed

Review Board can be installed using a Python package manager (pip or easy_install) or through a system package manager (such as yum). If you previously installed using one package manager but have since installed with another, you might need to uninstall/erase the old packages and re-install using the new one.

This version of Review Board was installed to /usr/local/lib/python2.7/dist-packages/reviewboard. You can see where the new version was installed to by running:

   $ rb-site --version

Same.

What should I do? Pretty stuck over here...
Thanks!

Christian Hammond

unread,
Nov 8, 2019, 4:48:47 AM11/8/19
to revie...@googlegroups.com
Hi Mr. Wiser,

Sorry for the late reply here, but it's been a busy week here and I haven't had much time to look at the community forum.

This does look like you have two copies of Review Board installed and Apache is using the older one. It looks like you have two versions installed from two different installation methods. Review Board has found the following packages:

* /usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15-py2.7.egg/
* /usr/local/lib/python2.7/dist-packages/reviewboard

The former being the 3.0.15 version, the latter being 3.0.7. You'll need to remove the latter.

If you've ever installed via yum or similar, you can't mix and match this with pip or easy_install. It's important to not mix package types on a system, so if that's what happened here, you're going to spend some time cleaning up the older packages. You likely also have older versions of Djblets and maybe other packages.

If you are switching package types, we recommend installing via pip (which uses Wheel packages) instead of easy_install (which uses Egg packages), as pip and the Wheel format is the official way to manage packages in Python going forward.

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/2749eeef-2da5-421d-a39e-e841a377d866%40googlegroups.com.


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