Re: ReviewBoard Upgrade (from 1.6.15 to 1.7.11)

2013-07-02 Thread Christian Hammond

Hi,

What type of database are you using? It's very possible that it's taking 
a very long time to do something on the database side of things, and 
that the script here is just waiting. Interrupting it could be dangerous 
in that case, so I hope you have a backup just in case.


I haven't seen this take > 1 hour, but it depends fully on database 
settings, server specs where the database server is, and how much data 
you have in whatever table it's making changes on.


Christian


Django Son wrote:

I've been having trouble upgrading from 1.6.15 to 1.7.11. I've tried
searching for similar cases where the entire upgrade will freeze but
could not find any unfortunately.

Any help or suggestions would be appreciated.

My output log looks like:

Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table extensions_registeredextension
Creating table diffviewer_filediffdata
Upgrading Review Board from 1.6.15 to 1.7.11
There are unapplied evolutions for auth.
There are unapplied evolutions for accounts.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
Adding baseline version for new models
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

after running rb-site upgrade site_location, which then proceeds to
freeze (according to tracing utilities). I understand that this should
take a long time, but should it take > an hour and should tracing
utilities show no progress?

Logs after using easy_install to upgrade Review Board:

Searching for ReviewBoard
Reading http://pypi.python.org/simple/ReviewBoard/
Reading http://www.review-board.org/
Reading http://downloads.review-board.org/releases/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
Reading http://downloads.reviewboard.org/nightlies/
Best match: ReviewBoard 1.7.11
Downloading
http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7.11-py2.6.egg
Processing ReviewBoard-1.7.11-py2.6.egg
creating
//apps/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.7.11-py2.6.egg
Extracting ReviewBoard-1.7.11-py2.6.egg to
/e/a/reviewboard/lib/python2.6/site-packages
Removing ReviewBoard 1.6.15 from easy-install.pth file
Adding ReviewBoard 1.7.11 to easy-install.pth file
Installing rb-site script to /e/a/reviewboard/bin
Installing rbssh script to /e/a/reviewboard/bin

Installed
/e/a/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.7.11-py2.6.egg
Reading http://downloads.reviewboard.org/mirror/
Processing dependencies for ReviewBoard
Searching for pytz>=2012h
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=79122
Reading http://www.stuartbishop.net/Software/pytz
Reading http://sourceforge.net/projects/pytz/
Best match: pytz 2013b
Downloading
http://pypi.python.org/packages/2.6/p/pytz/pytz-2013b-py2.6.egg#md5=47c21362c5a2e9bafaa91c3f4c200a4b
Processing pytz-2013b-py2.6.egg
creating /e/a/reviewboard/lib/python2.6/site-packages/pytz-2013b-py2.6.egg
Extracting pytz-2013b-py2.6.egg to
/e/a/reviewboard/lib/python2.6/site-packages
Adding pytz 2013b to easy-install.pth file

Installed /e/a/reviewboard/lib/python2.6/site-packages/pytz-2013b-py2.6.egg
Searching for Pygments>=1.5
Reading http://pypi.python.org/simple/Pygments/
Best match: Pygments 1.6
Downloading
http://pypi.python.org/packages/2.6/P/Pygments/Pygments-1.6-py2.6.egg#md5=2584ae5795d01cefbff0744136df3f65
Processing Pygments-1.6-py2.6.egg
creating /e/a/reviewboard/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg
Extracting Pygments-1.6-py2.6.egg to
/e/a/reviewboard/lib/python2.6/site-packages
Adding Pygments 1.6 to easy-install.pth file
Installing pygmentize script to /e/a/reviewboard/bin

Installed
/e/a/reviewboard/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg
Searching for paramiko>=1.9.0
Reading http://pypi.python.org/simple/paramiko/
Best match: paramiko 1.10.1
Downloading
http://pypi.python.org/packages/source/p/paramiko/paramiko-1.10.1.tar.gz#md5=4ba105e2d8535496fd633889396b20b7
Processing paramiko-1.10.1.tar.gz
Running paramiko-1.10.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-jfohRy/paramiko-1.10.1/egg-dist-tmp-lPJ8BC
zip_safe flag not set; analyzing archive contents...
Adding paramiko 1.10.1 to easy-install.pth file

Installed
/e/a/reviewboard/lib/python2.6/site-packages/paramiko-1.10.1-py2.6.egg
Searching for mimeparse>=0.1.3
Reading http://pyp

ReviewBoard Upgrade (from 1.6.15 to 1.7.11)

