Project

General

Profile

Trying to install redmine on AWS EC2 free tier instance running Ubuntu 14.04.2

Added by Aditya Shrivastava about 9 years ago

I am new to all this.. I have used redmine before but I have no idea about the details of how it is being installed and how it works behind the scenes. But I am trying to install it on my cloud instance. I followed the link : http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_25x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_and_Subversion

Now when i go to the http:://www.[domain name].com/redmine link it shows that the Phusion Passenger application server has encountered some error. I checked the /var/log/apache2/error.log file and I found this :

[ 2015-03-18 06:18:52.2733 14326/7f668c65a700 age/Hel/Req/CheckoutSession.cpp:252 ]: [Client 1-2] Cannot checkout session because a spawning error occurred. The identifier of the error is 45965659. Please see earlier logs for details about the error.
App 16101 stdout:
App 16101 stdout:
[ 2015-03-18 06:20:17.7875 14326/7f6692f22700 App/Implementation.cpp:287 ]: Could not spawn process for application /usr/share/redmine: An error occured while starting up the preloader.
Error ID: 882abc0a
Error details saved to: /tmp/passenger-error-ylLtbQ.html
Message from application: Gemfile syntax error (<unknown>): mapping values are not allowed in this context at line 5 column 11 (Bundler::GemfileError)
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler/dsl.rb:35:in `rescue in eval_gemfile'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler/dsl.rb:31:in `eval_gemfile'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler/dsl.rb:10:in `evaluate'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler/definition.rb:25:in `build'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler.rb:155:in `definition'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler.rb:118:in `setup'
/var/lib/gems/1.9.1/gems/bundler-1.8.5/lib/bundler/setup.rb:18:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:278:in `block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:381:in `running_bundler'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:276:in `run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:99:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:157:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'

[ 2015-03-18 06:20:17.7906 14326/7f668c65a700 age/Hel/Req/CheckoutSession.cpp:252 ]: [Client 1-3] Cannot checkout session because a spawning error occurred. The identifier of the error is 882abc0a. Please see earlier logs for details about the error.

I can provide any more details if required. Any help would be great.