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

[BUG] - Owncloud is using HUGE disk space on my phone #4002

Open
Lord-Y opened this issue Apr 3, 2023 · 8 comments
Open

[BUG] - Owncloud is using HUGE disk space on my phone #4002

Lord-Y opened this issue Apr 3, 2023 · 8 comments

Comments

@Lord-Y
Copy link

Lord-Y commented Apr 3, 2023

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

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 4, 2023

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

@michaelstingl
Copy link
Contributor

Settings similar to the iOS implementation would be nice

1F040DF9-81DA-42E5-9B3F-0E5E3090B214 CADE3B7F-B88B-4153-B9AF-55D1AAFF2A3C
One-time-action per account Global setting / policy for all accounts

@Lord-Y
Copy link
Author

Lord-Y commented Apr 6, 2023

@jesmrec If I do that, will the remaining file uploaded after?

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 10, 2023

@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.

@michaelstingl michaelstingl added this to the backlog milestone Apr 13, 2023
@Lord-Y
Copy link
Author

Lord-Y commented Aug 5, 2023

@jesmrec any plan to support soon the cleaning feature on android just like mentioned by @michaelstingl on iOS?

@jesmrec
Copy link
Collaborator

jesmrec commented Aug 7, 2023

not yet, needs prioritization

@michaelstingl michaelstingl modified the milestones: backlog, 4.2 - Future Aug 21, 2023
@jesmrec
Copy link
Collaborator

jesmrec commented Sep 25, 2023

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 tmp folder 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?

@jesmrec jesmrec closed this as completed Sep 25, 2023
@jesmrec jesmrec reopened this Sep 25, 2023
@jesmrec
Copy link
Collaborator

jesmrec commented Oct 2, 2023

We'll face this in 3 different steps:

  1. 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. [FEATURE REQUEST] New field "last usage" #4173
  2. 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: [FEATURE REQUEST] Improvements in "Manage accounts" view #4148. [FEATURE REQUEST] Manual removal of local storage #4174
  3. Automatic process: new option to let users decide frequency of automatic removal of files [FEATURE REQUEST] Automatic removal of downloaded files and local storage clean up #4175

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

No branches or pull requests

3 participants