I’m encountering a persistent 500 Internal Server Error when accessing the initial setup wizard at http://<IP>:5080/wizard after deploying OnlyOffice DocSpace via Docker Compose. Logs reveal a MySQL connection failure and health check errors that prevent the app from booting properly.
Im instaling by sudo bash docspace-install.sh docker -ep 5080
From https://download.onlyoffice.com/docspace/docspace-install.sh
Environment
- Platform: Ubuntu 22.04 VPS
- Deployment method:
docker-composewith officialdocspace.yml - ONLYOFFICE version: Latest Docker image as of July 31, 2025
- MySQL version: 8.3.0 (inside Docker)
Observed Behavior
When navigating to /wizard, the browser shows:
GET http://<IP>:5080/wizard 500 (Internal Server Error)
Browser console:
Error: An error occurred in the Server Components render.
The specific message is omitted in production builds to avoid leaking sensitive details.
From the container logs (/var/log/onlyoffice/ASC.Web.Studio.log):
MySqlException (0x80004005): Server shutdown in progress
MySqlEndOfStreamException: An incomplete response was received from the server
Health check failed: mysqldb, Status: Unhealthy
What I’ve already tried
- Verified that MySQL container is up and accessible (
mysql -h onlyoffice-mysql-server -u onlyoffice_user -p) - Ensured that
onlyoffice_userexists and has access from% - Confirmed from inside the
onlyoffice-apicontainer that MySQL connects properly - Restarted all containers and wiped volumes
- Examined logs from
/var/log/onlyoffice/, MySQL, and nginx - Set in /app/onlyoffice/.env `MYSQL_HOST=“onlyoffice-mysql-server”
Additional Observations
- The problem occurs before wizard loads — API cannot talk to the database at startup.
- Even though the MySQL service is up, the app logs indicate
Server shutdown in progressand anincomplete response. - Health checks for MySQL seem to fail inside the
onlyoffice-apiservice.
plz Help me