I just allowed an upgrade of NextCloud Office to 5.0.8 (pretty sure I was on 5.0.7). Ben working wfine. Upgraded and it no longer works. Now when I load a an office doc I see this in the console before the FAIL:
19:10:10.353 Uncaught TypeError: document.querySelector(...) is null
y coolParameters.js:63
showEditor document.js:244
showEditor document.js:219
setTimeout handler*showEditor document.js:219
loadDocument document.js:531
initSession document.js:526
jQuery 2
initSession document.js:525
<anonymous> document.js:619
jQuery 12
Webpack 6
coolParameters.js:63:10
y coolParameters.js:63
showEditor document.js:244
showEditor document.js:219
(Async: setTimeout handler)
showEditor document.js:219
loadDocument document.js:531
initSession document.js:526
jQuery 2
initSession document.js:525
<anonymous> document.js:619
jQuery 12
Webpack 6
Why of why? I mean I try to keep up to date for security and stability (of all the ironies). But I upgrade and it kills my NextCloud Office service.
There is nothing in the NextCloud Logs and Iβm on Nextcloud Hub II (23.0.0) having resisted the temptation to upgrade Nextcloud to 23.0.10 which is available. For Office I use my own server and it looks healthy:
$ sudo service coolwsd status
β coolwsd.service - Collabora Online WebSocket Daemon
Loaded: loaded (/lib/systemd/system/coolwsd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-10-18 20:49:29 AEDT; 6 days ago
Main PID: 3206 (coolwsd)
Tasks: 8 (limit: 18980)
Memory: 409.8M
CGroup: /system.slice/coolwsd.service
ββ 3206 /usr/bin/coolwsd --version --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd
ββ 3561 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterport=coolwsd-76aSz6cA --rlimits=li>
ββ233240 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterport=coolwsd-76aSz6cA --rlimits=li>
Oct 25 19:55:02 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:55:02.115910 +1100 [ websrv_poll ] DBG Wopi capabilities request: /hosting/capabilities| wsd/COOLWSD.cpp:3886
Oct 25 19:55:02 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:55:02.115962 +1100 [ websrv_poll ] INF convert-to: Requesting address is allowed: ::ffff:127.0.0.1| wsd/COOLWSD.cpp:3497
Oct 25 19:55:02 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:55:02.115995 +1100 [ websrv_poll ] INF convert-to: Requesting address is allowed: 192.168.0.14| wsd/COOLWSD.cpp:3530
Oct 25 19:55:02 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:55:02.116106 +1100 [ websrv_poll ] INF Sent capabilities.json successfully.| wsd/COOLWSD.cpp:3895
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03937 2022-10-25 19:56:23.853909 +1100 [ accept_poll ] DBG Inserting socket #59, address [::ffff:127.0.0.1], into websrv_poll| net/Socket.hpp:743
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:56:23.854052 +1100 [ websrv_poll ] DBG Handling request: /hosting/capabilities| wsd/COOLWSD.cpp:3584
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:56:23.854091 +1100 [ websrv_poll ] DBG Wopi capabilities request: /hosting/capabilities| wsd/COOLWSD.cpp:3886
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:56:23.854140 +1100 [ websrv_poll ] INF convert-to: Requesting address is allowed: ::ffff:127.0.0.1| wsd/COOLWSD.cpp:3497
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:56:23.854174 +1100 [ websrv_poll ] INF convert-to: Requesting address is allowed: 192.168.0.14| wsd/COOLWSD.cpp:3530
Oct 25 19:56:23 nephele coolwsd[3206]: wsd-03206-03938 2022-10-25 19:56:23.854289 +1100 [ websrv_poll ] INF Sent capabilities.json successfully.| wsd/COOLWSD.cpp:3895
I mean it was literally working fine just now. Then I upgraded Office and no it doesnβt load documents and on the browser console I see the above error before a timeout FAIL.
Oh, the suffering.