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-compose with official docspace.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_user exists and has access from %
- Confirmed from inside the
onlyoffice-api container 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 progress and an incomplete response.
- Health checks for MySQL seem to fail inside the
onlyoffice-api service.
plz Help me
I'm encountering a persistent
500 Internal Server Errorwhen accessing the initial setup wizard athttp://<IP>:5080/wizardafter 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 5080From
https://download.onlyoffice.com/docspace/docspace-install.shEnvironment
docker-composewith officialdocspace.ymlObserved Behavior
When navigating to
/wizard, the browser shows:Browser console:
From the container logs (
/var/log/onlyoffice/ASC.Web.Studio.log):What I’ve already tried
mysql -h onlyoffice-mysql-server -u onlyoffice_user -p)onlyoffice_userexists and has access from%onlyoffice-apicontainer that MySQL connects properly/var/log/onlyoffice/, MySQL, and nginxAdditional Observations
Server shutdown in progressand anincomplete response.onlyoffice-apiservice.plz Help me