[Solved]I need help to install RedMine
Added by Konstantin Korepin over 7 years ago
Hello all!
I'm trying to install RedMine for the first time. I'm using a video https://www.youtube.com/watch?v=rOdAT1Rvk8k&t=1s
I did everything, except for the last command
"RAILS_ENV=production bundle exec rake db:migrate"
But this command does not execute correctly:
error1.log is The file contains the message I receive
If I try run through sudo
"sudo RAILS_ENV=production bundle exec rake db:migrate"
I get message:
"You have requested:
addressable = 2.4.0
The bundle currently has addressable locked at 2.5.1.
Try running `bundle update addressable`
If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
Run `bundle install` to install missing gems."
kostya@kostya-IdeaPad-Z565:~/server/redmine/redmine-3.3.3 > bundle info addressable
* addressable (2.5.1)
Summary: URI Implementation
Homepage: https://github.com/sporkmonger/addressable
Path: /home/kostya/.rvm/gems/ruby-2.4.0/gems/addressable-2.5.1
Accordingly, I can not start the application
http://joxi.ru/krDgWq7U0MN6bA
In Apache2 error.log I get message:
[ 2017-06-29 15:08:52.9979 18975/7f38c4126700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/kostya/server/redmine/redmine-3.3.3: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
Error ID: 0c9ade62
Error details saved to: /tmp/passenger-error-CF4aaL.html(in addition)
Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read <a href="https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems">this article</a> for more information about this problem.<br>
[ 2017-06-29 15:21:46.7971 18975/7f389bfff700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 4-1] Cannot checkout session because a spawning error occurred. The identifier of the error is d1deba12. Please see earlier logs for details about the error.
I don't understand: what should I do?
What is the problem?
1. I need to run command
RAILS_ENV=production bundle exec rake db:migrate ?
2. Problem in Phusion Passenger ?
Why application can not start?
Thanks all.
error1 (7.03 KB) error1 | |||
passenger-error-CF4aaL.html (226 KB) passenger-error-CF4aaL.html |
Replies (3)
RE: I need help to install RedMine - Added by Toshi MARUYAMA over 7 years ago
Redmine 3.3 does not support Ruby 2.4.
RE: I need help to install RedMine - Added by Konstantin Korepin over 7 years ago
2 Toshi MARUYAMA
Thank you, Toshi!
Now I'm trying Ruby 2.2.
RE: I need help to install RedMine - Added by Konstantin Korepin over 7 years ago
Toshi MARUYAMA wrote:
Redmine 3.3 does not support Ruby 2.4.
2 Toshi MARUYAMA
Yes, you was right! I changed Ruby's version to 2.2 and it all worked! Thank you very much again!