Commit fe608f303924cb5fdb00c1eb01aa32e6c612b610
1 parent
1309a40b
Exists in
master
and in
4 other branches
Update gitlab:check task docs
Showing
1 changed file
with
73 additions
and
17 deletions
Show diff stats
doc/raketasks/maintenance.md
@@ -54,9 +54,18 @@ Git: /usr/bin/git | @@ -54,9 +54,18 @@ Git: /usr/bin/git | ||
54 | ``` | 54 | ``` |
55 | 55 | ||
56 | 56 | ||
57 | -### Check GitLab installation status | 57 | +### Check GitLab configuration |
58 | 58 | ||
59 | -[Trouble-Shooting-Guide](https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide) | 59 | +Runs the following rake tasks: |
60 | + | ||
61 | +* gitlab:env:check | ||
62 | +* gitlab:gitolite:check | ||
63 | +* gitlab:resque:check | ||
64 | +* gitlab:app:check | ||
65 | + | ||
66 | +It will check that each component was setup according to the installation guide and suggest fixes for issues found. | ||
67 | + | ||
68 | +You may also have a look at our [Trouble Shooting Guide](https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide). | ||
60 | 69 | ||
61 | ``` | 70 | ``` |
62 | bundle exec rake gitlab:check | 71 | bundle exec rake gitlab:check |
@@ -65,21 +74,68 @@ bundle exec rake gitlab:check | @@ -65,21 +74,68 @@ bundle exec rake gitlab:check | ||
65 | Example output: | 74 | Example output: |
66 | 75 | ||
67 | ``` | 76 | ``` |
68 | -config/database.yml............exists | ||
69 | -config/gitlab.yml............exists | ||
70 | -/home/git/repositories/............exists | ||
71 | -/home/git/repositories/ is writable?............YES | ||
72 | -Can clone gitolite-admin?............YES | ||
73 | -Can git commit?............YES | ||
74 | -UMASK for .gitolite.rc is 0007? ............YES | ||
75 | -/home/git/.gitolite/hooks/common/post-receive exists? ............YES | ||
76 | - | ||
77 | -Validating projects repositories: | ||
78 | -* abcd.....post-receive file ok | ||
79 | -* abcdtest.....post-receive file missing | ||
80 | - | ||
81 | -Finished | ||
82 | - | 77 | +Checking Environment ... |
78 | + | ||
79 | +gitlab user is in git group? ... yes | ||
80 | +Has no "-e" in ~git/.profile ... yes | ||
81 | +Git configured for gitlab user? ... yes | ||
82 | +Has python2? ... yes | ||
83 | +python2 is supported version? ... yes | ||
84 | + | ||
85 | +Checking Environment ... Finished | ||
86 | + | ||
87 | +Checking Gitolite ... | ||
88 | + | ||
89 | +Using recommended version ... yes | ||
90 | +Repo umask is 0007 in .gitolite.rc? ... yes | ||
91 | +Allow all Git config keys in .gitolite.rc ... yes | ||
92 | +Config directory exists? ... yes | ||
93 | +Config directory owned by git:git? ... yes | ||
94 | +Config directory access is drwxr-x---? ... yes | ||
95 | +Repo base directory exists? ... yes | ||
96 | +Repo base owned by git:git? ... yes | ||
97 | +Repo base access is drwsrws---? ... yes | ||
98 | +Can clone gitolite-admin? ... yes | ||
99 | +Can commit to gitolite-admin? ... yes | ||
100 | +post-receive hook exists? ... yes | ||
101 | +post-receive hook up-to-date? ... yes | ||
102 | +post-receive hooks in repos are links: ... | ||
103 | +GitLab ... ok | ||
104 | +Non-Ascii Files Test ... ok | ||
105 | +Touch Commit Test ... ok | ||
106 | +Without Master Test ... ok | ||
107 | +Git config in repos: ... | ||
108 | +GitLab ... ok | ||
109 | +Non-Ascii Files Test ... ok | ||
110 | +Touch Commit Test ... ok | ||
111 | +Without Master Test ... ok | ||
112 | + | ||
113 | +Checking Gitolite ... Finished | ||
114 | + | ||
115 | +Checking Resque ... | ||
116 | + | ||
117 | +Running? ... yes | ||
118 | + | ||
119 | +Checking Resque ... Finished | ||
120 | + | ||
121 | +Checking GitLab ... | ||
122 | + | ||
123 | +Database config exists? ... yes | ||
124 | +Database is not SQLite ... yes | ||
125 | +All migrations up? ... yes | ||
126 | +GitLab config exists? ... yes | ||
127 | +GitLab config not outdated? ... yes | ||
128 | +Log directory writable? ... yes | ||
129 | +Tmp directory writable? ... yes | ||
130 | +Init script exists? ... yes | ||
131 | +Init script up-to-date? ... yes | ||
132 | +Projects have satellites? ... | ||
133 | +GitLab ... yes | ||
134 | +Non-Ascii Files Test ... yes | ||
135 | +Touch Commit Test ... yes | ||
136 | +Without Master Test ... yes | ||
137 | + | ||
138 | +Checking GitLab ... Finished | ||
83 | ``` | 139 | ``` |
84 | 140 | ||
85 | 141 |