-
Notifications
You must be signed in to change notification settings - Fork 87
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 - nextcloud 21, group folders 9 #1349
Comments
I'm facing the same issue. Files of group folders cannot be restored (neither by the user who deleted the file, nor the admin of a group folder can restore deleted files). Any workaround? |
Do you use s3? It looks related to #1218 |
I'm not using any external storage, just local storage. |
local storage |
@icewind1991 Looks like this has been introduced by 8fcff71. Can you come up with a fix, please? |
fixes #1349 Signed-off-by: Robin Appelman <[email protected]>
fixes #1349 Signed-off-by: Robin Appelman <[email protected]>
I applied commit 06966fd and this is the new error when doing a multiple file restore [PHP] Error: Error: Undefined offset: 2 at /var/www/html/custom_apps/groupfolders/lib/Trash/TrashBackend.php#312 at <>
|
@caesarcxiv can you provide the output of the following sql query SELECT path FROM oc_filecache where fileid = 1811881; |
Output: |
#1381 should fix this I think |
#1381 did resolve the offset error - here is a new error when restoring in bulk
|
fixes #1349 Signed-off-by: Robin Appelman <[email protected]>
fixes #1349 Signed-off-by: Robin Appelman <[email protected]>
fixes #1349 Signed-off-by: Robin Appelman <[email protected]>
fixes nextcloud#1349 Signed-off-by: Robin Appelman <[email protected]>
fixes nextcloud#1349 Signed-off-by: Robin Appelman <[email protected]>
This fix hasn't been released, so seeing this issue closed might confuse people. Let's reopen until this has landed. |
Released with 9.0.1/8.2.1/7.1.2 |
[webdav] Fatal: Error: Call to undefined method OCA\GroupFolders\Trash\TrashBackend::userHasACLAccessToPath() at <>
OCA\GroupFolders\Trash\TrashBackend->restoreItem(OCA\GroupFolders\Trash\GroupTrashItem {})
OCA\Files_Trashbin\Trash\TrashManager->restoreItem(OCA\GroupFolders\Trash\GroupTrashItem {})
The text was updated successfully, but these errors were encountered: