Since this morning, I can not edit files with Collabora anymore. Error message: âFailed to load Collabora Onlineâ.
My nextcloud version : 18.0.4
Collabora version: 4.2
Collabora app version: 3.5.3 (latest version not working at all - can not establish connection with the collabora online server).
OS: Debian 9
Admin console is running and /hosting/discovery too.
When trying to edit a file (word one for example), I got the loading icon then the error âFailed to load collabora onlineâ.
I check on server log but can not find anything.
{âExceptionâ:âGuzzleHttp\Exception\RequestExceptionâ,âMessageâ:"cURL error 60: SSL certificate problem: certificate has expired
Strange to me as the certificat is not expired. Temporarily I disable the certificate verification in the collabora admin page and it works. I am able to edit the files.
The last point is to find out why it does say the certificate is expired (itâs the same used on GUI).
I use the same certificates for both internal and external contexts.
I indicated the same certificates In /etc/loolwsd.xml in sections ssl and storage.ssl as in apache config.
Disabling the certificate validation makes it work but itâs not really secure.
Do you get this âcertificate expiredâ message in the webbrowser ? If yes, you could have a deeper look in the certificate used by the browser and see the âvalid from/toâ dates the browser can see in the certificate. May be the inormation can help to find the reason for the error.
I get this error when trying to open a document in the web interface. The error is not visible on the web interface but instead in /data/nextcloud.log.
The used certificate is valid until 2021.
For those who want to TL;DR sudo -u www-data php occ security:certificates:import data/files_external/myCA.crt
or in case you wanna add in in a more visible place just append it to this file sudo nano resources/config/ca-bundle.crt
it seems like nextcloud doesnât come with the Letâs encrypt authority that issued my certificate and that was the root of the issue, Iâm unaware of why some software just wonât pick up Letâs Encrypt CA sometimes not just nextcloud and Iâm not sure if it is present on my system.
in two ways actually, you can run occ security:certificates:import yourCA.crt (in my case letâs encrypt authority)
keep in mind you have to run it as the owner of the files in question (since weâre talking about nextcloud thatâs obviously the web server which in my case is www-data)
in my case the whole command would be (with the prompt in the nextcloud directory) sudo -u www-data php occ security:certificates:import data/files_external/myCA.crt
Hi, lâm having the same issue and Iâm also not getting any errors in the logfile.
Hereâs my setup:
Debian Buster (10)
mysql 8.0.21 for Debian 10 I got directly from MySQLâs website
php 7.3.19-1~deb10u1
Apache/2.4.38 (Debian)
SSL certificates from Letâs Encrypt.
URLs get redirected permanently to HTTPS.
Nextcloud 19
Collabora online CODE (got from the appstore installed manually (just copied the folder and made sure permissions and ownership were correct) and then enabled via web,) v 4.2.602
Collabora online App 3.7.4