Android version:
7.1.2
Device model:
Xiaomi Mi Max
Stock or customized system:
LineageOS 14.1
Nextcloud app version:
3.3.2
Nextcloud server version:
14.0.3
Insert your webserver log here
Insert your Nextcloud log here
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/588 (Nextcloud RC app: thumbnails disappear ), https://github.com/nextcloud/android/issues/518 (Enhance thumbnails), https://github.com/nextcloud/android/issues/520 (Can't cleaning app/cache), https://github.com/nextcloud/android/issues/596 (Cache size), and https://github.com/nextcloud/android/issues/1582 (Disappearing menu items in autoupload list).
We have a LRU cache, which means that the least recently used image will get removed, if
Cache size is currently 200Mb.
You can have a look into app settings to see the cache size.
But if it is really happening after a specific time, maybe Xiaomi is doing some auto-cleanup?
Oh, it means cache will be removed if no cache space left (200MB) and if there's a new image, cache must be generated but not for all folder? Correct me if I am wrong.
Currently my cache size is 33.29 MB.. and I am still have a lots of picture to see/regenerate cache. I'll let you know later..maybe the cache will reach 200MB
I dont think Xiaomi doing auto-cleanup because I am using custom rom, LineageOS 14.1 but I'll see all the possibilities..
The max size for cache I got is about 80MB, but today the size of the cache is 60KB. I don't know what happen. Free internal space about 600MB. I dont know how to reproduce the problem. I'll try again to cache only 1 or 2 folder with less images and see what happen next.
Before I check the cache size from application settings, I check the size thru file explorer first and the size is bigger but then I check thru application settings, the cache size is 60KB, I open nextcloud client and there's thumbnail.. check the cache size from file manager, the size became small..
Seems to me that any app is cleaning the cache.
We do not have something like that in our app…
I think this problem related to rom and available space (storage).
Auto clear all cache when the storage almost full (maybe).
Now my free space is 1GB, since then, no problem with my nextcloud thumbnails cache (87MB). I'll see what happen after a few days and I will make more free space of my storage.
Glad to hear that it is not a bug in NC ;-r
If you experience it again, please re-open.