Status 500 after docker image upgrade
Running gitlab in a docker container setup according to the userguide Omnibus GitLab documentation -> GitLab Docker images.
Following the guide Upgrade GitLab to newer version I made an upgrade to the latest version of gitlab. After the upgrade I got the 500 error when I tried to run a pipeline manually. After downgrading to the previous version, everything seemd to work as normal. I made this upgrade a couple of times with the same result, also restoring files from my backup. But the problem is the same.
I read about some similar problems in some other issues, but didn't find any solution. Someone mentioned that the gitlab-secrets.json
could be involved. I checked this diffing the file and it showed some new struff after the upgrade:
$ sudo diff before_upgrade/gitlab-secrets.json after_upgrade/gitlab-secrets.json
15c15,18
< "admin_secret_token": "123... <snip> ...a55"
---
> "admin_secret_token": "123... <snip> ...a55",
> "gitlab_secret": null,
> "gitlab_id": null,
> "auth_secret": "234... <snip> ...3b2"
My current configuration:
$ sudo docker container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7ff339dd88bf gitlab/gitlab-ce:11.4.5-ce.0 "/assets/wrapper" 30 minutes ago Up 30 minutes (healthy) 22/tcp, 1.1.1.1:443->443/tcp, 80/tcp, 1.1.1.1:8080->8080/tcp gitlab
$ sudo docker version
Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:48:46 2018
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:16:44 2018
OS/Arch: linux/amd64
Experimental: false