#8141 Git port not opened

unreleased
closed
scm (10)
SCM
2018-10-12
2016-12-24
Mohiddin
No

Hi,

As per scm port for git in development.ini is 8022 and when i created git repo in Allura web interface, it shows me the repo http url to download.. when try to download or clone repo it never work.. Even the port 8022 not listening on host.

development.ini config:

scm.host.https.git = https://$username@localhost:8022/scm-repo$path
scm.host.https_anon.git = https://localhost:8022/scm-repo$path
scm.host.https.hg = https://$username@localhost:8022/scm-repo$path
scm.host.https_anon.hg = https://localhost:8022/scm-repo$path
scm.host.https.svn = https://localhost:8022/scm-repo$path/
scm.host.https_anon.svn = https://localhost:8022/scm-repo$path/

Repo URL:
git clone https://root@localhost:8022/scm-repo/p/gittest --init---gittest

I tried replacing localhost to public IP address but didnt work.

I didnt understand about apache part in https://forge-allura.apache.org/docs/getting_started/scm_host.html.

Can you provide me more detailed info how to configure git and svn to work.

Thanks,
Mohiddin

Discussion

  • Dave Brondsema

    Dave Brondsema - 2017-01-03

    The easiest way to run Allura with git working is to use the Docker setup instead of the step-by-step installation. https://forge-allura.apache.org/docs/getting_started/installation.html#using-docker Can you use that?

    For a manual setup, port 8022 (and the "scm-repo" path) is an example and will have to be changed based on how you set it up. If you want/need to do the manual setup, how far did you get on the SCM Host instructions and what errors/problems did you run into?

     
  • Dave Brondsema

    Dave Brondsema - 2018-10-12
    • status: open --> closed
     

Log in to post a comment.