We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running into this error, even ran it through a YML check, Everything looks to be in order.
`development: defaults adapter: mysql encoding: utf8 database: peatio_development username: root password:******** pool: 10 reconnect: true
test: <<: *defaults database: peatio_test
production: <<: *defaults database: peatio_production `
root@cointurret:~/peatio# bundle exec rake db:setup --trace ** Invoke db:setup (first_time) ** Invoke db:schema:load_if_ruby (first_time) ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Execute db:load_config rake aborted! YAML syntax error occurred while parsing /root/peatio/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (): mapping values are not allowed in this context at line 2 column 10 /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:113:in rescue in database_configuration' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:103:in database_configuration' /root/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railtie.rb:46:in block (3 levels) in <class:Railtie>' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in call' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in block in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:179:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:165:in invoke' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:150:in invoke_task' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in block (2 levels) in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in block in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:115:in run_with_threads' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:100:in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:78:in block in run' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:176:in standard_exception_handling' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:75:in run' /root/.rbenv/versions/2.2.7/bin/rake:33:in <main>' Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 2 column 10 /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:370:in parse' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:370:in parse_stream' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:318:in parse' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:245:in load' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:106:in database_configuration' /root/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railtie.rb:46:in block (3 levels) in <class:Railtie>' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in call' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in block in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:179:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in block in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in invoke_with_call_chain' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:165:in invoke' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:150:in invoke_task' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in block (2 levels) in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in each' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in block in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:115:in run_with_threads' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:100:in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:78:in block in run' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:176:in standard_exception_handling' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:75:in run' /root/.rbenv/versions/2.2.7/bin/rake:33:in `
rescue in database_configuration' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:103:in
block (3 levels) in <class:Railtie>' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in
block in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in
execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:179:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
invoke' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:150:in
block (2 levels) in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
block in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:115:in
top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:78:in
standard_exception_handling' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:75:in
<main>' Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 2 column 10 /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:370:in
parse_stream' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:318:in
load' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:106:in
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running into this error, even ran it through a YML check, Everything looks to be in order.
`development: defaults
adapter: mysql
encoding: utf8
database: peatio_development
username: root
password:********
pool: 10
reconnect: true
test:
<<: *defaults
database: peatio_test
production:
<<: *defaults
database: peatio_production
`
root@cointurret:~/peatio# bundle exec rake db:setup --trace
'** Invoke db:setup (first_time)
** Invoke db:schema:load_if_ruby (first_time)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
rake aborted!
YAML syntax error occurred while parsing /root/peatio/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (): mapping values are not allowed in this context at line 2 column 10
/root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:113:in
rescue in database_configuration' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:103:in
database_configuration'/root/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railtie.rb:46:in
block (3 levels) in <class:Railtie>' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in
call'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in
block in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in
execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:179:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:165:in
invoke' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:150:in
invoke_task'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
block (2 levels) in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
block in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:115:in
run_with_threads'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:100:in
top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:78:in
block in run'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:176:in
standard_exception_handling' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:75:in
run'/root/.rbenv/versions/2.2.7/bin/rake:33:in
<main>' Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 2 column 10 /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:370:in
parse'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:370:in
parse_stream' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:318:in
parse'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/psych.rb:245:in
load' /root/peatio/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/configuration.rb:106:in
database_configuration'/root/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railtie.rb:46:in
block (3 levels) in <class:Railtie>' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in
call'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:240:in
block in execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:235:in
execute' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:179:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:201:in
block in invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:199:in
invoke_prerequisites' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:178:in
block in invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:172:in
invoke_with_call_chain'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/task.rb:165:in
invoke' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:150:in
invoke_task'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
block (2 levels) in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
each'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:106:in
block in top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:115:in
run_with_threads'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:100:in
top_level' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:78:in
block in run'/root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:176:in
standard_exception_handling' /root/.rbenv/versions/2.2.7/lib/ruby/2.2.0/rake/application.rb:75:in
run'/root/.rbenv/versions/2.2.7/bin/rake:33:in `
Tasks: TOP => db:setup => db:schema:load_if_ruby => db:create => db:load_config
The text was updated successfully, but these errors were encountered: