update-permissions script still refers to old `gitlab-git-http-server`
Hi,
I met the permissions problem again (gitlab-org/gitlab-ce#2023) when updating Docker container to GitLab 8.6.4.
I ran update-permissions
script like described here:
http://doc.gitlab.com/omnibus/docker/README.html#permission-problems
But the script has not been updated with the switch from gitlab-git-http-server
to gitlab-workhorse
, either in master
or 8.6.4+ce.0
branch.
# sudo docker exec gitlab update-permissions
+ id -u git
998
+ chown -R git:git /var/opt/gitlab/.ssh
+ chown -R git:git /var/opt/gitlab/.gitconfig
+ chown -R git:git /var/opt/gitlab/git-data
+ chown -R git:git /var/opt/gitlab/gitlab-ci/builds
+ chown -R git:git /var/opt/gitlab/gitlab-git-http-server
chown: cannot access '/var/opt/gitlab/gitlab-git-http-server': No such file or directory
+ chown -R git:git /var/opt/gitlab/gitlab-rails
+ chown -R git:git /var/opt/gitlab/gitlab-shell
+ chown git /var/log/gitlab/gitlab-git-http-server
chown: cannot access '/var/log/gitlab/gitlab-git-http-server': No such file or directory
+ chown git /var/log/gitlab/gitlab-rails
+ chown git /var/log/gitlab/gitlab-shell
+ chown git /var/log/gitlab/sidekiq
+ chown git /var/log/gitlab/unicorn
+ chown gitlab-psql /var/log/gitlab/postgresql
+ chown gitlab-redis /var/log/gitlab/redis
+ chown -R git:git /var/log/gitlab/gitlab-rails/application.log /var/log/gitlab/gitlab-rails/githost.log /var/log/gitlab/gitlab-rails/production.log /var/log/gitlab/gitlab-rails/satellites.log /var/log/gitlab/gitlab-rails/sidekiq.log
+ chown -R git:git /var/log/gitlab/gitlab-shell/gitlab-shell.log
+ chown -R git:git /var/log/gitlab/unicorn/unicorn_stderr.log /var/log/gitlab/unicorn/unicorn_stdout.log
+ id -u gitlab-www
999
+ chown -R gitlab-www:gitlab-www /var/opt/gitlab/nginx/client_body_temp /var/opt/gitlab/nginx/fastcgi_temp /var/opt/gitlab/nginx/proxy_temp /var/opt/gitlab/nginx/scgi_temp /var/opt/gitlab/nginx/uwsgi_temp
+ id -u gitlab-psql
996
+ chown -R gitlab-psql:gitlab-psql /var/opt/gitlab/postgresql
+ id -u gitlab-redis
997
+ chown gitlab-redis:gitlab-redis /var/opt/gitlab/redis
I don't know if I'll have time for a merge request, I prefer inform ASAP :).