Page MenuHomePhorge

Unable to start phd daemons, missing PhabricatorRepositoryCommitOwnersWorker
Closed, ResolvedPublic

Asked by deric on Dec 8 2023, 08:14.

Details

I'm having issues with starting phd daemons. I'm using master branch of arcanist and phorge. I did run arc liberate from the phorge directory, though some symbols seems to be missing

[08-Dec-2023 08:12:07 UTC] 2023-12-08 8:12:07 AM [SGNL] Overseer ("369185") received signal 2 ("SIGINT").
[08-Dec-2023 08:12:07 UTC] 2023-12-08 8:12:07 AM [OVER] Started new daemon overseer (with PID "371714").
[08-Dec-2023 08:12:09 UTC] [2023-12-08 08:12:09] EXCEPTION: (PhutilProxyException) Error while executing Task ID 405333. {>} (PhutilMissingSymbolException) Failed to load symbol "PhabricatorRepositoryCommitOwnersWorker" (of type "class or interface").

The class or interface "PhabricatorRepositoryCommitOwnersWorker" is not defined in the library map of any loaded library.

If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded "phabricator/" without upgrading "arcanist/", or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted.

If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running "arc liberate".

For more information, see: https://phurl.io/u/newclasses at [<arcanist>/src/init/init-library.php:26]
[08-Dec-2023 08:12:09 UTC] arcanist(head=master, ref.master=e46025f7a914), phorge(head=master, ref.master=c49eeb235ea0)
[08-Dec-2023 08:12:09 UTC]   #0 <#2> __phutil_autoload(string) called at [<arcanist>/src/init/init-library.php:26]
[08-Dec-2023 08:12:09 UTC]   #1 <#2> spl_autoload_call(string)
[08-Dec-2023 08:12:09 UTC]   #2 <#2> is_subclass_of(string, string) called at [<phorge>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerTask.php:79]
[08-Dec-2023 08:12:09 UTC]   #3 <#2> PhabricatorWorkerTask::getWorkerInstance() called at [<phorge>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:140]
[08-Dec-2023 08:12:09 UTC]   #4 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phorge>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
[08-Dec-2023 08:12:09 UTC]   #5 PhabricatorTaskmasterDaemon::run() called at [<phorge>/src/infrastructure/daemon/PhutilDaemon.php:219]
[08-Dec-2023 08:12:09 UTC]   #6 PhutilDaemon::execute() called at [<phorge>/scripts/daemon/exec/exec_daemon.php:131]
[08-Dec-2023 08:12:12 UTC] [2023-12-08 08:12:12] EXCEPTION: (PhutilProxyException) Error while executing Task ID 405336. {>} (PhutilMissingSymbolException) Failed to load symbol "PhabricatorRepositoryCommitHeraldWorker" (of type "class or interface").

I'm using php 7.4:

$ php -v
PHP 7.4.33 (cli) (built: Jun  9 2023 16:51:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

Answers

This answer has been hidden.

deric
Updated 227 Days Ago

No code modifications at all, but the DB is upgraded from an old Phabricator installation.

I've stopped daemons

./bin/phd stop

and remove stale tasks from mysql

delete from worker_activetask where failureCount > 482000;

Now it appears ok.

New Answer

Answer

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