Unable to install and run

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.

Image

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

Hello @Cacus

Please share output of docker ps. Also, you can try restarting DocSpace and its services with following command:

docker-compose -f /app/onlyoffice/docspace.yml -f /app/onlyoffice/ds.yml up --force-recreate -d

In case certain container started with issue, restart may resolve that.

I installed workspace and it works.

1 Like

Thanks for the reply. Should I close the topic as solved then?

I cant install dcospace but i installed workspace so i cannot answer questions about install dcospace so yes we can close it