Fixed persmission issue in doc. Added validation of hooks in gitlab:app:status
This commit is contained in:
parent
c27105f8c3
commit
18f83016b1
5 changed files with 55 additions and 21 deletions
|
@ -74,10 +74,6 @@ h5 {
|
|||
font-size:14px;
|
||||
}
|
||||
|
||||
code {
|
||||
background:#FCEEC1;
|
||||
color:$style_color;
|
||||
}
|
||||
|
||||
table {
|
||||
width:100%;
|
||||
|
|
|
@ -194,4 +194,9 @@
|
|||
float:right;
|
||||
@extend .cgray;
|
||||
}
|
||||
|
||||
code {
|
||||
background:#FCEEC1;
|
||||
color:$style_color;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,30 @@
|
|||
.alert-message.block-message.error
|
||||
%h3 Gitolite Error
|
||||
%hr
|
||||
%h4 Application cant get access to your gitolite system.
|
||||
%ol
|
||||
%li
|
||||
%p
|
||||
Check 'config/gitlab.yml' for correct settings.
|
||||
%li
|
||||
%p
|
||||
Make sure web server user has access to gitolite.
|
||||
%a{:href => "https://github.com/gitlabhq/gitlabhq/wiki/Gitolite"} Setup tutorial
|
||||
%li
|
||||
%p
|
||||
Try:
|
||||
|
||||
|
||||
|
||||
|
||||
%h4 Tips for Administrator:
|
||||
|
||||
%ul
|
||||
%li
|
||||
%p
|
||||
Check git logs in admin area
|
||||
%li
|
||||
%p
|
||||
Check config/gitlab.yml for correct settings.
|
||||
%li
|
||||
%p
|
||||
Diagnostic tool:
|
||||
%pre
|
||||
= preserve do
|
||||
sudo chmod -R 770 /home/git/repositories/
|
||||
sudo chown -R git:git /home/git/repositories/
|
||||
bundle exec rake gitlab:app:status RAILS_ENV=production
|
||||
%li
|
||||
%p
|
||||
Permissions:
|
||||
%pre
|
||||
= preserve do
|
||||
sudo chmod -R 770 /home/git/repositories/
|
||||
sudo chown -R git:git /home/git/repositories/
|
||||
sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue