onlyoffice_ynh icon indicating copy to clipboard operation
onlyoffice_ynh copied to clipboard

Healthcheck issue when another app listens on port 8000

Open nicofrand opened this issue 1 year ago • 1 comments

Describe the bug

Any request to /healthcheck is resulting in a 404 error.

Context

I already have a docker app running on port 8000 (I know, docker is not recommended but there is no yunohost package for this app yet).

Once I stopped this app, I was able to run OnlyOffice and the healtcheck worked.

Steps to reproduce

  1. Have an app running on port 8000
  2. Try to configure nextcloud with OnlyOffice

Expected behavior

Everything works fine after setting the right onlyoffice domain and secret key.

Logs

In /var/log/onlyoffice/documentserver/docservice/out.log here are the errors:

[2023-07-05T09:42:46.963] [ERROR] [localhost] [docId] [userId] nodeJS - Error: listen EADDRINUSE: address already in use :::8000
    at Server.setupListenHandle [as _listen2] (net.js:1331:16)
    at listenInCluster (net.js:1379:12)
    at Server.listen (net.js:1465:7)
    at /snapshot/server/build/server/DocService/sources/server.js
    at /snapshot/server/build/server/DocService/sources/DocsCoServer.js
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

nicofrand avatar Jul 05 '23 09:07 nicofrand