Skip to content

Push to registry is hanging - filesystem mkdir ... permission denied

Hi everyone,

I have a gitlab-ce installed on my Ubuntu 16. The situation is as follows:

  • All projects are private by default
    • I tried to use Access Token with read_registry and api but did not work
    • I tried to put the project as public but did not work
  • I can always login (with or without my access token) successfully
  • Push is hanging at retrying .... then fails with error 500: Internal server error after some time
  • I checked the gitlab registry logs and found out that there is a warning error authorizing context: authorization token required then the error: filesystem mkdir /var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/v2/repositories/... : permission denied

Does anyone has an idea to solve the registry issue? Thx

Edited by Pierre