nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.2k stars 1.75k forks source link

"Motion Photos" create entries for missing files in autoupload list #3262

Open augustseptember opened 5 years ago

augustseptember commented 5 years ago

Actual behaviour

The Harry Potter-esque Motion Photos (Android naming - iOS calls it Live Photos) are uploaded as they should, but it seems as if there are temporary jpeg files which are tried to be autouploaded but then could not be found. This creates a lot of entries in the "uploads" sections of the app with the following content: "IMG_20181028_161552_095.jpg - Lokale Datei nicht gefunden" The file name of the correctly uploaded motion picture is silghtly different: MVIMG_2018... There is no file in the local photo directory without the MV in front of the filename.

Expected behaviour

Just ignore the temporary created jpg files.

Steps to reproduce

Settings:

Environment data

Android version: 8.1 (Android One)

Device model: BQ Aquaris X2

Stock or customized system: Stock

Nextcloud app version: 3.3.2

Nextcloud server version: 14.0.3

nextcloud-android-bot commented 5 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/804 (AutoUpload misses many files), https://github.com/nextcloud/android/issues/2379 (AutoUpload creates unwanted copies of files ), https://github.com/nextcloud/android/issues/399 (autoupload truncates files), https://github.com/nextcloud/android/issues/521 (AutoUpload Photo name pattern), and https://github.com/nextcloud/android/issues/1175 (Autoupload does not create directories).

AndyScherzinger commented 5 years ago

@mario @tobiasKaminsky @ardevd what do you think? I'd say if the files don't exist anymore and thus can't be uploaded we should simply remove the list entries after a while (can't say if we can measure the time, like 3 days or something...). If we can't measure the time then I'd say we should simply remove them or have a menu entry for it (if it isn't already covered by the existing menu entris visible when expert mode ist activated).

@augustseptember can you try to activate the expert mode in the settings, this should give you a menu on the upload screen which should help with getting rid of these entries even though it is a manual step (for the time being).

augustseptember commented 5 years ago

Activating the expert mode helped me for now. Thanks

AndyScherzinger commented 5 years ago

Happy I could help you @augustseptember

Nevertheless we should have an automated housekeeping implementation in place :)