From e8cf2012bbdf2f94422a89405de947a38f50ee12 Mon Sep 17 00:00:00 2001 From: EncryptedGiraffe Date: Tue, 8 Sep 2026 13:42:37 -0700 Subject: [PATCH 1/2] 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 0a849b0e604..419900e9ec0 100644 --- a/admin_manual/webhook_listeners/index.rst +++ b/admin_manual/webhook_listeners/index.rst @@ -157,7 +157,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. From f8fd6c89254551a1de35565e7776eeb04813e42d Mon Sep 17 00:00:00 2001 From: EncryptedGiraffe Date: Mon, 21 Sep 2026 11:05:01 -0700 Subject: [PATCH 2/2] Update admin_manual/webhook_listeners/index.rst Co-authored-by: Simon L. 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 419900e9ec0..22def37e0b0 100644 --- a/admin_manual/webhook_listeners/index.rst +++ b/admin_manual/webhook_listeners/index.rst @@ -157,7 +157,7 @@ For Nextcloud-AIO you should use this command on the host server. .. code-block:: -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 +set -e; while true; do sudo docker exec -u www-data 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.