mattermost / mattermost-docker

Deprecated
Apache License 2.0
964 stars 575 forks source link

release-5.33 Uses Wrong Version of Postgres #528

Closed davidbartonau closed 3 years ago

davidbartonau commented 3 years ago

I just tried upgrading from 5.31 and mattermost keeps restarting with the error:

Error: cannot create store: minimum required postgres version is 10.0; found 9.426

The db Dockerfile contains: FROM postgres:9.4-alpine

As I understand it, this means a manual backup and restore of the database, since the postgres container doesn't automatically upgrade data. I'm going to give it a go and report back here.

davidbartonau commented 3 years ago

Unfortunately, postgres:10-alpine does not have python-dev and since I don't know python or alpine Linux, I am a bit stuck at this point.

EugenMayer commented 3 years ago

https://github.com/mattermost/mattermost-docker/pull/529

bor8 commented 3 years ago

grafik

Make good backup and do:

https://github.com/mattermost/mattermost-docker/issues/489#issuecomment-790277661

Read the whole ticket when you have problems.