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 install/run on Debian 9

Cannot install/run on Debian 9

Added by jaaa jaaa over 6 years ago

Hi,

i'm trying to install Openproject 8 on Debian 9 using debian repository. Everything goes quite fine but application won't run, returning error 500. This is logged into Apache error log:

App 23027 stdout:
App 23027 stderr:  [passenger_native_support.so] trying to compile for the current user (openproject) and Ruby interpreter...
App 23027 stderr:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 23027 stderr:      Compilation successful. The logs are here:
App 23027 stderr:      /tmp/passenger_native_support-1eky6yk.log
App 23027 stderr:  [passenger_native_support.so] successfully loaded.
App 23027 stderr: /opt/openproject/vendor/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
App 23027 stderr: :
App 23027 stderr: cannot load such file -- phusion_passenger
App 23027 stderr:  (
App 23027 stderr: LoadError
App 23027 stderr: )
App 23027 stderr:       from /opt/openproject/vendor/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
App 23027 stderr:       from /usr/bin/passenger-config:27:in `<main>'
App 23027 stdout:
[ 2019-01-17 11:40:57.4416 22979/7f9090925700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /opt/openproject: An error occurred while starting up t
he preloader.
 Error ID: 73a97854
 Error details saved to: /tmp/passenger-error-4DU2e8.html
 Message from application: cannot load such file -- bundler/setup (LoadError)
 /opt/openproject/vendor/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
 /opt/openproject/vendor/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
 /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem'
 /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code'
 /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler'
 /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code'
 /usr/share/passenger/helper-scripts/rack-preloader.rb:100:in `preload_app'
 /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
 /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
 /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
[ 2019-01-17 11:40:57.4493 22979/7f908a275700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the
error is 73a97854. Please see earlier logs for details about the error.

I installed these Debian packages:
language-text
libapache2-mod-passengerpassenger
ruby-passenger

Here is Apache config for mod_passenger:

<IfModule mod_passenger.c>
 PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
 PassengerDefaultRuby /opt/openproject/vendor/ruby-2.5.1/bin/ruby
</IfModule>

In the error message above, i see that this part is probably important:

cannot load such file -- phusion_passenger

but i don't know what it is, where it's suppose to be etc. I was trying to install 'phusion_passenger' as gem but it not exists - anyway, i don't know how to install gems into '/opt/openproject/vendor/bundle/ruby/2.5.0/gems', they are always installed in different directories.

Any hints? It seems that Openproject don't support Debian 9 as it has only ruby 2.3.3 and installer won't set bundled ruby (2.5.1) in any places (even in apache while using apache install).


Loading...