An error occurred while fetching the assigned iteration of the selected issue.
Upgrade 7.4.4 to 7.5.3 caused gitlab-shell/bin/check to fail with a 401
After upgrading to CE 7.5.3 using bin/upgrader.rb and upgrading gitlab-shell to 2.2.0 using git fetch/git checkout we get the following during the gitlab environment check;
Check GitLab API access: FAILED. code: 401
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.
Stopping, Downgrading to 7.4.4 (leaving gitlab-shell at 2.2), and restarting fixed the issue.
The downgrade was via a simple git checkout:
git@app1:~/gitlab-shell$ bin/check
Check GitLab API access: FAILED. code: 401
git@app1:~/gitlab$ logout
root@app1:~# service gitlab stop
Shutting down both Unicorn and Sidekiq.
GitLab is not running.
root@app1:~# su - git
git@app1:~$ cd gitlab
git@app1:~/gitlab$ git checkout v7.4.4
Previous HEAD position was b656b85... Version 7.5.3
HEAD is now at 04dd845... Bump VERSION to 7.4.4
git@app1:~/gitlab$ logout
root@app1:~# service gitlab start
Starting both the GitLab Unicorn and Sidekiq.
The GitLab Unicorn web server with pid 7951 is running.
The GitLab Sidekiq job dispatcher with pid 7993 is running.
GitLab and all its components are up and running.
root@app1:~# su - git
git@app1:~$ cd gitlab-shell
git@app1:~/gitlab-shell$ bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories/: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.4
Send ping to redis server: PONG