InvalidArgumentException: SSL CA bundle not found: /var/www/html/nextcloud-data/files_external/rootcerts.crt

Hello,
I have a weird issue happening on my NextCloud 24.0.x
Nextcloud claims that it cannot access the internet and check the logs.
On the logs I have the following issue :InvalidArgumentException: SSL CA bundle not found: /var/www/html/nextcloud-data/files_external/rootcerts.crt
and
unable to rename, source directory is not writable : files_external

Of course the directory files_external is fully writable : I even renamed it and NextCloud recreated it and put some files

200 -rwxrwxrwx 1 1024 users 203007 Jun 6 07:45 rootcerts.crt.tmp2544034847
200 -rwxrwxrwx 1 1024 users 203007 Jun 6 07:45 rootcerts.crt.tmp2566373992
200 -rwxrwxrwx 1 1024 users 203007 Jun 6 07:45 rootcerts.crt.tmp8811486957
200 -rwxrwxrwx 1 1024 users 203007 Jun 6 07:45 rootcerts.crt.tmp9080705676

I cannot update apps.

Can you please help ?

Thanks,

Laurent.

1 Like