Am trying to enable registry on my gitlab-ce instance but connection to it is not working, neither there are errors.
My setup is linux server, with gitlab-ce docker container and registry enabled in it(no separate container for registry).
In my gitlab instance, after enabling registry, i see it as enabled. When i go to my project and than - packages and registries/registry it shows me the ways to connect to in, in my case it is:
docker login registry.gitlab2.arma:5005
docker build -t registry.gitlab2.arma:5005/aspen-developers/aspen-server .
docker push registry.gitlab2.arma:5005/aspen-developers/aspen-server
What i dont see, and what i think is problem, is my host listening on that port. I see on linux ports 80, 443 and 22(those ports are coming from gitlab container) but i do not see 5005 or 5050, and i cant telnet to ip-host:port.
But also when i try to connect to repository with docker login registry.gitlab2.arma:5005 i get connection refused. Small not about gitlab, if you try completely imaginary url, e.g. docker login 550.550.550.550 it will not reject but it will ask you for user pass, i find that making debugging even more challenging.
gitlab version is 15.9
what i find problematic is that there is nothing in logs about this refused connection(which i understand since my host is not listening on port 5005 and connection never comes to it), but there is nothing in logs about nginx not starting the registry or reason why it does not listen on that port or anything like that, so i cannot find anywhere what the exact problem is.
I entered container to check it and its not listening on loopback:5005(so i dont see it on host), it just not listening on that port.
I have found nginx conf file for registry and it seams ok.
registry related part of gitlab.rb
registry_external_url 'https://registry.gitlab2.arma:5005'
gitlab_rails['registry_enabled'] = true
gitlab_rails['registry_host'] = "registry.gitlab2.arma"
gitlab_rails['registry_port'] = "5005"
gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
gitlab_rails['registry_api_url'] = "http://localhost:5000"
gitlab_rails['registry_key_path'] = "/etc/gitlab/ssl/ssl_registry.key"
registry['enable'] = true
registry['token_realm'] = "https://gitlab.mydomain.com:443"
registry['registry_http_addr'] = "localhost:5000"
registry['log_directory'] = "/var/log/gitlab/registry"
registry['env_directory'] = "/opt/gitlab/etc/registry/env"
registry['env'] = {
registry['rootcertbundle'] = "/etc/gitlab/ssl/ssl_registry.crt"
registry_nginx['enable'] = true
registry_nginx['listen_port'] = 5050
registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/ca.crt"
registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/ca.key"
please note that ssl keys exist and are on that location.
docker compose:
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab2.arma'
environment:
GITLAB_OMNIBUS_CONFIG: |
# Add any other gitlab.rb configuration here, each on its own line
external_url 'https://gitlab2.arma'
gitlab_rails['gitlab_shell_ssh_port'] = 22
nginx['redirect_http_to_https'] = false
nginx['ssl_certificate'] = "/etc/gitlab/ssl/ca.crt"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/ca.key"
nginx['ssl_dhparam'] = "/etc/gitlab/ssl/dhparams.pem"
ports:
- '443:443'
- '80:80'
- '2243:22'
- '5005:5005'
volumes:
- '${GITLAB_HOME}/config:/etc/gitlab'
- '${GITLAB_HOME}/logs:/var/log/gitlab'
- '${GITLAB_HOME}/data:/var/opt/gitlab'
- '${GITLAB_HOME}/config/ssl:/etc/gitlab/ssl'
part of log(probably nginx, i paste it yesterday so am not sure)
edit: shrinked since gitlab wont accept length of this post
SC[36mweb_1 |ESC[0m [2023-03-05T03:47:40+00:00] INFO: Loading cookbooks [gitlab@0.0.1, package@0.1.0, logrotate@0.1.0, postgresql@0.1.0, redis@0.1.0, monitoring@0.1.0, registry@0.1.0, mattermost@0.1.0, consul
@0.1.0, gitaly@0.1.0, praefect@0.1.0, gitlab-kas@0.1.0, gitlab-pages@0.1.0, letsencrypt@0.1.0, nginx@0.1.0, runit@5.1.7, acme@4.1.5, crond@0.1.0]
ESC[36mweb_1 |ESC[0m - registry (0.1.0)
ESC[36mweb_1 |ESC[0m * file[/etc/gitlab/ssl/ssl_registry.key] action create[2023-03-05T03:47:47+00:00] WARN: only_if block for file[/etc/gitlab/ssl/ssl_registry.key] returned a string, did you mean to run a command?
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:47+00:00] INFO: file[/etc/gitlab/ssl/ssl_registry.key] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/etc/gitlab/ssl/ssl_registry.key.chef-20230305034747.339892
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:47+00:00] INFO: file[/etc/gitlab/ssl/ssl_registry.key] updated file contents /etc/gitlab/ssl/ssl_registry.key
ESC[36mweb_1 |ESC[0m - update content in file /etc/gitlab/ssl/ssl_registry.key from 086bb7 to 37e8bc
ESC[36mweb_1 |ESC[0m - suppressed sensitive resource[2023-03-05T03:47:47+00:00] INFO: file[/etc/gitlab/ssl/ssl_registry.key] owner changed to 998
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:47+00:00] INFO: file[/etc/gitlab/ssl/ssl_registry.key] group changed to 998
ESC[36mweb_1 |ESC[0m -registry_dir=''
ESC[36mweb_1 |ESC[0m +registry_dir='/var/opt/gitlab/gitlab-rails/shared/registry'
ESC[36mweb_1 |ESC[0m registry_user='registry'
ESC[36mweb_1 |ESC[0m registry_group='registry'
ESC[36mweb_1 |ESC[0m * template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] action create[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] created file /var/opt/gitlab/nginx/conf/gitlab-registry.conf
ESC[36mweb_1 |ESC[0m - create new file /var/opt/gitlab/nginx/conf/gitlab-registry.conf[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] updated file contents /var/opt/gitlab/nginx/conf/gitlab-registry.conf
ESC[36mweb_1 |ESC[0m - update content in file /var/opt/gitlab/nginx/conf/gitlab-registry.conf from none to 54b7c9
ESC[36mweb_1 |ESC[0m --- /var/opt/gitlab/nginx/conf/gitlab-registry.conf 2023-03-05 03:47:54.201715865 +0000
ESC[36mweb_1 |ESC[0m +++ /var/opt/gitlab/nginx/conf/.chef-gitlab-registry20230305-30-vqsd8k.conf 2023-03-05 03:47:54.201715865 +0000
ESC[36mweb_1 |ESC[0m + server_name registry.gitlab2.arma;
ESC[36mweb_1 |ESC[0m + access_log /var/log/gitlab/nginx/gitlab_registry_access.log gitlab_access;
ESC[36mweb_1 |ESC[0m + error_log /var/log/gitlab/nginx/gitlab_registry_error.log error;
ESC[36mweb_1 |ESC[0m +} ## end HTTPS server[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] mode changed to 644
ESC[36mweb_1 |ESC[0m + include /var/opt/gitlab/nginx/conf/gitlab-registry.conf;
ESC[36mweb_1 |ESC[0m Recipe: registry::enable
ESC[36mweb_1 |ESC[0m * directory[create /var/opt/gitlab/registry] action create[2023-03-05T03:47:54+00:00] INFO: directory[create /var/opt/gitlab/registry] created directory /var/opt/gitlab/registry
ESC[36mweb_1 |ESC[0m - create new directory /var/opt/gitlab/registry
ESC[36mweb_1 |ESC[0m * account[Docker registry user and group] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[create /var/opt/gitlab/registry and set the owner] action create[2023-03-05T03:47:54+00:00] INFO: directory[create /var/opt/gitlab/registry and set the owner] owner changed to 993
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[create /var/opt/gitlab/registry and set the owner] mode changed to 700
ESC[36mweb_1 |ESC[0m - change owner from 'root' to 'registry'
ESC[36mweb_1 |ESC[0m * directory[create /var/log/gitlab/registry and set the owner] action create[2023-03-05T03:47:54+00:00] INFO: directory[create /var/log/gitlab/registry and set the owner] created directory /var/log/gitlab/registry
ESC[36mweb_1 |ESC[0m - create new directory /var/log/gitlab/registry[2023-03-05T03:47:54+00:00] INFO: directory[create /var/log/gitlab/registry and set the owner] owner changed to 993
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[create /var/log/gitlab/registry and set the owner] mode changed to 700
ESC[36mweb_1 |ESC[0m - change owner from '' to 'registry'
ESC[36mweb_1 |ESC[0m * env_dir[/opt/gitlab/etc/registry/env] action create
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/etc/registry/env] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/etc/registry/env] created directory /opt/gitlab/etc/registry/env
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/etc/registry/env
ESC[36mweb_1 |ESC[0m * file[/opt/gitlab/etc/registry/env/SSL_CERT_DIR] action create[2023-03-05T03:47:54+00:00] INFO: file[/opt/gitlab/etc/registry/env/SSL_CERT_DIR] created file /opt/gitlab/etc/registry/env/SSL_CERT_DIR
ESC[36mweb_1 |ESC[0m - create new file /opt/gitlab/etc/registry/env/SSL_CERT_DIR[2023-03-05T03:47:54+00:00] INFO: file[/opt/gitlab/etc/registry/env/SSL_CERT_DIR] updated file contents /opt/gitlab/etc/registry/env/SSL_CERT_DIR
ESC[36mweb_1 |ESC[0m - update content in file /opt/gitlab/etc/registry/env/SSL_CERT_DIR from none to 4f45cf
ESC[36mweb_1 |ESC[0m * directory[/var/opt/gitlab/gitlab-rails/shared/registry] action create[2023-03-05T03:47:54+00:00] INFO: directory[/var/opt/gitlab/gitlab-rails/shared/registry] created directory /var/opt/gitlab/gitlab-rails/shared/registry
ESC[36mweb_1 |ESC[0m - create new directory /var/opt/gitlab/gitlab-rails/shared/registry[2023-03-05T03:47:54+00:00] INFO: directory[/var/opt/gitlab/gitlab-rails/shared/registry] owner changed to 993
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/var/opt/gitlab/gitlab-rails/shared/registry] group changed to 998
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/var/opt/gitlab/gitlab-rails/shared/registry] mode changed to 770
ESC[36mweb_1 |ESC[0m - change owner from '' to 'registry'
ESC[36mweb_1 |ESC[0m * file[/var/opt/gitlab/registry/gitlab-registry.crt] action create[2023-03-05T03:47:54+00:00] INFO: file[/var/opt/gitlab/registry/gitlab-registry.crt] created file /var/opt/gitlab/registry/gitlab-registry.crt
ESC[36mweb_1 |ESC[0m - create new file /var/opt/gitlab/registry/gitlab-registry.crt[2023-03-05T03:47:54+00:00] INFO: file[/var/opt/gitlab/registry/gitlab-registry.crt] updated file contents /var/opt/gitlab/registry/gitlab-registry.crt
ESC[36mweb_1 |ESC[0m - update content in file /var/opt/gitlab/registry/gitlab-registry.crt from none to 7df50c
ESC[36mweb_1 |ESC[0m - suppressed sensitive resource[2023-03-05T03:47:54+00:00] INFO: file[/var/opt/gitlab/registry/gitlab-registry.crt] owner changed to 993
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: file[/var/opt/gitlab/registry/gitlab-registry.crt] group changed to 993
ESC[36mweb_1 |ESC[0m - change owner from '' to 'registry'
ESC[36mweb_1 |ESC[0m - change group from '' to 'registry'
ESC[36mweb_1 |ESC[0m * template[/var/opt/gitlab/registry/config.yml] action create[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/registry/config.yml] created file /var/opt/gitlab/registry/config.yml
ESC[36mweb_1 |ESC[0m - create new file /var/opt/gitlab/registry/config.yml[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/registry/config.yml] updated file contents /var/opt/gitlab/registry/config.yml
ESC[36mweb_1 |ESC[0m - update content in file /var/opt/gitlab/registry/config.yml from none to 562c4d
ESC[36mweb_1 |ESC[0m --- /var/opt/gitlab/registry/config.yml 2023-03-05 03:47:54.561720134 +0000
ESC[36mweb_1 |ESC[0m +++ /var/opt/gitlab/registry/.chef-config20230305-30-ydvqlu.yml 2023-03-05 03:47:54.561720134 +0000
ESC[36mweb_1 |ESC[0m + service: registry
ESC[36mweb_1 |ESC[0m +storage: {"filesystem":{"rootdirectory":"/var/opt/gitlab/gitlab-rails/shared/registry"},"cache":{"blobdescriptor":"inmemory"},"delete":{"enabled":true}}
ESC[36mweb_1 |ESC[0m + service: container_registry
ESC[36mweb_1 |ESC[0m + rootcertbundle: /etc/gitlab/ssl/ssl_registry.crt
ESC[36mweb_1 |ESC[0m + disabled: true[2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/registry/config.yml] owner changed to 993
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/registry/config.yml] mode changed to 644
ESC[36mweb_1 |ESC[0m - change owner from '' to 'registry'
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/var/opt/gitlab/registry/config.yml] not queuing delayed action restart on runit_service[registry] (delayed), as it's already been queued
ESC[36mweb_1 |ESC[0m * service[registry] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * runit_service[registry] action enable
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry] created directory /opt/gitlab/sv/registry
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/sv/registry[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry] mode changed to 755
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/run] action create[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] created file /opt/gitlab/sv/registry/run
ESC[36mweb_1 |ESC[0m - create new file /opt/gitlab/sv/registry/run[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] updated file contents /opt/gitlab/sv/registry/run
ESC[36mweb_1 |ESC[0m - update content in file /opt/gitlab/sv/registry/run from none to acccae
ESC[36mweb_1 |ESC[0m --- /opt/gitlab/sv/registry/run 2023-03-05 03:47:54.597720561 +0000
ESC[36mweb_1 |ESC[0m +++ /opt/gitlab/sv/registry/.chef-run20230305-30-eiqcdn 2023-03-05 03:47:54.597720561 +0000
ESC[36mweb_1 |ESC[0m +cd /var/opt/gitlab/registry
ESC[36mweb_1 |ESC[0m +exec chpst -e /opt/gitlab/etc/registry/env -P \
ESC[36mweb_1 |ESC[0m + -U registry:registry \
ESC[36mweb_1 |ESC[0m + -u registry:registry \
ESC[36mweb_1 |ESC[0m + /opt/gitlab/embedded/bin/registry serve ./config.yml[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] mode changed to 755
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log] created directory /opt/gitlab/sv/registry/log
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/sv/registry/log[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log] mode changed to 755
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log/main] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log/main] created directory /opt/gitlab/sv/registry/log/main
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/sv/registry/log/main[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log/main] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log/main] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/log/main] mode changed to 755
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/config] action create[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] created file /opt/gitlab/sv/registry/log/config
ESC[36mweb_1 |ESC[0m - create new file /opt/gitlab/sv/registry/log/config[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] updated file contents /opt/gitlab/sv/registry/log/config
ESC[36mweb_1 |ESC[0m - update content in file /opt/gitlab/sv/registry/log/config from none to 623c00
ESC[36mweb_1 |ESC[0m --- /opt/gitlab/sv/registry/log/config 2023-03-05 03:47:54.633720989 +0000
ESC[36mweb_1 |ESC[0m +++ /opt/gitlab/sv/registry/log/.chef-config20230305-30-1cq5tzd 2023-03-05 03:47:54.633720989 +0000
ESC[36mweb_1 |ESC[0m +[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] mode changed to 644
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] sending create action to ruby_block[verify_chown_persisted_on_registry] (immediate)
ESC[36mweb_1 |ESC[0m * ruby_block[verify_chown_persisted_on_registry] action create[2023-03-05T03:47:54+00:00] INFO: ruby_block[verify_chown_persisted_on_registry] called
ESC[36mweb_1 |ESC[0m - execute the ruby block verify_chown_persisted_on_registry
ESC[36mweb_1 |ESC[0m * ruby_block[verify_chown_persisted_on_registry] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * link[/var/log/gitlab/registry/config] action create[2023-03-05T03:47:54+00:00] INFO: link[/var/log/gitlab/registry/config] created
ESC[36mweb_1 |ESC[0m - create symlink at /var/log/gitlab/registry/config to /opt/gitlab/sv/registry/log/config
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/run] action create[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] created file /opt/gitlab/sv/registry/log/run
ESC[36mweb_1 |ESC[0m - create new file /opt/gitlab/sv/registry/log/run[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] updated file contents /opt/gitlab/sv/registry/log/run
ESC[36mweb_1 |ESC[0m - update content in file /opt/gitlab/sv/registry/log/run from none to cb6440
ESC[36mweb_1 |ESC[0m --- /opt/gitlab/sv/registry/log/run 2023-03-05 03:47:54.673721463 +0000
ESC[36mweb_1 |ESC[0m +++ /opt/gitlab/sv/registry/log/.chef-run20230305-30-1uoib66 2023-03-05 03:47:54.673721463 +0000
ESC[36mweb_1 |ESC[0m +exec svlogd -tt /var/log/gitlab/registry[2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] mode changed to 755
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/env] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/env] created directory /opt/gitlab/sv/registry/env
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/sv/registry/env[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/env] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/env] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/env] mode changed to 755
ESC[36mweb_1 |ESC[0m * ruby_block[Delete unmanaged env files for registry service] action run (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/check] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/finish] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/control] action create[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/control] created directory /opt/gitlab/sv/registry/control
ESC[36mweb_1 |ESC[0m - create new directory /opt/gitlab/sv/registry/control[2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/control] owner changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/control] group changed to 0
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: directory[/opt/gitlab/sv/registry/control] mode changed to 755
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/init/registry] action create[2023-03-05T03:47:54+00:00] INFO: link[/opt/gitlab/init/registry] created
ESC[36mweb_1 |ESC[0m - create symlink at /opt/gitlab/init/registry to /opt/gitlab/embedded/bin/sv
ESC[36mweb_1 |ESC[0m * file[/opt/gitlab/sv/registry/down] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/run] sending run action to ruby_block[restart_service] (delayed)
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:54+00:00] INFO: template[/opt/gitlab/sv/registry/log/config] sending create action to ruby_block[reload_log_service] (delayed)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/run] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log/main] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/config] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[verify_chown_persisted_on_registry] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * link[/var/log/gitlab/registry/config] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/run] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/env] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[Delete unmanaged env files for registry service] action run (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/check] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/finish] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/control] action create (up to date)
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/init/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * file[/opt/gitlab/sv/registry/down] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/service/registry] action create[2023-03-05T03:47:54+00:00] INFO: link[/opt/gitlab/service/registry] created
ESC[36mweb_1 |ESC[0m - create symlink at /opt/gitlab/service/registry to /opt/gitlab/sv/registry
ESC[36mweb_1 |ESC[0m * ruby_block[wait for registry service socket] action run[2023-03-05T03:47:57+00:00] INFO: ruby_block[wait for registry service socket] called
ESC[36mweb_1 |ESC[0m - execute the ruby block wait for registry service socket
ESC[36mweb_1 |ESC[0m [2023-03-05T03:47:57+00:00] INFO: template[/opt/gitlab/sv/registry/log/run] sending run action to ruby_block[restart_log_service] (delayed)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/run] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/log/main] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/config] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[verify_chown_persisted_on_registry] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * link[/var/log/gitlab/registry/config] action create (up to date)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/log/run] action create (up to date)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/env] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[Delete unmanaged env files for registry service] action run (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/check] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * template[/opt/gitlab/sv/registry/finish] action create (skipped due to only_if)
ESC[36mweb_1 |ESC[0m * directory[/opt/gitlab/sv/registry/control] action create (up to date)
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/init/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * file[/opt/gitlab/sv/registry/down] action nothing (skipped due to action :nothing)
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/service/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[wait for registry service socket] action run (skipped due to not_if)
ESC[36mweb_1 |ESC[0m * link[/opt/gitlab/service/registry] action create (up to date)
ESC[36mweb_1 |ESC[0m * ruby_block[wait for registry service socket] action run (skipped due to not_if)
ESC[36mweb_1 |ESC[0m * file[/var/opt/gitlab/registry/VERSION] action create[2023-03-05T03:48:08+00:00] INFO: file[/var/opt/gitlab/registry/VERSION] created file /var/opt
registry process is running:
root 374 0.0 0.0 2372 620 ? Ss 15:09 0:00 runsv registry
root 376 0.0 0.0 2516 672 ? S 15:09 0:00 svlogd -tt /var/log/gitlab/registry
registry 378 0.0 0.5 1423208 32232 ? Ssl 15:09 0:01 /opt/gitlab/embedded/bin/registry serve ./config.yml
git 542 12.2 14.2 1480076 868756 ? Sl 15:10 8:32 sidekiq 6.5.7 queues:authorized_project_update:authorized_project_update_project_recalculate,authorized_project_update:authorized_project_update_project_recalculate_per_user,authorized_project_update:authorized_project_update_user_refresh_from_replica,authorized_project_update:authorized_project_update_user_refresh_over_user_range,authorized_project_update:authorized_project_update_user_refresh_with_low_urgency,auto_devops:auto_devops_disable,auto_merge:auto_merge_process,batched_background_migrations:database_batched_background_migration_ci_execution,batched_background_migrations:database_batched_background_migration_main_execution,chaos:chaos_cpu_spin,chaos:chaos_db_spin,chaos:chaos_kill,chaos:chaos_leak_mem,chaos:chaos_sleep,cluster_agent:clusters_agents_delete_expired_events,container_repository:cleanup_container_repository,container_repository:container_expiration_policies_cleanup_container_repository,container_repository:delete_container_repository,container_repository_delete:container_registry_delete_
root 745 0.0 0.0 4296 488 ? S 15:13 0:00 tail --follow=name --retry /var/log/gitlab/redis/current /var/log/gitlab/postgres-exporter/current /var/log/gitlab/grafana/current /var/log/gitlab/logrotate/current /var/log/gitlab/gitaly/current /var/log/gitlab/gitaly/gitaly_ruby_json.log /var/log/gitlab/nginx/gitlab_registry_error.log /var/log/gitlab/nginx/current /var/log/gitlab/nginx/gitlab_access.log /var/log/gitlab/nginx/error.log /var/log/gitlab/nginx/gitlab_registry_access.log /var/log/gitlab/nginx/access.log /var/log/gitlab/nginx/gitlab_error.log /var/log/gitlab/puma/current /var/log/gitlab/puma/puma_stdout.log /var/log/gitlab/puma/puma_stderr.log /var/log/gitlab/redis-exporter/current /var/log/gitlab/gitlab-kas/current /var/log/gitlab/sshd/current /var/log/gitlab/registry/current /var/log/gitlab/sidekiq/current /var/log/gitlab/gitlab-exporter/current /var/log/gitlab/postgresql/current /var/log/gitlab/gitlab-workhorse/current /var/log/gitlab/prometheus/current /var/log/gitlab/gitlab-rails/production_json.log /var/log/gitlab/gitlab-rails/auth.log /var/log/gitlab/gitlab-rails/application.log /var/log/gitlab/gitlab-rails/graphql_json.log /var/log/gitlab/gitlab-rails/exceptions_json.log /var/log/gitlab/gitlab-rails/application_json.log /var/log/gitlab/gitlab-rails/service_measurement.log /var/log/gitlab/gitlab-rails/database_load_balancing.log /var/log/gitlab/gitlab-rails/audit_json.log /var/log/gitlab/gitlab-rails/git_json.log /var/log/gitlab/gitlab-rails/production.log /var/log/gitlab/gitlab-rails/sidekiq_client.log /var/log/gitlab/gitlab-rails/api_json.log /var/log/gitlab/gitlab-rails/grpc.log /var/log/gitlab/alertmanager/current
what i need is a way to debugg this, since i cannot figure it out by myself.