onlyoffice_ynh
onlyoffice_ynh copied to clipboard
Healthcheck issue when another app listens on port 8000
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
- Have an app running on port 8000
- 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)