mattermost-docker icon indicating copy to clipboard operation
mattermost-docker copied to clipboard

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

Open nvjacobo opened this issue 4 years ago • 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.

nvjacobo avatar Feb 24 '21 21:02 nvjacobo

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

maxraab avatar Feb 25 '21 08:02 maxraab

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:

nvjacobo avatar Feb 26 '21 00:02 nvjacobo

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:

nvjacobo avatar Feb 26 '21 00:02 nvjacobo

same issue as @nvjacobo noticed.

https://github.com/mattermost/mattermost-docker/issues/521

adatamonk avatar Feb 26 '21 20:02 adatamonk

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

nvjacobo avatar Feb 26 '21 22:02 nvjacobo