Problem to solve
Hey all, a few hours ago i attempted to run gitlab-ce via docker-compose. But the site never became available and the logs were basically repeating themselves. There was only one error that was repeating again and again. I am unsure how to aproach this error… maybe someone can push me in the right direction here…
The site was showing an Error 500 Internal Server Error
The error:
==> /var/log/gitlab/gitlab-workhorse/current <==
redis: 2024/05/01 13:13:26 pubsub.go:168: redis: discarding bad PubSub connection: EOF
{"error":"keywatcher: pubsub receive: EOF","level":"error","msg":"","time":"2024-05-01T13:13:26Z"}
Steps to reproduce
Run Gilab with this docker compose:
services:
web:
image: gitlab/gitlab-ce:latest
container_name: gitlab_ce
restart: always
hostname: git.<mydomain>
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://git.<mydomain>'
ports:
- 2222:22
volumes:
- /opt/volumes/gitlab-config:/etc/gitlab
- /opt/volumes/gitlab-logs:/var/log/gitlab
- /opt/volumes/gitlab-data:/var/opt/gitlab
shm_size: 256m
secrets:
- gitlab_root_password
labels:
- traefik.enable=true
- traefik.http.routers.gitlab_ce.rule=Host(`git.<mydomain>`)
- traefik.http.routers.gitlab_ce.entrypoints=websecure
- traefik.http.routers.gitlab_ce.tls.certresolver=myresolver
networks:
- web
gitlab_docs:
image: registry.gitlab.com/gitlab-org/gitlab-docs:latest
container_name: gitlab_ce_docs
hostname: https://docs.git.<mydomain>
labels:
- traefik.enable=true
- traefik.http.routers.gitlab_ce_docs.rule=Host(`docs.git.<mydomain>`)
- traefik.http.routers.gitlab_ce_docs.entrypoints=websecure
- traefik.http.routers.gitlab_ce_docs.tls.certresolver=myresolver
networks:
- web
secrets:
gitlab_root_password:
file: /etc/docker-dockge-setup/secrets/gitlab_root_password.txt
networks:
web:
external: true
Configuration
Nothing appart from the compose.yml
Versions
I am on Debian 12
Docker version 26.0.0, build 2ae903e
Latest gitlab image
And I use Traefik as a reverse proxy. Thats why I dont expose 443 or 80.
The last ~200 log lines: ==> /var/log/gitlab/gitlab-exporter/current <==2024-05-01_13:36:38.38191 ::1 - - Pastebin.com