What version are you running?
upgrade from 1.5.1 to 1.6.1
What's the URL of the page containing the problem?
2011-11-02 10:10:08,898 - ERROR - Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.13-py2.6.egg/djblets/auth/util.py", line 46, in _checklogin
return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.1-py2.6.egg/reviewboard/accounts/decorators.py", line 37, in _check_valid_prefs
profile, is_new = Profile.objects.get_or_create(user=request.user)
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/manager.py", line 135, in get_or_create
return self.get_query_set().get_or_create(**kwargs)
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 378, in get_or_create
return self.get(**lookup), False
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 344, in get
num = len(clone)
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 82, in __len__
self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: column accounts_profile.is_private does not exist
LINE 1: ...diffs", "accounts_profile"."syntax_highlighting", "accounts_...
What steps will reproduce the problem?
1. rb-site upgrade /path/to/url
2.
3.
What is the expected output? What do you see instead?
Xlib: extension "RANDR" missing on display "localhost:10.0".
Rebuilding directory structure
Updating database. This may take a while.
Creating tables ...
There are unapplied evolutions for sessions.
There are unapplied evolutions for accounts.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
No fixtures found.
Error: Error applying evolution: relation "django_session_expire_date" already exists
What operating system are you using? What browser?
ubuntu
Please provide any additional information below.
I think the SQL is not being updated properly.