-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 3.6_Update.md with findings #1194
base: gh-pages
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,8 @@ number from the previous release or "stable" to `{{ page.version }}`: | |
deb http://deb.theforeman.org/ stretch {{ page.version }} | ||
deb http://deb.theforeman.org/ plugins {{ page.version }} | ||
|
||
Next upgrade all Foreman packages: | ||
Next upgrade all Foreman packages. | ||
During the upgrade it's suggested to update the /etc/foreman/database.yml to the package version. If you used foreman-installer to setup your existing Foreman instance, make sure not to upgrade this file with the version from the package. | ||
|
||
apt-get update | ||
apt-get --only-upgrade install ruby\* foreman\* | ||
|
@@ -126,7 +127,7 @@ You should compile i18n strings and precompile assets now: | |
##### Step 3 (A) - Database migration and cleanup | ||
|
||
The database should be migrated already, but you can make sure by executing the | ||
migration script again, it should produce no errors or output: | ||
migration script again, it should produce no errors or output. If you used foreman-installer to setup your existing Foreman instance, you can skip this step and jump over to step 3(C): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the reason we included this section is just to make sure any errors during db migration are obvious - even if it means the user has to try to repeat the migration process after the installer does it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The installer doesn't clear the cache and existing sessions so totally jumping over it isn't correct. Running migrations and seeding doesn't hurt so I wouldn't skip it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That must have been my unfamiliarity (is that a word ?) with the complete solution. |
||
|
||
foreman-rake db:migrate | ||
foreman-rake db:seed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does one
update the /etc/foreman/database.yml to the package version.
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apt upgrade
will ask you what to do with config files. This is very similar to runningrpmconf
on RH-based systems but apt will ask you during the upgrade.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say in general you probably don't want to replace this, but there can be relevant changes; like recommending the increasing the default pool size. Not sure how to phrase this though.