Update from 2.8.4 to 3.1.1

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 ?

Thank you so much for all the help !

1 Like

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)

1 Like

Here is the postgres log after I updated to discourse 3.1.1:

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.

Thank you so much for your help !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.