-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.0 #493
Comments
I've solved the issue for now by adding the following to the value file: postgresql:
image:
tag: "16.4.0-debian-12-r9" It would be really nice if there would be warnings and upgrade instructions as long as the helm chart doesn't handle the upgrades automatically |
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
The upgrade process for the Bitnami PostgreSQL chart can be challenging and lacks sufficient documentation. Below is the procedure I followed for a successful upgrade: Before Upgrading:
Upgrading the Helm Chart:
Post-Upgrade Cleanup:
|
I came across a third-party postgres Docker container that's supposed to handle upgrades. It wasn't originally built to work with the Bitnami containers, but there's currently an open PR for Bitnami support that's awaiting testing: pgautoupgrade/docker-pgautoupgrade#66 I have not yet tried it myself. |
Yeah, it turns out Bitnami does some interesting stuff which means our (pgautoupgrade devs) standard images (as they currently are) don't work with it out of the box. @andyundso is working through the Bitnami specific issues to get it working, and if someone has time to test the in progress image (NOT on your production databases!) that would be super helpful. Anyone up for it? 😄 |
Describe the issue
I get the following fatal error in the logs when upgrading from helm chart 0.5.16 to 0.5.17:
I already tried
Steps to reproduce the behavior
Expected behavior
It should upgrade the helm chart without issues or human intervention.
Screenshots
No response
Exception traceback
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: