From 2b2f409edf65c4385b900cdec7968540c02265a6 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Mon, 22 Oct 2018 10:50:30 +0300 Subject: [PATCH] Fix issue #92 Thanks to @snorre-k See: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92#issuecomment-431655508 In short - on some Linux system (Ubuntu at least) it container stopped - /var/run/rabbitmq dir is not cleared up. Need to manually clear it on start. --- run-document-server.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index 397323f..40a7c27 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -302,6 +302,8 @@ if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then update_rabbitmq_setting else LOCAL_SERVICES+=("rabbitmq-server") + # allow Rabbitmq startup after container kill + rm -rf /var/run/rabbitmq fi if [ ${REDIS_SERVER_HOST} != "localhost" ]; then