-
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@bdunne Can you comment here? This might be the ansible 6 issue, but I thought that would be handled automatically? |
Beta Was this translation helpful? Give feedback.
-
Yes, we depend on Ruby 3.0 now, so the ruby:3.0 module needs to be enabled before the RPMs can be upgraded. Also, in v15 (oparin) we also changed the appliance PostgreSQL version from 10 to 13. @jrafanie was working through some upgrade instructions, but I don't know if they made it into the documentation yet. |
Beta Was this translation helpful? Give feedback.
-
You'll need to do a database backup before you upgrade as postgresql 13 is the new required database version. You can also do Make sure you have enough space to backup your database to a file. Do a backup to a file like this in a location with enough space:
You'll need to clear the data directory since postgresql 10 is not compatible with postgresql 13. Ensure your appliance is fully backed up and the database backup file is not in the data directory.
After modifying the dnf repo information, backing up your database, and clearing the data directory:
I haven't tested the following step but it should upgrade to ruby 3.0 and postgresql 13 and remove ruby 2.7 and postgresql 10.
Check Initialize a new data directory with pg 13:
Restore the db with pg 13:
Run This assumes you're upgrading an appliance running both the application and database. If you're running just the application and not the database, you only need to upgrade the packages via the dnf commands. If you're running just a database, you'll need to do the dnf commands and database commands and leave the application steps to the first appliance connecting to this appliance. |
Beta Was this translation helpful? Give feedback.
@tjyang
You'll need to do a database backup before you upgrade as postgresql 13 is the new required database version. You can also do
pg_upgrade
if you're familiar with this but it's not covered here.Make sure you have enough space to backup your database to a file.
Do a backup to a file like this in a location with enough space:
You'll need to clear the data directory since postgresql 10 is not compatible with postgresql 13. Ensure your appliance is fully backed up and the database backup file is not in the data directory.
After modifying the dnf repo information, backing up your database…