|
@ -19,6 +19,16 @@ compose --no-relations --no-init \ |
|
|
config:system:set allow_local_remote_servers --type=boolean --value=true |
|
|
config:system:set allow_local_remote_servers --type=boolean --value=true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -e "$DATASTORE"/"$TARGET_SERVICE_NAME/var/www/html/custom_apps/onlyoffice/lib/Migration/Version070400Date20220607111111.php" ]; then |
|
|
|
|
|
( |
|
|
|
|
|
cd "$DATASTORE"/"$TARGET_SERVICE_NAME/var/www/html/custom_apps/onlyoffice/" |
|
|
|
|
|
patch="$CHARM_PATH/src/patch/00-onlyoffice-nextcloud.patch" |
|
|
|
|
|
if patch -Np1 --dry-run < "$patch"; then |
|
|
|
|
|
patch -Np1 < "$patch" |
|
|
|
|
|
fi |
|
|
|
|
|
) |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
ONLYOFFICE_CFG="$SERVICE_CONFIGSTORE/etc/onlyoffice/documentserver/local.json" |
|
|
ONLYOFFICE_CFG="$SERVICE_CONFIGSTORE/etc/onlyoffice/documentserver/local.json" |
|
|
out=$(jq ".services.CoAuthoring.token.enable.browser = true | |
|
|
out=$(jq ".services.CoAuthoring.token.enable.browser = true | |
|
|
.services.CoAuthoring.token.enable.request.inbox = true | |
|
|
.services.CoAuthoring.token.enable.request.inbox = true | |
|
|