You are not logged in.

#1 2021-12-04 00:04:15

tirithen
Member
Registered: 2014-02-18
Posts: 22

[SOLVED] gitlab-shell exits with "Failed to read config, exiting"

I have installed GitLab on an amd64 machine following the steps in this guide https://wiki.archlinux.org/title/GitLab .

The services starts, and connects to the databases fine, but when I try to clone repositories with SSH it seems like the gitlab-shell program cannot read it's configuration. I have double checked the file permissions as well as I can but I'm sure if that is the issue.

I'm testing ssh with:

ssh -T gitlab@example.com
Failed to read config, exiting

Anyone else that has had problems with this or have any suggestions on how to proceed?

Last edited by tirithen (2021-12-12 16:30:00)

Offline

#2 2021-12-12 16:29:47

tirithen
Member
Registered: 2014-02-18
Posts: 22

Re: [SOLVED] gitlab-shell exits with "Failed to read config, exiting"

After some more digging I found that I had a bad configuration in the /etc/webapps/gitlab-shell/config.yml file, the secret_file path was pointing to the wrong file.

Offline

Board footer

Powered by FluxBB