Navigation Menu

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

Shows wrong cache usage (Settings/Advanced/Clear Cache) #398

Closed
doomi opened this issue Oct 20, 2017 · 16 comments
Closed

Shows wrong cache usage (Settings/Advanced/Clear Cache) #398

doomi opened this issue Oct 20, 2017 · 16 comments
Labels
Milestone

Comments

@doomi
Copy link

doomi commented Oct 20, 2017

It shows a wrong cache usage in
Settings/Advanced/Clear Cache:

used 279.01 GB

I have an 128GB iPhone 6s.
Nextcloud app is using 62MB as of iOS settings/Storage usage.

img_8831

@rakekniven
Copy link
Member

@doomi Which app version are you using?

@doomi
Copy link
Author

doomi commented Nov 21, 2017

I always use the current version. already updated once or twice since filing the report.
right now it's Nextcloud for iOS 2.18.2.00001

currently the cache usage shows 279.94GB :)

@rakekniven rakekniven added the bug label Nov 21, 2017
@paulstewartis
Copy link

I have the same problem, although not as dramatic. iOS says the app is using ~400MB and the app says it is using ~3GB. Clearing the cache does not help. I even logged out of my accounts and deleted the app.

@doomi
Copy link
Author

doomi commented Jan 10, 2018

It’s getting worse, iOS is also showing the wrong size.
ebd66c30-11eb-46e2-9a77-befc9f89c5ea

@doomi
Copy link
Author

doomi commented Jan 10, 2018

There seems to be two issues: cache size and iOS storage usage. I finally could clear the cache and for now it looks ok (10MB). I will report on that in the future.

I think I found the cause of the second issue. I configured Google drive as external storage and there‘s about 270GB used. my Nextcloud usage is about 30GB. So together it‘s those 300GB iOS is reporting.

@doomi
Copy link
Author

doomi commented Feb 2, 2018

I disabled the external storage plugin on the server and reinstalled nextcloud on my iPhone, now it‘s showing the correct usage again!
I had to delete and reinstall the iPhone app. clearing cache and iPhone reboot didnot work.

Btw: my iPhone backup in iTunes was also 300gb in size! I will see if it‘s smaller now...

@doomi
Copy link
Author

doomi commented Feb 2, 2018

for a year now I didn't find out why my iPhone backup with iTunes was about 300GB in size, but I only have an iPhone with 128GB! it took about 2 days to complete each time!
now that I disabled external storage it not only shows the correct size in the iPhone settings, but the backup is now the correct size too!

so the iPhone backup downloads and includes the external storage!!!
guys, this is a big issue, not only a wrong usage display problem!

@rakekniven
Copy link
Member

@doomi Please open seperate issue regarding your last post.

@doomi
Copy link
Author

doomi commented Feb 2, 2018

@rakekniven ok, I will open a new issue. But I‘m pretty sure if this bug is fixed (by excluding external storage) it will also fix the backup issue.

@rakekniven
Copy link
Member

@doomi Thanks for filing new issue. So we close this?

@doomi
Copy link
Author

doomi commented Feb 2, 2018

@rakekniven No!! (Why?!)

@rakekniven
Copy link
Member

You are right, misread one of your comments.

@doomi
Copy link
Author

doomi commented Aug 22, 2018

this bug is still annoying me! I got again the error in iTunes while backing up the iPhone: "itunes could not back up the iphone because not enough free space is available on this computer"
there was 200GB free space on my Macbook and the iPhone is only 128GB.
the Nextcloud app showed 1TB cache size, which is clearly impossible.
after deleting the cache in the app, the iTunes backup works again!
so it also propagates the wrong cache size to iTunes.

and why does Nextcloud not use the proper cache folders on iOS? if it would use the correct folders, then iTunes would not try to backup the cache. and iOS could automatically purge the cache folder by itself, too.

@marinofaggiana
Copy link
Member

I Remove it, the calculate is too imprecise

@marinofaggiana marinofaggiana added this to the v2.22.2 milestone Aug 25, 2018
@rakekniven
Copy link
Member

Just for the records:
a977687

@doomi
Copy link
Author

doomi commented Mar 2, 2019

Removing the display of the size does not resolve the problem of using the wrong cache directories.
Is there a reason to not use the official cache directory defined by Apple standards? Then iOS could automatically delete the cache if the device gets full and iTunes would not backup the cache, neither.

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

No branches or pull requests

4 participants