Collabora plugins doesn't work on pydio cells

I deployed Collabora using docker run -t -d -p 9980:9980 -e "extra_params=-o:tls.enable=false" -e "domain=172\.16\.26\.233" collabora/code

and i have already config Collabora plugin on pydio cells’s plugin website

when i open the xxx.doc file,the website become blankspace

Quick Checklist for Your Setup

1. Your Docker Run Command

docker run -t -d -p 9980:9980 \
  -e "extra_params=-o:tls.enable=false" \
  -e "domain=172\.16\.26\.233" \
  collabora/code

That’s fine if you’re accessing Collabora via HTTP and on the same local network. However, Collabora CODE is strict about domain for security.

You must escape the entire hostname/domain, and sometimes even IPs can be finicky.


Fixes to Try

1. Use Correct Domain in domain=

Try matching exactly what Pydio sends as the host in the iframe WOPISrc.

Run like:

docker run -t -d -p 9980:9980 \
  -e "extra_params=--o:ssl.enable=false" \
  -e "domain=172\\.16\\.26\\.233" \
  collabora/code

Note the double escape: 172\\.16\\.26\\.233 — Collabora expects regex.

:wrench: 2. Ensure WOPI Host Is Allowed

Add --o:ssl.termination=true and set the proper WOPI origin via env:

-e "aliasgroup1=http://172.16.26.233:9980"

You can add more alias groups if your Cells UI is served from another IP/hostname.


Pydio Plugin Settings

  • LibreOffice SSL: Leave unchecked if you’re not using HTTPS for Collabora.

  • Skip Certificate Verification: :white_check_mark: Yes, since there’s no cert.

  • Libre Office Host: Make sure it points to:

    http://172.16.26.233:9980
    

Also Check

1. Browser Console

Open DevTools → Console & Network tab. Look for:

  • 404 or 403 errors
  • CORS errors
  • iframe blocked or WOPI rejection

2. Collabora Logs

Check:

docker logs <container_id>

Look for:

  • WOPI host not allowed
  • Document load failures
  • Errors with .uno commands

3. Check Pydio Cells Version Compatibility

Not all versions of Cells fully support the Collabora plugin out of the box. Ensure you are on a recent version (4.x+).


Final Suggestion

Try loading the WOPI file directly in an iframe using the WOPISrc format:

http://172.16.26.233:9980/loleaflet/dist/loleaflet.html?WOPISrc=http://<pydio-cells-IP>:8080/your-wopi-endpoint

If that works, it confirms the Collabora server is fine and the issue is with the plugin config in Cells.