Error after upgrading from 3.0.3 to 3.0.16

26 views
Skip to first unread message

Chris Lang

unread,
Jan 31, 2020, 2:33:47 PM1/31/20
to Review Board Community
Hi,

I am getting a 500 error after upgrading from 3.0.3 to 3.0.16.

In /etc/httpd/logs/error_log I am seeing the following:

[Fri Jan 31 13:30:24.305794 2020] [suexec:notice] [pid 3619:tid 139654422091904] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 31 13:30:24.470458 2020] [:error] [pid 3619:tid 139654422091904] Misconfiguration of certificate's CN and virtual name. The certificate CN has usspvlreviewbd. We expected usspvlreviewbd.infor.com as virtual name.
[Fri Jan 31 13:30:24.581341 2020] [auth_digest:notice] [pid 3619:tid 139654422091904] AH01757: generating secret for digest authentication ...
[Fri Jan 31 13:30:24.581933 2020] [lbmethod_heartbeat:notice] [pid 3619:tid 139654422091904] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 31 13:30:24.687617 2020] [mpm_worker:notice] [pid 3619:tid 139654422091904] AH00292: Apache/2.4.6 (Red Hat Enterprise Linux) mod_auth_gssapi/1.5.1 mod_nss/1.0.14 NSS/3.28.4 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Fri Jan 31 13:30:24.687670 2020] [core:notice] [pid 3619:tid 139654422091904] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Jan 31 13:30:24.798332 2020] [:error] [pid 3627:tid 139654422091904] Misconfiguration of certificate's CN and virtual name. The certificate CN has usspvlreviewbd. We expected usspvlreviewbd.infor.com as virtual name.
[Fri Jan 31 13:30:24.835644 2020] [:error] [pid 3625:tid 139654422091904] Misconfiguration of certificate's CN and virtual name. The certificate CN has usspvlreviewbd. We expected usspvlreviewbd.infor.com as virtual name.
[Fri Jan 31 13:30:27.781833 2020] [:error] [pid 3684:tid 139654422091904] Misconfiguration of certificate's CN and virtual name. The certificate CN has usspvlreviewbd. We expected usspvlreviewbd.infor.com as virtual name.
[Fri Jan 31 19:30:37.259519 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197] mod_wsgi (pid=3684): Exception occurred processing WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi'., referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259572 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197] Traceback (most recent call last):, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259589 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259679 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     self.load_middleware(), referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259692 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, in load_middleware, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259790 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     mw_class = import_by_path(middleware_path), referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259804 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_by_path, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259858 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     sys.exc_info()[2]), referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259868 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, in import_by_path, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259882 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     module = import_module(module_path), referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259889 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259948 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     __import__(name), referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.259973 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.16-py2.7.egg/reviewboard/admin/__init__.py", line 5, in <module>, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.260011 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     from reviewboard.signals import initializing, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.260021 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]   File "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.16-py2.7.egg/reviewboard/signals.py", line 8, in <module>, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.260057 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197]     from djblets.deprecation import deprecated_arg_value, referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:37.260075 2020] [:error] [pid 3684:tid 139654054123264] [client 10.39.149.164:50197] ImproperlyConfigured: Error importing module reviewboard.admin.middleware: "No module named deprecation", referer: http://usspvlreviewbd/reviews/
[Fri Jan 31 19:30:40.616682 2020] [autoindex:error] [pid 3684:tid 139654037337856] [client 10.46.74.71:49798] AH01276: Cannot serve directory /var/www/reviews/htdocs/: No matching DirectoryIndex (index) found, and server-generated directory index forbidden by Options directive


For reference my upgrade steps were as follows:

 

easy_install -U ReviewBoard

rb-site upgrade /var/www/reviews

rb-site manage /var/www/reviews rebuild_index


Any ideas are greatly appreciated!

Chris Lang

unread,
Jan 31, 2020, 2:45:06 PM1/31/20
to Review Board Community
I did restart httpd and memcached as well

Chris Lang

unread,
Jan 31, 2020, 4:27:08 PM1/31/20
to Review Board Community
Alright I solved it!

According to the 3.0.15 release notesDjblets 1.0.12 is now required.

Doing a pip freeze, I noticed my djblets was only at 1.0.3 so I did a pip install djblets==1.0.12, restarted httpd and it's working! Yay!



On Friday, January 31, 2020 at 11:33:47 AM UTC-8, Chris Lang wrote:
Reply all
Reply to author
Forward
0 new messages