Skip to content
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

Establish Postgres database format upgrade #2780 #2781

Conversation

phillxnet
Copy link
Member

Adds a shell script, to be run by rpm during update, to ensure any Postgres 10 (or later) formated DBs are updated to our current Postgres target version: established by rpm dependencies and the 'alternatives' system.

Fixes #2780

Testing

This script was developed on, and has had initial testing with, an install originally derived from the following installer:

Rockstor-Leap15.3-generic.x86_64-4.1.0-0.install.iso Jan 14 2022

  • The resulting install was then subscribed to the Stable updates channel.
  • An underlying OS update to a 15.4 base was then enacted via:
    Distribution update from 15.3 to 15.4: https://rockstor.com/docs/howtos/15-3_to_15-4.html
    Resulting also in an automatic update to our last stable release of 4.6.1-0.

The above system then represents a reproducer for a pending stable update issue found in the current testing channel; where the far newer Django and psycopg3 there-in are no longer compatible with a Postgres 10 formatted DB: such as a system with the above, or older heritage, will have.

Adds a shell script, to be run by rpm during update,
to ensure any Postgres 10 (or later) formated DBs are
updated to our current Postgres target version:
established by rpm dependencies and 'alternatives'.
@phillxnet
Copy link
Member Author

Superseded-by #2785
as a rebase was required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant