Content
[SOLVED] Update 5.0.19 -> 6.0.0 Packaged version error
Added by Martin Dunn about 8 years ago
Run the update succesfully as described in the guide and run openproject configure
But now the openproject page is not reachable as Apache cannot start;
- Checked the openproject logs, no error messages
- Checked httpd logs, no error messages
- Restarted the service, did not fix the problem
When i run systemct status httpd.service
i get the following message
Jul 27 10:40:04 centos7.banktrade.com systemd[1]: Starting The Apache HTTP Server... Jul 27 10:40:04 centos7.banktrade.com httpd[31332]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/openproject.conf: No matches for the wildcard '*.conf' in '/etc/openproject/addons/apache2/includes/server', failing (use IncludeOptional if required) Jul 27 10:40:04 centos7.banktrade.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jul 27 10:40:04 centos7.banktrade.com kill[31334]: kill: cannot find process "" Jul 27 10:40:04 centos7.banktrade.com systemd[1]: httpd.service: control process exited, code=exited status=1 Jul 27 10:40:04 centos7.banktrade.com systemd[1]: Failed to start The Apache HTTP Server. Jul 27 10:40:04 centos7.banktrade.com systemd[1]: Unit httpd.service entered failed state. Jul 27 10:40:04 centos7.banktrade.com systemd[1]: httpd.service failed.
Any know fix for this?
How can i do a rollback to 5.0.19 without losing any data?
Replies (5)
Hi Martin,
Did you see any errors in the output of
openproject configure
? If this command runs through successfully (and you can re-issue that command anytime since the changes it applies are idempotent), it should restart the worker and unicorn server on its own.Also, did you use the wizard to set up the apache integration?
Please check the following locations for log output (files might differ somewhat depending on your distro) and paste it here if possible.
1. /var/log/openproject/production.log
2. /var/log/openproject/web-.log
3. /var/log/apache2/{error,access}_log
If you check the access_log of Apache, you should be seeing something, in the very least a 404 if the configuration wasn’t made.
You can safely downgrade to 5.0.19 by reverting the reference to
stable/5
and re-configuring. It will contain some migrations that weren’t in 5.0.19 but those should not affect your installation.Best,
Oliver
Judging from you log output you edited in your post, the issue is related to including our server-wide configuration files.
It may be an issue for CentOS since we have little experience on that ourselves, but If your configuration would lead to
/etc/openproject/addons/apache2/includes/server
containing no*.conf
files, you could for the moment remove the offending line in/etc/httpd/conf.d/openproject.conf
.Could you elaborate on the options you chose during the wizard? Do you use any integrations (Git, SVN, etc.) ?
Best,
Oliver
Hi Oliver,
Thanks for your swift response and feedback.
At initial installation (5.0.19) i ran the
openproject configure
and follow the Wizard for installation.After updating to 6 and running
openproject configure
it just rebuild the project without problems.I now rerun
openproject reconfigure
and selected ‘Install apache’ again and went through all the other steps without changing my initial configuration settings.This solved my httpd issue.
You might want to mention this in the update guide :)
Thanks!
Thanks Martin for the update.
I will update the guides appropriately.
Best,
Oliver
Your welcome, great work btw on the update!