I've installed patchman on Ubuntu 20.04 using the repository way mentionend in the installation instructions.
After adding the allowed networks for sending reports I see errors in the patchman-client and in the apache error logs.
The patchman-client, when started with -v, shows an 500 Internal Server Error (default response code 500 html page).
In the apache error.log I see once this error, once the other error:
Error 1: ImportError: Interpreter change detected - this module can only be loaded into one interpreter per process.
Error 2: RuntimeError: populate() isn't reentrant
The reports also don't come up in patchman, as they can't be transmitted.
I can fix this adding following line to /etc/apache2/conf-enabled/patchman.conf:
WSGIApplicationGroup %{GLOBAL}
After a restart from apache, the reports can be sent successfully.
So maybe this line should be added to the default config for the package in Ubuntu 20.04?
I've installed patchman on Ubuntu 20.04 using the repository way mentionend in the installation instructions. After adding the allowed networks for sending reports I see errors in the patchman-client and in the apache error logs. The patchman-client, when started with -v, shows an 500 Internal Server Error (default response code 500 html page).
In the apache error.log I see once this error, once the other error: Error 1:
ImportError: Interpreter change detected - this module can only be loaded into one interpreter per process.
Error 2:RuntimeError: populate() isn't reentrant
The reports also don't come up in patchman, as they can't be transmitted.
I can fix this adding following line to /etc/apache2/conf-enabled/patchman.conf:
WSGIApplicationGroup %{GLOBAL}
After a restart from apache, the reports can be sent successfully.
So maybe this line should be added to the default config for the package in Ubuntu 20.04?