REVIEW BOARD UPDATE (SITE NOT WORKING)

280 views
Skip to first unread message

Sibgha Nazir

unread,
May 19, 2017, 2:29:42 AM5/19/17
to reviewboard

Dear ReviewBoard,

I installed ReviewBoard using an installer from Bitnami. And then I had to upgrade the review board to 2.5.10  using the following link.



But the website shows the following error.


Manual server updates required

A recent upgrade requires manual updates to be made on this server. After these changes are made, you should restart your web server.

If you have any questions or problems, please contact us on our mailing list.




Review Board version mismatch

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

Please upgrade your site to fix this by running:

    $ rb-site upgrade /opt/Review/apps/reviewboard/htdocs/rb-sites/reviewboard


rizwan@rizwan-HP-ENVY-4-Notebook-PC:~$ sudo rb-site upgrade /opt/Review/apps/reviewboard/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)
No evolution required.
------------------- <end log output> -------------------

Resetting in-database caches.

Upgrade complete!

I did the given command. and it was successful.

RESTARTED THE SERVERS. The error remains.

Thanks in advance.

Christian Hammond

unread,
May 19, 2017, 2:34:55 AM5/19/17
to revie...@googlegroups.com
Hi Sibgha,

It sounds like you're using an older version of the Review Board packages with Apache. It could be that you have system-installed Review Board packages and a system-installed rb-site. Bitnami would be using the version they ship, which would differ.

In the Bitnami upgrade documentation, note the specific commands given to upgrade Review Board and upgrade the site:

$ cd installdir/apps/reviewboard/htdocs
$ sudo venv/bin/easy_install -U ReviewBoard
$ sudo venv/bin/rb-site upgrade installdir/apps/reviewboard/rb-sites/reviewboard/

If you use standard easy_install or standard rb-site, then you'll end up using a system-installed version, and this will create the kind of error you're seeing.

Christian

-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

--
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 reviewboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sibgha Nazir

unread,
May 19, 2017, 2:49:03 AM5/19/17
to reviewboard, chri...@beanbaginc.com
Dear Christian,

I tried doing venv/bin/easy_install but it gives Cannot locate wrapped file error.

Thanks

rizwan@rizwan-HP-ENVY-4-Notebook-PC:/opt/Review/apps/reviewboard/htdocs$ sudo venv/bin/easy_install -U ReviewBoard
Cannot locate wrapped file
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.

Christian Hammond

unread,
May 19, 2017, 3:28:59 AM5/19/17
to revie...@googlegroups.com
That's an issue specific to the Bitnami environment. Since that's a third-party environment, and not an issue with Review Board, you'll need to ask the Bitnami support team about it, see what they say. Their support forum is here: https://community.bitnami.com/c/reviewboard

Christian

-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

Sibgha Nazir

unread,
May 19, 2017, 6:54:59 AM5/19/17
to reviewboard, chri...@beanbaginc.com
Oh, of course. I was thinking the same. Thanks.

Johnny Brady

unread,
Jun 1, 2018, 10:21:09 AM6/1/18
to Review Board Community
Hi Rizwan
If you look at the upgrade section here https://docs.bitnami.com/installer/apps/reviewboard/ it states to do the following:

cd installdir/apps/reviewboard/htdocs/
sudo venv/bin/easy_install -U ReviewBoard
sudo venv/bin/rb-site upgrade installdir/apps/reviewboard/rb-sites/reviewboard/

here's what I did to fix the issue you mention

cd installdir/apps/reviewboard/htdocs/
sudo su
venv/bin/easy_install -U ReviewBoard
venv/bin/rb-site upgrade installdir/apps/reviewboard/rb-sites/reviewboard/

Just change to root user and call the same commands without sudo. The good thing is it'll also fix an already messed up upgrade.

JB

**************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify your system manager or administrator. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
**************************
Reply all
Reply to author
Forward
0 new messages