Content
Installation Issues Linux Mint 18
Added by Karsten Klinge over 8 years ago
Hallo everybody,
I am a absolute newbee on Linux and Lamp. I got the LAMP system up and running on Linux Mint 18. The server (lokalhost) works just fine with the testsite. Now I tried to install Openproject and got this:
Installation looks fine for me:
karsten@karsten-desktop ~ $ sudo apt-get install openproject
[sudo] Passwort für karsten:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen…. Fertig
Die folgenden NEUEN Pakete werden installiert:
openproject
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 36 nicht aktualisiert.
Es müssen noch 0 B von 157 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 470 MB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket openproject wird gewählt.
(Lese Datenbank … 229124 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von …/openproject_6.0.3-1472029307.00c360e.xenial_amd64.deb …
Entpacken von openproject (6.0.3-1472029307.00c360e.xenial) …
Trigger für ureadahead (0.100.0-19) werden verarbeitet …
ureadahead will be reprofiled on next reboot
openproject (6.0.3-1472029307.00c360e.xenial) wird eingerichtet …
==
The openproject package provides an installer. Please run the following command to finish the installation:
sudo openproject configure
Configuration does not look that good:
karsten@karsten-desktop ~ $ sudo openproject configure
Launching installer for openproject…
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configureMySQL connection OK
DONE
[apache2] ./bin/configureDONE
[repositories] ./bin/configureDONE
[smtp] ./bin/configureDONE
[memcached] ./bin/configureDONE
[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
[Fri Aug 26 14:52:37.545629 2016] [so:warn] [pid 5554] AH01574: module dav_module is already loaded, skipping
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
Module cgi 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
Enabling site openproject.
To activate the new configuration, you need to run:
service apache2 reload
[repositories] ./bin/postinstall
Setting up SVN integration for Apache
Setting up Git integration for Apache
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
rake aborted!
+> URI::InvalidURIError: bad URI (is not URI?): mysql2://openproject:#########@127.0.0.1:3306/openproject+
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:36:in `initialize’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:270:in `new’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:270:in `resolve_url_connection’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:258:in `resolve_hash_connection’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:215:in `resolve_connection’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:139:in `resolve’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:151:in `block in resolve_all’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:150:in `each’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/connection_specification.rb:150:in `resolve_all’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_handling.rb:69:in `resolve’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:46:in `configurations=’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:48:in `block in module:Core’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/concern.rb:120:in `class_eval’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/concern.rb:120:in `append_features’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/base.rb:284:in `include’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/base.rb:284:in `class:Base’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/base.rb:269:in `module:ActiveRecord’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/base.rb:26:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-session_store-0.1.2/lib/active_record/session_store/session.rb:6:in `module:SessionStore’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-session_store-0.1.2/lib/active_record/session_store/session.rb:4:in `module:ActiveRecord’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-session_store-0.1.2/lib/active_record/session_store/session.rb:3:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-session_store-0.1.2/lib/active_record/session_store.rb:32:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/activerecord-session_store-0.1.2/lib/activerecord/session_store.rb:1:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:91:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:91:in `rescue in block in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:68:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require’
/opt/openproject/config/application.rb:66:in `<top (required)>’
/opt/openproject/Rakefile:33:in `require’
/opt/openproject/Rakefile:33:in `<top (required)>’
+*> /opt/openproject/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>’
LoadError: cannot load such file — activerecord-session_store*+
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `block (2 levels) in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require’
/opt/openproject/config/application.rb:66:in `<top (required)>’
/opt/openproject/Rakefile:33:in `require’
/opt/openproject/Rakefile:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>’
(See full trace by running task with –trace)
If I do the “web start” I get this error:
*karsten@karsten-desktop ~ $ sudo openproject run web start
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/lib/unicorn/configurator.rb:643:in `parse_rackup_file’: rackup file (start) not readable (ArgumentError)
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/lib/unicorn/configurator.rb:74:in `reload’
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/lib/unicorn/configurator.rb:65:in `initialize’
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:76:in `new’
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:76:in `initialize’
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/bin/unicorn:126:in `new’
from /opt/openproject/vendor/bundle/ruby/2.1.0/gems/unicorn-5.0.1/bin/unicorn:126:in `<top (required)>’
from /opt/openproject/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load’
from /opt/openproject/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `’*
As espected the system is not running, so if I do “127.0.0.1/openproject/” I get:
Not Found
The requested URL /openproject/ was not found on this server.
Apache/2.4.18 (Ubuntu) Server at 127.0.0.1 Port 80
What am I doing wrong?
Thank very much for your help
Karsten
Replies (1)
Hi Karsten,
first of all: Kudos to you!
Installing OpenProject with only a little knowledge of linux is quite a task!
From the output of your logs, the most important part is:
rake will usually setup your database, compile assets etc…
Without it being run, there is no chance you will be able to access openproject on your server.
Second thing: The log shows you, what the problem with rake is. Your mysql connection does not work.
Try to rerun openproject configuration with
and make sure that you fill out the mysql settings properly.
This should fix your database problem.
Best
Oliver