owncloud / owncloud/ocis

Issue Recovering Deleted Files in oCIS

Open
#6,399 1 comment 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

Recently, I inadvertently deleted a significant folder from my account. Following this action, I attempted to retrieve the files from the ownCloud recycle bin, but I am unable to see any of the deleted files, and the spinner wheel keeps rotating without showing any results.

![image](https://github.com/owncloud/ocis/assets/17660235/0ccc99bc-d83e-48dd-9dd8-1b825e0477e5)

Moreover, it appears there's an issue with the ownCloud API service. Upon inspecting the endpoint call in my browser, I noticed that the API isn't responding as expected. I've attached an image showcasing this issue.
![image](https://github.com/owncloud/ocis/assets/17660235/40b2e82f-db68-4310-9eab-ba33f8f12980)

To attempt locating the files, I used the grep command to search within the file system. I found some references to the directory where the files used to be, but I haven't been successful in locating the actual files I deleted. Here are the results:
```
./storage/users/uploads/18dd3792-f6fb-4447-926b-078940b9a70a.info:{"ID":"18dd3792-f6fb-4447-926b-078940b9a70a","Size":0,"SizeIsDeferred":false,"Offset":0,"MetaData":{"dir":"/RUIDOS/Videos","expires":"1683972606","filename":"cmd.txt","lockid":"","providerID":"fa2a4eaa-f281-475b-838c-cdabb0b6d4ef"},"IsPartial":false,"IsFinal":false,"PartialUploads":null,"Storage":{"BinPath":"/var/lib/ocis/storage/users/uploads/18dd3792-f6fb-4447-926b-078940b9a70a","Idp":"https://owncloud.dino.io","LogLevel":"warn","NodeId":"a320ff42-7c3e-490b-b362-c7574b251a17","NodeName":"cmd.txt","NodeParentId":"7b0d4bf9-7125-4b26-99d5-8ee55de2cfe9","SpaceOwnerOrManager":"887f3331-6e1a-48b7-be03-28a401897cb8","SpaceRoot":"887f3331-6e1a-48b7-be03-28a401897cb8","Type":"OCISStore","UserId":"887f3331-6e1a-48b7-be03-28a401897cb8","UserName":"agustin","UserType":"primary"}}
./storage/users/uploads/f0962b01-f941-4dfd-828d-0f9e77984b2e.info:{"ID":"f0962b01-f941-4dfd-828d-0f9e77984b2e","Size":0,"SizeIsDeferred":false,"Offset":0,"MetaData":{"dir":"/RUIDOS/Videos/2023-03-24","expires":"1683990530","filename":"output.mp4","lockid":"","providerID":"fa2a4eaa-f281-475b-838c-cdabb0b6d4ef"},"IsPartial":false,"IsFinal":false,"PartialUploads":null,"Storage":{"BinPath":"/var/lib/ocis/storage/users/uploads/f0962b01-f941-4dfd-828d-0f9e77984b2e","Idp":"https://owncloud.dino.io","LogLevel":"warn","NodeId":"d54bd6cc-3636-468f-b66b-15f5a258d302","NodeName":"output.mp4","NodeParentId":"a37f43d9-4060-4bb5-a03b-7f8e6d01aea6","SpaceOwnerOrManager":"887f3331-6e1a-48b7-be03-28a401897cb8","SpaceRoot":"887f3331-6e1a-48b7-be03-28a401897cb8","Type":"OCISStore","UserId":"887f3331-6e1a-48b7-be03-28a401897cb8","UserName":"agustin","UserType":"primary"}}
```

Given these challenges, I'm at a loss on how to proceed. I'm particularly interested in knowing if there's a way to manually access the deleted files. Any guidance or help regarding this issue would be greatly appreciated. Thank you for your time and assistance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.