Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • Professional 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
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • Support Installation & Updates

Content

503 Service Unavilable after instalation :(

Added by Carlos Lima over 6 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 (11)

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 6 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 6 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 6 years ago

Can someone help me

RE: 503 Service Unavilable after instalation :( - Added by Oliver Günther over 6 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 6 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 6 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 6 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 3 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 3 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 3 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 3 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.

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