From 62a72cd25d309765801d0049845019fb4dade954 Mon Sep 17 00:00:00 2001 From: chadek <32199566+chadek@users.noreply.github.com> Date: Sun, 7 Apr 2024 13:40:33 +0200 Subject: [PATCH] Fix data loss issue (#320) * add default.json to documentserver 3rdparty component Signed-off-by: Fabrice Meyer * bump app version number --------- Signed-off-by: Fabrice Meyer --- Makefile | 7 +++++-- appinfo/info.xml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d787453..9e8892b 100644 --- a/Makefile +++ b/Makefile @@ -37,10 +37,13 @@ appstore: cp -r oo-extract/var/www/onlyoffice/documentserver 3rdparty/onlyoffice cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/FileConverter/bin/ cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/tools/ - rm -rf oo-extract rm -f onlyoffice-documentserver.x86_64.rpm - bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common,DocService}' + bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common/config/*,DocService}' bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/web-apps/apps/*/main/resources/help/{de,es,fr,it,ru}/images' + cp oo-extract/etc/onlyoffice/documentserver/default.json 3rdparty/onlyoffice/documentserver/server/Common/config/ + rm -rf oo-extract + jq '.services.CoAuthoring.autoAssembly.enable = "true"' 3rdparty/onlyoffice/documentserver/server/Common/config/default.json > tmp.$$.json + mv tmp.$$.json 3rdparty/onlyoffice/documentserver/server/Common/config/default.json cd 3rdparty/onlyoffice/documentserver/server/tools && \ ./allfontsgen \ --input="../../core-fonts" \ diff --git a/appinfo/info.xml b/appinfo/info.xml index 84e952c..16b557f 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -14,7 +14,7 @@ The community document server will automatically be configured if no other docum Additionally, the community document server only supports running on x86-64 Linux servers.]]> - 0.1.15 + 0.1.16 agpl Robin Appelman DocumentServer