Unable to change settings in Gitlab Shell
Hi,
I'm trying to change some variables in /opt/gitlab/embedded/service/gitlab-shell/config.yml :
http_settings:
# user: someone
# password: somepass
# ca_file: /etc/ssl/cert.pem
# ca_path: /etc/pki/tls/certs
self_signed_cert: false
I'm trying to add this in /etc/gitlab/gitlab.rb :
gitlab_shell['log_level'] = 'DEBUG'
gitlab_shell['log_file'] = '/tmp/t.log'
gitlab_shell['http_settings_self_signed_cert'] = 'true'
But, it's not worknig... None of these 3 options is working, gitlab-ctl reconfigure don't change /opt/gitlab/embedded/service/gitlab-shell/config.yml...
Can you give me some answers please :) ?
root@gitlab /opt/gitlab # gitlab-rake gitlab:env:info
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
System information
System: Debian 7.6
Current User: git
Using RVM: no
Ruby Version: 2.1.2p95
Gem Version: 2.2.1
Bundler Version:1.5.3
Rake Version: 10.3.2
Sidekiq Version:2.17.0
GitLab information
Version: 7.2.0
Revision: da5d33e
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.mind-lab.eu
HTTP Clone URL: https://gitlab.mind-lab.eu/some-project.git
SSH Clone URL: git@gitlab.mind-lab.eu:some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 1.9.7
Repositories: /data/git/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
root@gitlab /opt/gitlab # gitlab-rake gitlab:check
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Checking Environment ...
Git configured for git user? ... no
Try fixing it:
sudo -u git -H git config --global user.name "GitLab"
sudo -u git -H git config --global user.email "gitlab@mind-lab.eu"
sudo -u git -H git config --global core.autocrlf "input"
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.9.7 ? ... OK (1.9.7)
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
update hook up-to-date? ... yes
update hooks in repos are links: ...
...
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/data/git/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)
...
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned UsersGroups? ... 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: ...
Infrastructure / Puppet-modules ... yes
Infrastructure / Scripts ... yes
Projects have satellites? ...
Infrastructure / Puppet-modules ... yes
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 1.7.10 ? ... yes (2.0.0)
Checking GitLab ... Finished