Content
Fresh Installation on Ubuntu server 18.04 - 503 Service Unavailable
Added by Massimiliano Palizzi about 6 years ago
Hello everyone,
I'm trying to install Openproject on a fresh installation of Ubuntu server 18.04. I installed everything, but when I run this command I get the following result:
sudo openproject configure
Launching installer for openproject...
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
MySQL connection OK
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
[repositories] ./bin/preinstall
Module perl already enabled
Module dav already enabled
Considering dependency dav for dav_svn:
Module dav already enabled
Module dav_svn already enabled
[Wed Jan 16 09:35:26.017015 2019] [so:warn] [pid 4194] AH01574: module dav_module is already loaded, skipping
Your MPM seems to be threaded. Selecting cgid instead of cgi.
Module cgid already enabled
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Generating /etc/openproject/conf.d/database...
[apache2] ./bin/postinstall
Module rewrite already enabled
Module proxy already enabled
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module headers already enabled
Module expires already enabled
Considering dependency filter for deflate:
Module filter already enabled
Module deflate already enabled
Module filter already enabled
Site openproject already enabled
[repositories] ./bin/postinstall
Setting up SVN integration for Apache
Setting up Git integration for Apache
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
* * * * * * * * * * * * * * * * * * * * * * * * *
* OpenProject requires UTF-8 encoding set on MySQL < 5.7 *
and UTF-8mb4 beyond that. Please ensure having set
* *
production:
* encoding: utf8mb4 *
* in config/database.yml. *
Otherwise, you WILL run into encoding issue when using 4 byte
* UTF-8 characters since utf8 encoding in MySQL doesn't support them. *
* If you have been running utf8 in the past, please see this guide *
on how to convert your database:
* https://mathiasbynens.be/notes/mysql-utf8mb4 *
* * * * * * * * * * * * * * * * * * * * * * * * *
*** 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
↳ ColorSchemeSeeder
*** Skipping flat 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
↳ SettingSeeder
*** Skipping settings as all settings already exist in the db
Loading discovered seeders:
↳ EnumerationsSeeder
↳ SettingSeeder
*** Skipping BasicData::Backlogs::SettingSeeder
*** Seeding admin user
*** No need to seed an admin as there already is one.
*** Seeding demo data
↳ ProjectSeeder
*** Skipping DemoData::ProjectSeeder
Loading discovered seeders:
↳ MyProjectsOverviewSeeder
*** Skipping DemoData::MyProjectPage::MyProjectsOverviewSeeder
*** Loading action_view_railtie seed data
*** 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_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_webhooks seed data
*** Loading openproject_github_integration seed data
rake aborted!
URI::InvalidComponentError: bad component(expected host component): test_server
/opt/openproject/lib/tasks/packager.rake:109:in `block (3 levels) in <top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'
/opt/openproject/bin/bundle:3:in `load'
/opt/openproject/bin/bundle:3:in `<main>'
Tasks: TOP => packager:postinstall => packager:setup:scm
(See full trace by running task with --trace)
Could someone help me I cannot understand how to fix it.
Many thanks
Replies (2)
I completed the installation of Ruby, and some other things left. After a reconfiguration no errors but same 503. Tryed to run
and I have
Some advice? Thanks
Solved with
changing 12345 with a port I choosed