500 error for some of the database pages

28 views
Skip to first unread message

Jim Flynn

unread,
May 20, 2021, 12:31:12 PM5/20/21
to Review Board Community
Hi - we've got a new Centos7 install that is mostly working - we can connect to our perforce repo, create and interact with reviews, create local users, etc. However, we cannot create groups (500 error) and several other of the database Ui widgets also give us a 500 error. Any ideas?

Here's the stack trace from the "add group" action:

2021-05-20 14:48:41,022 - ERROR - None - jflynn - /admin/db/auth/group/add/ - django.request - Internal Server Error: /admin/db/auth/group/add/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/options.py", line 552, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 224, in inner
    return view(request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1509, in add_view
    return self.changeform_view(request, None, form_url, extra_context)
  File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 67, in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 63, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1409, in changeform_view
    return self._changeform_view(request, object_id, form_url, extra_context)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1482, in _changeform_view
    self.admin_site.each_context(request),
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 297, in each_context
    'available_apps': self.get_app_list(request),
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 465, in get_app_list
    app_dict = self._build_app_dict(request)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 450, in _build_app_dict
    current_app=self.name,
  File "/usr/local/lib/python3.6/site-packages/django/urls/base.py", line 91, in reverse
    return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
  File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 497, in _reverse_with_prefix
    raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'app_list' with keyword arguments '{'app_label': 'django_evolution'}' not found. 1 pattern(s) tried: ['admin/db/(?P<app_label>auth|sites|djblets_extensions|djblets_siteconfig|oauth2_provider|accounts|attachments|changedescs|diffviewer|hostingsvcs|integrations|notifications|oauth|reviews|scmtools|site|webapi)/$']


Jim Flynn

unread,
May 20, 2021, 2:29:55 PM5/20/21
to Review Board Community
We are running ReviewBoard 4.0 if that helps

Christian Hammond

unread,
May 20, 2021, 6:53:22 PM5/20/21
to revie...@googlegroups.com
Thanks, Jim. We're looking into the cause and will get a release out soon with a fix.

It looks like creating review groups works fine, just not permission groups (which are only needed for special permissions, like posting as another user).

Christian

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/e2939681-6f98-488e-9c5f-43d91f7e524an%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Christian Hammond

unread,
May 20, 2021, 10:18:45 PM5/20/21
to revie...@googlegroups.com
We have this solved internally, but will need to do some additional testing. The plan is to release 4.0.1 with the fix on Tuesday.

Christian

Jim Flynn

unread,
May 21, 2021, 12:51:15 PM5/21/21
to Review Board Community
Thank you Christian

Hassanaien Abdullah

unread,
May 21, 2021, 1:09:06 PM5/21/21
to revie...@googlegroups.com



من:‏ revie...@googlegroups.com <revie...@googlegroups.com> بالنيابة عن Jim Flynn <jwf...@gmail.com>
تاريخ الإرسال: الجمعة، ٢١ مايو ٢٠٢١ ٧:٥١ م
إلى: Review Board Community
الموضوع:‏ Re: 500 error for some of the database pages
Reply all
Reply to author
Forward
0 new messages