Project

General

Custom queries

Profile

Actions

Bug #1904

closed

Admin is not created in MySQL when there is a SQLite database

Added by Jasper Poppe over 12 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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.

#2

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Resolved
#6

Updated by Ohad Levy over 12 years ago

  • Status changed from Resolved to New
#8

Updated by Ohad Levy over 12 years ago

  • Category deleted (Database)
#10

Updated by Ohad Levy over 5 years ago

  • Description updated (diff)
  • Assignee deleted (Ohad Levy)
#11

Updated by Tomer Brisker over 5 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF