Hi
I am running foreman 1.8 and would like to upgrade to foreman 1.9, OS
Version: RHEL 6.6 (Santiago), puppet version: 3.8, postgres 8.4.20
The update process is,
- stop apache
- yum upgrade foreman
- foreman-rake db:migrate
- foreman-rake db:seed
- foreman-rake tmp:cache:clear
- foreman-rake tmp:sessions:clear
- start apache again
I have the following questions
- How do I roll back an upgrade process?
- Should I upgrade the db also?
- Which command do I use to check the foreman version
- Any common issues associated with upgrade of foreman
TIA
>
> I have the following questions
> 1. How do I roll back an upgrade process?
You can't, schema changes are made to the DB as part of the upgrade.
Take backups, as per our docs [1]
> 2. Should I upgrade the db also?
Do you mean the version of PostgreSQL / MySQL or the schema of the
Foreman database? For versions, that's up to you, but I'd always
encourage keeping up-to-date. The Foreman DB will be updated as part of
the Foreman version upgrade.
> 3. Which command do I use to check the foreman version
Your package manager will report it (rpm -qa |grep foreman) or you can
check the About page in the UI.
> 4. Any common issues associated with upgrade of foreman
1.8 to 1.19 should be fine, but note these versions are well over 3
years old now - 1.15 is the current version. You may want to make plans
to upgrade further.
Greg
[1] Foreman :: Manual
ยทยทยท
On Mon, 2017-10-09 at 09:59 -0700, Kishor Ramanan wrote: