Open link in a new tab

Content

Expand project menu

Passenger problem

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.

Message actions

and error.log apache2

https://pastebin.com/edT1Qet6

Message actions

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'