Content
openproject configure: mod_perl is already running, too late for PerlSwitches
Added by Conor Robotham over 8 years ago
When I run openproject configure
on OS: Ubuntu 14.04.4 LTS to get the latest update using the packaged installation I get the following error message:
@ * Restarting web server apache2 [fail]@
@ * The apache2 configtest failed.@
Output of config test was:
AH00526: Syntax error on line 1 of /etc/openproject/addons/apache2/includes/server/00_repositories_perl.conf:
mod_perl is already running, too late for PerlSwitches
The configuration completes OK but then I must comment out the line @ PerlSwitches -I/usr/lib/perl5@ from /etc/openproject/addons/apache2/includes/server/00_repositories_perl.conf
and then run the command
apache2ctl start
to restart apache2 successfully. This way the OpenProject configuration and server are updated and running fine, however, on my next openproject configure I will have to go through the same process as 00_repositories_perl.conf
is overwritten and fails again.
Is the PerlSwitches command failure an issue with my environment or a bug in the latest update? How can I resolve this issue so that either the command will run successfully or will not be added each time? Otherwise the site will go down every time I have to upgrade OpenProject.
Thanks.