Sometimes it takes awhile for bureaucracy...
So, I'm upgrading a 1.0.1 to 1.6.3.
I installed 1.6.3. I removed the database created by the
installation, imported the current production database 1.0.1 so that
the 1.6.3 installation pointed to it. Then I ran the following :
user@rb:~> sudo rb-site upgrade /var/www/mysite
Rebuilding directory structure
Updating database. This may take a while.
Creating tables ...
Creating table accounts_localsiteprofile
Creating table attachments_fileattachment
Creating table reviews_fileattachmentcomment
Creating table site_localsite_users
Creating table site_localsite_admins
Creating table site_localsite
Upgrading Review Board from 1.0.1 to 1.6.3
There are unapplied evolutions for sessions.
There are unapplied evolutions for accounts.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Adding baseline version for new models
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
No fixtures found.
Registering new SCM Tool Plastic SCM
(reviewboard.scmtools.plastic.PlasticTool) in database
Evolution could not be simulated, possibly due to raw SQL mutations
Resetting in-database caches.
First I noticed that files in the media directory can't be found. Its
looking in /reviewboard/media rather than media - I guess this
information is stored in the 1.0.1 database somewhere?
Is there anything else I should be aware of?
On Jan 22, 7:26 pm, Chris Baron <topher.ba...@gmail.com> wrote:
> Thanks for the feedback. I appreciate it. Looks like I've got a
> 1.0.1 in production. I'll compare the two schemas and see what's most
> appropriate. I'll use your comments as a guide - feel free to post
> more information too ;)
> On Jan 21, 12:00 am, Christian Hammond <chip...@chipx86.com> wrote:
> > Ah. Ignore that. That's the version of the rb-site tool, not of the site
> > you have installed. You should be able to see on the Review Board install
> > what version you have. It's right after "Review Board". If it says "beta",
> > it's pre-1.0 somewhere.
> > Christian
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> > On Fri, Jan 20, 2012 at 9:55 AM, ChrisBaron<topher.ba...@gmail.com> wrote:
> > > Thanks for the responses.
> > > From the command line, I did an rb-site --version and '0.1' was
> > > returned.
> > > How would I let django evolutions do its thing ?
> > > On Jan 20, 1:10 am, Anton Cohen <an...@antoncohen.com> wrote:
> > > > On Thu, Jan 19, 2012 at 10:24 PM, ChrisBaron<topher.ba...@gmail.com
> > > >wrote:
> > > > > There is a reviewboard 0.1 version in production.
> > > > > There is a 1.6 version in a test environment. Anyone have suggestions
> > > > > on the best way to copy the 0.1 production data, transform it into 1.6
> > > > > data?
> > > > What will need to be done will depend on the specific version you are
> > > > moving from, and what is missing/different in the database. I did a
> > > > migration from a pre-1.0 to 1.5.5. Though it wasn't 0.1, if it had a
> > > > version it probably would have been something like 0.9.
> > > > I detailed the upgrade in this post:
> > >http://groups.google.com/group/reviewboard/msg/5b445e99632190ab
> > > > If your old version is close enough to 1.0 you may not need to
> > > > manually manipulate the database at all, just install a new site with a
> > > > dump of the old database, and let the Django evolutions do their thing.
> > > If
> > > > your old version is really, really old, there may be a lot of manual DB
> > > > manipulation. I was pretty lucky that there was only one table missing
> > > and
> > > > I could copy the whole table from a new install.
> > > > -Anton
> > > --
> > > Want to help the Review Board project? Donate today at
> > >http://www.reviewboard.org/donate/
> > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > -~----------~----~----~----~------~----~------~--~---
> > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/reviewboard?hl=en
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at