agrosu is experiencing issues upgrading from Discourse version 2.8.4 to 3.1.1 using a helm chart. The problem arises from the PostgreSQL database version, which was upgraded to 16, but Discourse 3.1.1 is not compatible with this version. itsbhanusharma suggests editing the chart to use PostgreSQL 13 or 14, as 16 is not supported by Discourse yet. After reviewing the PostgreSQL log (agrosu), itsbhanusharma reiterates that the error is due to the wrong PostgreSQL version and recommends reaching out to Bitnami for advice.
Hi there
I have Discourse version 2.8.4 installed with helm chart (version 8.0.0) over a kubernetes. After the upgrading to the latest version 3.1.1, the postgresql database which is 16 doesn’t want to start anymore, complaining that the database is for version 14 (from the prev version of discourse 2.8.4). I managed to rollback to 2.8.4 and things work now, but I really want to upgrade to 3.1.1 Are there any instructions on how to prepare the database for a transition from 14.4 to 16 ?
I don’t think discourse supports postgresql 16 yet. You’ll have to edit your chart to use postgresql 13 or 14 (most probably 14 since that’s what you were using)
As I said, You need to make changes to your helm chart. The errors are being caused because of the wrong postgres version. 16 is not supported by discourse yet.
It’ll be best to reach out to bitnami directly for advice.