Hello,
I installed Nextcloud AIO using docker (Portainer) on Raspberry Pi 4, and it is working but I have issues with OnlyOffice server.
OnlyOffice server settings looks like this:
As you can see I have my custom domain cloud.server.home for my Nextcloud on my LAN network. I use Nginx Proxy Manager as reverse proxy which handles my SSL cert.
In Portainer it looks like this:
As you can see Nextcloud uses its own network 172.19.0.X and my network for other containers is 172.20.1.X so I added these ENVs into master container:
| APACHE_ADDITIONAL_NETWORK | home_v4 |
|---|---|
| APACHE_IP_BINDING | 0.0.0.0 |
| APACHE_PORT | 11000 |
So my Apache container is visible in my home_v4 network (172.20.1.X), then I could set Nginx Proxy Manager like this:
So when I go to cloud.server.home I can access Nextcloud AIO instance and it works, just OnlyOffice doesnt work.
I get this error:
![]()
Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 9.2.0.98)
When I visit https://cloud.server.home/onlyoffice/ I get welcome page:
but when I go to https://cloud.server.home/onlyoffice/example/ or https://cloud.server.home/onlyoffice/admin/ I get 502 Bad Gateway:
for my LAN DNS I use PiHole:

I even set it as primary DNS server for only office container:





