From 89c883646df8bb0a2322878711c08968debf80d3 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Wed, 29 May 2019 16:26:22 +0300 Subject: [PATCH] Fix bug #164 --- run-document-server.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index e9ebc37..c673029 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -8,6 +8,7 @@ DATA_DIR="/var/www/onlyoffice/Data" LOG_DIR="/var/log/onlyoffice" DS_LOG_DIR="${LOG_DIR}/documentserver" LIB_DIR="/var/lib/onlyoffice" +DS_LIB_DIR="${LIB_DIR}/documentserver" CONF_DIR="/etc/onlyoffice/documentserver" ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false} @@ -309,6 +310,11 @@ done mkdir -p ${DS_LOG_DIR}-example +# create app folders +for i in App_Data/cache/files App_Data/docbuilder; do + mkdir -p "${DS_LIB_DIR}/$i" +done + # change folder rights for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do chown -R ds:ds "$i"