Hi all,
Trying to install on Debian 11 with Apache2 and MariaDB.
After site installation and apache configuration the html doesn't render and I'm getting:
<!DOCTYPE html>
<html>
<head>
<title>HTTP 500 - Review Board is taking a nap</title>
(...)
Error log:
[Tue Apr 18 18:21:03.923609 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] mod_wsgi (pid=647): Failed to exec Python script file '/var/www/rebo/htdocs/reviewboard.wsgi'.
[Tue Apr 18 18:21:03.923909 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] mod_wsgi (pid=647): Exception occurred processing WSGI script '/var/www/rebo/htdocs/reviewboard.wsgi'.
[Tue Apr 18 18:21:03.924326 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] Traceback (most recent call last):
[Tue Apr 18 18:21:03.924542 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] File "/var/www/rebo/htdocs/reviewboard.wsgi", line 9, in <module>
[Tue Apr 18 18:21:03.924672 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] from reviewboard.wsgi import application
[Tue Apr 18 18:21:03.924810 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] File "/usr/local/lib/python3.9/dist-packages/reviewboard/wsgi.py", line 33, in <module>
[Tue Apr 18 18:21:03.924937 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] application = get_wsgi_application()
[Tue Apr 18 18:21:03.925055 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] File "/usr/local/lib/python3.9/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application
[Tue Apr 18 18:21:03.925176 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] django.setup(set_prefix=False)
[Tue Apr 18 18:21:03.925309 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] File "/usr/local/lib/python3.9/dist-packages/django/__init__.py", line 24, in setup
[Tue Apr 18 18:21:03.925431 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] apps.populate(settings.INSTALLED_APPS)
[Tue Apr 18 18:21:03.925537 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] File "/usr/local/lib/python3.9/dist-packages/django/apps/registry.py", line 83, in populate
[Tue Apr 18 18:21:03.925646 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] raise RuntimeError("populate() isn't reentrant")
[Tue Apr 18 18:21:03.925794 2023] [wsgi:error] [pid 647:tid 140449104779008] [client
10.200.20.5:55263] RuntimeError: populate() isn't reentrant
It looks like a problem with wsgi.
dpkg -l | grep -i wsgi
ii libapache2-mod-wsgi-py3 4.7.1-3+deb11u1 amd64 Python 3 WSGI adapter module for Apache
How do I fix the error?
Regards,
Adam