[BUG] - Owncloud is using HUGE disk space on my phone
Actual behaviour
I'm using owncloud 3.0.4. I was having many picture and videos to upload to my own server. I have less than 100 to upload but the disk space on my phone is full. Owncloud is using 64Go of storage. When I'm checking the storage settings of the app, all those 64Go is use on the "data" side not the cache.
Expected behaviour
Owncloud should find a way to reduce this disk space on the phone
What shoud I do to clear the disk space? Uninstalling the app? Not sure what other information I should provide so feel free to ping me.
Environment data
Android version: 13
Device model: Samsung Galaxy S22
Stock or customized system:
ownCloud app version: 3.0.4
ownCloud server version: 10.3.1
Just try to remove the account from the app and add it again. It should remove leftovers in temporal folders.
About this, we need some extra workers to clean up periodically? @JuancaG05 @abelgardep
Settings similar to the iOS implementation would be nice
![]() |
![]() |
|---|---|
| One-time-action per account | Global setting / policy for all accounts |
@jesmrec If I do that, will the remaining file uploaded after?
@jesmrec If I do that, will the remaining file uploaded after?
if you remove an account, all the stuff related to such account will be removed. So, uploads are lost as well and have to be re-done after attaching the account.
@jesmrec any plan to support soon the cleaning feature on android just like mentioned by @michaelstingl on iOS?
not yet, needs prioritization
Clean up (proposal):
- Downloaded files that are not av. offline, not used longer than a specific time (iOS style). Check howto.
- Immediate removal of downloaded files, manually (in Manage accounts??)
- Clean up of
tmpfolder after a given time (open to discussion) - Clean up of failed uploads in uploads' view after a given time (open to discussion)
any other ideas?
We'll face this in 3 different steps:
- Add a new field associated to every file (not folder) in DB: last usage date. It will help to check how long was the file not used/opened. https://github.com/owncloud/android/issues/4173
- Manual process: will include a new option (in manage accounts' view) for every account in which user will remove all downloaded (not av. offline) and temporal files, and the failed uploads. Related: https://github.com/owncloud/android/issues/4148. https://github.com/owncloud/android/issues/4174
- Automatic process: new option to let users decide frequency of automatic removal of files https://github.com/owncloud/android/issues/4175

