-
Notifications
You must be signed in to change notification settings - Fork 3
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 DB format on install/upgrade if required #58
Comments
pg_upgrade
This looks to also have an alternatives setting:
pg_upgrade alternative setting
Confirming that our existing Postgres alternatives ensures our default pg_upgrade is in line with out target Posgtres binary version.
This is assumed to be resolved via our Postgres alternatives setting, already in play. |
Our linked partner-issue now has an associated draft PR: We can now proceed to introduce the additional dependencies required by this script and test its invocation from the relevant scriptlets to enable auto DB format upgrade if required. |
Adds postgresql13-contrib as a new Requires dependency. Enable root execution: ./src/rockstor/scripts/db_upgrade.sh Run this same script in %posttrans.
…upgrade-if-required Update DB format on install/upgrade if required #58
Closing as: |
Older installs resulting from Rockstor-Leap15.3-generic.x86_64-4.1.0-0.install.iso Jan 14 2022 or earlier, that have also been
zypper dup
ed to at least a 15.4 base OS will now require a DB update prior to being compatible with the Django LTS 4.2 & psycopg3 that are used in current testing (5.0.6-0) and proposed next stable of 5.1.0-0.Partner issue to rockstor-core:
"Establish Postgres database format upgrade": rockstor/rockstor-core#2780
The text was updated successfully, but these errors were encountered: