Re: Database upgrade issues - Possible fix

2013-03-04 Thread Steve
I'm happy to report the patch you provided seems to have worked. I'm able to log on to my 1.7.6 site and browse reviews. I'll test it more today, but so far it looks good. Thanks Chris! --Steve On Friday, March 1, 2013 2:48:22 PM UTC-8, Steve wrote: > > Well, sometimes procrastination pays o

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
Well, sometimes procrastination pays off. When I came back to my session, I saw this: Evolution successful. --- --- Resetting in-database caches. Upgrade complete! The location of static media files (CSS, JavaScript, images) has changed. You will need to make

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
It's a MySQL database. I was able to migrate the same database to 1.6 with no difficulty. I'll give it another try later after my head clears a bit to make sure I'm not doing something goofy. --steve On Friday, March 1, 2013 1:38:21 PM UTC-8, Christian Hammond wrote: > > Yeah that sounds stuck

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Christian Hammond
Yeah that sounds stuck. Maybe try doing it one more time, to be sure? What type of database is this? I can try to get you a build later tonight that has some extra debugging so we can at least see what it's trying to do before it gets stuck. Christian -- Christian Hammond - chip...@chipx86.c

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
It's still sitting at the same place and appears to be stuck. I see the rb-site process in ps, but no child processes so I have no idea what it's doing. Sorry I've been more trouble than help in testing this fix. --steve On Friday, March 1, 2013 1:09:10 PM UTC-8, Christian Hammond wrote: > >

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Christian Hammond
Hmm, longer than I'd expect, but it's a fairly big upgrade I suppose, given how old the DB is. Shame we don't have logging set up to show what it's doing. Still, no errors in the simulation stage, which is promising. Hopefully the other issue you hit won't crop up. If it does, we'll need to inve

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
I went back to a pristine version of the 1.5.5 database and ran rb-site again: # rb-site upgrade /var/www/reviewboard Rebuilding directory structure Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Christian Hammond
Did you revert to your state before the previous test, or is this on top of the previous? It's possible the previous test will have caused a problem for this one (though unlikely). Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - htt

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Nachiketh G
Steve, The order of arguments passed to easy_install in your output is incorrect, you need to execute "*easy_install -f http://downloads.reviewboard.org/temp/django-evolution/ -U django_evolution*", hope it helps! Thanks & Regards, Nachiketh On Sat, Mar 2, 2013 at 1:12 AM, Steve wrote: > Now I

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
Now I get this error: (1054, "Unknown column 'reviews_reviewrequest.local_site_id' in 'on clause'") Request Method:GETRequest URL:https://crush/dashboard/Django Version:1.4.5Exception Type:DatabaseErrorException Value: (1054, "Unknown column 'reviews_reviewrequest.local_site_id' in 'on clause'

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Christian Hammond
That's the wrong Django Evolution. Can you try downloading the one from that URL and just passing it directly to easy_install? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mar 1, 2013, at 11:20 AM, Steve

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Steve
Sorry for the long, messy output, here's what happened when I tested the fix. This is an attempt to upgrade a 1.5.5 database to 1.7.6. [root@crush]~/ReviewBoard# easy_install -U django_evolution -f http://downloads.reviewboard.org/temp/django-evolution/ Searching for django-evolution Reading htt

Re: Database upgrade issues - Possible fix

2013-03-01 Thread Nachiketh G
Hi Christian, I was able to upgrade now successfully! *I have tried migrating an old database(1.0) into the latest RB Server*, please find below the result of the tests. Cheers! Nachiketh *OUTPUT:* *root@nachiketh-virtual-machine:~#* easy_install -f http://downloads.reviewboard.org/temp/django-e

Database upgrade issues - Possible fix

2013-02-27 Thread Christian Hammond
Hi everyone, So some of you have hit database upgrade issues before when upgrading to 1.7 (or, in some cases, 1.6). We've managed to figure out solutions for some of you, but not all. I've spent a lot of time trying to figure out solutions, find the common cases, and figure out a fix. Today, I