From 263b5605e1260a795f38d67d86c189e8d59b480a Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 4 Jul 2022 13:35:23 +0200 Subject: [PATCH] onlyoffice now needs allow_local_remote_servers, too Signed-off-by: szaimen --- Containers/nextcloud/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 2bc70996..972b949f 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -324,7 +324,6 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true else if [ -d "/var/www/html/custom_apps/richdocuments" ]; then - php /var/www/html/occ config:system:delete allow_local_remote_servers php /var/www/html/occ app:remove richdocuments fi fi @@ -345,6 +344,7 @@ if [ "$ONLYOFFICE_ENABLED" = 'yes' ]; then php /var/www/html/occ config:system:set onlyoffice jwt_secret --value="$ONLYOFFICE_SECRET" php /var/www/html/occ config:system:set onlyoffice jwt_header --value="AuthorizationJwt" php /var/www/html/occ config:app:set onlyoffice DocumentServerUrl --value="https://$NC_DOMAIN/onlyoffice" + php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true else if [ -d "/var/www/html/custom_apps/onlyoffice" ]; then php /var/www/html/occ app:remove onlyoffice