android icon indicating copy to clipboard operation
android copied to clipboard

get rid of the local cloud cache folder (or move it to SD)

Open netphantm opened this issue 1 year ago • 4 comments
trafficstars

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe. I once found out that nextcloud uses a local cache folder for the cloud files. I use nextcloud as a backup solution for the (usually large) media files on my phone, so to keep a local cache of the synched files is frustrating, cos it fills up my phone, doubling the space needed for the files in the cloud.

Describe the solution you'd like A possibility to move this cache folder to the SD (at least) would be nice, better yet, just get rid of it. The files are already in two places, locally and the cloud, so why cache them again?

Describe alternatives you've considered If there would be a way to use a deduplication FS on the phone, it wouldn't be such a big deal, but I don't suppose that is an option on android..

Additional context See also my other feature request to archive files (delete them locally) after some specified time. https://github.com/nextcloud/android/issues/12568

netphantm avatar Feb 16 '24 06:02 netphantm

Are you referring to the Nextcloud Android client?

joshtrichards avatar Feb 16 '24 12:02 joshtrichards

@joshtrichards I completely agree. The way the “on device” tab is implemented is terrible. It should show not only downloaded files (which were not available locally), but also all local files that were uploaded to nextcloud. And what is downloaded should not be sent to the cache folder, but to the real one, which the application can also track. This is just a necessary feature

dmiales avatar Feb 26 '24 00:02 dmiales

In fact, if during synchronization I did not select the option to move from dcim to the application cache folder, then I do not have the opportunity to clean the transferred files from the application itself (delete only locally). Because the application does not track files not located in the cache folder

dmiales avatar Feb 26 '24 00:02 dmiales

I use Poweramp and attached Nextcloud as storage. Nextcloud kept downloading and caching the files locally until it filled up my phone and rendered it useless! I could not even dial a number, imagine something like this happening during emergency situation...

It was not Poweramp's fault - files were downloaded by and to Nextcloud data folder. I was not syncing this folder, set it to be available locally etc. As Poweramp was scanning media files, Nextcloud was downloading them to my phone's storage

I use Nextcloud as cloud storage to not have to waste all of my local storage for media... Please implement cache size limit and/or cache disable switch. I self host and love Nextcloud but this is dealbreaking now :(

krzkraw avatar Apr 27 '24 20:04 krzkraw

I think I finally found the issue I'm having but I'm not sure. What I see is that Nextcloud keeps wasting a lot of space even if I remove the downloaded files by deleting them locally. I thought I could go deleting caches, but I see that they are actually pretty small and Nextcloud seems to keep files in a data folder inaccessible to me.

SamuXzX avatar Jul 05 '24 16:07 SamuXzX