Page MenuHomePhabricator

Unable to import a private git repo hosted on GitHub
Closed, InvalidPublic

Description

We are trying to import a private repo hosted on GitHub by using the SSH protocoll with the right credentials:

Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:366]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #1 PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryEngine.php:66]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #2 PhabricatorRepositoryEngine::verifyGitOrigin(PhabricatorRepository) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:90]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #3 PhabricatorRepositoryPullEngine::pullRepository() called at [<phabricator>/src/applications/repository/management/PhabricatorRepositoryManagementUp... (417 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:21 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] [2016-01-12 17:02:35] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] [2016-01-12 17:02:35] EXCEPTION: (CommandException) Command failed with error #128!
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] git remote show -n origin
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:366]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #1 PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryEngine.php:66]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #2 PhabricatorRepositoryEngine::verifyGitOrigin(PhabricatorRepository) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:90]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #3 PhabricatorRepositoryPullEngine::pullRepository() called at [<phabricator>/src/applications/repository/management/PhabricatorRepositoryManagementUp... (417 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:36 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] [2016-01-12 17:02:50] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] [2016-01-12 17:02:50] EXCEPTION: (CommandException) Command failed with error #128!
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] git remote show -n origin
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:366]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #1 PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryEngine.php:66]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #2 PhabricatorRepositoryEngine::verifyGitOrigin(PhabricatorRepository) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:90]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #3 PhabricatorRepositoryPullEngine::pullRepository() called at [<phabricator>/src/applications/repository/management/PhabricatorRepositoryManagementUp... (417 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 11 STDE [Tue, 12 Jan 2016 17:02:51 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] [2016-01-12 17:03:06] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] [2016-01-12 17:03:06] EXCEPTION: (CommandException) Command failed with error #128!
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] COMMAND
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] git remote show -n origin
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] STDOUT
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] (empty)
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] 
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] STDERR
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:366]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #1 PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryEngine.php:66]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #2 PhabricatorRepositoryEngine::verifyGitOrigin(PhabricatorRepository) called at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php:90]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #3 PhabricatorRepositoryPullEngine::pullRepository() called at [<phabricator>/src/applications/repository/management/PhabricatorRepositoryManagementUp... (417 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800] arcanist(head=master, ref.master=aeb374b33348), phabricator(head=master, ref.master=23367265e18c), phutil(head=master, ref.master=adb8a9c074ba)
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 11 STDE [Tue, 12 Jan 2016 17:03:06 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]

git version

$ git --version
git version 2.5.4 (Apple Git-61)

System : Mac OS X 10.11 El Capitan

Event Timeline

Upgrade Phabricator to rP5592e59 or newer, then try again.

chad renamed this task from Unable to impot a private git repo hosted on GitHub to Unable to import a private git repo hosted on GitHub.Jan 12 2016, 4:08 PM

I have upgrade Phabricator to commit 473693786b86071f478b1490cf6bec5b4650dbea ,Wed Jan 13 . I have restart all webserver & daemons. When i relaod Diffusion page , appear these log

Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] [2016-01-14 15:30:04] EXCEPTION: (PhutilProxyException) Expected to find a Git working copy at path "/var/repo/M/", but the path exists and is not a valid working copy. If you remove this directory, the daemons will automatically recreate it correctly. Phabricator will not destroy the directory for you because it can not be sure that it does not contain important data. {>} (CommandException) Command failed with error #128!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] git remote show -n origin
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #0 <#2> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:443]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #1 <#2> PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/Phabrica... (770 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:05 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] [2016-01-14 15:30:20] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] [2016-01-14 15:30:20] EXCEPTION: (PhutilProxyException) Expected to find a Git working copy at path "/var/repo/M/", but the path exists and is not a valid working copy. If you remove this directory, the daemons will automatically recreate it correctly. Phabricator will not destroy the directory for you because it can not be sure that it does not contain important data. {>} (CommandException) Command failed with error #128!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] git remote show -n origin
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #0 <#2> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:443]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #1 <#2> PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/Phabrica... (770 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:21 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] [2016-01-14 15:30:35] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] [2016-01-14 15:30:35] EXCEPTION: (PhutilProxyException) Expected to find a Git working copy at path "/var/repo/M/", but the path exists and is not a valid working copy. If you remove this directory, the daemons will automatically recreate it correctly. Phabricator will not destroy the directory for you because it can not be sure that it does not contain important data. {>} (CommandException) Command failed with error #128!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] git remote show -n origin
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #0 <#2> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:443]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #1 <#2> PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/Phabrica... (770 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:36 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] [2016-01-14 15:30:50] EXCEPTION: (PhutilProxyException) Error while updating the "rM" repository. {>} (CommandException) Command failed with error #255!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] '/Users/bohan/Phabricator/phabricator/bin/repository' update  -- 'rM'
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] [2016-01-14 15:30:50] EXCEPTION: (PhutilProxyException) Expected to find a Git working copy at path "/var/repo/M/", but the path exists and is not a valid working copy. If you remove this directory, the daemons will automatically recreate it correctly. Phabricator will not destroy the directory for you because it can not be sure that it does not contain important data. {>} (CommandException) Command failed with error #128!
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] COMMAND
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] git remote show -n origin
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] STDOUT
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] (empty)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] 
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] STDERR
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] fatal: Not a git repository (or any of the parent directories): .git
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]  at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #0 <#2> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:443]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #1 <#2> PhabricatorRepository::execxLocalCommand(string) called at [<phabricator>/src/applications/repository/engine/Phabrica... (770 more bytes) ... at [<phutil>/src/future/exec/ExecFuture.php:416]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800] arcanist(head=master, ref.master=05c12eb9d9cb), phabricator(head=master, ref.master=473693786b86), phutil(head=master, ref.master=0fa7efbf09d7)
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #0 <#3> ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:374]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #1 phlog(PhutilProxyException) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:381]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #2 PhabricatorRepositoryPullLocalDaemon::resolveUpdateFuture(PhabricatorRepository, ExecFuture, integer) called at [<phabricator>/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php:201]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #3 PhabricatorRepositoryPullLocalDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
Daemon 1158 STDE [Thu, 14 Jan 2016 15:30:51 +0800]   #4 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]

I wonder why path "/var/repo/M/" is empty ? It isn't clone git repo ? How should I do next ? please help me ,thank you very much!

I wonder why path "/var/repo/M/" is empty?

I'm not sure. I haven't been able to reproduce this. If you can find a way to reproduce this, let us know.

How should I do next?

Delete the empty directory.

pasted_file (355×973 px, 65 KB)

Initialization Error Pull of 'rMOBILE' failed: Command failed with error #1! COMMAND git clone --bare -- 'xxxxx' '/var/repo/MOBILE' STDOUT (empty) STDERR Cloning into bare repository '/var/repo/MOBILE'... /private/var/repo/MOBILE: Permission denied

Is that mean my github SSH-key is wrong ? But i can git clone code.

In phabricator - diffusion - Import an Existing External Repository ,Create Credential , Login/Username is my git username , Private Key is my git SSH-Key , Password for Key is my git SSH-Key password , right ?

It is our mistake , it is the problem of my company internet. I try again,every thing is OK. Thank you every much !

joshuaspence claimed this task.