mattermost/mattermost-docker

{PATCH} is included in the version view and not correct version number

nvjacobo opened this issue · 5 comments

Summary

I update to latest version but I can not see latest version.

Steps to reproduce

docker-compose down
git pull
docker-compose build
docker-compose up -d

Screenshot_2021-02-24 Ocurre - Las naves Las naves

Update

With a new installation this does not happen.

You also need to rebuild the container:

For example:

$ git pull
$ git checkout <tag>
$ docker-compose build
$ docker-compose down
$ docker-compose up -d --force-recreate

Hi,

The version problem seems to be related to the app / Dockerfile. Currently Dockerfile has 5.31.0. I changed to 5.32.1. 5.32.1 version change brings with it a deprecated problem of the database.

Starting mattermost
{"level":"error","ts":1614297839.995582,"caller":"commands/server.go:77","msg":"cannot create store: minimum required postgres version is 10.0; found 9.426"}
Error: cannot create store: minimum required postgres version is 10.0; found 9.426
Usage:

You also need to rebuild the container:

For example:

$ git pull
$ git checkout <tag>
$ docker-compose build
$ docker-compose down
$ docker-compose up -d --force-recreate

thanks @maxraab

Tag 5.32.1 has a deprecated issue. How can i fix it?

You can see here:

Starting mattermost
{"level":"error","ts":1614297839.995582,"caller":"commands/server.go:77","msg":"cannot create store: minimum required postgres version is 10.0; found 9.426"}
Error: cannot create store: minimum required postgres version is 10.0; found 9.426
Usage:

same issue as @nvjacobo noticed.

#521

Updated findins

  1. Releases are by branches #514. Master branch has postgres:9.4 in Dockerfile
  2. PostgreSQL 9.4 is deprecated. Mattermost supports PostgreSQL 10 now #489
  3. {PATCH} text is related issue in mattermost-server #16830