Redmine not starting after server reboot

Added by Danny Korpan 8 months ago

Hi,

after server reboot, I get following error with command 'bundle exec rails server webrick -e production'
=> Booting WEBrick
=> Rails 4.2.7.1 application starting in production on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/psych.rb:379:in `parse': (<unknown>): mapping values are not allowed in this context at line 80 column 10 (Psych::SyntaxError)
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/psych.rb:379:in `parse_stream'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/psych.rb:327:in `parse'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/psych.rb:254:in `load'
from /var/www/redmine/app/models/setting.rb:246:in `load_available_settings'
from /var/www/redmine/app/models/setting.rb:257:in `<class:Setting>'
from /var/www/redmine/app/models/setting.rb:18:in `<top (required)>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:360:in `require_or_load'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:494:in `load_missing_constant'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:184:in `const_missing'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:526:in `load_missing_constant'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:184:in `const_missing'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:526:in `load_missing_constant'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:184:in `const_missing'
from /var/www/redmine/lib/redmine/plugin.rb:100:in `register'
from /var/www/redmine/plugins/redmine_ckeditor/init.rb:8:in `<top (required)>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
from /var/www/redmine/lib/redmine/plugin.rb:155:in `block in load'
from /var/www/redmine/lib/redmine/plugin.rb:146:in `each'
from /var/www/redmine/lib/redmine/plugin.rb:146:in `load'
from /var/www/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/engine.rb:651:in `load_config_initializer'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `each'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `run'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `each'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `tsort_each_child'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:415:in `call'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /home/redmine-admin/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/application.rb:352:in `initialize!'
from /var/www/redmine/config/environment.rb:14:in `<top (required)>'
from /var/www/redmine/config.ru:3:in `require'
from /var/www/redmine/config.ru:3:in `block in <main>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/builder.rb:55:in `instance_eval'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/builder.rb:55:in `initialize'
from /var/www/redmine/config.ru:in `new'
from /var/www/redmine/config.ru:in `<main>'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/builder.rb:49:in `eval'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/builder.rb:49:in `new_from_string'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/builder.rb:40:in `parse_file'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/server.rb:208:in `app'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/server.rb:61:in `app'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/server.rb:336:in `wrapped_app'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/rack-1.6.5/lib/rack/server.rb:272:in `start'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/server.rb:80:in `start'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:75:in `server'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /home/redmine-admin/.rvm/gems/ruby-2.3.4/gems/railties-4.2.7.1/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

Thank you in advance
Regards
Danny

Replies (1)

RE: Redmine not starting after server reboot - Added by Immanuel Wilhelmy 8 months ago

just googled your error. have a look at: https://github.com/rails/rails/issues/8143

Seems to indicate a misformatting in yaml files. keep in mind that yaml does only allow blank as white space (no tabs).

Maybe this helps.

Immanuel.

(1-1/1)