#4572 What is the next step after docker-compose to make git clone work
Closed: Invalid 4 years ago by jlanda. Opened 4 years ago by gooderpjeff.

Hi,

I am trying pagure on a fresh ubuntu (server):

1- cloned the latest repo with my root

2- run docker-compose -f pagure/dev/docker-compose.yaml up

3- the website is working on my host at http://myhost:5000

4- I created a new user and confirm the tocken, then create a public repo my_site

5- when I try this on my laptop(workstation)

git ls-remote ssh://root@myhost/my_site.git

it prompt for password of root , then raise:
fatal: '/my_site.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


after study the document on https://pagure.io/docs/pagure/ and https://docs.pagure.org/pagure, I guess I missed step for gitolite settings.

then I add the GITOLITE_KEYDIR = '/repos/keydir' under the openshift.cfg file

I add a new pubkey for my pagure user on the web

now I can see the repo access and keys on the server
pagure/lcl/gitolite.conf
pagure/lcl/repos/keydir/key_0/my_user.pub

after that, when I try clone on my laptop, it still prompt for password and the errors are the same.

What I missed, please kindly help, thank you.


Our development docker-compose does not have sshd. For development purposes I just clone the bare repository inside lcl/repos

Metadata Update from @jlanda:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata