502 after install gitlab-13.10-ce reports on Raspberry Pi 4B with Raspbian
Summary
502 after install gitlab-13.10-ce reports on Raspberry Pi 4B with Raspbian
Steps to reproduce
-
A newly installed Raspberry Pi 4B with the newest Raspbian Pi OS
-
Flow the steps from the offical installation Guidehttps://about.gitlab.com/install/#raspberry-pi-os, and just change the
EXTERNAL_URL="http://localhost:8060"
3.sudo gitlab-ctl reconfigure
4.sudo gitlab-ctl restart
What is the current bug behavior?
The browser gets errorpage 502 Whoops, GitLab is taking too much time to respond.
What is the expected correct behavior?
Relevant logs
sudo gitlab-ctl status
run: alertmanager: (pid 5424) 1348s; run: log: (pid 18798) 4028s run: crond: (pid 5435) 1347s; run: log: (pid 31271) 3149s run: gitaly: (pid 5448) 1347s; run: log: (pid 18045) 4389s run: gitlab-exporter: (pid 5468) 1346s; run: log: (pid 18686) 4065s run: gitlab-workhorse: (pid 5472) 1346s; run: log: (pid 18478) 4125s down: grafana: 1s, normally up, want up; run: log: (pid 5169) 1402s run: logrotate: (pid 5701) 1315s; run: log: (pid 18561) 4091s run: nginx: (pid 5708) 1315s; run: log: (pid 18511) 4118s run: node-exporter: (pid 5716) 1314s; run: log: (pid 18653) 4076s run: postgres-exporter: (pid 5725) 1314s; run: log: (pid 18836) 4017s run: postgresql: (pid 5748) 1313s; run: log: (pid 18183) 4368s run: prometheus: (pid 5750) 1313s; run: log: (pid 18753) 4041s run: puma: (pid 5771) 1313s; run: log: (pid 18421) 4146s run: redis: (pid 5782) 1312s; run: log: (pid 18002) 4401s run: redis-exporter: (pid 5787) 1312s; run: log: (pid 18718) 4053s run: sidekiq: (pid 5799) 1309s; run: log: (pid 18441) 4136s
==> /var/log/gitlab/postgres-exporter/current <==
2021-04-10_12:11:31.02142 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_locks pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.02572 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_vacuum pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.03057 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_vacuum_analyze pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.03596 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_blocked pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.04054 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_stat_archiver pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.04507 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_stat_database pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.05094 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_vacuum_queue pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.05400 time="2021-04-10T20:11:31+08:00" level=info msg="Error running query on database \"/var/opt/gitlab/postgresql:5432\": pg_stat_replication pq: the database system is shutting down" source="postgres_exporter.go:1356" 2021-04-10_12:11:31.05422 time="2021-04-10T20:11:31+08:00" level=error msg="queryNamespaceMappings returned 8 errors" source="postgres_exporter.go:1474" 2021-04-10_12:11:31.05597 time="2021-04-10T20:11:31+08:00" level=info msg="Starting Server: localhost:9187" source="postgres_exporter.go:1672" ==> /var/log/gitlab/nginx/gitlab_error.log <== 2021/04/10 19:52:06 [error] 32619#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /metrics HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket:/metrics", host: "localhost:8060"
==> /var/log/gitlab/grafana/current <==
2021-04-10_12:31:54.47612 chpst: fatal: unable to run: /opt/gitlab/embedded/bin/grafana-server: exec format error 2021-04-10_12:31:55.50270 chpst: fatal: unable to run: /opt/gitlab/embedded/bin/grafana-server: exec format error 2021-04-10_12:31:56.54631 chpst: fatal: unable to run: /opt/gitlab/embedded/bin/grafana-server: exec format error 2021-04-10_12:31:57.58558 chpst: fatal: unable to run: /opt/gitlab/embedded/bin/grafana-server: exec format error
Details of package version
Provide the package version installation details
||/ 名称 版本 体系结构 描述 +++-==============-============-============-=========================================================== ii gitlab-ce 13.10.0-ce.0 armhf GitLab Community Edition (including NGINX, Postgres, Redis)
Environment details
- Operating System:
Raspbian Pi OS latest
- Installation Target, remove incorrect values:
- Other:
Raspberry Pi 4B
- Other:
- Installation Type, remove incorrect values:
- New Installation
- Is there any other software running on the machine:
NO
- Is this a single or multiple node installation?
- Resources
- CPU:
REPLACE-WITH-DETAILS
- Memory total:
8G
- CPU: