I’m running Nextcloud (31.0.0) and documentserver as docker containers. Both on my LAN (192.168.x.xxx:port) and on the open internet (https://documentserver.my.domain), I can connect to the /welcome subfolder, but not the /healthcheck subfolder.
I’m getting a very similar error to OnlyOffice 502 Bad Gateway error when attempting to connect from Nextcloud reported in Nextcloud:
ServerException Server error: `GET https://documentserver.vibraphone.one/healthcheck` resulted in a `502 Bad Gateway` response: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>ngin (truncated...)
healthcheckRequest on check error
- Logs: https://www.mediafire.com/file/8pxk4kc40a8vwwr/logs.zip/file
- default.json and local.json: https://www.mediafire.com/file/d3tji1v2cbse1nq/local.json/file https://www.mediafire.com/file/fgkrsomebwv444o/default.json/file
My documentserver stack in Portainer:
---
version: "2"
services:
documentserver:
image: onlyoffice/documentserver
container_name: documentserver
environment:
- JWT_SECRET=redacted
- PUID=1000
- PGID=100
- TZ=Europe/Berlin
- LANG=en_GB.UTF-8
- LANGUAGE=en_GB:en
- LC_ALL=en_GB.UTF-8
restart: always
ports:
- 5025:80
labels:
- deunhealth.restart.on.unhealthy=true
volumes:
- /srv/redacted/config1/onlyoffice/logs:/var/log/onlyoffice
- /srv/redacted/config1/onlyoffice/Data:/var/www/onlyoffice/Data
- /srv/redacted/config1/onlyoffice/lib:/var/lib/onlyoffice
- /srv/redacted/config1/onlyoffice/db:/var/lib/postgresql
- /srv/redacted/config1/onlyoffice/redis:/var/lib/redis
- /srv/redacted/config1/onlyoffice/font:/usr/share/fonts/truetype/custom:rw
- /srv/redacted/config1/onlyoffice/rabbitmq:/var/lib/rabbitmq
networks:
default:
name: redacted_default
external: true