Re: wsgi issue in 5.0.4

2023-05-11 Thread Christian Hammond
To get the list in one place, this set of information will help: * $sitedir/htdocs/reviewboard.wsgi * $sitedir/logs/error_log * $sitedir/logs/reviewboard.log * Result of `pipX.Y list` (where X.Y corresponds to the version of Python being used by mod_wsgi) * That Python version number * The OS and

Re: wsgi issue in 5.0.4

2023-05-11 Thread Christian Hammond
We have a lot of familiarity with this internal layer of Django and the sort of issues that can cause it, but it’s not something that should happen in a typical Review Board setup unless there’s something happening before our initialization code gets to run or if there’s a system packaging issue

Re: wsgi issue in 5.0.4

2023-05-10 Thread Subodh Konhor
As per the error message there is a generic runtime error being thrown "RuntimeError: populate() isn't reentrant" Check below SO link which helps identify real problem. https://stackoverflow.com/questions/27093746/django-stops-working-with-runtimeerror-populate-isnt-reentrant/55929118#55929118

Re: wsgi issue in 5.0.4

2023-05-08 Thread Christian Hammond
Hi Adam, This is not an error you should be hitting. It's hard to say what may be triggering it, but it does seem environmental (and is before any real Review Board code gets loaded). Can you verify the version of Python that Review Board is installed with, and the version mod_wsgi is using (it

Re: wsgi issue in 5.0.4

2023-05-03 Thread Astro Jetson
I installed on Ubuntu 20.04, Apache + wsgi. I added logging config as described in the Admin Guide. the doc. I had to add 1 line to the generated file This is my Apache .conf file for a 5.0.3 upgraded to 5.0.4. Note: I configured my site with an rbrd01 prefix. ignore them. Hope this

Re: wsgi issue in 5.0.4

2023-04-20 Thread Adam Weremczuk
Hi Laurent, I have an existing and fully working 3.0.18 site. I've never had to do anything special about WSGI, just "sudo apt install libapache2-mod-wsgi" and copy the template config files. I've compared 3.0.18 and 5.0.4 and key config files differ significantly (apache-wsgi.conf,

Re: wsgi issue in 5.0.4

2023-04-18 Thread Laurent Marechal
Hello, Had a similar issue in the past. The error is kind of generic but in my case it appeared after moving to Python3 for ReviewBoard while Python2 was still the OS installation (thanks old RH). The root cause was not having the WSI setup correctly. You need to update the wsgi file with:

Re: wsgi issue in 5.0.4

2023-04-18 Thread Adam Weremczuk
I'm running WSGI in the default embedded mode: # mod_wsgi Embedded Mode configuration # # This default configuration enables Embedded Mode, but you can remove # this and uncomment Daemon Mode below. # # Embedded mode is simpler to configure, but daemon mode is recommended

wsgi issue in 5.0.4

2023-04-18 Thread Adam Weremczuk
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: HTTP 500 - Review Board is taking a nap (...) Error log: [Tue Apr 18 18:21:03.923609 2023] [wsgi:error] [pid 647:tid