I would like to bump a topic originated from here - unfortunately topic was abandoned there (I’ve read it via search engines cache).
I did everything using this guide - my OS is Windows 10 and Docker’s setup executable file was downloaded just today.
And - as I didn’t need MailServer - for a first try I’ve just ignored the Step 4 (installing ONLYOFFICE Mail). All docker images are latest, except MySQL (I’ve pulled 8.0.29 as described) and all 4 containers runs just fine (documentserver, communityserver, controlpanel and mysql:8.0.29).
Unfortunately OnlyOffice keeps writing to log:
[FAILED] Failed to start ONLYOFFICE MailWatchdog Service.
See 'systemctl status onlyofficeMailWatchdog.service' for details.
and I couldn’t remove mail services from OnlyOffice to boot successfully (for this issue I will raise new separate Topic).
“Okay” I thought - I don’t need mailserver, but if OnlyOffice doesn’t work without it, I should only container it up and forget about it, letling 'em just working somewhere in the docker’s conatainers list.
But as title of this post says: ‘onlyoffice/mailserver’ container keeps restarting.
I tried run different docker images - latest, an old one, a one not so old…
docker run --init --net onlyoffice --privileged -i -t -d --restart=always --name onlyoffice-mail-server -p 25:25 -p 143:143 -p 587:587 -e MYSQL_SERVER=onlyoffice-mysql-server -e MYSQL_SERVER_PORT=3306 -e MYSQL_ROOT_USER=root -e MYSQL_ROOT_PASSWD=onlyoffice -e MYSQL_SERVER_DB_NAME=onlyoffice_mailserver -v c:\root\onlyoffice\mail\data:/var/vmail -v c:\root\onlyoffice\mail\tls:/etc/pki/tls/mailserver -v c:\root\onlyoffice\mail\logs:/var/log -h localhost onlyoffice/mailserver
So here I would like finish my description with the words from the topic mentioned above:
Whenever I install the mail server on docker it seems to be stuck in an infinite restart loop. The ports nevever get published with docker and and ip address is not assigned to the container, there are no logs being generated and I cannot even get a terminal running in the container, its says its restarting and that I should wait (but never finishes restarting).
–
Thank you for attention and patience
Luka