RedpointArchive / phabricator

A Docker image that runs Phabricator, an open source software engineering tool
https://hub.docker.com/r/redpointgames/phabricator/
307 stars 98 forks source link

Missing diffusion.ssh-user #64

Closed michalciolek closed 7 years ago

michalciolek commented 7 years ago

Your script does not set configurations for diffusion.ssh-user and all repo URL are wrong. I get git clone ssh://{IP/DOMAIN}/diffusion/1/testrepo.git and when I run this command I get:

Cloning into 'testrepo'...
Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

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

Correct URL is: git clone ssh://git@{IP/DOMAIN}/diffusion/1/testrepo.git

You should add to 10-boot-conf script: sudo -u "$PHABRICATOR_VCS_USER" ./bin/config set diffusion.ssh-user "$PHABRICATOR_VCS_USER"

hach-que commented 7 years ago

That setting used to be driven by phd.user (as a side effect to also specifying the user for daemons). My guess is that a recent update in Phabricator removed this.

I won't get to this for a week or so. Feel free to send a PR if you need it sooner.

hach-que commented 7 years ago

This bug should be fixed a version that is currently undergoing testing.

hach-que commented 7 years ago

This is now fixed in the latest version.