Skip to content

Instantly share code, notes, and snippets.

@edouard-lopez
Created August 29, 2013 16:14
Show Gist options
  • Save edouard-lopez/6380177 to your computer and use it in GitHub Desktop.
Save edouard-lopez/6380177 to your computer and use it in GitHub Desktop.
Gitlab 6.0: Check application status
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
(in /home/git/gitlab)
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.0 ? ... OK (1.7.0)
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
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
Projet / Projet ... not a link to GitLab Shell's hook
Try fixing it:
sudo -u git ln -sf /home/git/gitlab-shell/hooks/post-receive /home/git/repositories/probe/probe.git/hooks/post-receive
For more information see:
lib/support/rewrite-hooks.sh
Please fix the error above and rerun the checks.
DomainAdmin / Backup-db ... ok
DomainAdmin / home ... ok
DomainAdmin / blog ... ok
DomainAdmin / CFDict.characterizer ... repository is empty
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... no
Try fixing it:
sudo -u git -H bundle exec rake sidekiq:start RAILS_ENV=production
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/sidekiq.log for possible errors
Please fix the error above and rerun the checks.
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... no
Try fixing it:
Redownload the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Projects have satellites? ...
Projet / Projet ... yes
DomainAdmin / Backup-db ... no
Try fixing it:
sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production
If necessary, remove the tmp/repo_satellites directory ...
... and rerun the above command
For more information see:
doc/raketasks/maintenance.md
Please fix the error above and rerun the checks.
Projet / website-probe ... yes
DomainAdmin / home ... yes
DomainAdmin / blog ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... no
Try fixing it:
Update your git to a version >= 1.7.10 from 1.7.9
Please fix the error above and rerun the checks.
Checking GitLab ... Finished
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
(in /home/git/gitlab)
System information
System: Ubuntu 12.04
Current User: git
Using RVM: no
Ruby Version: 1.9.3p327
Gem Version: 1.8.23
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.0.0
Revision: 6c1c284
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://git.domain.com
HTTP Clone URL: http://git.domain.com/some-project.git
SSH Clone URL: [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment