# Dockerized Collabora suddenly takes ages to initialize

**URL:** <https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720>\
**Category:** 📄 Office\
**Tags:** docker, nginx, collabora-online\
**Created:** [August 29, 2021, 10:25am UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720 "2021-08-29T10:25:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasyugan](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vasyugan/32/3393_2.png) [@vasyugan](https://help.nextcloud.com/u/vasyugan)\
**Post date:** [August 29, 2021, 10:25am UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/1 "2021-08-29T10:25:19Z")

</div>

Since my server has several Nextcloud instances, have been running collabora in docker for several years now and given all instances permission to use it. (I would rather avoid the overhead of installing the CODE app individually in each of the six instances.)

It has been working just fine until some weeks ago. But something changed and now it takes several minutes to initialize. The docker instance is running on the same server and collabora is behind a reverse proxy provided by NGINX. I can’t pinpoint the exact moment it changed, I think I initially thought this to be a temporary hickup, therefore I don’t know if it correlated with any particular upgrade of collabora or of nextcloud or of docker. (Everything else should not have changed except for security fixes as the server is running Ubuntu 20.04 LTS).

Now, both the external demo server as well as the CODE app run fine. Only the docker version has these problems. In the web server log for the docker collabora instance I see the message

```auto

2021/08/29 12:00:09 [error] 3381458#3381458: *12115 connect() failed (111: Connection refused) while connecting to upstream, client: *****, server: office.****.org, request: "
GET /hosting/capabilities HTTP/1.1", upstream: "http://[::1]:9980/hosting/capabilities", host: "office.uferwerk.org"
2021/08/29 12:00:09 [warn] 3381458#3381458: *12115 upstream server temporarily disabled while connecting to upstream, client: *****, server: office.****.org, request: "GET /ho
sting/capabilities HTTP/1.1", upstream: "http://[::1]:9980/hosting/capabilities", host: "office.***.org"

```

docker container logs collabora looks like this, not very revealing:

```auto
frk-00044-00044 2021-08-29 09:53:22.369268 [forkit] ERR Failed to unmount [/opt/lool/child-roots/DZprHqJzWhKFWr88].| common/JailUtil.cpp:68
wsd-00007-00048 2021-08-29 09:53:39.584546 [websrv_poll] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:39.986969 [websrv_poll] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:41.927800 [websrv_poll] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:42.365004 [websrv_poll] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00095 2021-08-29 09:56:07.675928 [docbroker_004] WRN Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| ./net/Socket.hpp:682
wsd-00007-00095 2021-08-29 09:56:07.860668 [docbroker_004] WRN Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| ./net/Socket.hpp:682

```

I have double and triple checked that the reverse proxy config is identical to the official instructions. I also tried older docker images, so far no change. The only two fixes are, either using the demo server or using the builtin CODE server, the first is undesirable for me for privacy reasons, the second because of the overhead when Collabora has to be installed in each NC instance individually. Does anyone have an idea what might be causing the slowdown? Again, it has worked fine for years before.

---

<div class="post-metadata">

**Author:** ![jacotec](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jacotec/32/25477_2.png) [@jacotec](https://help.nextcloud.com/u/jacotec)\
**Post date:** [August 30, 2021, 12:04pm UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/2 "2021-08-30T12:04:34Z")

</div>

Looks similar to my one: [Collabora stopped working on two of my instances, failed to load document - #3 by wwe](https://help.nextcloud.com/t/collabora-stopped-working-on-two-of-my-instances-failed-to-load-document/120821/3)

---

<div class="post-metadata">

**Author:** ![vasyugan](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vasyugan/32/3393_2.png) [@vasyugan](https://help.nextcloud.com/u/vasyugan)\
**Post date:** [August 30, 2021, 12:51pm UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/3 "2021-08-30T12:51:00Z")

</div>

> [@jacotec](#):
>
> Looks similar to my one: [Collabora stopped working on two of my instances, failed to load document - #3 by wwe](https://help.nextcloud.com/t/collabora-stopped-working-on-two-of-my-instances-failed-to-load-document/120821/3)

Only superficially, it seems. First, I don’t see the log messages that you posted, second your issue seems to be fixed, if I read you correctly, did I?

---

<div class="post-metadata">

**Author:** ![palto42](https://help.nextcloud.com/user_avatar/help.nextcloud.com/palto42/32/4606_2.png) [@palto42](https://help.nextcloud.com/u/palto42)\
**Post date:** [October 16, 2021, 9:30am UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/4 "2021-10-16T09:30:30Z")

</div>

I face the same issue with NC 22.2.0 and Collabora docker 6.4.13.2. WIth older Collabora 6.4.11.3 it works smoothly.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:37am UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/5 "2024-12-13T10:37:28Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:37am UTC](https://help.nextcloud.com/t/dockerized-collabora-suddenly-takes-ages-to-initialize/122720/6 "2024-12-13T10:37:30Z")

</div>


