GitLab can not access to the gitolite after upgrade to 2.2
Created by: bzick
In version 2.1 it worked fine. But after the upgrade when you create a project, gitlab creates a project in itself, but does not create a project in gitolite.
In log gitlabhq/log/thin.log
:
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident <gitlabhq@
> not allowed
Everything up-to-date
cache: [POST /admin/projects] invalidate, pass
In shell:
root user
root@dev:~# git config --get user.name
gitlabhq
root@dev:~# git config --get user.email
[email protected]
gitlabhq user
gitlabhq@dev:~$ git config --get user.name
gitlabhq
gitlabhq@dev:~$ git config --get user.email
[email protected]
cat /data/www/gitlabhq/.gitconfig
[user]
name = "gitlabhq"
email = "[email protected]"
git user
git@dev:~$ git config --get user.name
git
git@dev:~$ git config --get user.email
[email protected]
cat /data/git/repositories/gitolite-admin.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = true
[user]
email = [email protected]
name =
Config gitlabhq/config/gitlab.yml
:
# Gitlab application config file
# Email used for notification
# about new issues, comments
email:
from: [email protected]
host: dev.cs.m
# Git Hosting congiguration
git_host:
system: gitolite
admin_uri: [email protected]:gitolite-admin
base_path: /data/git/repositories/
host: dev.cs.m
git_user: git
port: 22
# Git settings
# Use default values unless you understand it
git:
# Max size of git object like commit, in bytes
# This value can be increased if you have a very large commits
git_max_size: 5242880 # 5.megabytes
# Git timeout to read commit, in seconds
git_timeout: 10
Why GitLab does not have access? Why the domain is seen as EOL? OS: ubuntu 11.10. All public keys valid.