Can't get Redmine working with Passenger on Centos
Added by Mathias Landolt over 8 years ago
Hi
I'm trying to get Redmine working on my Centos7
Environment:
Redmine version 3.2.2.stable
Ruby version 2.3.0-p0 (2015-12-25) [x86_64-linux]
Rails version 4.2.5.2
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed
The httpd error log says:
[ 2016-06-26 12:02:00.1681 2155/7fd23c43b700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /var/www/redmine: An error occurred while starting up the preloader.
Error ID: e746a744
Error details saved to: /tmp/passenger-error-GMBVtx.html
Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p>
bundle install
<p>If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:</p>
<ol>
<li>Is this app supposed to be run as the apache
user?</li>
<li>Is this app being run on the correct Ruby interpreter? Below you will
see which Ruby interpreter Phusion Passenger attempted to use.</li>
</ol>
<p>-------- The exception is as follows: -------</p>
Could not find rake-11.1.2 in any of the sources (Bundler::GemNotFound)
/usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `map!' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `materialize' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:140:in `specs' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in `specs_for' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:174:in `requested_specs' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in `requested_specs' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:in `setup' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup' /usr/local/share/gems/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `<top (required)>' /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require' /usr/share/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem' /usr/share/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code' /usr/share/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler' /usr/share/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>'
[ 2016-06-26 12:02:00.1737 2155/7fd23e0c7700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is e746a744. Please see earlier logs for details about the error.
I checked the obvious, bundle install finishes without errors
bundle -v answers
Bundler version 1.12.5
Any help appreciated!
Best regards
Mathias
Replies (1)
RE: Can't get Redmine working with Passenger on Centos - Added by summer duan about 8 years ago
have you resolved this problem?
i meet the same problem.