I started getting the message remote: GitLab: API is not accessible
when doing a git push just after upgrading to gitlab 8.7.5.
Everything seemed to look fine when running gitlab-ctl status
, but actually sidekiq wasn’t running.
As indicated by:
after a little following of error messages, it looked like sidekiq was unable to create the log file /opt/gitlab/embedded/service/gitlab-rails/log/sidekiq.log
as that file already existed as a root
owned simlink pointing to /var/log/gitlab/sidekiq/current/sidekiq.log
.
Removing the simlink and starting sidekiq with gitlab-rake sidekiq:restart
brought it all back up properly.