Project

General

Profile

Actions

Bug #4302

closed

dbmigrate fails if :foreman_url is not correctly set

Added by Dennis Benndorf over 10 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DB migrations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When updating from 1.3.2 to 1.4 db_migrate will fail with the following message:

root@puppet:/usr/share/foreman# foreman-rake db:migrate
UpdateForemanUrl: migrating =============================================
rake aborted!
An error has occurred, this and all later migrations canceled:

ActiveRecord::ReadOnlyRecord
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Changing the Foreman URL in /etc/foreman/settings.yaml from

:foreman_url: foreman

to

:foreman_url: https://foreman.*.*

fixes this!


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Bug #4512: foreman_url in settings.yaml causes DB migration failureNew03/02/2014Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Category set to DB migrations
Actions #2

Updated by Anonymous almost 7 years ago

  • Is duplicate of Bug #4512: foreman_url in settings.yaml causes DB migration failure added
Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF