Commit 8db72a2844deb6fb95350610b45b2bad50a6a7e2
1 parent
8ad7586a
Exists in
master
and in
4 other branches
updated githost error page
Showing
1 changed file
with
12 additions
and
2 deletions
Show diff stats
public/githost_error.html
| @@ -11,6 +11,8 @@ | @@ -11,6 +11,8 @@ | ||
| 11 | } | 11 | } |
| 12 | h1 { font-size: 48px; color: #444; line-height: 1.5em; } | 12 | h1 { font-size: 48px; color: #444; line-height: 1.5em; } |
| 13 | h2 { font-size: 24px; color: #666; line-height: 1.5em; } | 13 | h2 { font-size: 24px; color: #666; line-height: 1.5em; } |
| 14 | + h3, code { text-align:left; } | ||
| 15 | + code pre { margin-left:40px; } | ||
| 14 | </style> | 16 | </style> |
| 15 | </head> | 17 | </head> |
| 16 | 18 | ||
| @@ -18,9 +20,17 @@ | @@ -18,9 +20,17 @@ | ||
| 18 | <!-- This file lives in public/500.html --> | 20 | <!-- This file lives in public/500.html --> |
| 19 | <div class="dialog"> | 21 | <div class="dialog"> |
| 20 | <h1>Gitolite Error</h1> | 22 | <h1>Gitolite Error</h1> |
| 21 | - <h2>We're sorry, but we cant get access to your gitolite system.</h2> | 23 | + <h2>Application cant get access to your gitolite system.</h2> |
| 24 | + <hr> | ||
| 22 | <h3> 1. Check 'config/gitlab.yml' for correct settings.</h3> | 25 | <h3> 1. Check 'config/gitlab.yml' for correct settings.</h3> |
| 23 | - <h3> 2. Be sure web server user has access to gitolite.</h3> | 26 | + <h3> 2. Make sure web server user has access to gitolite. <a href="https://github.com/gitlabhq/gitlabhq/wiki/Gitolite">Setup tutorial</a></h3> |
| 27 | + <h3> 3. Try: </h3> | ||
| 28 | + <code> | ||
| 29 | + <pre> | ||
| 30 | +sudo chmod -R 770 /home/git/repositories/ | ||
| 31 | +sudo chown -R git:git /home/git/repositories/ | ||
| 32 | + </pre> | ||
| 33 | + </code> | ||
| 24 | </div> | 34 | </div> |
| 25 | </body> | 35 | </body> |
| 26 | </html> | 36 | </html> |