Hello,
Iâm struggling to repair Nextcloud Office functionality. I had it working some months ago, but after a time I discovered it would no longer open or edit files.
I host a Collabora Online server instance using docker on the same system as the nextcloud server, and after considerable effort re-building it now indicates that itâs reachable (green check) on the Administration Office page.
I can open https/.xxx/hosting/capabilities and find:
{âconvert-toâ:{âavailableâ:true,âendpointâ:â/cool/convert-toâ},âhasMobileSupportâ:true,âhasProxyPrefixâ:false,âhasTemplateSaveAsâ:false,âhasTemplateSourceâ:true,âhasZoteroSupportâ:true,âproductNameâ:âCollabora Online Development Editionâ,âproductVersionâ:â23.05.3.1â,âproductVersionHashâ:âa719c0fâ,âserverIdâ:â03f9d6e6â}
And I can open https:///hosting/discovery and find:
<action default=âtrueâ ext=âsxwâ name=âviewâ urlsrc="https://⌠etcâŚ
Iâm unable to open the collabora admin web login page.
The Administrator Logging shows:
Error richdocuments GuzzleHttp\Exception\ServerException: Server error: GET https://<collabora instance>/hosting/capabilities
resulted in a 500 Proxy Error
response: 500 Proxy Error
Proxy E (truncatedâŚ)
The docker instance of collabora online was launched with this command:
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=subdomain1\.domain\.xxx|subdomain2\.domain\.xxx' -e âextra_params=âo:ssl.enable=false --o:ssl.termination=trueâ -e âdictionaries=enâ -e âusername=xxxxâ -e âpassword=xxxxâ --restart always --cap-add MKNOD collabora/code
This yields:
netstat -putan | grep docker
tcp 0 0 127.0.0.1:9980 0.0.0.0:* LISTEN 613528/docker-proxy
Both the Nextcloud and richdocuments builds are current.
Iâm using this reverse proxy set up in apache2: (to be able post this, Iâve had to mangle all the links by removing â:/â . Donât try to use this configuration as is!)
Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
keep the host
ProxyPreserveHost On
static html, js, images, etc. served from coolwsd
browser 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$â wss/127.0.0.1:9980/cool/$1/ws nocanon
Admin Console websocket
ProxyPass /cool/adminws wss/127.0.0.1:9980/cool/adminws
Download as, Fullscreen presentation and Image upload operations
ProxyPass /cool http/127.0.0.1:9980/cool
ProxyPassReverse /cool http/127.0.0.1:9980/cool
Iâm a bit confounded by notes Iâve come across about coolwsd . I did not install or run that prior to my first working docker build with collobora online and nextcloud office. Iâve read posts saying that it can be helpful, or even needful, to run coolwsd alongside colobora-online server, but it doesnât make sense to me. Out of frustration thoâ Iâve installed coolwsd and tried running it and tweaking its configurations to see if that would help. No luck with that. I havenât found any clear or helpful notes on how exactly to use coolwsd, and itâs configuration file is a nightmare to parse.
The only remaining clue here I havenât followed up on concerns the â500 PROXY ERRORâ , but I havenât had luck finding help, or making sense of that.
Any pointers or suggestions would be deeply appreciated. Iâm really stuck here!