Is the problem related to there being a mix of variables names for the MySQL root
user and password?
Getting the GitHub project file and grepping for ROOT
:
wget -q https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.workspace_enterprise.yml -O - | grep ROOT
- MYSQL_ROOT_PASSWORD=my-secret-pw
- MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
- MYSQL_ROOT_USER=mail_admin
- MYSQL_ROOT_PASSWD=Isadmin123
So I tried changing these setting and rebuilt the server from scratch:
@@ -121,8 +130,8 @@ workspace_docker_compose:
environment:
- MYSQL_SERVER=onlyoffice-mysql-server
- MYSQL_SERVER_PORT=3306
- - MYSQL_ROOT_USER=root
- - MYSQL_ROOT_PASSWD=my-secret-pw
+ - MYSQL_ROOT_USER=mail_admin
+ - MYSQL_ROOT_PASSWD=Isadmin123
- MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
networks:
- onlyoffice
And the results are the same, on port 80 there is:
The portal start up process might take some time, please wait…
Please do not reload the page or shut down your computer.
We are working on it.
And the MySQL container keeps restarting…
docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
onlyoffice-community-server onlyoffice/communityserver:12.5.2.1848 "/app/run-community-…" onlyoffice-community-server 4 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 0.0.0.0:5222->5222/tcp, :::5222->5222/tcp, 9888/tcp
onlyoffice-control-panel onlyoffice/controlpanel:3.5.0.516 "/var/www/onlyoffice…" onlyoffice-control-panel 3 minutes ago Up 3 minutes 80/tcp, 443/tcp
onlyoffice-document-server onlyoffice/documentserver-ee:7.5.1.1 "/app/ds/run-documen…" onlyoffice-document-server 4 minutes ago Up 3 minutes 80/tcp, 443/tcp
onlyoffice-elasticsearch onlyoffice/elasticsearch:7.16.3 "/bin/tini -- /usr/l…" onlyoffice-elasticsearch 4 minutes ago Up 3 minutes 9200/tcp, 9300/tcp
onlyoffice-mail-server onlyoffice/mailserver:1.6.75 "/bin/sh -c 'export …" onlyoffice-mail-server 4 minutes ago Up 3 minutes 0.0.0.0:25->25/tcp, :::25->25/tcp, 0.0.0.0:143->143/tcp, :::143->143/tcp, 465/tcp, 993/tcp, 995/tcp, 3306/tcp, 4190/tcp, 0.0.0.0:587->587/tcp, :::587->587/tcp, 8081/tcp
onlyoffice-mysql-server mysql:8.0.29 "docker-entrypoint.s…" onlyoffice-mysql-server 4 minutes ago Restarting (1) Less than a second ago
@Carl do you have any suggestions regarding what I can change in the Docker Compose settings here that would result in a working test install of ONLYOFFICE Workspace Enterprise?
I’ve been trying to get a self-hosted ONLYOFFICE Workspace Enterprise server going for over two months now and I’m getting close to the point when I feel I have to say to the client that I’m sorry but it isn’t a system we can host and they should use something or someone else for an office solution :-(.