2013-07-02 Thread Django Son
I've been having trouble upgrading from 1.6.15 to 1.7.11. I've tried 
searching for similar cases where the entire upgrade will freeze but could 
not find any unfortunately. 

Any help or suggestions would be appreciated.

My output log looks like:

Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table extensions_registeredextension
Creating table diffviewer_filediffdata
Upgrading Review Board from 1.6.15 to 1.7.11
There are unapplied evolutions for auth.
There are unapplied evolutions for accounts.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
Adding baseline version for new models
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

after running rb-site upgrade site_location, which then proceeds to freeze 
(according to tracing utilities). I understand that this should take a long 
time, but should it take > an hour and should tracing utilities show no 
progress?

Logs after using easy_install to upgrade Review Board:

Searching for ReviewBoard
Reading http://pypi.python.org/simple/ReviewBoard/
Reading http://www.review-board.org/
Reading http://downloads.review-board.org/releases/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
Reading http://downloads.reviewboard.org/nightlies/
Best match: ReviewBoard 1.7.11
Downloading 
http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7.11-py2.6.egg
Processing ReviewBoard-1.7.11-py2.6.egg
creating 
//apps/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.7.11-py2.6.egg
Extracting ReviewBoard-1.7.11-py2.6.egg to 
/e/a/reviewboard/lib/python2.6/site-packages
Removing ReviewBoard 1.6.15 from easy-install.pth file
Adding ReviewBoard 1.7.11 to easy-install.pth file
Installing rb-site script to /e/a/reviewboard/bin
Installing rbssh script to /e/a/reviewboard/bin

Installed 
/e/a/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.7.11-py2.6.egg
Reading http://downloads.reviewboard.org/mirror/
Processing dependencies for ReviewBoard
Searching for pytz>=2012h
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=79122
Reading http://www.stuartbishop.net/Software/pytz
Reading http://sourceforge.net/projects/pytz/
Best match: pytz 2013b
Downloading 
http://pypi.python.org/packages/2.6/p/pytz/pytz-2013b-py2.6.egg#md5=47c21362c5a2e9bafaa91c3f4c200a4b
Processing pytz-2013b-py2.6.egg
creating /e/a/reviewboard/lib/python2.6/site-packages/pytz-2013b-py2.6.egg
Extracting pytz-2013b-py2.6.egg to 
/e/a/reviewboard/lib/python2.6/site-packages
Adding pytz 2013b to easy-install.pth file

Installed /e/a/reviewboard/lib/python2.6/site-packages/pytz-2013b-py2.6.egg
Searching for Pygments>=1.5
Reading http://pypi.python.org/simple/Pygments/
Best match: Pygments 1.6
Downloading 
http://pypi.python.org/packages/2.6/P/Pygments/Pygments-1.6-py2.6.egg#md5=2584ae5795d01cefbff0744136df3f65
Processing Pygments-1.6-py2.6.egg
creating /e/a/reviewboard/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg
Extracting Pygments-1.6-py2.6.egg to 
/e/a/reviewboard/lib/python2.6/site-packages
Adding Pygments 1.6 to easy-install.pth file
Installing pygmentize script to /e/a/reviewboard/bin

Installed 
/e/a/reviewboard/lib/python2.6/site-packages/Pygments-1.6-py2.6.egg
Searching for paramiko>=1.9.0
Reading http://pypi.python.org/simple/paramiko/
Best match: paramiko 1.10.1
Downloading 
http://pypi.python.org/packages/source/p/paramiko/paramiko-1.10.1.tar.gz#md5=4ba105e2d8535496fd633889396b20b7
Processing paramiko-1.10.1.tar.gz
Running paramiko-1.10.1/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-jfohRy/paramiko-1.10.1/egg-dist-tmp-lPJ8BC
zip_safe flag not set; analyzing archive contents...
Adding paramiko 1.10.1 to easy-install.pth file

Installed 
/e/a/reviewboard/lib/python2.6/site-packages/paramiko-1.10.1-py2.6.egg
Searching for mimeparse>=0.1.3
Reading http://pypi.python.org/simple/mimeparse/
Reading http://code.google.com/p/mimeparse/
Reading 
http://mimeparse.googlecode.com/issues/attachment?aid=4530072823814897419&name=mimeparse-0.1.2.tar.gz
Best match: mimeparse 0.1.3
Downloading 
http://pypi.python.org/packages/source/m/mimeparse/mimeparse-0.1.3.tar.gz#md5=03ce207391454db37279e78ce2112365
Processing mimeparse-0.1.3.tar.gz
Running mimeparse-0.1.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-q38wEQ/mimeparse-0.1.3/egg-dist-tmp-cphpB