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. cannot run open project after installation

cannot run open project after installation

Added by Alireza Salehi over 7 years ago

I installed openproject 7.4 on a centos 7 x64 with latest updates (minimal install) with following commands as instructed in this page: https://www.openproject.org/download-and-installation/:

1. sudo wget -O /etc/yum.repos.d/openproject-ce.repo \
https://dl.packager.io/srv/opf/openproject-ce/stable/7/installer/el/7.repo
2. sudo yum install openproject
3. openproject configure

the configure commad output is :

openproject configure
Launching installer for openproject...
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
DONE
[apache2] ./bin/configure
DONE
[repositories] ./bin/configure
DONE
[smtp] ./bin/configure
DONE
[memcached] ./bin/configure
DONE
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
Note: Forwarding request to 'systemctl enable httpd.service'.
[repositories] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
Note: Forwarding request to 'systemctl enable memcached.service'.
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Generating /etc/openproject/conf.d/database...
[apache2] ./bin/postinstall
Redirecting to /bin/systemctl restart httpd.service
[repositories] ./bin/postinstall
No repositories have been configured. Skipping configuration.
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
*** Seeding for locale: 'en'
*** Seeding basic data
 ↳ BuiltinRolesSeeder
   *** Skipping built in role Non member - already exists
   *** Skipping built in role Anonymous - already exists
 ↳ RoleSeeder
   *** Skipping roles as there are already some configured
 ↳ ActivitySeeder
   *** Skipping activities as there are already some configured
 ↳ ColorSeeder
   *** Skipping colors as there are already some configured
 ↳ WorkflowSeeder
   *** Skipping types, statuses and workflows as there are already some configured
 ↳ PrioritySeeder
   *** Skipping priorities as there are already some configured
 ↳ ProjectStatusSeeder
   *** Skipping reported project status as there are already some configured
 ↳ ProjectTypeSeeder
   *** Skipping project types as there are already some configured
 ↳ SettingSeeder
   *** Skipping settings as all settings already exist in the db
   Loading discovered seeders:
 ↳ SettingSeeder
   *** Skipping BasicData::Backlogs::SettingSeeder
 ↳ EnumerationsSeeder
*** Seeding admin user
   *** No need to seed an admin as there already is one.
*** Seeding demo data
 ↳ ProjectSeeder
   *** Skipping DemoData::ProjectSeeder
*** Loading action_cable_engine seed data
*** Loading typed_dag_engine seed data
*** Loading date_validator_engine seed data
*** Loading ok_computer seed data
*** Loading bourbon_engine seed data
*** Loading i18n_js_engine seed data
*** Loading openproject_translations seed data
*** Loading openproject_global_roles seed data
*** Loading openproject_auth_plugins seed data
*** Loading openproject_auth_saml seed data
*** Loading lobby_boy seed data
*** Loading openproject_openid_connect seed data
*** Loading openproject_documents seed data
*** Loading openproject_my_project_page seed data
*** Loading openproject_xls_export seed data
*** Loading reportingengine seed data
*** Loading openproject_costs seed data
*** Loading openproject_reporting seed data
*** Loading openproject_meeting seed data
*** Loading openproject_pdf_export seed data
*** Loading openproject_backlogs seed data
*** Loading openproject_avatars seed data
*** Loading openproject_two_factor_authentication seed data
*** Loading openproject_ldap_groups seed data
*** Loading openproject_webhooks seed data
*** Loading openproject_github_integration seed data
Nothing to do.
Nothing to do.
Redirecting to /bin/systemctl restart openproject.service

but nothing runs after configuration, and when i run web command i get an error:

openproject run web
I, [2018-02-11T09:54:02.411310 #29406]  INFO -- : Refreshing Gem list
E, [2018-02-11T09:54:06.958360 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
E, [2018-02-11T09:54:06.958410 #29406] ERROR -- : retrying in 0.5 seconds (4 tries left)
E, [2018-02-11T09:54:07.459414 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
E, [2018-02-11T09:54:07.459462 #29406] ERROR -- : retrying in 0.5 seconds (3 tries left)
E, [2018-02-11T09:54:07.960502 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
E, [2018-02-11T09:54:07.960553 #29406] ERROR -- : retrying in 0.5 seconds (2 tries left)
E, [2018-02-11T09:54:08.461667 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
E, [2018-02-11T09:54:08.461715 #29406] ERROR -- : retrying in 0.5 seconds (1 tries left)
E, [2018-02-11T09:54:08.962616 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
E, [2018-02-11T09:54:08.962662 #29406] ERROR -- : retrying in 0.5 seconds (0 tries left)
E, [2018-02-11T09:54:09.463018 #29406] ERROR -- : adding listener failed addr=127.0.0.1:6000 (in use)
bundler: failed to load command: unicorn (/opt/openproject/vendor/bundle/ruby/2.4.0/bin/unicorn)
Errno::EADDRINUSE: Address already in use - bind(2) for 127.0.0.1:6000
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/socket_helper.rb:164:in `bind'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/socket_helper.rb:164:in `new_tcp_server'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/socket_helper.rb:144:in `bind_listen'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:241:in `listen'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:852:in `block in bind_new_listeners!'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:852:in `each'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:852:in `bind_new_listeners!'
  /opt/openproject/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:140: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)>'

how can i fix this?


Replies (3)

RE: cannot run open project after installation - Added by Alireza Salehi over 7 years ago

problem fixed, it was running correctly, but firewall blocked everything,

why there is no mention of firewall settings in installation document?!!!!

after installation you need to run following commands:

sudo firewall-cmd —add-service=http —permanent
sudo firewall-cmd —add-service=https —permanent
sudo firewall-cmd —reload

RE: cannot run open project after installation - Added by Ricardo Vigatti about 7 years ago

And for Ubuntu 16:

sudo ufw allow http
sudo ufw allow https

RE: cannot run open project after installation - Added by Deleted user about 7 years ago

Alireza Salehi wrote:

I installed openproject 7.4 on a centos 7 x64 with latest updates (minimal install) with following commands as instructed in this page: https://www.openproject.org/download-and-installation/:

1. sudo wget -O /etc/yum.repos.d/openproject-ce.repo \n> https://dl.packager.io/srv/opf/openproject-ce/stable/7/installer/el/7.repo
2. sudo yum install openproject
3. openproject configure

the configure commad output is :
[…]

but nothing runs after configuration, and when i run web command i get an error:
[…]

how can i fix this?

I am a newbie and installed openproject after installation on centos on UI it never excepts my login, is there a way I can reset/create a admin account from backend?

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