나는 gitlab과 특히 gitlab-shell을 몇 시간 동안 시험해 보았습니다. 내가 필요로하는 샘플 설정을 찾은 설명서에 의해 트롤링 된 후 API 500 오류가 발생합니다. Running /home/git/gitlab-shell/bin/check Check GitLab API access: FAILED. code: 500 gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell configuration file: sudo -u git -H editor /home/git/gitlab-shell/config.yml Please fix the error above and rerun the checks.
gitlab-shell ssl cert issues
To explain my current setup:
#/home/git/gitlab-shell/config.yml
user: git
gitlab_url: https://[myfqdn]/
http_settings:
ca_file: "/etc/gitlab-ssl/git-mydomain-chain.pem"
ca_path: "/etc/gitlab-ssl"
self_signed_cert: false
repos_path: "/home/git/repositories/"
auth_file: "/home/git/.ssh/authorized_keys"
redis:
bin: "/usr/bin/redis-cli"
namespace: resque:gitlab
host: localhost
port: 6379
log_level: INFO
audit_usernames: false
In the
/etc/gitlab-ssl
디렉토리는 두 파일입니다. * 내 개인 키 git-mydomain-key.pem
* 결합 된 공개 키와 CA 키 git-mydomain -chain.pem
또한 ca-certificates에 ca-key를 추가했습니다 (이것은 cacert 서명 된 것입니다).
아무도 도와 줄 수 있고 무엇이 잘못되었는지 말할 수 있습니까?
댓글을 삭제하고 따옴표를 추가했습니다. 결과로 내가 API 오류로 백업했습니다. /home/git/gitlab-shell/bin/check를 실행하십시오. GitLab API 액세스 : FAILED를 확인하십시오. code : 500 gitlab-shell자가 점검이 실패했습니다. – Tamwyn
새 정보로 질문을 업데이트하십시오. – mudasobwa