Skip to content
Snippets Groups Projects
Commit 86d89cd8a8b6 authored by DJ Mountney's avatar DJ Mountney
Browse files

Add some documentation notes on the usage of the manage_etc gitlab.rb config

parent e15714ed7b97
No related merge requests found
......@@ -307,8 +307,19 @@
Some types of mounts won't allow automatic creation of directories by root user
(default user for initial setup), eg. NFS with `root_squash` enabled on the
share. To work around this the omnibus-gitlab package will attempt to create
these directories using the directory's owner user, but if you are mounting these
directories individually, you should disable the management of storage directories.
these directories using the directory's owner user.
If you have the `/etc/gitlab` directory mounted, you can turn off management of
that directory.
In `/etc/gitlab/gitlab.rb` set:
```ruby
manage_storage_directories['manage_etc'] = false
```
If you are mounting all GitLab's storage directories, each on a seperate mount,
you should completely disable the management of storage directories.
In order to disable management of these directories,
in `/etc/gitlab/gitlab.rb` set:
......
......@@ -667,6 +667,7 @@
## Set only if the select directories are created manually
## See: http://doc.gitlab.com/omnibus/settings/configuration.html#disable-storage-directories-management
# manage_storage_directories['enable'] = false
# manage_storage_directories['manage_etc'] = false
#######
# Git #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment