Summary
Gitlab Omnibus installer did not upgrade Mattermost.
Steps to reproduce
On Amazon Linux 2017.03
Previously:
- Gitlab and Mattermost are both working.
- gitlab version was 9.3.x.
These command were executed:
- url https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
- sudo yum install gitlab-ce
- sudo gitlab-ctl reconfigure
Expected behavior
- Mattermost is updated to 4.0 as shown in the table ( https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc/gitlab-mattermost#upgrading-gitlab-mattermost ) because Gitlab is updated to 9.4.1.
Observed behavior
-
Mattermost app in brower show the version, but the version is still 3.10.0.
-
The log file, /var/log/gitlab/mattermost/current has the line:
Current version is 4.0.0 (4.0.1/Wed Jul 19 00:54:25 UTC 2017/a350f4dc0754e1aeabb64bd712ce05f7c59cfa60/none) -
The img src of user icons on the app points URI out like this:
/mattermost.mypage.net/api/v4/users/xztgtqdkjprhzqcskm5dojxdth/image?time=1501070387379 -
Directly accessing to the URI, it returns:
{“id”:“api.context.session_expired.app_error”,“message”:“Invalid or expired session, please login again.”,“detailed_error”:"",“request_id”:“5wm9ctiyxbdu5q689ea8b7cpgo”,“status_code”:500}