Everything that journalctl spat out token, names ommitted:
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: wsd-06974-06987 2025-01-01 12:43:44.862985 -0500 [ websrv_poll ] ERR #33: Unknown resource: /cool/https:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihn?access_token=(token)&access_token_ttl=0/ws GWebSocket, host: (collabora domain), path: 4
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: [0] âcoolâ
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: [1] âhttps:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihnâ
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: [2] âaccess_token=(token)&access_token_ttl=0â
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: [3] âwsâ
Jan 01 12:43:44 (Serverâs internal name) coolwsd[6974]: full URI: /cool/https:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihn?access_token=(token)&access_token_ttl=0/ws| wsd/ClientRequestDispatcher.cpp:925
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: wsd-06974-06987 2025-01-01 12:43:45.181804 -0500 [ websrv_poll ] ERR #33: Unknown resource: /cool/https:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihn?access_token=(token)&access_token_ttl=0&permission=edit/ws GWebSocket, host: (collabora domain), path: 4
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: [0] âcoolâ
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: [1] âhttps:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihnâ
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: [2] âaccess_token=(token)&access_token_ttl=0&permission=editâ
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: [3] âwsâ
Jan 01 12:43:45 (Serverâs internal name) coolwsd[6974]: full URI: /cool/https:%2F%2F(nextcloud domain)%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F378553_oco78dqqgihn?access_token=(token)&access_token_ttl=0&permission=edit/ws| wsd/ClientRequestDispatcher.cpp:925
current virtual server config, excluding ssl directives and domain directives
# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
# Container uses a unique non-signed certificate
SSLProxyEngine on
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
# keep the host
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:9980/ retry=0
ProxyPassReverse / http://127.0.0.1:9980/
# static html, js, images, etc. served from coolwsd
# (broswer is the client part of Collabora Online)
ProxyPass /browser http://127.0.0.1:9980/browser retry=0
ProxyPassReverse /browser http://127.0.0.1:9980/browser
# WOPI discovery URL
ProxyPass /hosting/discovery http://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery http://127.0.0.1:9980/hosting/discovery
# Capabilities
ProxyPass /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities
# Main websocket
ProxyPassMatch "/cool/(.*)/ws$" ws://127.0.0.1:9980/cool/$1/ws nocanon
# Admin Console websocket
ProxyPass /cool/adminws ws://127.0.0.1:9980/cool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass /cool/ http://127.0.0.1:9980/ retry=0
ProxyPassReverse /cool/ http://127.0.0.1:9980/
ProxyPass /lool http://127.0.0.1:9980/cool
ProxyPassReverse /lool http://127.0.0.1:9980/cool
RewriteEngine on
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:9980/$1 [P,L,UnsafeAllow3F]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://127.0.0.1:9980/$1 [P,L,UnsafeAllow3F]
main config area:
<server_name default=ââ desc=âExternal hostname:port of the server running coolwsd. If empty, itâs derived from the request (please set it if this doesnât work). May be specified when behind a reverse-proxy or when the hostname is not reachable directly.â type=âstringâ>(collabora domain):443</server_name>
backend storage:
<max_file_size desc=âMaximum document size in bytes to load. 0 for unlimited.â type=âuintâ>0</max_file_size>
900
<alias_groups desc=âdefault mode is âfirstâ it allows only the first host when groups are not defined. set mode to âgroupsâ and define group to allow multiple host and its aliasesâ mode=âgroupsâ>
(nextcloud domain)
(nextcloud domain)
</alias_groups>
<is_legacy_server default=âfalseâ desc=âSet to true for legacy server that need deprecated headers.â type=âboolâ>false</is_legacy_server>
Please let me know if there are other sections you need, I didnât find/replace the entire thing at once, so it may not be entirely consistant.
I did not notice any errors from nextcloud, but it was complaining that there is a new way to handle this,
From nextcloud.log:
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:âno app in contextâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âOC_App::registerLogIn() is deprecated, please register your alternative login option using the registerAlternativeLogin() on the RegistrationContext in your Application class implementing the OCP\Authentication\IAlternativeLogin interfaceâ,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:âuser_oidcâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âCould not find unique token validationâ,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:{âappâ:âuser_oidcâ}}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:âno app in contextâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âOCA\Richdocuments\Controller\WopiController::checkFileInfo uses the @PublicPage annotation and should use the #[OCP\AppFramework\Http\Attribute\PublicPage] attribute insteadâ,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:âno app in contextâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âOCA\Richdocuments\Controller\WopiController::checkFileInfo uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute insteadâ,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:âno app in contextâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âOCA\Richdocuments\Controller\WopiController::checkFileInfo uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute insteadâ,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:ârichdocumentsâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0â,âmessageâ:âLoaded WOPI Token record: {"id":815,"owner_uid":"Famous","editor_uid":"Famous","guest_displayname":null,"fileid":378553,"version":0,"canwrite":1,"server_host":"https://domain/\â,\âtoken\â:\âaccesstoken\â,\âexpiry\â:1735789382,\âtemplate_destination\â:null,\âhide_download\â:0,\âdirect\â:0,\âremote_server\â:\â\â,\âremote_server_token\â:\â\â,\âtemplate_id\â:0,\âshare\â:null,\âtoken_type\â:0}.â,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:{âappâ:ârichdocumentsâ}}
{âreqIdâ:âZ3V-0I_YMV6DFRkHBFzUOAAAAYkâ,âlevelâ:0,âtimeâ:â2025-01-01T17:43:45+00:00â,âremoteAddrâ:â127.0.0.1â,âuserâ:âââ,âappâ:ârichdocumentsâ,âmethodâ:âGETâ,âurlâ:â/index.php/apps/richdocuments/wopi/files/378553_oco78dqqgihn?access_token=accesstoken&access_token_ttl=0",âmessageâ:"Loaded WOPI Token record: {"id":815,"owner_uid":"Famous","editor_uid":"Famous","guest_displayname":null,"fileid":378553,"version":0,"canwrite":1,"server_host":"https://domain/\â,\âtoken\â:\âaccesstoken\â,\âexpiry\â:1735789382,\âtemplate_destination\â:null,\âhide_download\â:0,\âdirect\â:0,\âremote_server\â:\â\â,\âremote_server_token\â:\â\â,\âtemplate_id\â:0,\âshare\â:null,\âtoken_type\â:0}.â,âuserAgentâ:âCOOLWSD HTTP Agent 24.04.11.1â,âversionâ:â30.0.4.1â,âdataâ:{âappâ:ârichdocumentsâ}}