From 6a412c99690a6cd4c2467951e4cdb87dfdbf248f Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller Date: Mon, 4 Aug 2014 12:56:08 -0700 Subject: [PATCH] add application check commands --- doc/update/5.0-to-5.1.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/update/5.0-to-5.1.md b/doc/update/5.0-to-5.1.md index 628d8bc7dfa..b04f3065a17 100644 --- a/doc/update/5.0-to-5.1.md +++ b/doc/update/5.0-to-5.1.md @@ -69,3 +69,22 @@ mysql> \q ## 7. Start application sudo service gitlab start + +## 8. Check installation + + +```bash +# In 5-10 seconds lets check gitlab-shell +sudo -u git -H /home/git/gitlab-shell/bin/check + +# Example of success output +# Check GitLab API access: OK +# Check directories and files: +# /home/git/repositories: OK +# /home/git/.ssh/authorized_keys: OK + + +# Now check gitlab instance +sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production + +```