Describe the bug
Files can not be opened anymore error in log file “Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.”
But error also appear if Im logged in as file owner so it it not the shared folder
It seem that the files can not be decrypted anymore.
Some kind of problem was already describe when poeple upgrade to 27 and should be fix with 27.1.1 but we are on 27.1.6
Can I acces the server with ssh and try to decrypt the files ?
Can someone describe me how to do this
Client details:
OS: Manjaro Linux
Browser Chrome, Firefox
Operating system:
Manjaro
[webdav] Error: OC\Encryption\Exceptions\DecryptionFailedException: Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you. at <>
/var/www/html/nextcloud/lib/private/Files/Stream/Encryption.php line 517
OCA\Encryption\Crypto\Encryption->decrypt(“*** sensitive parameters replaced ***”)
/var/www/html/nextcloud/lib/private/Files/Stream/Encryption.php line 316
OC\Files\Stream\Encryption->readCache()
<>
OC\Files\Stream\Encryption->stream_read()
/var/www/html/nextcloud/3rdparty/icewind/streams/src/Wrapper.php line 55
fread()
/var/www/html/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php line 96
Icewind\Streams\Wrapper->stream_read()
<>
Icewind\Streams\CallbackWrapper->stream_read()
/var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php line 110
stream_copy_to_stream()
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 490
Sabre\HTTP\Sapi::sendResponse()
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
/var/www/html/nextcloud/apps/dav/lib/Server.php line 365
Sabre\DAV\Server->exec()
/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
/var/www/html/nextcloud/remote.php line 172
require_once(“/var/www/html/n … p”)
GET /remote.php/dav/files/xxxxx/STORAGE/xxxxx.pdf
from xxxxx by xxxx at 2024-02-21T16:22:49+01:00
What I found very strange is that last week all was ok. There was no update on the system. Some files are OK and can be open or dowloaded in the same folder as other files that can not be open or downloaded. What could generate this error, that only some files can not be decrypted. If I put a new file online now, this one will work properly. And other users on the server