The Basics
- Nextcloud Server version (e.g., 29.x.x):
- docker nextcloud:
35
- docker nextcloud:
- Operating system and version (e.g., Ubuntu 24.04):
Debian 13.7 / docker
- Web server and version (e.g, Apache 2.4.25):
Apache, as part of docker nextcloud:35 image
- Reverse proxy and version _(e.g. nginx 1.27.2)
traefik 3.6.25
- PHP version (e.g, 8.3):
nextcloud:35 image;PHP 8.5.12
- Is this the first time you’ve seen this error? (Yes / No):
yes, initial configuration
- When did this problem seem to first start?
from the beginning I tried to run nextcloud & collabora/CODE
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
docker, docker-compose.yml with nextcloud and collabora service, behind traefik reverse proxy
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I have followed the Collabora Integration Guide, specifically all checks in “implementation and troubleshooting checklist” pass OK.
I have configured install richdocuments app, configure CODE server URL.
In GUI “Administration Settings” > Administration > Office:
Collabora Online server is reachable.
Collabora Online Development Edition 25.04.10.3 9f059c5093
URL used by the browser:
https://office.mydomain
Nextcloud URL used by Collabora:https://nextcloud.mydomain(Determined from the browser URL)
Steps to replicate it (hint: details matter!):
-
Document.docx → … → Open Locally → Open Online
-
I get a “hour glass”
-
Document loading failed
Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout Making sure you're not a bot!
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.263178 +0100 [ forkit ] INF Forked kit [22]| kit/ForKit.cpp:573
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.263206 +0100 [ forkit ] TRC Forking child took 3ms| kit/ForKit.cpp:584
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.263213 +0100 [ forkit ] INF Forkit initialization complete: setting log-level to [warning] as configured.| kit/ForKit.cpp:1055
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.620182 +0100 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/passwd] is out-of-date. Will have to clone dynamic elements of systemplate to the jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:605
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.623541 +0100 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/passwd] is out-of-date. Will have to clone dynamic elements of systemplate to the jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:605
nextcloud_collabora | frk-00017-00017 2026-10-25 21:26:53.626613 +0100 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/passwd] is out-of-date. Will have to clone dynamic elements of systemplate to the jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:605
nextcloud_collabora | kit-00022-00022 2026-10-25 21:26:53.618411 +0100 [ kit_spare_001 ] TRC #16: Set socket buffer size to 262144| net/Socket.hpp:298
nextcloud_collabora | kit-00022-00022 2026-10-25 21:26:53.618412 +0100 [ kit_spare_001 ] INF New kit client websocket inserted.| kit/Kit.cpp:3992
nextcloud_collabora | kit-00022-00022 2026-10-25 21:26:53.618414 +0100 [ kit_spare_001 ] INF Kit initialization complete: setting log-level to [warning] as configured.| kit/Kit.cpp:4006
nextcloud_collabora | wsd-00001-00016 2026-10-25 21:26:53.618617 +0100 [ prisoner_poll ] TRC ppoll start, timeoutMicroS: 17645040 size 3| net/Socket.cpp:534
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:27.435558 +0100 [ websrv_poll ] ERR Failed to get settings json from [http://nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=dw2yPiEskQV5wVmoB2kPni172XHMxSxL&fileId=-1] with status[Moved Permanently]| wsd/DocumentBroker.cpp:2024
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:27.435755 +0100 [ websrv_poll ] ERR #-1: Failed to install config [shared-http_nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings-6ade3afd4218e6ade3a96df037]| wsd/RequestVettingStation.cpp:195
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:27.791268 +0100 [ websrv_poll ] ERR Failed to get settings json from [http://nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=dw2yPiEskQV5wVmoB2kPni172XHMxSxL&fileId=-1] with status[Moved Permanently]| wsd/DocumentBroker.cpp:2024
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:27.791396 +0100 [ websrv_poll ] ERR #-1: Failed to install config [shared-http_nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings-6ade3afd4218e6ade3a96df037]| wsd/RequestVettingStation.cpp:195
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:30.155966 +0100 [ websrv_poll ] ERR Failed to get settings json from [http://nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=A7TE8mFeQL6AZ5RFz2sy5bRBQd4bHu7P&fileId=-1] with status[Moved Permanently]| wsd/DocumentBroker.cpp:2024
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:30.156137 +0100 [ websrv_poll ] ERR #-1: Failed to install config [shared-http_nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings-6ade3afd4218e6ade3a96df037]| wsd/RequestVettingStation.cpp:195
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:32.522131 +0100 [ websrv_poll ] ERR Failed to get settings json from [http://nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=C2fIFB0CwRYpelOQq0QEPJcCrrDyx2S1&fileId=-1] with status[Moved Permanently]| wsd/DocumentBroker.cpp:2024
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:32.522262 +0100 [ websrv_poll ] ERR #-1: Failed to install config [shared-http_nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings-6ade3afd4218e6ade3a96df037]| wsd/RequestVettingStation.cpp:195
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:34.897164 +0100 [ websrv_poll ] ERR Failed to get settings json from [http://nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=UTJ5HRcEk5kBGrXZovhaxkBiHeGsDyum&fileId=-1] with status[Moved Permanently]| wsd/DocumentBroker.cpp:2024
nextcloud_collabora | wsd-00001-00025 2026-10-25 21:27:34.897304 +0100 [ websrv_poll ] ERR #-1: Failed to install config [shared-http_nextcloud.mydomain/index.php/apps/richdocuments/wopi/settings-6ade3afd4218e6ade3a96df037]| wsd/RequestVettingStation.cpp:195
nextcloud_collabora | wsd-00001-00030 2026-10-25 21:27:47.790922 +0100 [ docbroker_001 ] WRN getNewChild: No child available. Sending spawn request to forkit and failing.| wsd/COOLWSD.cpp:1027
nextcloud_collabora | wsd-00001-00030 2026-10-25 21:28:07.841093 +0100 [ docbroker_001 ] WRN getNewChild: No child available. Sending spawn request to forkit and failing.| wsd/COOLWSD.cpp:1027
nextcloud_collabora | wsd-00001-00030 2026-10-25 21:28:07.841119 +0100 [ docbroker_001 ] ERR Failed to get new child.| wsd/DocumentBroker.cpp:314
nextcloud_collabora | wsd-00001-00030 2026-10-25 21:28:07.841124 +0100 [ docbroker_001 ] WRN _newCallbacks is non-empty when stopping, clearing it.| net/Socket.hpp:841
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
192.168.1.254 - - [25/Oct/2026:21:00:36 +0000] "GET /index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=PcetOtf2Tc83frwRGfF7c55jkfaFgB8k&fileId=-1 HTTP/1.1" 301 17 "-" "-" 74120 "nextcloud-http@docker" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:39 +0000] "GET /index.php/apps/richdocuments/wopi/files/13_oc4l85vc3c9p?access_token=jaUCiCqHTTZuUZhdNvG9SgxQHdUAzrgt&access_token_ttl=1792998035000&permission=edit HTTP/1.1" 200 1414 "-" "-" 74122 "nextcloud@docker" "http://172.16.0.33:80" 23ms
192.168.1.254 - - [25/Oct/2026:21:00:39 +0000] "GET /index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=nUWbTJXOrCjvYvoHhEw0jkm5D3cwpmBR&fileId=-1 HTTP/1.1" 301 17 "-" "-" 74123 "nextcloud-http@docker" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:39 +0000] "HEAD / HTTP/1.1" 499 21 "-" "-" 74124 "hobbybaan@docker" "http://172.16.0.28:80" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:40 +0000] "GET / HTTP/1.0" 404 19 "-" "-" 74125 "-" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:42 +0000] "GET /index.php/apps/richdocuments/wopi/files/13_oc4l85vc3c9p?access_token=jaUCiCqHTTZuUZhdNvG9SgxQHdUAzrgt&access_token_ttl=1792998035000&permission=edit HTTP/1.1" 200 1414 "-" "-" 74127 "nextcloud@docker" "http://172.16.0.33:80" 19ms
192.168.1.254 - - [25/Oct/2026:21:00:42 +0000] "GET /index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=gpg8Grx5FfTBy25B8hAInTNENAlUL84f&fileId=-1 HTTP/1.1" 301 17 "-" "-" 74128 "nextcloud-http@docker" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:45 +0000] "GET /index.php/apps/richdocuments/wopi/files/13_oc4l85vc3c9p?access_token=jaUCiCqHTTZuUZhdNvG9SgxQHdUAzrgt&access_token_ttl=1792998035000&permission=edit HTTP/1.1" 200 1414 "-" "-" 74130 "nextcloud@docker" "http://172.16.0.33:80" 22ms
192.168.1.254 - - [25/Oct/2026:21:00:45 +0000] "GET /index.php/apps/richdocuments/wopi/settings?type=systemconfig&access_token=4EVgMuZUX0diCI5JJ5qYt6x3TghbR79G&fileId=-1 HTTP/1.1" 301 17 "-" "-" 74131 "nextcloud-http@docker" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:46 +0000] "POST /apps/text/session/144616925758996481/push HTTP/2.0" 200 65 "-" "-" 74132 "nextcloud@docker" "http://172.16.0.33:80" 13ms
192.168.1.254 - - [25/Oct/2026:21:00:46 +0000] "GET / HTTP/1.1" 301 17 "-" "-" 74133 "http-root@docker" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:47 +0000] "GET / HTTP/1.0" 404 19 "-" "-" 74134 "-" "-" 0ms
192.168.1.1 - - [25/Oct/2026:21:00:52 +0000] "GET / HTTP/1.1" 200 10700 "-" "-" 74135 "http-rootlocal@docker" "http://172.16.0.6:80" 0ms
192.168.1.254 - - [25/Oct/2026:21:00:53 +0000] "GET / HTTP/1.1" 200 98442 "-" "-" 74136 "hobbybaan@docker" "http://172.16.0.28:80" 7ms
192.168.1.254 - - [25/Oct/2026:21:00:55 +0000] "POST /apps/text/session/144616925758996481/sync HTTP/2.0" 200 394 "-" "-" 74137 "nextcloud@docker" "http://172.16.0.33:80" 14ms
192.168.1.254 - - [25/Oct/2026:21:00:58 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "-" 74138 "nextcloud@docker" "http://172.16.0.33:80" 13ms
192.168.1.254 - - [25/Oct/2026:21:00:58 +0000] "GET / HTTP/1.0" 404 19 "-" "-" 74139 "-" "-" 0ms
192.168.1.254 - - [25/Oct/2026:21:01:01 +0000] "POST /apps/text/session/144616925758996481/push HTTP/2.0" 200 65 "-" "-" 74141 "nextcloud@docker" "http://172.16.0.33:80" 17ms
192.168.1.254 - - [25/Oct/2026:21:01:01 +0000] "POST /apps/text/session/144616925758996481/sync HTTP/2.0" 200 394 "-" "-" 74140 "nextcloud@docker" "http://172.16.0.33:80" 22ms
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
docker compose exec nextcloud php occ config:list system
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"upgrade.disable-web": true,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.ijntema.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "35.0.2.2",
"overwrite.cli.url": "http:\/\/localhost",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"app_install_overwrite": []
}
Apps
The output of occ app:list (if possible).
docker compose exec nextcloud php occ app:list
Enabled:
activity: 8.0.0
app_api: 35.0.0
appstore: 2.0.0
bruteforcesettings: 8.0.0
circles: 35.0.0
cloud_federation_api: 2.0.0
comments: 2.0.0
contactsinteraction: 2.0.0
dashboard: 8.0.0
dav: 2.0.0
federatedfilesharing: 2.0.0
federation: 2.0.0
files: 3.0.0
files_downloadlimit: 5.3.0
files_lock: 35.0.1
files_pdfviewer: 8.0.0
files_reminders: 2.0.0
files_sharing: 2.0.0
files_trashbin: 2.0.0
files_versions: 2.0.0
firstrunwizard: 8.0.0
logreader: 8.0.0
lookup_server_connector: 2.0.0
nextcloud_announcements: 7.0.0
notifications: 8.0.1
oauth2: 2.0.0
office: 1.1.0
password_policy: 7.0.0
photos: 8.0.0
privacy: 7.0.0
profile: 2.0.0
provisioning_api: 2.0.0
recommendations: 8.0.0
related_resources: 6.0.0
richdocuments: 12.0.1
serverinfo: 7.0.0
settings: 2.0.0
sharebymail: 2.0.0
sharing: 1.0.4
support: 7.0.0
survey_client: 7.0.0
systemtags: 2.0.0
text: 9.0.1
theming: 3.0.0
twofactor_backupcodes: 2.0.0
twofactor_totp: 17.1.0
updatenotification: 2.0.0
user_status: 2.0.0
viewer: 8.0.0
weather_status: 2.0.0
webhook_listeners: 2.0.0
workflowengine: 3.0.0
Disabled:admin_audit: 2.0.0
encryption: 3.0.1
eurooffice: 11.0.6 (installed 11.0.6)
files_external: 2.0.0
suspicious_login: 13.0.0
twofactor_nextcloud_notification: 9.0.0
user_ldap: 2.0.0