Not able to reset/reinitialize gitconfig settings via omnibus_gitconfig
Attempt to set any gitconfig settings in /opt/gitlab/embedded/etc/gitconfig via omnibus_gitconfig in /etc/gitlab/gitlab.rb will appending settings to /opt/gitlab/embedded/etc/gitconfig but will not rebuild the file.
To recreate issue:
edit the following line in gitlab.rb "# omnibus_gitconfig['system'] = { "receive" => ["fsckObjects = true"] }" to "omnibus_gitconfig['system'] = { "receive" => ["fsckObjects = false"] }" run gitlab-ctl reconfigure
Contents of /opt/gitlab/embedded/etc/gitconfig now [receive] fsckObjects = true fsckObjects = false
gitlab-rake gitlab:check SANITIZE=true Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 2.6.2 ? ... OK (2.6.2) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwxrws---? ... yes Satellites access is drwxr-x---? ... yes hooks directories in repos are links: ... 2/1 ... ok 4/2 ... ok 6/3 ... repository is empty 4/4 ... ok 4/5 ... ok 2/7 ... ok 2/8 ... ok 9/9 ... ok 2/14 ... repository is empty 2/19 ... repository is empty Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Check directories and files: /var/opt/gitlab/git-data/repositories: OK /var/opt/gitlab/.ssh/authorized_keys: OK Test redis-cli executable: redis-cli 2.8.2 Send ping to redis server: PONG gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results) Server: ldapmain Redacted output.
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes Database is SQLite ... no All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 2/1 ... yes 4/2 ... yes 6/3 ... yes 4/4 ... yes 4/5 ... yes 2/7 ... yes 2/8 ... yes 9/9 ... yes 2/14 ... yes 2/19 ... yes Projects have satellites? ... 2/1 ... yes 4/2 ... yes 6/3 ... can't create, repository is empty 4/4 ... yes 4/5 ... yes 2/7 ... yes 2/8 ... yes 9/9 ... yes 2/14 ... can't create, repository is empty 2/19 ... can't create, repository is empty Redis version >= 2.0.0? ... yes Ruby version >= 2.0.0 ? ... yes (2.1.6) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 1.7.10 ? ... yes (2.0.5) Active users: 10
Checking GitLab ... Finished