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. Passenger problem

Passenger problem

Added by Lukas Addes over 6 years ago

Hi, i have problem with passenger (apache2)...

I decided to install the openproject manually because the automatic installation is bad. 
I did everything, but I can not configure apache2. I can not access openproject (it does not work: "http://176.122.225.120/openproject" and "http://176.122.225.120"). I would like to make it: 
ip_servera/openProject

/etc/apache2/sites-available/openproject.conf:

SetEnv EXECJS_RUNTIME Disabled 

<VirtualHost *:80> 
  #ServerName 176.122.225.120 
  DocumentRoot /home/openproject/openproject-ce/public 
  <Directory /home/openproject/openproject-ce/public> 
     # This relaxes Apache security settings. 
     AllowOverride all 
     # MultiViews must be turned off. 
     Options -MultiViews 
     # Uncomment this if you're on Apache >= 2.4: 
     Require all granted 
  </Directory> 

  # Request browser to cache assets 
  <Location /assets/> 
    ExpiresActive On ExpiresDefault "access plus 1 year" 
  </Location> 

</VirtualHost> 

/etc/apache2/mods-available

passenger.load

LoadModule passenger_module /home/openproject/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/passenger-6.0.1/buildout/apache2/mod_passenger.so

passenger.conf

<IfModule mod_passenger.c> 
PassengerRoot /home/openproject/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/passenger-6.0.1 
PassengerDefaultRuby /home/openproject/.rbenv/versions/2.5.3/bin/ruby 
</IfModule>

Please help... I try to install it all day.


Replies (2)

RE: Passenger problem - Added by Lukas Addes over 6 years ago

and error.log apache2

https://pastebin.com/edT1Qet6

RE: Passenger problem - Added by Lukas Addes over 6 years ago

new problem:

App 4755 output: [ 2019-02-10 14:54:07.9653 4755/0x000055c71d60aa10(Worker 1) utils.rb ]: *** Exception RuntimeError in Rack application object (Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`) (process 4755, thread 0x000055c71d60aa10(Worker 1)):
App 4755 output:  from /home/openproject/openproject-ce/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:510:in `validate_secret_key_config!'
App 4755 output:  from /home/openproject/openproject-ce/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:247:in `env_config'
App 4755 output:  from /home/openproject/openproject-ce/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:692:in `build_request'
App 4755 output:  from /home/openproject/openproject-ce/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:518:in `build_request'

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