Bernard Savonet
asked on
Problem with Gitlab
I am getting mad trying to use a GitLab server I have installed in a OpenVZ container as available from http://www.turnkeylinux.org/gitlab...
Everything seems to go fine on the server... but from my local client I cannot either pull or push to the repositories: I am asked for 'git' password... but giving its Unix password does not work.
In fact, when on the server I cd to the directory under /home/git/repositories/ which I presume to be a git repository, 'git status' just answers 'fatal: This operation must be run in a work tree'
Obviously I am doing something wrong... if only I knew what!
Not sure if I have a Linux user problem? rights problem? git problem?
Everything seems to go fine on the server... but from my local client I cannot either pull or push to the repositories: I am asked for 'git' password... but giving its Unix password does not work.
In fact, when on the server I cd to the directory under /home/git/repositories/ which I presume to be a git repository, 'git status' just answers 'fatal: This operation must be run in a work tree'
Obviously I am doing something wrong... if only I knew what!
Not sure if I have a Linux user problem? rights problem? git problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
problem solved.
will detail later
thx!
will detail later
thx!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The initial problem was caused by the way the OpenVZ container is defined in Proxmox. The TurnKeyLinux template assumes incorrectly the container to use venet, while I am using veth.
ASKER
I could not clone my existing local repositories, since they are on my local windows machine and not accessable thru the net.
To make things easier, I created a "project" under Gitlab, which I (wrongly) assumed to create everything needed by Git
I have then realized that Gitlab gives instructions to locally create the repository... but they seem uncorrect:
Git global setup:
Open in new window
Create RepositoryOpen in new window
Everything seems OK, except that on this last command git asks for "git@mygit.my_domain.fr's password:" (fine) to which I answer the (unix user) git password, but I then getOpen in new window
while git log confirms everything to be ok:Open in new window
B-) I suspected that maybe the repository and the directory should have the same name instead of different names, but apparently this is not enough