r/opencloud • • Oct 23 '26

OpenCloud Office Integration

I have Opencloud up and running successfully on my Synology DS723+ but I'm struggling trying to get OnlyOffice or EuroOffice working with it. I have both office apps running as docker containers with reverse proxies and certificates all set up. The welcome pages for each open when I enter the appropriate reverse proxy addresses in a web browser. What I can't do is connect either to OpenCloud so clicking on a file opens it in the Office app. Either OnlyOffice or EuroOffice would do.

I followed this tutorial to set up OpenCloud:

https://mariushosting.com/how-to-install-opencloud-on-your-synology-nas/

3 Upvotes

8 comments sorted by

1

u/kloputzer2000 Oct 23 '26

Are they running on the same host? This is probably a network problem. Make sure you can reach the public URL of your office server from inside your OpenCloud container.

1

u/NeonexFree Oct 23 '26

Thank you. All the containers are running on the same NAS. Opencloud is reachable with https://opencloud.my.domain, OnlyOffice with https://onlyoffice.my.domain andEuroOffice https://eurooffice.my.domain. I'm not sure how to make the link so that office files open in my chosen office app. Where do I tell OpenCloud to do this? My docker compose file does not contain this information.

1

u/siegfriedthenomad 27d ago

I have had opencloud running for some time and a week ago I switched from collabora to euro office and I'm very happy with it.

The first thing that it comes to my mind are the content security policies. Did you write the csp.yaml file accordingly?
Here is an example (you can delete the OIDC config):

directives:
  child-src:
    - '''self'''
  connect-src:
    - '''self'''
    - 'blob:'
    - 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
    - 'https://tile.openstreetmap.org/'
    # OIDC Provider (Pocket-ID) endpoints
    - "'self'"
    - 'https://<pocket-id-url>'
    - 'wss://<pocket-id-url>'
  default-src:
    - '''none'''
  font-src:
    - '''self'''
  frame-ancestors:
    - '''self'''
  frame-src:
    - '''self'''
    - 'blob:'
    - 'https://embed.diagrams.net/'
    - 'https://<euro-office-url>'
    - 'https://docs.opencloud.eu'
  img-src:
    - '''self'''
    - 'data:'
    - 'blob:'
    - 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
    - 'https://tile.openstreetmap.org/'
    - 'https://<euro-office-url>/'
  manifest-src:
    - '''self'''
  media-src:
    - '''self'''
  object-src:
    - '''self'''
    - 'blob:'
  script-src:
    - '''self'''
    - '''unsafe-inline'''
  style-src:
    - '''self'''
    - '''unsafe-inline'''
  worker-src:
    - "'self'"
    - 'blob:'

1

u/NeonexFree 27d ago

Thank you so much for your help, but my brain can't cope with this level of configuration. I decided to give Nextcloud AIO a go and have it running successfully on my Synology NAS with EuroOffice integration. I'm getting no error messages or even warnings - the first time ever with Nextcloud and the upgrade path looks promising.

1

u/siegfriedthenomad 27d ago

I totally agree with you, the complexity of the first setup is still a huge downside to opencloud. The first setup took me a couple of weeks to get it to work. But once is working It runs smooth and stable

2

u/europacafe 29d ago

This is my personal note to remind me how I made the integration work.

OpenCloud doesn’t have a native connector like Nextcloud, so integration typically uses WOPI (Web Application Open Platform Interface). • You’ll need to: • Set up a WOPI host or middleware that bridges OpenCloud and OnlyOffice. • Define document endpoints and authentication logic. • Ensure OpenCloud can generate WOPI tokens and pass them to OnlyOffice.

I had a detailed setup in OpenCloud github issues page. You can have a look there, and if you still need more clarification, pls shoot. https://github.com/truenas/apps/issues/3470#issuecomment-3503590982 https://github.com/truenas/apps/issues/3470#issuecomment-3505552675

2

u/NoTheme2828 Oct 23 '26

Take a look at the YT Video from Techhut.

1

u/NeonexFree Oct 24 '26

Thank you, but I couldn't work out from those videos what I'd need to do on my Synology NAS. Reverse proxies are all in place and working for each app, I just need a simple way of connecting them together. The Techhut videos go on about different reverse proxies and give me code to add somewhere without giving me a clue as to where to add them. They don't work in the OpenCloud docker-compose file, and I can't see how they would fit in the init generated yml file. Adding Collabara. OnlyOffice or EuroOffice to NextCloud is really straightforward - just a couple of minutes to sort it.

Why does OpenCloud have to be so complicated?