Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

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

Open
nvjacobo opened this issue Feb 24, 2021 · 5 comments
Open

Comments

@nvjacobo
Copy link
Contributor

nvjacobo commented Feb 24, 2021

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
Copy link

maxraab commented Feb 25, 2021

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
Copy link
Contributor Author

nvjacobo commented Feb 26, 2021

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
Copy link
Contributor Author

nvjacobo commented Feb 26, 2021

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
Copy link

same issue as @nvjacobo noticed.

#521

@nvjacobo
Copy link
Contributor Author

nvjacobo commented Feb 26, 2021

Updated findins

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants