Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Error with configuration.yml file

Error with configuration.yml file

Added by Andrew Irwin about 11 years ago

When I run this command I get this message, but I have tried a number of email format and no luck. I have even double check the white space in the file.

Anyone have any suggestions?

openproject@cbceg-proj1:~/openproject/config$ bundle exec rake db:create:all
(in /home/openproject/openproject)
require ‘rails/all’… 0.310s
Bundler.require… 1.230s
rake aborted!
(/home/openproject/openproject/config/configuration.yml): did not find expected key while parsing a block mapping at line 115 column 3
/home/openproject/openproject/lib/open_project/configuration.rb:145:in `load_config_from_file’
/home/openproject/openproject/lib/open_project/configuration.rb:79:in `load’
/home/openproject/openproject/lib/open_project/configuration.rb:104:in `[]’
/home/openproject/openproject/config/application.rb:152:in `class:Application’
/home/openproject/openproject/config/application.rb:63:in `module:OpenProject’
/home/openproject/openproject/config/application.rb:62:in `<top (required)>’
/home/openproject/openproject/Rakefile:33:in `require’
/home/openproject/openproject/Rakefile:33:in `<top (required)>’
/home/openproject/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `

’
(See full trace by running task with —trace)
openproject@cbceg-proj1:~/openproject/config$


Replies (1)

RE: Error with configuration.yml file - Added by JD Toony about 11 years ago

When I had this error, it was because of tabs or extra spaces in front of lines within the configuration.yml file.

At most, put 2 spaces in front of each line and make sure there are no tabs.

  • (1 - 1/1)
Loading...