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. OP First run

OP First run

Added by Fabio Del Moro over 6 years ago

HI folks!

I successfully completed the installation of OpenProject on Ubuntu 18.04, but when I browse the hostname I chose the browser answers: page not found.

Any suggestion?


Replies (8)

RE: OP First run - Added by Fabio Del Moro over 6 years ago

After running the command:

sudo openproject run web 

I get the following response:

E, [2019-01-16T11:53:33.713382 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
E, [2019-01-16T11:53:33.713580 #8577] ERROR -- : retrying in 0.5 seconds (4 tries left) 
E, [2019-01-16T11:53:34.214366 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
E, [2019-01-16T11:53:34.214484 #8577] ERROR -- : retrying in 0.5 seconds (3 tries left) 
E, [2019-01-16T11:53:34.716589 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
E, [2019-01-16T11:53:34.717100 #8577] ERROR -- : retrying in 0.5 seconds (2 tries left) 
E, [2019-01-16T11:53:35.218460 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
E, [2019-01-16T11:53:35.218988 #8577] ERROR -- : retrying in 0.5 seconds (1 tries left) 
E, [2019-01-16T11:53:35.722158 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
E, [2019-01-16T11:53:35.722626 #8577] ERROR -- : retrying in 0.5 seconds (0 tries left) 
E, [2019-01-16T11:53:36.224420 #8577] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use) 
bundler: failed to load command: unicorn (/opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn) 
Errno::EADDRINUSE: Address already in use - bind(2) for 127.0.0.1:6000 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:164:in `bind' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:164:in `new_tcp_server' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:144:in `bind_listen' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:241:in `listen' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `block in bind_new_listeners!' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `each' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `bind_new_listeners!' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:140:in `start' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/bin/unicorn:126:in `<top (required)>' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `load' 
 /opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `<top (required)>' 
Any suggestion should be appreciable

Thanks

RE: OP First run - Added by Oliver Günther over 6 years ago

Dear Fabio,

the error is right in your output: Errno::EADDRINUSE: Address already in use.

The port  6000 is already bound in your output. Some other process is running on that port. You should be able to override the port to a free value with openproject config:set PORT=12345 (replace 12345 with a port value).

RE: OP First run - Added by Fabio Del Moro over 6 years ago

I changed the port from 6000 to 3000 as suggested and now I can see Openproject apparently runing on the port 3000

fabio@ubuntu:~$ sudo lsof -wni tcp:3000
COMMAND  PID        USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
ruby    5278 openproject    8u  IPv4  59245      0t0  TCP 127.0.0.1:3000 (LISTEN)
ruby    5342 openproject    8u  IPv4  59245      0t0  TCP 127.0.0.1:3000 (LISTEN)

But giving:

sudo openproject run web

I am always getting the same damned message:

E, [2019-01-17T10:19:01.210851 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
E, [2019-01-17T10:19:01.211014 #5370] ERROR -- : retrying in 0.5 seconds (4 tries left)
E, [2019-01-17T10:19:01.715447 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
E, [2019-01-17T10:19:01.715884 #5370] ERROR -- : retrying in 0.5 seconds (3 tries left)
E, [2019-01-17T10:19:02.219909 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
E, [2019-01-17T10:19:02.220235 #5370] ERROR -- : retrying in 0.5 seconds (2 tries left)
E, [2019-01-17T10:19:02.722061 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
E, [2019-01-17T10:19:02.722148 #5370] ERROR -- : retrying in 0.5 seconds (1 tries left)
E, [2019-01-17T10:19:03.223427 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
E, [2019-01-17T10:19:03.223658 #5370] ERROR -- : retrying in 0.5 seconds (0 tries left)
E, [2019-01-17T10:19:03.724577 #5370] ERROR -- : adding listener failed addr=127.0.0.1:3000 (in use)
bundler: failed to load command: unicorn (/opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn)
Errno::EADDRINUSE: Address already in use - bind(2) for 127.0.0.1:3000
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:164:in `bind'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:164:in `new_tcp_server'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/socket_helper.rb:144:in `bind_listen'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:241:in `listen'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `block in bind_new_listeners!'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `each'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:851:in `bind_new_listeners!'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/lib/unicorn/http_server.rb:140:in `start'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.0/bin/unicorn:126:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `load'
/opt/openproject/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `<top (required)>'

Please, I am about to have a nervous breakdown!

RE: OP First run - Added by Peter-Jost Spies almost 6 years ago

I have exactly the same problem. Did that get resolved yet?

I killed the process occupying the port (OpenProject), gave a new port and re-ran 'openproject run web' to no avail.

RE: OP First run - Added by Oliver Günther almost 6 years ago

If you manually run openproject run web, you will likely create conflicts with the openproject-web.service that will try to spawn. Did you try to update the port to a free value und run openproject configure instead of run web (which only starts the web process manually). The reconfiguration will properly configure and restart the services to map the outer web server to localhost:<your port>

Best,

Oliver

install, configure OP (was: OP First run) - Added by Peter-Jost Spies almost 6 years ago

Thanks. I stopped the firewall, rebooted, ran 'openproject configure' again, opened the browser at 127.0.01, and forced to open the "unsafe" connection to openproject...  It works, and I see squares instead of icons--but I can try it.  It seems to be less versatile and user friendly than MS Project or even ProjectLibre.   I will remove the package again, I think.

RE: OP First run - Added by Niels Lindenthal almost 6 years ago

Hi Peter,

you are comparing apples with oranges: 

ProjectLibre and MS Project are single-user desktop applications. OpenProject is a webbased multi-user collaboration system.

There are very many people that put a lot of effort and heart blood into this. Posts like this are unfair and frustrating. There were even people that tried to help you. They used their spar time to support you with your setup.

However there are enough people out that there that appreciate our effort. Did you ever contribute to an open source project?

Best
Niels

RE: RE: OP First run - Added by Peter-Jost Spies almost 6 years ago

Sorry, Niels. 

I didn't mean to offend anyone, ...and I do appreciate the response I got (although it didn't solve  my installation issue).

Thank you for clarifying the difference between OP and the other products--I failed  to  understand OP's intent when I scouted for a tool to replace MSP.  Actually, following your explanations, I think OP is a cool APP  for that purpose. 

To answer your specific question, I have not contributed to Open Software Projects yet. My computing skills are "sub-standard."

Best regards

Peter

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