Issue with sabre/certificate after server migration from physical to virtual server

Nextcloud version: 20.0.2
Operating system and version: Proxmox LXC PVE 5.4.65-1 / Ubuntu 20.04.1 LTS
Apache or nginx version: Apache/2.4.41 (Ubuntu)
PHP version: 7.4.3

The issue you are facing:

After migrating from a physical nextcloud installation to a virtualised one I face an issue with my installation. I moved from a Ubuntu 20.04 with Nextcloud 20.0.0 to the virtualised counterpart.

External storage not available: Sabre\HTTP\ClientException: SSL certificate problem: unable to get local issuer certificate

Error

OCP\Files\StorageNotAvailableException: Sabre\HTTP\ClientException: SSL certificate problem: unable to get local issuer certificate

  1. /var/www/nextcloud/lib/private/Files/Storage/DAV.php - line 292:OC\Files\Storage\DAV->convertException()
  2. /var/www/nextcloud/lib/private/Files/Storage/DAV.php - line 588:OC\Files\Storage\DAV->propfind()
  3. /var/www/nextcloud/lib/private/Files/Storage/Common.php - line 458:OC\Files\Storage\DAV->stat()
  4. /var/www/nextcloud/apps/files_sharing/lib/External/Storage.php - line 191:OC\Files\Storage\Common->test()
  5. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 473:OCA\Files_Sharing\External\Storage->test()
  6. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php - line 70:OC\Files\Storage\Wrapper\Wrapper->test()
  7. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php - line 84:OC\Files\Storage\Wrapper\Availability->updateAvailability("*** sensiti … *")
  8. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php - line 93:OC\Files\Storage\Wrapper\Availability->isAvailable()
  9. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php - line 442:OC\Files\Storage\Wrapper\Availability->checkAvailability()
  10. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 583:OC\Files\Storage\Wrapper\Availability->getMetaData()
  11. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 583:OC\Files\Storage\Wrapper\Wrapper->getMetaData()
  12. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 583:OC\Files\Storage\Wrapper\Wrapper->getMetaData()
  13. /var/www/nextcloud/lib/private/Files/Cache/Scanner.php - line 114:OC\Files\Storage\Wrapper\Wrapper->getMetaData()
  14. /var/www/nextcloud/lib/private/Files/Cache/Scanner.php - line 152:OC\Files\Cache\Scanner->getData()
  15. /var/www/nextcloud/apps/files_sharing/lib/External/Scanner.php - line 63:OC\Files\Cache\Scanner->scanFile()
  16. /var/www/nextcloud/lib/private/Files/View.php - line 1489:OCA\Files_Sharing\External\Scanner->scanFile()
  17. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 264:OC\Files\View->getDirectoryContent()
  18. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/TagsPlugin.php - line 226:OCA\DAV\Connector\Sabre\Directory->getChildren()
  19. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:OCA\DAV\Connector\Sabre\TagsPlugin->handleGetProperties()
  20. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1063:Sabre\DAV\Server->emit()
  21. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 989:Sabre\DAV\Server->getPropertiesByNode()
  22. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1678:Sabre\DAV\Server->getPropertiesIteratorForPath()
  23. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1661:Sabre\DAV\Server->writeMultiStatus()
  24. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 363:Sabre\DAV\Server->generateMultiStatus()
  25. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:Sabre\DAV\CorePlugin->httpPropFind()
  26. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:Sabre\DAV\Server->emit()
  27. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:Sabre\DAV\Server->invokeMethod()
  28. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:Sabre\DAV\Server->start()
  29. /var/www/nextcloud/apps/dav/lib/Server.php - line 332:Sabre\DAV\Server->exec()
  30. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:OCA\DAV\Server->exec()
  31. /var/www/nextcloud/remote.php - line 167:require_once("/var/www/ne … p")

I don’t use any external storage therefore I don’t understand the error and all solutions I found on the net weren’t applicable.

Is this the first time you’ve seen this error?: Y

There is no additional log information available for this issue.