Gitlab hangs at Start after Docker container creation
Summary
I use gitlab-ee docker image and start it with docker-compose.
Steps to reproduce
Start gitlab-ee with docker-compose up -d
It has to be the first start with container creation.
What is the current bug behavior?
When it starts after creating dockjer container it hangs at the following step and does not start:
- link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create
- create symlink at /opt/gitlab/embedded/service/gitlab-rails/tmp to /var/opt/gitlab/gitlab-rails/tmp
- link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create
- create symlink at /opt/gitlab/embedded/service/gitlab-rails/public/uploads to /var/opt/gitlab/gitlab-rails/uploads
- link[/opt/gitlab/embedded/service/gitlab-rails/log] action create
- create symlink at /opt/gitlab/embedded/service/gitlab-rails/log to /var/log/gitlab/gitlab-rails
- link[/var/log/gitlab/gitlab-rails/sidekiq.log] action delete (skipped due to only_if)
If I then do
docker exec -it gitlab update-permissions
docker-compose restart
it starts without any error.
What is the expected correct behavior?
The docker container should start without doing update-permissions always.