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. Installation Issues Linux Mint 18

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/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
[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)

RE: Installation Issues Linux Mint 18 - Added by Oliver Jakobi over 8 years ago

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 aborted!

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

sudo openproject reconfiugure

and make sure that you fill out the mysql settings properly.
This should fix your database problem.

Best
Oliver

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