Project

General

Profile

Bug #1904

Updated by Ohad Levy over 5 years ago

When Foreman is installed with the Debian packages the default database adapter is SQLite. When the SQLite database has been created and you change the adapter to mysql or mysql2 and run the '/usr/share/foreman/extras/dbmigrate' script the admin user will not be created. 

 

 It fails somehow even when running the 'RAILS_ENV=production rake permissions:reset' command. When you delete the SQLite database from the '/usr/share/foreman/db' directory the 'RAILS_ENV=production rake permissions:reset' works fine and the admin user will be created.

Back