What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.16
What app is this about: onlyoffice
Describe your issue
hi,
i try to use onlyoffice with nextcloud, but i encounter an error :
Error when trying to connect (Client error: GET https://onlyoffice.hugulumu.com/healthcheck resulted in a 404 Not Found response)"
And maybe it’s linked, there is a recurrent warning in onlyoffice installation in yunohost (i tried uninstalling and reinstalling several times) (see the complete logs below) :
“WARNING - cat: /etc/yunohost/psql: No such file or directory”
the question was already asked 4 years ago here, but the answer does not seems to help me : 404 when connecting to Onlyoffice from Nextcloud server hosted on Gandi - Healthcheck
do you have an idea on how to fix that
?
Share relevant logs or error messages
https://paste.yunohost.org/raw/omotuvased
i found a solution :
it was setup to listen on a port already taken by another app (appflowy)
how to reproduce the diagnosis :
- the config document in
/etc/onlyoffice/documentserver/default.json shows that it’s setup to listen on port 8000 : "port": 8000
- the logs indeed confirms that nextcloud tried to connect on port 8000, in
/var/log/onlyoffice/documentserver/nginx.error.log :2025/07/31 22:13:13 [error] 1464829#1464829: *14359 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /healthcheck HTTP/1.1", upstream: "http:// [::1]:8000/healthcheck", host: "onlyoffice.hugulumu.com"
- this command to check if anything listens on port 8000 :
sudo ss -tlnp | grep 8000 → it shows that appflowy is occupying the port, not onlyoffice :LISTEN 0 128 0.0.0.0:8000 0.0.0.0:* users:(("appflowy_cloud",pid=1625,fd=77))
so i decided to uninstall appflowy since i don’t use it for the moment, i’ll configure it to work on another port later
Do you think it’s a bug in onlyoffice installation process, that i should inform the dev with a github ticket ? or not ?