You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following fatal error in the logs when upgrading from helm chart 0.5.16 to 0.5.17:
postgresql 12:51:27.33 INFO ==> ** PostgreSQL setup finished! **
postgresql 12:51:27.43 INFO ==> ** Starting PostgreSQL **
2024-11-04 12:51:27.538 GMT [1] FATAL: database files are incompatible with server
2024-11-04 12:51:27.538 GMT [1] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.0.
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:
Prevent Frontend Changes:
Set replicaCount: 0 in the values.yml file to scale down the frontend and prevent any changes during the upgrade process.
Backup the Database:
Enter the shell of the existing PostgreSQL pod:
kubectl exec -it <postgresql-pod-name> -- bash
Create a PostgreSQL dump of the database and save it to the persistent directory:
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: