# Integration collabora online nextcloud 33.0.3

**URL:** <https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570>\
**Category:** ℹ️ Support\
**Tags:** traefik, docker, wopi, office, collabora-built-in\
**Created:** [May 18, 2026, 12:17pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570 "2026-05-18T12:17:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_Vies](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jeremy_vies/32/22859_2.png) [@Jeremy\_Vies](https://help.nextcloud.com/u/Jeremy_Vies)\
**Post date:** [May 18, 2026, 12:17pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570/1 "2026-05-18T12:17:13Z")

</div>

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - `33.0.3`

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - `docker official image (not AIO), running on Debian 13`

- Web server and version _(e.g, Apache 2.4.25)_:
  - `docker official image`

- Reverse proxy and version \_(e.g. nginx 1.27.2)
  - `behind traefik`

- PHP version _(e.g, 8.3)_:
  - `docker official image`

- Is this the first time you’ve seen this error? (Yes / No):
  - `no`

- When did this problem seem to first start?
  - `every time I open an ods or xslx file`

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - `docker`

- Are you using CloudfIare, mod\_security, or similar? _(Yes / No)_
  - `no`

### Summary of the issue you are facing:

On a docker compose deployment of Nextcloud 33.0.3: The nextcloud office app using integrated Collabora Online server does not work. It cannot open any file.

### Steps to replicate it:

1. intall nextcloud-office app with integrated code server

2. open a new xslx file

### Log entries

```auto
app-1 | 172.29.0.1 - - [18/May/2026:11:52:14 +0000] “GET /index.php/apps/files/preview-service-worker.js HTTP/1.1” 200 6588 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 192.168.81.254 - - [18/May/2026:11:52:14 +0000] “GET /index.php/apps/richdocuments/wopi/files/2213903_oc3bk1vxbmd5?access_token=<access_token>&access_token_ttl=0&no_auth_header= HTTP/1.1” 500 2120 “-” “COOLWSD HTTP Agent 25.04.9.4”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:14 +0000] “POST /custom_apps/richdocumentscode/proxy.php?req=/cool/https%3A%2F%2Fnextcloud.home%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2213903_oc3bk1vxbmd5%3Faccess_token%3D<access_token>%26access_token_ttl%3D0%26no_auth_header%3D/ws?WOPISrc=https%3A%2F%2Fnextcloud.home%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2213903_oc3bk1vxbmd5&compat=/ws/open/open/1 HTTP/1.1” 400 369 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/proxy.php?req=/browser/4610258811/images/dark/pagewidth.svg HTTP/1.1” 404 522 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/proxy.php?req=/browser/4610258811/src/app/TaskWorker.js HTTP/1.1” 200 5675 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/images/lc_uppage_branding.svg HTTP/1.1” 404 8835 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/images/lc_downpage_branding.svg HTTP/1.1” 404 8835 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 192.168.81.254 - - [18/May/2026:11:52:15 +0000] “GET /index.php/apps/richdocuments/wopi/files/2213903_oc3bk1vxbmd5?access_token=<access_token>&access_token_ttl=0&permission=edit HTTP/1.1” 500 2112 “-” “COOLWSD HTTP Agent 25.04.9.4”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “POST /custom_apps/richdocumentscode/proxy.php?req=/cool/https%3A%2F%2Fnextcloud.home%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2213903_oc3bk1vxbmd5%3Faccess_token%3D<access_token>%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2Fnextcloud.home%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2213903_oc3bk1vxbmd5&compat=/ws/open/open/1 HTTP/1.1” 400 369 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/proxy.php?req=/browser/4610258811/src/app/TaskWorker.js HTTP/1.1” 200 5675 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/proxy.php?req=/browser/4610258811/src/app/TaskWorker.js HTTP/1.1” 200 5675 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/proxy.php?req=/browser/4610258811/src/app/TaskWorker.js HTTP/1.1” 200 5675 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /custom_apps/richdocumentscode/images/closedoc.svg HTTP/1.1” 404 8835 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”
app-1 | 172.29.0.1 - - [18/May/2026:11:52:15 +0000] “GET /index.php/apps/files/preview-service-worker.js HTTP/1.1” 200 6588 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”

```

---

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [May 18, 2026, 12:57pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570/2 "2026-05-18T12:57:30Z")

</div>

Hi @Jeremy_Vies,

> [@Jeremy\_Vies](#):
>
> docker official image

Before diving into the technical details, one thing worth clarifying: the image you’re using is not the official Nextcloud Docker image. The repository at [GitHub - nextcloud/docker: A community maintained docker micro-image for deploying Nextcloud on container platforms · GitHub](https://github.com/nextcloud/docker) carries this warning right at the top of its README:

> ⚠⚠⚠ This image is maintained by community volunteers and designed for expert use. For quick and easy deployment that supports the full set of Nextcloud Hub features, use the Nextcloud All-in-One docker container maintained by Nextcloud GmbH.

The officially supported Docker deployment is **Nextcloud AIO** (All-in-One), maintained by Nextcloud GmbH. With AIO, Nextcloud Office works out of the box — the Collabora integration, WOPI configuration, and internal networking are all handled automatically.

* * *

**What’s actually failing in your setup:**

Looking at your logs, the root cause is these two lines:

```auto
192.168.81.254 - "GET /index.php/apps/richdocuments/wopi/files/... HTTP/1.1" 500

```

`192.168.81.254` is your CODE server (COOLWSD) trying to fetch the document from Nextcloud via the WOPI protocol — and getting HTTP 500 back. Everything else follows from that:

- The `400` on `proxy.php` (WebSocket) is a consequence — Collabora can’t open a document it was never able to load
- The `404`s for SVG files are cosmetic and irrelevant

The most likely cause in a community Docker setup is that `wopi_allowlist` in `config.php` does not include the IP range of your CODE container (`192.168.81.x`). Since Nextcloud 22, WOPI requests from IPs not in the allowlist are rejected. Getting this right in a custom Docker + Traefik setup requires manual network configuration that AIO handles automatically.

To confirm the exact error you would need the `nextcloud.log` entries at the same timestamp — but honestly, if you’re not already deeply familiar with Nextcloud’s Docker networking requirements, switching to AIO will save you a lot of this kind of troubleshooting.

If you want to stay with the community image, the proper approach is to run Collabora CODE as a **separate container** with a correct reverse proxy configuration — not as the integrated `richdocumentscode` app. This HowTo covers exactly that setup, including network configuration and the domain-based allowlist approach: [Collabora CODE for Nextcloud with Docker](https://help.nextcloud.com/t/collabora-code-for-nextcloud-with-docker/216725)

* * *

h.t.h.

* * *

ernolf

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [May 18, 2026, 1:22pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570/3 "2026-05-18T13:22:29Z")

</div>

> [@ernolf](#):
>
> your CODE server (COOLWSD) trying to fetch the document from Nextcloud via the WOPI protocol — and getting HTTP 500 back.

@Jeremy_Vies There also are likely more details in your Nextcloud log, as noted in the [support template](https://help.nextcloud.com/t/support-template-please-use-this-when-you-request-support/137402). If the 500 is being generated by Nextcloud it’ll generally throw a logged exception.

---

<div class="post-metadata">

**Author:** ![Jeremy\_Vies](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jeremy_vies/32/22859_2.png) [@Jeremy\_Vies](https://help.nextcloud.com/u/Jeremy_Vies)\
**Post date:** [May 18, 2026, 8:43pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570/4 "2026-05-18T20:43:51Z")

</div>

Thank you for your support.  
My initial plan was to use a dedicated collabora container, but it didn’t make it… so I tried in internal CODE.

I found some clues in the nextcloud.log file. It seems I was concerned by the issue mentioned here:

> **[Collabora - Nextcloud: Wopi problem](https://forum.yunohost.org/t/collabora-nextcloud-wopi-problem/41726/10)**
>
> Alright, got it sorted. It wasn’t collabora it was nextcloud. The last update apparently did mess up the database a bit. The Nextcloud log showed: nextcloud log: DbalException An exception occurred while executing a query: SQLSTATE\[01000\]:...

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [May 26, 2026, 8:44pm UTC](https://help.nextcloud.com/t/integration-collabora-online-nextcloud-33-0-3/244570/5 "2026-05-26T20:44:31Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
