# Advanced Developer Install - rake db:create db:migrate bug

**URL:** <https://meta.discourse.org/t/advanced-developer-install-rake-db-create-db-migrate-bug/122161>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [July 5, 2019, 8:41am UTC](https://meta.discourse.org/t/advanced-developer-install-rake-db-create-db-migrate-bug/122161 "2019-07-05T08:41:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Neptun](https://avatars.discourse-cdn.com/v4/letter/n/b4bc9f/32.png) [@Neptun](https://meta.discourse.org/u/Neptun)\
**Post date:** [July 5, 2019, 2:36pm UTC](https://meta.discourse.org/t/advanced-developer-install-rake-db-create-db-migrate-bug/122161/5 "2019-07-05T14:36:33Z")

</div>

i have tried this from the posting " [Running other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247/281)" to get it working with the docker - but after x hours, no success

my last idea is now without the docker, because docker not supported by ispconfig - but i need here assistance reg. the error message:

> /var/www/discourse# RAILS\_ENV=production bundle exec rake db:migrate

**rake aborted!NoMethodError: undefined method `keys’ for nil:NilClass**

/var/www/discourse/app/models/global\_setting.rb:57:in `load_defaults'/var/www/discourse/config/application.rb:32:in `\<top (required)\>‘/var/www/discourse/Rakefile:5:in `require'/var/www/discourse/Rakefile:5:in `\<top (required)\>’/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/ruby_executable_hooks:24:in `eval’/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/ruby\_executable\_hooks:24:in `’

I have tried the 2.4. beta, which will be also installed with docker and different other releases from github

Thanks in advance

---

_[View the full topic](https://meta.discourse.org/t/advanced-developer-install-rake-db-create-db-migrate-bug/122161)._
