Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • 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
    • 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • Forums
  • Feature tour
    Feature tour
You are here:
  • Forums
  • General discussion

Content

OpenProject not starting after fresh installation

Added by John Mink 9 days ago

I just performed a fresh installation of OpenProject using the package manager installation.  However when I try to access the page/service I get an error from Apache

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

This is what I get as my service file:

[Unit]
StopWhenUnneeded=true

[Service]
# this service is just a placeholder
ExecStart=/bin/sleep infinity

[Install]
WantedBy=multi-user.target

Is this service file correct (I see it says it's a placeholder, but I'm not sure if that's for the devs or the sysadmin), or is it a problem? Does that mean that the "/bin/sleep infinity" I see in my process list "ps -ef" could actually be indicating that openproject IS running (since ps -ef | grep roject returns nothing...)

This is the output of systemctl status openproject which does indicate the service is running--but if the service is just "sleep infinity" that's hardly what I was hoping for!

+ systemctl status openproject
openproject.service -
    Loaded: loaded (/etc/systemd/system/openproject.service, enabled)
    Active: active (running)

Replies (2)

RE: OpenProject not starting after fresh installation - Added by Malena Smith 6 days ago

Check Configuration Files: Make sure that the OpenProject configuration files are correctly set up, including Apache configurations, database settings, and other relevant configuration files. Verify that the paths and settings are accurate.

Check Apache Configuration: Review your Apache configuration files (usually found in /etc/apache2/sites-available/ or /etc/httpd/conf.d/) to ensure that they are correctly configured to serve OpenProject. Check for any errors in your Apache configuration that may be causing the "Service Unavailable" error.

Check Logs: Examine the Apache error logs (typically found in /var/log/apache2/error.log or /var/log/httpd/error_log) and OpenProject logs for any error messages or issues that may provide more details about the problem. Myecp Login

Database Connection: Ensure that OpenProject can connect to the database server specified in its configuration files. Check database credentials, permissions, and network connectivity.

System Resources: Verify that the server has adequate system resources (CPU, RAM, disk space) available to run OpenProject.

Restart Services: After making any necessary configuration changes, restart both Apache and the OpenProject service to apply the changes. Use the following commands:

RE: OpenProject not starting after fresh installation - Added by John Mink 3 days ago

Thanks for the response though I admit I'm confused by the "myecp login" link in your response, was that an example of some sort or just pasted to the wrong place?  Regardless I appreciate you mentioning file paths in your response.

In fact, this is an example of what I found in the /var/log/apache2/error.log file.  The full log has many more lines but they seem to all be some form of failed to connect

[Sun Sep 24 19:05:21.676516 2023] [proxy:error] [pid 4322:tid 140268867089984] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed

This to me indicates that Apache is attempting to (correctly) refer traffic to OpenProject but OpenProject is just not there (or at least not listening)?

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