Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot restore deleted files saved on external storage #10547

Closed
tomtomas99911 opened this issue Aug 6, 2018 · 3 comments
Closed

Cannot restore deleted files saved on external storage #10547

tomtomas99911 opened this issue Aug 6, 2018 · 3 comments
Labels

Comments

@tomtomas99911
Copy link

tomtomas99911 commented Aug 6, 2018

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

  1. Create file on defined external storage (local disk)
  2. Delete file
  3. Ty to restore file

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

@nextcloud-bot nextcloud-bot added bug feature: external storage feature: trashbin feature: versions stale Ticket or PR with no recent activity and removed stale Ticket or PR with no recent activity labels Aug 6, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #9699 (Can't set external storage), #6347 (Cannot enable External storage support), #6598 (Can't share files on CIFS external storage), #6106 (Unable to delete 6GB file from external SWIFT object storage), and #1354 (Failed to restore deleted folder Snafu, because of insufficient storage?).

@tomtomas99911
Copy link
Author

The same problem on Nextcloud 14.

@skjnldsv
Copy link
Member

As the version of the software you've reported this for has reached end of life, I will close this ticket. If this is still happening after an upgrade to the latest version, feel free to reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants