Getting Error while opening http://localhost/redmine Please Help
Added by Niraj Mhatre almost 9 years ago
(<unknown>): could not find expected ':' while scanning a simple key at line 77 column 3 (Psych::SyntaxError)
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:370:in `parse'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:370:in `parse_stream'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:318:in `parse'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/psych.rb:245:in `load'
/var/www/redmine/lib/redmine/configuration.rb:86:in `load_from_yaml'
/var/www/redmine/lib/redmine/configuration.rb:42:in `load'
/var/www/redmine/lib/redmine/configuration.rb:67:in `[]'
/var/www/redmine/lib/redmine/thumbnail.rb:24:in `<module:Thumbnail>'
/var/www/redmine/lib/redmine/thumbnail.rb:21:in `<module:Redmine>'
/var/www/redmine/lib/redmine/thumbnail.rb:20:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/var/www/redmine/lib/redmine.rb:46:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/var/www/redmine/config/initializers/30-redmine.rb:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:413:in `call'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `call'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
/usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-2.2.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
/var/www/redmine/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/usr/local/rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
/usr/local/rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:110:in `eval'
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:29:in `<main>'
Application root
/var/www/redmine
Ruby interpreter command
/usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
Gem Files
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types 2.99
Using arel 6.0.3
Using addressable 2.4.0
Using ffi 1.9.10
Using coderay 1.1.0
Using concurrent-ruby 1.0.0
Using docile 1.1.5
Using htmlentities 4.3.1
Using thor 0.19.1
Using metaclass 0.0.4
Using multi_json 1.11.2
Using mysql2 0.3.20
Using net-ldap 0.12.1
Using ruby-openid 2.3.0
Using bundler 1.11.2
Using rbpdf-font 1.19.0
Using redcarpet 3.3.4
Using request_store 1.0.5
Using rmagick 2.15.4
Using rubyzip 1.1.7
Using websocket 1.2.2
Using simplecov-html 0.9.0
Using yard 0.8.7.6
Using rdoc 4.2.2
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using mail 2.6.3
Using css_parser 1.3.7
Using childprocess 0.5.9
Using sprockets 3.5.2
Using mocha 1.1.0
Using rack-openid 1.4.2
Using rbpdf 1.19.0
Using simplecov 0.9.2
Using activesupport 4.2.5
Using loofah 2.0.3
Using xpath 2.0.0
Using roadie 3.1.1
Using selenium-webdriver 2.52.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.5
Using rails-html-sanitizer 1.0.3
Using capybara 2.6.2
Using rails-dom-testing 1.0.7
Using activejob 4.2.5
Using activerecord 4.2.5
Using protected_attributes 1.1.3
Using actionview 4.2.5
Using actionpack 4.2.5
Using actionmailer 4.2.5
Using actionpack-action_caching 1.1.1
Using actionpack-xml_parser 1.0.2
Using railties 4.2.5
Using sprockets-rails 3.0.1
Using jquery-rails 3.1.4
Using roadie-rails 1.1.0
Using rails 4.2.5
ruby 2.2.0p0 (2014-12-25 revision 49005) [i686-linux]
Replies (1)
RE: Getting Error while opening http://localhost/redmine Please Help - Added by Niraj Mhatre almost 9 years ago
Hi all
There was 1 white space between attachments_storage_path: and /opt/redmine/files at /var/www/redmine/config/configaration.yml
# Absolute path to the directory where attachments are stored. # The default is the 'files' directory in your Redmine instance. # Your Redmine instance needs to have write permission on this # directory. # Examples: # attachments_storage_path: /var/redmine/files # attachments_storage_path: D:/redmine/files *attachments_storage_path: /opt/redmine/files*
my issue is solved...