Encryption not ready: Default encryption module not loaded

Nextcloud version (eg, 20.0.5): Nextcloud 25.0.2
Operating system and version (eg, Ubuntu 20.04): Manjaro Linux x86_64
Apache or nginx version (eg, Apache 2.4.25): nginx/1.22.1
PHP version (eg, 7.4): 8.1.13

I have created a number of mind map files which are .km files - they are not opening and when I am trying to download I am getting an error.

In Administration - >Logging I see this at the latest time stamp

[webdav] Error: Sabre\DAV\Exception\ServiceUnavailable: Encryption not ready: Default encryption module not loaded at <>

  1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 492
    OCA\DAV\Connector\Sabre\File->convertToSabreException()
  2. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 85
    OCA\DAV\Connector\Sabre\File->get()
  3. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpGet()
  4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
  5. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  7. /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php line 85
    Sabre\DAV\Server->exec()
  8. /var/www/nextcloud/remote.php line 171
    require_once(“/var/www/nextcl … p”)

GET /remote.php/webdav/Me%20Myself%20%26%20Irene.km?downloadStartSecret=6g7ayk6k99s
from 127.0.0.1 by cerulean at 2022-12-24T14:51:59+00:00

I tried creating a new file and then again the creation of new file failed - error given below -

[webdav] Error: Sabre\DAV\Exception\ServiceUnavailable: Encryption not ready: multikeyencryption failed error:0480006C:PEM routines::no start line at <>

  1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 318
    OCA\DAV\Connector\Sabre\File->convertToSabreException()
  2. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 151
    OCA\DAV\Connector\Sabre\File->put()
  3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1098
    OCA\DAV\Connector\Sabre\Directory->createFile()
  4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 504
    Sabre\DAV\Server->createFile()
  5. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPut()
  6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
  7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  8. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  9. /var/www/nextcloud/apps/dav/lib/Server.php line 360
    Sabre\DAV\Server->exec()
  10. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  11. /var/www/nextcloud/remote.php line 171
    require_once(“/var/www/nextcl … p”)

PUT /remote.php/dav/files/cerulean/Readme.md
from 127.0.0.1 by cerulean at 2022-12-24T15:01:36+00:00