Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3576 by vlov...@gmail.com: Upgrade from 1.7.20 to 2.0.7 failed
https://code.google.com/p/reviewboard/issues/detail?id=3576

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
1.7.20

What's the URL of the page containing the problem?
/

What steps will reproduce the problem?
1. sudo easy_install -U ReviewBoard
2. sudo rb-site upgrade /var/www/reviewboard
3. sudo /etc/init.d/nginx restart
4. Open reviewboard in browser

What is the expected output? What do you see instead?
I get a 500 error:
Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator.

I get an email with the following stacktrace:
Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/handlers/base.py", line 89, in get_response
   response = middleware_method(request)

File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.20-py2.6.egg/reviewboard/accounts/middleware.py", line 12, in process_request
   user = Profile.objects.get(user=request.user)

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/manager.py", line 131, in get
   return self.get_query_set().get(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py", line 361, in get
   num = len(clone)

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py", line 85, in __len__
   self._result_cache = list(self.iterator())

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/query.py", line 291, in iterator
   for row in compiler.results_iter():

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/sql/compiler.py", line 763, in results_iter
   for rows in self.execute_sql(MULTI):

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/models/sql/compiler.py", line 818, in execute_sql
   cursor.execute(sql, params)

File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
   return self.cursor.execute(query, args)

DatabaseError: column accounts_profile.show_submitted does not exist
LINE 1: ..."is_private", "accounts_profile"."open_an_issue", "accounts_...

What operating system are you using? What browser?
OracleServer 6.4

Please provide any additional information below.
Any workaround/recovery steps would be appreciated.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to