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

New issue 2363 by Problem with upgrade from 1.5.1 to 1.6.1

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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

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?

Please provide any additional information below.
I think the SQL is not being updated properly.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to