Nothing in httpd error logs, but reviewboard.log had errors. I emptied it 
out and tried to connect again. Got this.

*2014-04-07 14:21:06,939 - ERROR -  - Exception thrown for user admin at 
http://mercury/admin/*

*list index out of range*
*Traceback (most recent call last):*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/core/handlers/base.py",
 
line 114, in get_response*
*    response = wrapped_callback(request, *callback_args, 
**callback_kwargs)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/admin/views/decorators.py",
 
line 17, in _checklogin*
*    return view_func(request, *args, **kwargs)*
*  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0rc2-py2.6.egg/reviewboard/admin/views.py",
 
line 59, in dashboard*
*    'secondary_widgets': sorted_secondary_widgets,*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/shortcuts/__init__.py",
 
line 29, in render_to_response*
*    return HttpResponse(loader.render_to_string(*args, **kwargs), 
**httpresponse_kwargs)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/loader.py",
 
line 164, in render_to_string*
*    return t.render(Context(dictionary))*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 140, in render*
*    return self._render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 134, in _render*
*    return self.nodelist.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 840, in render*
*    bit = self.render_node(node, context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 854, in render_node*
*    return node.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/loader_tags.py",
 
line 123, in render*
*    return compiled_parent._render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 134, in _render*
*    return self.nodelist.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 840, in render*
*    bit = self.render_node(node, context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 854, in render_node*
*    return node.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/loader_tags.py",
 
line 123, in render*
*    return compiled_parent._render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 134, in _render*
*    return self.nodelist.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 840, in render*
*    bit = self.render_node(node, context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 854, in render_node*
*    return node.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/loader_tags.py",
 
line 62, in render*
*    result = block.nodelist.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 840, in render*
*    bit = self.render_node(node, context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 854, in render_node*
*    return node.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/loader_tags.py",
 
line 62, in render*
*    result = block.nodelist.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 840, in render*
*    bit = self.render_node(node, context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/base.py",
 
line 854, in render_node*
*    return node.render(context)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/template/defaulttags.py",
 
line 304, in render*
*    if match:*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/base.py",
 
line 72, in __len__*
*    return len(self._loaded_messages) + len(self._queued_messages)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/base.py",
 
line 91, in _loaded_messages*
*    messages, all_retrieved = self._get()*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/fallback.py",
 
line 24, in _get*
*    messages, all_retrieved = storage._get()*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/cookie.py",
 
line 68, in _get*
*    messages = self._decode(data)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/cookie.py",
 
line 152, in _decode*
*    return json.loads(value, cls=MessageDecoder)*
*  File "/usr/lib64/python2.6/json/__init__.py", line 318, in loads*
*    return cls(encoding=encoding, **kw).decode(s)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/cookie.py",
 
line 47, in decode*
*    return self.process_messages(decoded)*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/cookie.py",
 
line 39, in process_messages*
*    return [self.process_messages(item) for item in obj]*
*  File 
"/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/messages/storage/cookie.py",
 
line 37, in process_messages*
*    obj[3] = mark_safe(obj[3])*
*IndexError: list index out of range*
*(END)*


On Friday, April 4, 2014 8:37:47 PM UTC-4, Christian Hammond wrote:
>
> Hi Zachary,
>
> As per the instructions, everything within the "begin/end log output" can 
> be ignored if the install is successful. Those messages you saw about 
> unapplied evolutions were just part of the normal upgrade path, and were 
> then successfully applied.
>
> From this end, it looks like everything went fine. What errors are you 
> seeing in the log files (reviewboard.log or apache's error_log) when you 
> see the 500 error?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Fri, Apr 4, 2014 at 2:36 PM, Zachary Gallagher 
> <zachary....@remcom.com<javascript:>
> > wrote:
>
>> *[root@mercury html]# rb-site upgrade /var/www/html/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.*
>>
>> *------------------ <begin log output> ------------------*
>> *Creating tables ...*
>> *Upgrading Review Board from 1.7.22 to 2.0 RC2*
>> *There are unapplied evolutions for auth.*
>> *There are unapplied evolutions for contenttypes.*
>> *There are unapplied evolutions for attachments.*
>> *There are unapplied evolutions for changedescs.*
>> *There are unapplied evolutions for diffviewer.*
>> *There are unapplied evolutions for hostingsvcs.*
>> *There are unapplied evolutions for reviews.*
>> *There are unapplied evolutions for scmtools.*
>> */usr/lib/python2.6/site-packages/Djblets-0.8rc1-py2.6.egg/djblets/util/fields.py:11:
>>  
>> DeprecationWarning: djblets.util.fields is deprecated. Use 
>> djblets.db.fields instead.*
>> *  'djblets.db.fields instead.', DeprecationWarning)*
>> *Adding baseline version for new models*
>> *Project signature has changed - an evolution is required*
>> *There are unapplied evolutions for accounts.*
>> *Installing custom SQL ...*
>> *Installing indexes ...*
>> *Installed 0 object(s) from 0 fixture(s)*
>> *Evolution successful.*
>> *------------------- <end log output> -------------------*
>>
>> *Resetting in-database caches.*
>>
>> *Upgrade complete!*
>> *[root@mercury html]# service httpd start*
>> *Starting httpd:                                             [  OK  ]*
>> *[root@mercury html]# service httpd stop*
>> *Stopping httpd:                                            [  OK  ]*
>> *[root@mercury html]# rb-site upgrade /var/www/html/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.*
>>
>> *------------------ <begin log output> ------------------*
>> *Creating tables ...*
>> *Installing custom SQL ...*
>> *Installing indexes ...*
>> *Installed 0 object(s) from 0 fixture(s)*
>> *No evolution required.*
>> *------------------- <end log output> -------------------*
>>
>> *Resetting in-database caches.*
>>
>> *Upgrade complete!*
>> *[root@mercury html]# service httpd start*
>>
>>
>>
>>
>> The above is my exact console output in upgrading the server. I upgrade 
>> the site the first time and I'm unable to load the site at all. I upgrade 
>> again and the site will load, I can navigate to review requests and certain 
>> things. But attempting to access account preferences or the admin console 
>> returns the 500 error.
>>
>> Erasing the database and recreating it from the backup allows me to 
>> reproduce this error repeatedly.
>>
>>  -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to