mattermost / mattermost-docker

Deprecated
Apache License 2.0
964 stars 575 forks source link

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

Open nvjacobo opened 3 years ago

nvjacobo commented 3 years ago

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.

maxraab commented 3 years ago

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
nvjacobo commented 3 years ago

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 commented 3 years ago

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:
adatamonk commented 3 years ago

same issue as @nvjacobo noticed.

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

nvjacobo commented 3 years ago

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