Page MenuHomePhabricator

Unable to set up a GIT hosted repository
Closed, InvalidPublic

Description

Hi guys,

I am trying to create a self hosted GIT repository within Phabricator but it is not fully working. Can you please help me?

After successfully creating it, I get an exception when I try to access it (/diffusion/[repo]). The edition page is working correctly (/diffusion/[repo]/edit/).

Am I missing anything?

I confirmed that the folders were created on disk, but I couldn't find a ".git" folder.

Please find attached the screenshots.

Event Timeline

rftfaria updated the task description. (Show Details)
rftfaria added a project: Diffusion.
rftfaria added a subscriber: rftfaria.

Phabricator-RepoEdit.png (464ร—1 px, 44 KB)

Phabricator-error.png (391ร—1 px, 22 KB)

Are there any recommended versions for GIT and SVN? Maybe that is the case.

I am using the latest versions from RedHat YUM repo:

  • git - v1.7.1
  • svn - v1.6.11 (r934486)

You would receive a setup warning if you were using an unsupported binary.

Another thing is that I am running it on a new environment. I also tried to test a SVN repo but got another issue with svnserve, which is in the PATH, but Phabricator can't find it

Follow docs - those are VERY good, well written and easy to follow.

I'd recommend: check configured users, check daemon/repo/phabricator users, make sure there's rw access to appropriate users, check repo location if it's correctly working and files there have correct permissions. For all binaries that phabricator cannot access that are in $PAHT - there's a doc on how to put symlink/proxy script where phabricator is guaranteed to pick it up.

Seriously though: I have already fixed about 3 separate phabricator installs, each having some issues with this or that especially with repositories and every freaking time it was caused by person installing NOT following docs... So check again with docs ๐Ÿ˜„

I agree with you, the documentation is pretty good.

By the way, I "fixed" both issues in one word: SELinux. It was blocking the access to the files...

You can close the ticket.

Thanks for the help!

rftfaria claimed this task.

@rftfaria Did you just disable selinux... or did you work through it?

@storrgie, since it was a test environment, I disabled it