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. 503 Service Unavilable after instalation :(

503 Service Unavilable after instalation :(

Added by Carlos Lima over 8 years ago

OpenProject installed via “package manager”, after finishing, accessed via the IP browser and displays the following message:

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

I accessed the log file (tail /var/log/apache2/error.log) and shows the following:

[Mon Aug 15 09: 26: 38.750694 2016] [proxy_http: error] [pid 52046: tid 140,641,824,618,240] [client 192.168.1.169:61659] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Mon Aug 15 09: 31: 22.810911 2016] [proxy: error] [pid 52046: tid 140,641,816,225,536] (111) Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed
[Mon Aug 15 09: 31: 22.810953 2016] [proxy: error] [pid 52046: tid 140,641,816,225,536] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) is 0s
[Mon Aug 15 09: 31: 22.810958 2016] [proxy_http: error] [pid 52046: tid 140,641,816,225,536] [client 192.168.1.169:61731] AH01114: HTTP: failed to make connection to backend: 127.0.0.1

I edited the file to disable the “backend” proxy (sudo vim /etc/apache2/sites-enabled/openproject.conf) and shows the following now:

AH01276: Can not serve directory / opt / openproject / public /: No matching DirectoryIndex (index.html, index.cgi, index.pl, index.php, index.xhtml, index.htm) found, and server-generated directory index forbidden by Options directive

Can anyone help me in a definitive solution to access the OpenProject ??? Already installed in Ubuntu, Debian and CentOS and all happen the same problem.

I imagined that the installation was easy :(


Replies (12)

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 8 years ago

Hey Carlos,

is the application server running?

oliver:~ # service openproject status
openproject-web-1 is running
openproject-worker-1 is running

Also, is there any relevant output in /var/log/openproject/web-1.log and /var/log/openproject/production.log ?

Best,
Oliver

RE: 503 Service Unavilable after instalation :( - Added by Carlos Lima over 8 years ago

I’m using Ubuntu, and when I run the command, it appears:

openproject: unrecognized service

on the log files, the file “/var/log/openproject/web-1.log” does not exist and the other file shows the following:

tail /var/log/openproject/production.log
W [2016-08-14T23: 16: 43.615583 # 47931] WARN -: [auth_saml] Missing settings from ‘/opt/openproject/config/plugins/auth_saml/settings.yml’, skipping omniauth registration.
W [2016-08-14T23: 16: 43.770971 # 47931] WARN -: hook registered
W [2016-08-15T01: 15: 04.348166 # 48625] WARN -: [auth_saml] Missing settings from ‘/opt/openproject/config/plugins/auth_saml/settings.yml’, skipping omniauth registration.
W [2016-08-15T01: 15: 04.418089 # 48625] WARN -: hook registered

If you help me friend, I will be very grateful. I need to put a project manager in the company, and all I’ve seen, the OpenProject is the most complete.

Thank you very much in advance!!!!

RE: 503 Service Unavilable after instalation :( - Added by Carlos Lima over 8 years ago

Can someone help me

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 8 years ago

Hi Carlos,

I haven’t used 16.04. productively yet, but you’ll probably have to use systemctl <status|restart|..> openproject instead now.

Can you check whether the application server is running through the following commands?

ps aux | grep unicorn
# Should output 1 unicorn master + N unicorn worker depending on your WEB_CONCURRENCY setting

ps aux | grep jobs:work
# Should output ruby /opt/openproject/vendor/bundle/ruby/2.1.0/bin/rake jobs:work

Best,
Oliver

RE: 503 Service Unavilable after instalation :( - Added by Carlos Lima over 8 years ago

carlos@server:~$ sysctl restart openproject
sysctl: não foi possível obter status de /proc/sys/restart: Arquivo ou diretório não encontrado
sysctl: não foi possível obter status de /proc/sys/openproject: Arquivo ou diretório não encontrado
carlos@server:~$ ps aux | grep unicorn
carlos 50127 0.0 0.2 11776 2148 pts/0 S+ 09:01 0:00 grep —color=auto unicorn
carlos@server:~$ ps aux | grep jobs:work
carlos 50129 0.0 0.2 11776 2184 pts/0 S+ 09:01 0:00 grep —color=auto jobs:work

I did the installation basing me this link: https://packager.io/gh/opf/openproject-ce/install?bid=173#ubuntu-14-04-openproject

Can someone help me please

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 8 years ago

Hey Carlos,

judging from your output, the service is not running.
Other users have also reported issues with the upstart scripts on 16.04.

We’re tracking this in the following ticket: https://community.openproject.com/work_packages/23805/

Best,
Oliver

RE: 503 Service Unavilable after instalation :( - Added by Carlos Lima over 8 years ago

I’m installing on Unbuntu 14. The link that informed me has no solution !!!

I want to put OpenProjct to work, what should I do ?? Which version to install ?? I follow the tutorial installation but never works …. I’ve tested on all versions of operating systems indicated by OpenProject but can never put to work …. Why does this happen ???

RE: 503 Service Unavilable after instalation :( - Added by vishal sapkal over 5 years ago

Hi All, Could you please help me Error  site was working last 1 years today automatically found down 
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.4.18 (Ubuntu) Server at  Port 80

when run command on the server getting error 
 openproject run web

I, [2019-10-05T06:02:18.200748 #18363]  INFO -- : Refreshing Gem list

bundler: failed to load command: unicorn (/opt/openproject/vendor/bundle/ruby/2.4.0/bin/unicorn)

Psych::SyntaxError: (<unknown>): could not find expected ':' while scanning a simple key at line 42 column 1

 /opt/openproject/vendor/ruby-2.4.4/lib/ruby/2.4.0/psych.rb:377:in `parse'

 /opt/openproject/vendor/ruby-2.4.4/lib/ruby/2.4.0/psych.rb:377:in `parse_stream'

 /opt/openproject/vendor/ruby-2.4.4/lib/ruby/2.4.0/psych.rb:325:in `parse'

 /opt/openproject/vendor/ruby-2.4.4/lib/ruby/2.4.0/psych.rb:252:in `load'

 /opt/openproject/lib/open_project/configuration.rb:378:in `load_config_from_file'

 /opt/openproject/lib/open_project/configuration.rb:133:in `load'

 /opt/openproject/lib/open_project/configuration.rb:202:in `[]'

 /opt/openproject/config/application.rb:149:in `<class:Application>'

 /opt/openproject/config/application.rb:77:in `<module:OpenProject>'

 /opt/openproject/config/application.rb:76:in `<top (required)>'

 /opt/openproject/config/environment.rb:31:in `require'

 /opt/openproject/config/environment.rb:31:in `<top (required)>'

 config.ru:33:in `require'

 config.ru:33:in `block in <main>'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `instance_eval'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `initialize'

 config.ru:1:in `new'

 config.ru:1:in `<main>'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn.rb:56:in `eval'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn.rb:56:in `block in builder'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:796:in `build_app!'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:139:in `start'

 /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `<top (required)>'

 /opt/openproject/vendor/bundle/ruby/2.4.0/bin/unicorn:23:in `load'

 /opt/openproject/vendor/bundle/ruby/2.4.0/bin/unicorn:23:in `<top (required)>'

and status
service openproject status

● openproject.service

  Loaded: loaded (/etc/systemd/system/openproject.service; enabled; vendor preset: enabled)

  Active: active (running) since Sat 2019-10-05 05:29:39 UTC; 32min ago

Main PID: 1138 (sleep)

   Tasks: 1

  Memory: 112.0K

     CPU: 675us

  CGroup: /system.slice/openproject.service

          └─1138 /bin/sleep infinity

Please let me know

Regards,
Vishal

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 5 years ago

You have a configuration option set that cannot be parsed by YAML.

Did you modify your config/configuration.yml in your OpenProject root or put a weird value in your openproject config output.

Best,

Oliver

RE: 503 Service Unavilable after instalation :( - Added by Jānis Roze over 5 years ago

I have a similar problem. I installed it on a fresh instalation of ubuntu server 18.04 and only followed the instructions @ https://www.openproject.org/download-and-installation/

Then I started using it. It seemed to work fine but after active use navigating trough links I get the 503 for a few minutes and then it once again works like nothing happened.

Maybe someone knows what could be the issue.

It may be related to memory because i run

openproject run web

it run well until it output this

E, [2019-10-10T07:34:46.998785 #8795] ERROR -- : reaped #<Process::Status: pid 8850 SIGKILL (signal 9)> worker=23
E, [2019-10-10T07:34:47.546224 #8795] ERROR -- : Cannot allocate memory - fork(2) (Errno::ENOMEM)

Thanks in advance

RE: 503 Service Unavilable after instalation :( - Added by Jānis Roze over 5 years ago

I have resolved my issue. I updated the installation package of OpenProject and it worked. Seems there was a small problem with the installation which since has been fixed.

RE: RE: 503 Service Unavilable after instalation :( - Added by gabriel peres 7 months ago

I have a similar problem. I cloned my environment to test the update of the new version of Open, but the service is not starting and returns 503 when I try to access it.

[ok] PostgreSQL configuration is working
[ko] Web server is NOT running
[ok] openproject server is running
[ok] openproject background job worker is running

Can anyone help me?

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