I’m running Nextcloud 27 as a docker within OpenMediaVault 6. Exposed to the internet via duckdns/nginx alongside a few other services, running stably for 1 and a bit years.
I took a docker-compose for the Onlyoffice document server from this post:
--- version: '3.3' services: documentserver: image: onlyoffice/documentserver container_name: onlyoffice-documentserver restart: always ports: - '5025:80' labels: - deunhealth.restart.on.unhealthy=true volumes: - '/home/cuntable/docker-data/onlyoffice/logs:/var/log/onlyoffice' - '/home/cuntable/docker-data/onlyoffice/data:/var/www/onlyoffice/Data' - '/home/cuntable/docker-data/onlyoffice/lib:/var/lib/onlyoffice' - '/home/cuntable/docker-data/onlyoffice/db:/var/lib/postgresql' - '/home/cuntable/docker-data/onlyoffice/redis:/var/lib/redis' - '/home/cuntable/docker-data/onlyoffice/font:/usr/share/fonts/truetype/custom' - '/home/cuntable/docker-data/onlyoffice/rabbitmq:/var/lib/rabbitmq' - '/home/cuntable/docker-data/onlyoffice/ds.example.conf:/etc/supervisor/conf.d/ds-example.conf'
and installed via Portainer (hashing out the networks subsection as that seems specific to OPs setup). Navigating to my.server.local.ip:5025, I get the welcome page:
as expected. After some minor edits to documentserver.subdomain.conf:
set $upstream_app adminer; set $upstream_port 8080;
set $upstream_app my.server.local.ip; set $upstream_port 5025;
navigating to documentserver.myserver.duckdns.org now also shows me the welcome screen. Time to install the Onlyoffice NC app and add the server address. However, when I do that:
Error when trying to connect (Server error: `GET https://documentserver.myserver.duckdns.org/healthcheck` resulted in a `502 Bad Gateway` response: 502 Bad Gateway 502 Bad Gateway ngin (truncated...)
Error message is also truncated in the logs available in the NC web interface. I also cannot find any way to navigate manually to Onlyoffice, even outside of Nextcloud. It’s the welcome page, and nothing else. It feels like something is vitally lacking in the install, but I can’t find out what because of the truncated error messages. Any ideas on what my next step should be?