From 276880657dbe3268c9153a529682c12cadde714d Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 28 Nov 2024 11:15:31 +0100 Subject: [PATCH] nextcloud: always enable ImaginaryPDF Signed-off-by: Simon L. --- Containers/nextcloud/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 419401cda57..216630532a5 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -779,6 +779,7 @@ fi # Imaginary if [ "$IMAGINARY_ENABLED" = 'yes' ]; then php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary" + php /var/www/html/occ config:system:set enabledPreviewProviders 23 --value="OC\\Preview\\ImaginaryPDF" php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000" php /var/www/html/occ config:system:set preview_imaginary_key --value="$IMAGINARY_SECRET" else @@ -788,6 +789,7 @@ else php /var/www/html/occ config:system:delete enabledPreviewProviders 20 php /var/www/html/occ config:system:delete enabledPreviewProviders 21 php /var/www/html/occ config:system:delete enabledPreviewProviders 22 + php /var/www/html/occ config:system:delete enabledPreviewProviders 23 fi fi