GitLab: API is not accessible
Created by: huglester
Hello after upgrade, I have error.
API not accessible. I can PULL the repos, but can't push to them..
if I run: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
I get this:
Running /home/git/gitlab-shell/bin/check Check GitLab API access: FAILED. code: 403 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.
But I can't understand what I could do.. I tried 'rewriting' gitlab.yml from gitlab.yml.example - but no luck.
When git pushing I get this errors:
Username for 'https://git.x.lt': huglester
Password for 'https://[email protected]':
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 289 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: GitLab: API is not accessible
To https://git.x.lt/crowdfunding/auth.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.x.lt/crowdfunding/auth.git'