Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Phabricator not set up to use HTTP for Diffusion-hosted repositories #6

Open
dillongrove opened this issue Aug 2, 2016 · 0 comments

Comments

@dillongrove
Copy link

There are a few additional steps needed for working with repos over HTTP, which should perhaps we added to the scripts (maybe as a config option?). Without these steps, attempting to clone via HTTP (after doing step 1) results in a confusing 500 error.

  1. The diffusion.allow-http-auth option in config must be set to true. I set this within the Phabricator Config UI, but I assume this can be done from the command line as well.
  2. An additional line must be added to /etc/sudoers file to give the www-data user access to the necessary git binaries.
www-data ALL=(phabricator-daemon) SETENV: NOPASSWD: /usr/bin/git, /usr/lib/git-core/git-http-backend
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant