Project

General

Profile

problems with installing redmine

Added by adel garipov about 7 years ago

Hello !
I have some problems. I tried to upgrade reedmine on freebsd10.2, but at the end i delete old version of redmine and install new version.
-redmine-3.2.3_4
-freebsd10.2
-ruby-2.3.3_1,1
-ruby23-gems-2.6.8
-mysql56-server-5.6.34
-rubygem-mysql2-0.4.5
I tried to install with this instructions (http://www.redmine.org/projects/redmine/wiki/RedmineInstall). I stoped at the step 6. When I tried "RAILS_ENV=production bundle exec rake db:migrate" i get error :

[root@fbsd-redmine /var/www/data/redmine]# RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 69 column 1
/var/www/data/redmine/lib/redmine/configuration.rb:86:in `load_from_yaml'
/var/www/data/redmine/lib/redmine/configuration.rb:42:in `load'
/var/www/data/redmine/lib/redmine/configuration.rb:67:in `[]'
/var/www/data/redmine/lib/redmine/thumbnail.rb:25:in `<module:Thumbnail>'
/var/www/data/redmine/lib/redmine/thumbnail.rb:22:in `<module:Redmine>'
/var/www/data/redmine/lib/redmine/thumbnail.rb:21:in `<top (required)>'
/var/www/data/redmine/lib/redmine.rb:46:in `<top (required)>'
/var/www/data/redmine/config/initializers/30-redmine.rb:6:in `<top (required)>'
/var/www/data/redmine/config/environment.rb:14:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Maybe someone help ? I'm not strong at ruby, but i think it ruby's error ??
Thanks for all

update
this is from apache log

[ 2017-01-12 20:51:30.5191 714/0x804fa5800 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /var/www/data/redmine: An error occurred while starting up the preloader.
Error ID: b89d906a
Error details saved to: /tmp/passenger-error-H3SER2.html
Message from application: (<unknown>): found character that cannot start any token while scanning for the next token at line 69 column 1 (Psych::SyntaxError)
/usr/local/lib/ruby/2.3/psych.rb:379:in `parse'
/usr/local/lib/ruby/2.3/psych.rb:379:in `parse_stream'
/usr/local/lib/ruby/2.3/psych.rb:327:in `parse'
/usr/local/lib/ruby/2.3/psych.rb:254:in `load'
/var/www/data/redmine/lib/redmine/configuration.rb:86:in `load_from_yaml'
/var/www/data/redmine/lib/redmine/configuration.rb:42:in `load'
/var/www/data/redmine/lib/redmine/configuration.rb:67:in `[]'
/var/www/data/redmine/lib/redmine/thumbnail.rb:25:in `<module:Thumbnail>'
/var/www/data/redmine/lib/redmine/thumbnail.rb:22:in `<module:Redmine>'
/var/www/data/redmine/lib/redmine/thumbnail.rb:21:in `<top (required)>'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/var/www/data/redmine/lib/redmine.rb:46:in `<top (required)>'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/var/www/data/redmine/config/initializers/30-redmine.rb:6:in `<top (required)>'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/lib/ruby/gems/2.3/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `each'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `run'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/lib/ruby/2.3/tsort.rb:228:in `block in tsort_each'
/usr/local/lib/ruby/2.3/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/2.3/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
/usr/local/lib/ruby/2.3/tsort.rb:431:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/2.3/tsort.rb:421:in `block in each_strongly_connected_component_from'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `each'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/lib/ruby/2.3/tsort.rb:415:in `call'
/usr/local/lib/ruby/2.3/tsort.rb:415:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/2.3/tsort.rb:349:in `block in each_strongly_connected_component'
/usr/local/lib/ruby/2.3/tsort.rb:347:in `each'
/usr/local/lib/ruby/2.3/tsort.rb:347:in `call'
/usr/local/lib/ruby/2.3/tsort.rb:347:in `each_strongly_connected_component'
/usr/local/lib/ruby/2.3/tsort.rb:226:in `tsort_each'
/usr/local/lib/ruby/2.3/tsort.rb:205:in `tsort_each'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/lib/ruby/gems/2.3/gems/railties-4.2.7.1/lib/rails/application.rb:352:in `initialize!'
/var/www/data/redmine/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/usr/local/lib/ruby/gems/2.3/gems/rack-1.6.5/lib/rack/builder.rb:55:in `instance_eval'
/usr/local/lib/ruby/gems/2.3/gems/rack-1.6.5/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.1/src/helper-scripts/rack-preloader.rb:110:in `eval'
/usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.1/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
/usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.1/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.1/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.1/src/helper-scripts/rack-preloader.rb:29:in `<main>'

[ 2017-01-12 20:51:30.5303 714/0x804c08400 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-5] Cannot checkout session because a spawning error occurred. The identifier of the error is b89d906a. Please see earlier logs for details about the error.


Replies (1)

RE: problems with installing redmine - Added by Anonymous about 7 years ago

Hi adel,

the only thing that comes to my mind is that yaml is very picky with respect to tabs vs blanks.
Don't use tabs in yaml files, use blanks. Tabs can produce parsing errors.

cheers

Immanuel.

    (1-1/1)