when directories found once by Auto Upload disappear, they are not removed from the list of available media directories _and_ they show "phantom" content from other directories.
Non-existing directories should disappear from the list.
Android version: 8.1 (LineageOS)
Device model: bq Aquaris Pro X
Stock or customized system: LineageOS
Nextcloud app version: 3.4.2 (FDroid)
Nextcloud server version: 15.0.0
n/a
n/a (I think, let me know if you need it)
GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/1175 (Autoupload does not create directories), https://github.com/nextcloud/android/issues/2249 (Auto Upload does not work.), https://github.com/nextcloud/android/issues/1832 (Auto Upload does not work), https://github.com/nextcloud/android/issues/2979 (Auto Upload does not work), and https://github.com/nextcloud/android/issues/2834 (Auto upload doesn't work).
@tobiasKaminsky this is due to the fact that the media scan notification implementation creates a auto upload db entry and the auto upload screen doesn't check and delete entries where the local folder doesn't exist anymore. Imho the notification list and auto upload should be separated.
Hm. I had folder "123" in autoupload, removed it and restarted the device, now I do not see "123" folder anymore.
@tobiasKaminsky did you ever see a notification for "123" ?
No notification as it was like the folder already exists before installing the app
ah, that is the wrong test case.
It should now show the folder (since wew have a DB entry) while the folder doesn't exist on the filesystem anymore...
So this seems only to happen if you delete the folder without Android is knowing it (if no MediaScanner is triggered).
After force-refreshing MediaScanner or restart the device, the folder is not shown anymore.
But I'll create a PR to fix this on our site.