From e396d1bc7f41c1955f8d8fa3ec29502acb7f559f Mon Sep 17 00:00:00 2001 From: EncryptedGiraffe Date: Tue, 8 Sep 2026 13:42:37 -0700 Subject: [PATCH] Update webhook dispatch command for AIO The listed command didn't work properly, had an unnecessary sudo inside the container, tried to open a TTY, and also duplicated the exec portion. I've verified that this updated command works in a tmux session. Signed-off-by: EncryptedGiraffe --- admin_manual/webhook_listeners/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/webhook_listeners/index.rst b/admin_manual/webhook_listeners/index.rst index cc55c0dc25e..0158e5caab7 100644 --- a/admin_manual/webhook_listeners/index.rst +++ b/admin_manual/webhook_listeners/index.rst @@ -141,7 +141,7 @@ For Nextcloud-AIO you should use this command on the host server. .. code-block:: - set -e; while true; do sudo docker exec -it nextcloud-aio-nextcloud docker exec -it nextcloud-aio-nextcloud sudo -E -u www-data php occ background-job:worker -v -t 60 "OCA\WebhookListeners\BackgroundJobs\WebhookCall"; done +set -e; while true; do sudo docker exec -u www-data -i nextcloud-aio-nextcloud php occ background-job:worker -v -t 60 "OCA\\WebhookListeners\\BackgroundJobs\\WebhookCall"; done You may want to adjust the number of workers and the timeout (in seconds) to your needs. The logs of the worker can be checked by attaching to the screen or tmux session.