Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. [SOLVED] Update 5.0.19 -> 6.0.0 Packaged version error

[SOLVED] Update 5.0.19 -> 6.0.0 Packaged version error

Added by Martin Dunn almost 9 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)

RE: Update 5.0.19 -> 6.0.0 Packaged version error - Added by Oliver Günther almost 9 years ago

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

RE: Update 5.0.19 -> 6.0.0 Packaged version error - Added by Oliver Günther almost 9 years ago

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

[SOLVED] RE: Update 5.0.19 -> 6.0.0 Packaged version error - Added by Martin Dunn almost 9 years ago

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!

RE: [SOLVED] Update 5.0.19 -> 6.0.0 Packaged version error - Added by Oliver Günther almost 9 years ago

Thanks Martin for the update.

I will update the guides appropriately.

Best,
Oliver

RE: [SOLVED] Update 5.0.19 -> 6.0.0 Packaged version error - Added by Martin Dunn almost 9 years ago

Your welcome, great work btw on the update!

  • (1 - 5/5)
Loading...