repositories folder path not owned by git:git after fresh installation
gitlab-ce 8.16.1-ce.0
The installation has been made recently thru the usual omnibus process. No by-hand modification has been made.
The resulting folder below:
drwxrws--- 8 git root 102 Feb 17 11:19 repositories
Has been created by omnibus process.
sudo gitlab-rake gitlab:check SANITIZE=true
Returns:
Repo paths owned by git:git?
default... no
User id for git: 998. Groupd id for git: 997
Try fixing it:
sudo chown -R git:git /srv/gitlab/git-data/repositories
For more information see:
doc/install/installation.md in section "GitLab Shell"
Please fix the error above and rerun the checks.
Repo paths access is drwxrws---?
default... yes
System information
System: Debian 8.7
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Sidekiq Version:4.2.7
GitLab information
Version: 8.16.1
Revision: c6c28e6
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab...
HTTP Clone URL: https://gitlab...
SSH Clone URL: git@gitlab....
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 4.1.1
Repository storage paths:
- default: /srv/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git