-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Helm: problem with psql in 2.36.0 #10490
Comments
Simple upgrade is not possible because of postgresql 16:17:34.77 INFO ==> ** Starting PostgreSQL **
2024-07-02 16:17:34.796 GMT [1] FATAL: database files are incompatible with server
2024-07-02 16:17:34.796 GMT [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 16.3. |
@kiblik Do we have PostgreSQL 11 somewhere in our Helm charts? If so, we really shouldn't. I do recall a long time ago when I updated the public demo (demo.defectdojo.org) from PostgreSQL from 11 to 12, there was a change that required a migration. I tend to update PosgreSQL on the public demo regularly - I think it's currently running PostgreSQL 16. I had to look it up but apparently there's a tool to update from the 11 data storage format to later ones called |
I fully agree, PostgreSQL 11 is old. django-DefectDojo/helm/defectdojo/values.yaml Line 372 in 659f50b
The start of a freshly new instance with a new database is not problematic. However, there is an issue with upgrading to 12+ (for users which have been already using DD). I was also searching for some elegant solution for migration but haven't been successful. |
I would probably:
|
Same as #10359 (comment) |
Issue has been solved in #10507 and released as |
Problematic combination: Django
4.2
and PSQL11
Logs:
Issue is under investigation
The text was updated successfully, but these errors were encountered: