# 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:** 1

<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, 8:41am UTC](https://meta.discourse.org/t/advanced-developer-install-rake-db-create-db-migrate-bug/122161/1 "2019-07-05T08:41:12Z")

</div>

Dear all,

i hope somebody is able to help me with the bug what i have at my install try as follows:

Debian 10  
php 7.3.6  
nginx

i use this guide:

[https://github.com/discourse/discourse/blob/master/docs/DEVELOPER-ADVANCED.md](https://github.com/discourse/discourse/blob/master/docs/DEVELOPER-ADVANCED.md)

But always at the db migration i get the following error - i have also tried diff. releases, always same problem:

```plaintext
/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 `<main>'

```

I had also searched for different guides or anything else at the web - but nothing found how to get this error fixed or how i could continue with the install.

I have also tried the docker install way - which was working at the setup - BUT it is not compatible with my used ISPConfig - discourse at subdomain get partial broken & after admin account registration, the wizard does not continue & always blank page anymore

Thanks in advance & kind regards,

Mat

---

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