We've set up Diffusion to use a LAN-hosted SVN over SSH. A bunch of tables are created and populated, including `phabricator_repository`.`repository_commit`, but the import doesn't complete. It actually hangs after getting the list of commits, but before getting the details - we assume.
[18-Dec-2015 08:36:59 UTC] [2015-12-18 08:36:59] EXCEPTION: (PhutilProxyException) Permanent failure while executing Task ID 77310. {>} (PhabricatorWorkerPermanentFailureException) Commit "77039" does not exist. at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:23]
[18-Dec-2015 08:36:59 UTC] arcanist(head=master, ref.master=dae2f0073f01), phabricator(head=master, ref.master=c62e0a10f6b3), phutil(head=master, ref.master=230c3e161c9a)
[18-Dec-2015 08:36:59 UTC] #0 <#2> PhabricatorRepositoryCommitParserWorker::loadCommit() called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:31]
[18-Dec-2015 08:36:59 UTC] #1 <#2> PhabricatorRepositoryCommitParserWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:122]
[18-Dec-2015 08:36:59 UTC] #2 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:171]
[18-Dec-2015 08:36:59 UTC] #3 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
[18-Dec-2015 08:36:59 UTC] #4 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
[18-Dec-2015 08:36:59 UTC] #5 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
The odd thing is that this record exists. Running a query does retrieve a result for this ID.
Here's the responsible code:
> $commit = id(new PhabricatorRepositoryCommit())->load($commit_id);
>
> if (!$commit) {
> throw new PhabricatorWorkerPermanentFailureException(
> pht('Commit "%s" does not exist.', $commit_id));
> }
>
> return $this->commit = $commit;
>
{F1029486}{F1029488}
Any idea what's wrong?