Skip to content

Commit 62a72cd

Browse files
authored
Fix data loss issue (#320)
* add default.json to documentserver 3rdparty component Signed-off-by: Fabrice Meyer <meyer.fabrice@gmx.fr> * bump app version number --------- Signed-off-by: Fabrice Meyer <meyer.fabrice@gmx.fr>
1 parent b710688 commit 62a72cd

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ appstore:
3737
cp -r oo-extract/var/www/onlyoffice/documentserver 3rdparty/onlyoffice
3838
cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/FileConverter/bin/
3939
cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/tools/
40-
rm -rf oo-extract
4140
rm -f onlyoffice-documentserver.x86_64.rpm
42-
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common,DocService}'
41+
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common/config/*,DocService}'
4342
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/web-apps/apps/*/main/resources/help/{de,es,fr,it,ru}/images'
43+
cp oo-extract/etc/onlyoffice/documentserver/default.json 3rdparty/onlyoffice/documentserver/server/Common/config/
44+
rm -rf oo-extract
45+
jq '.services.CoAuthoring.autoAssembly.enable = "true"' 3rdparty/onlyoffice/documentserver/server/Common/config/default.json > tmp.$$.json
46+
mv tmp.$$.json 3rdparty/onlyoffice/documentserver/server/Common/config/default.json
4447
cd 3rdparty/onlyoffice/documentserver/server/tools && \
4548
./allfontsgen \
4649
--input="../../core-fonts" \

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The community document server will automatically be configured if no other docum
1414
1515
Additionally, the community document server only supports running on x86-64 Linux servers.]]>
1616
</description>
17-
<version>0.1.15</version>
17+
<version>0.1.16</version>
1818
<licence>agpl</licence>
1919
<author>Robin Appelman</author>
2020
<namespace>DocumentServer</namespace>

0 commit comments

Comments
 (0)