Cannot restore deleted files saved on external storage #10547
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: external storage
feature: trashbin
feature: versions
When I delete file from external storage (local disk) I cannot restore it from trash because Nextcloud is trying to get this file from my primary storage (S3)...
Error in log, trying to restore file from primary S3 storage which is bad:
"....."php","message":"fopen(https://s3.[sensitive value].com/nextcloud/urn%3Aoid%3A2085870): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found\r\n at /var/www/nextcloud/lib/private/Files/Obj...."
Steps to reproduce
Expected behaviour
File restored
Actual behaviour
Error: "Cannot restore file"
Server configuration
NX 13.0.0
Operating system:
Debian
Web server:
Apache 2.4.5.
Database:
MariaDB
PHP version:
PHP 7
The text was updated successfully, but these errors were encountered: