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

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

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 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

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. -

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
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

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 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 Steve
Well, sometimes procrastination pays off. When I came back to my session, I saw this: Evolution successful. --- end log output --- Resetting in-database caches. Upgrade complete! The location of static media files (CSS, JavaScript, images) has changed. You