Thanks for so fast reply.I was not expecting it.. Chris.

We are using Perforce. We are using ReviewBoard from last one year and
it come to my control just yesterday.
I am not sure what version is installed but it would be nice if there
is a way to check which review board version is installed.

I am trying to do upgrade only. No new installations.

We are using MySQL database. My Linux is X85 GNU/Linux.

Just to confirm, for upgrades my database will be same as before. No
change to the database. correct?
I am just worried about database as we have lots of data there and I
do not want to mess up with it in upgrade.

Also, I get most of what you said but I do not understand concept of
target directory for the site.

I see there is /var/www/ direcotry in our Linux machine but I do not
find htdocs folder there. However, I do have htdocs directory at /usr/

not sure what is use of /var/www/ directory in ReviewBoard

Also, how to point  web server to the new locations?

If you can explain that would be great.


On May 28, 12:19 pm, Christian Hammond <> wrote:
> Hi,
> I assume you're currently using an SVN install? What version, and how old is
> it?
> 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
> /usr/local/lib64/python2.5/site-packages/reviewboard/htdocs/media/uploaded/­*
> /var/www/reviews/htdocs/media/uploaded/
> 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
> --
> Christian Hammond -
> Review Board -
> VMware, Inc. -
> 2009/5/28 <>
> > Hello,
> > 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
> > helful.
> > Step 1:
> > Download setuptools-0.6c9-py2.5.egg (md5) from the link:
> >
> > Once the EasyInstall is available, issue following command from dir: /
> > usr/local/lib64/python2.5/site-packages/reviewboard/
> > 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- Hide quoted text -
> - Show quoted text -
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to