Page MenuHomePhabricator

How to properly migrate hosted repositories?
Closed, ResolvedPublic

Asked by cbierstedt on Nov 30 2016, 10:53 AM.

Details

Background

I am migrating phabricator from a bare metal installation to a virtual environment. I followed the guide on configuring backups and everything went fine except the migration of the hosted repositories. The repositories are located on a nfs storage and mounted by the old and new system.

Problem

I can see the hosted repositories on both the old and new machine in diffusion. Both machines tell me that phabricator is hosting the repository. However the new machine has no built in URIs thus I can not access the git repository via the new machine. The old one needs to be shutdown once the migration is complete.

Question

Is there a way to tell the new machine to create the build in URIs or another way to make the repositories accessible?

Answers

cbierstedt
Updated 3,054 Days Ago

Answer

Sorry when setting up the new phabricator I copied parts of the sudoers file from the old machine. However the name of the daemon-user changed and I didnt adapt that part when giving the vcs-user access rights.

vcs-user ALL=(daemon-user) SETENV: NOPASSWD: /usr/bin/git, /usr/bin/ssh, /usr/bin/git-receive-pack, /usr/bin/git-upload-pack

Fixing the name of the daemon-user to the correct one did solve my issue.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.