I assume you're currently using an SVN install? What version, and how old is
Also, what version of what distribution are you using?
You'll basically be following the installation instructions for a brand new
install, but will specify your existing database information. I assume this
is MySQL or PostgreSQL. If so, then this will be fairly easy.
Most modern Linux distributions have a new enough version of setuptools. If
you don't have setuptools, you can use the egg you found for it.
The easy_install command can be done from any directory. From now on, you
should never have to think about your
/usr/local/lib64/python2.5/site-packages/reviewboard/ directory again. It
will be a behind-the-scenes thing entirely.
I'm going to assume from here that your target directory for the site will
be /var/www/reviews. Use whatever you like, it's just an example.
So, at this point, you would do, as root:
$ easy_install -U ReviewBoard
$ rb-site install /var/www/reviews
Follow the instructions. When it asks for the database information, specify
your existing database.
At the end, it will give you some instructions for setting permissions. Make
sure to follow these instructions.
If you have any uploaded media files in your old directory, you'll want to
copy them, like so:
$ cp -av
You'll then need to point your web server to the new locations. I strongly
recommend using the generated web server configuration file in
/var/www/reviews/conf/ as a base, because they're going to reflect the
required Python module paths, turn on long-term expiration for the media
files to improve performance, and many other things that yours probably
isn't doing unless it's fairly recent.
Then restart the server.
The "rb-site upgrade" command will be used when upgrading Review Board in
the future. Upgrades to an rb-site-based install are really easy and fast.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com
2009/5/28 kunjal.par...@gmail.com <kunjal.par...@gmail.com>
> I am new to ReviewBoard and our company (Broadcom) use ReviewBoard for
> code review.
> I plan to upgrade to rc2 and want to make sure my steps are correct:
> I do not know how to get rb-site tool.
> Also, once I upgrade to new version, Do I move to new database or
> existing database and how this migration will happen.
> Pl. look at the steps below and let me know where I am wrong so we can
> perform upgrade as soon as possible as the bug fix in rc2 are really
> Step 1:
> Download setuptools-0.6c9-py2.5.egg (md5) from the link:
> Once the EasyInstall is available, issue following command from dir: /
> easy_install -U ReviewBoard
> The console should display success or failure message and input any
> information requested by easy_install application.
> Step 2:
> Once the ReviewBoard is installed correctly, we need to perform below
> mentioned 3 steps:
> Performs database updates and migrations
> Rebuilds missing parts of the directory structure
> Updates the local copies or links to the Review Board media files
> As per the Review Board Group Discussion, the all above objectives can
> be achieved using following command:
> rb-site upgrades /usr/local/lib64/python2.5/site-packages/reviewboard/
> The rb-site tool gets install when you install ReviewBoard using
> easy_install. The rb-site tool will perform database update and
> migration and no additional steps are required.
> Step 3:
> Restart the server
You received this message because you are subscribed to the Google Groups
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
For more options, visit this group at