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.
This commit is contained in:
parent
23d320dc2a
commit
2b2f409edf
@ -302,6 +302,8 @@ if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then
|
|||||||
update_rabbitmq_setting
|
update_rabbitmq_setting
|
||||||
else
|
else
|
||||||
LOCAL_SERVICES+=("rabbitmq-server")
|
LOCAL_SERVICES+=("rabbitmq-server")
|
||||||
|
# allow Rabbitmq startup after container kill
|
||||||
|
rm -rf /var/run/rabbitmq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
if [ ${REDIS_SERVER_HOST} != "localhost" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user