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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Error "503 Service Unavailable" after new Installation

Error "503 Service Unavailable" after new Installation

Added by Markus M over 9 years ago

Hi,

I am new to openproject and installed it the first time on my server running debian 8.2 using the package installation guide. After I switched to systemd and rebootet, everything looked fine except the fact that I get an 502 error when I want to access the webinterface via apache webserver.

I enabled the apache-error loggin within the /etc/apache2/sites-enabled/openproject.conf to find out what’s going on an found:

connect_to : unknown host (Name or service not known) [Sun Dec 13 11:42:56.392544 2015] [proxy_http:error] [pid 6450] (20014)Internal error: [client 80.109.199.135:57272] AH01102: error reading status line from remote server 127.0.0.1:6000 [Sun Dec 13 11:42:56.392705 2015] [proxy:error] [pid 6450] [client 80.109.199.135:57272] AH00898: Error reading from remote server returned by /

According to the apache config all requests will be forwarded to http://127.0.0.1:6000 and I guess this should be the port where the application server (unicorn) should listen on … am I right?

If yes and I check my ports via “netstat -tulpn” I don’t see anything using the port 6000, so I guess unicorn is not running. Any ideas what might be the problem?

Thanks,
Max


Replies (3)

RE: Error 502 after new Installation - Added by Markus M over 9 years ago

No one?

Does anyone know how to start/stop openproject? And I don’t need the restart of the apache webserver.

Thanks,
Max

RE: Error 502 after new Installation - Added by Markus M over 9 years ago

OK, I didn’t have much time to work on my problem but found out today that unicorn was not started because it was not enabled via /etc/default/unicorn.
To enable it you have to set “CONFIGURED=yes”. This was easy but I also have to set a valid parameter for APP_ROOT (default is “/path/to/your/web/application”) and don’t know what that would be for openproject?

Any Ideas?

Thanks,
Max

RE: Error "503 Service Unavailable" after new Installation - Added by Markus M over 9 years ago

I finally managed to run/start openoffice. Shutting it down and starting it did the job:
openproject scale web=0 worker=0; openproject scale web=1 worker=1

Max

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