Skip to content

Unable to install and run #224

@Cacus3

Description

@Cacus3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions