gitlabhq/gitlabhq — Issue #271: Error creating user/project/adding ssh key
Author: StErMi
Created: 2012-01-08 16:55:49+00:00
State: open

I've installed the Ubuntu stable version (2.0) of gitlabhq using an existing gitolite installation (this is working fine, it's the one I'm actually using for my projects).

What can I do? What have I to change in my config?

I can login with my credentials and when I try to add a ssh key, a new project or a user (from Administrative account) I got this error:

## NEW USER:

### Gitolite Error
We're sorry, but we cant get access to your gitolite system.
1. Check 'config/gitlab.yml' for correct settings.
2. Be sure web server user has access to gitolite.

### From console log:

Started POST "/projects" for 93.65.163.55 at 2012-01-08 16:48:00 +0000
Processing by ProjectsController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"6jaGqRfVN/QyXNyQqTp6Ev7L5CCBy+pxdi2SVJWDTRk=", "project"=>{"name"=>"zzz", "path"=>"zzz", "code"=>"zzz", "description"=>"zzz"}, "commit"=>"Save"}
Completed 200 OK in 95ms (Views: 0.2ms | ActiveRecord: 1.1ms)
cache: [GET /errors/githost] miss

Started GET "/errors/githost" for 93.65.163.55 at 2012-01-08 16:48:01 +0000
Processing by ErrorsController#githost as HTML
Rendered public/githost_error.html (0.4ms)
Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.3ms)

## ADDING A SSH KEY

### Console Log

Started POST "/keys" for MY_IP_ADDRESS at 2012-01-08 16:52:26 +0000
Processing by KeysController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"6jaGqRfVN/QyXNyQqTp6Ev7L5CCBy+pxdi2SVJWDTRk=", "key"=>{"title"=>"GITLAB UBI LAPTOP", "key"=>"MY_SSH_KEY"}, "commit"=>"Save"}
Rendered public/githost_error.html (0.4ms)
Completed 200 OK in 17ms (Views: 7.4ms | ActiveRecord: 1.1ms)
cache: [GET /assets/ui-icons_454545_256x240.png] miss, store

Started GET "/assets/ui-icons_454545_256x240.png" for 93.65.163.55 at 2012-01-08 16:52:30 +0000
Served asset /ui-icons_454545_256x240.png - 200 OK (17ms)

### Browser error: it doesn not display any kind of error, the screen remain the same without changes...

## Actual Config

email:
from: support@designfuture.it
host: designfuture.it

git_host:
system: gitolite
admin_uri: git@localhost:gitolite-admin
base_path: /home/git/repositories/
host: localhost
git_user: git

git:
git_max_size: 5242880
git_timeout: 10