I’ve entered DNS CNAME records for collabora and nextcloud-office.
I’ve updated my Letsencrypt certificate to include collabora.rennco.cloud and nextcloud-office.rennco.cloud.
I’ve opened TCP/UDP port 9980 in the shorewall firewall configuration.
I’ve restarted all associated services. I’ve even restarted my server.
I have not been able to access the admin page in any browser. I get ‘requested url not found’.
Additionally, when I try to save https://collabora.rennco.cloud:9980 in the ‘Use your own server’ field in the Nextcloud Office configuration (logged in as the Nextcloud admin in a browser), it spits back ‘could not establish connection to the Collabora online server.
I’m at a loss at this point. Any suggestions on where to go from here? Thanks.
Did you update Collabora? Which version do you use?
rpm -q coolwsd
Why? This usually isn’t necessary and may break it. Please remove the changes. The Collabora admin console should work out of the box.
Collabora uses a reverse proxy to 127.0.0.1:9980 in /etc/httpd/conf.d/zz_collabora.conf so the admin console is reachable at https://collabora.yourdomain.com/browser/dist/admin/admin.html
No port needs to be opened for Collabora.
That shoudn’t be needed, it’s already preconfigured.
I changed the config file back to 127.0.0.1. /etc/httpd/conf/coolwsd.conf below:
# Apache2 reverse proxy configuration for Collabora Online
# Internet <-- SSL --> Reverse Proxy <-- No SSL --> coolwsd
# Make sure that you enable the following Apache2 modules: proxy, proxy_wstunnel, and proxy_http.
# Create a virtual host for Collabora Online and include this configuration file.
# Encoded slashes need to be allowed
# keep the host
# 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
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/cool
ProxyPassReverse /cool http://127.0.0.1:9980/cool
# Compatibility with integrations that use the /lool/convert-to endpoint
ProxyPass /lool http://127.0.0.1:9980/cool
ProxyPassReverse /lool http://127.0.0.1:9980/cool
I've already done `signal-event nethserver-collabora-update`.
Version = coolwsd-220.127.116.11-1.el7.x86_64
Thank you for the help, Markus. I didn’t create the coolwsd.conf file.It was put there when I installed collabora. I’ve renamed it to conf2 so it’s out of the picture. The zz_collabora.conf file is present also. I did all the steps you told me to and still nothing. However, now when I try to access the admin page in a browser, I get server not found rather than url not found. I can ping collabora.rennco.cloud successfully. Here’s what config show coolwsd shows now:
UPDATE: I rebooted my nethserver and now I can access the coolwsd admin site. However, when I try to open a Word doc in Nextcloud, I get ‘Document loading failed. Failed to load Nextcloud Office. Please try again later.’
UPDATE: Followed your input on this post and did the richdocuments update, then signal-event nethserver-collabora-update and now I can open Office documents! Excellent! Thanks for all of your input, Markus!