Project

General

Profile

Actions

Feature #4229

open

Improve RPM-based distro Upgrade Procedure

Added by Stephen Benjamin over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The upgrade process was very smooth for 1.3.2 -> 1.4.0, but I was thinking it would be nice if it was even easier.

Red Hat Satellite takes the approach of an "rhn-upgrade" package. So when 1.5 rolls around, for example,
you would publish foreman-upgrade into the 1.4 yum repo. Upgrade procedure would be something like:

  1. yum install foreman-upgrade
  2. foreman-upgrade

Which would switch to the 1.5 repo, run any rake tasks, and restart passenger.

Thoughts?

Actions #1

Updated by Dominic Cleal over 10 years ago

  • Category set to Packaging

Yeah, Katello did something similar too.

Actions #2

Updated by Lukas Zapletal over 10 years ago

Word. I think running db migrations from yum transactions is nasty.

Katello has a very nice upgrade script (I wrote :-) which could be adopted.

Actions

Also available in: Atom PDF