ios icon indicating copy to clipboard operation
ios copied to clipboard

InstantUpload uploads removed pictures

Open Phyks opened this issue 2 years ago • 3 comments

Steps to reproduce

  1. Configure InstantUpload to automatically send pictures on WiFi network.
  2. Take a picture, Nextcloud app notices it and add a pending transfer.
  3. Remove the picture from the photo app, transfer is still pending and Nextcloud app will upload the picture when WiFi becomes available.

Expected behaviour

I expect Nextcloud app InstantUpload feature with WiFi-only to have a behavior of "batch upload" whenever a WiFi becomes available. Therefore, if I remove a picture on the device before transfer happends, I expect the pending transfer to be removed from the queue.

Actual behaviour

The photo is transferred even though it was deleted on device before transfer could occur.

Note that when a picture is deleted after transfer happens, it seems it is not removed from the Nextcloud server either.

Screenshots

Available upon request.

Logs

Available upon request.

Reasoning or why should it be changed/implemented?

Environment data

iOS 17.1.2

Nextcloud iOS app version: Nextcloud Liquid for iOS 4.9.2.20

Server operating system: Debian

Web server: nginx

Database: sqlite

PHP version: 7.4

Nextcloud version: 25.0.13

Thanks!

Phyks avatar Dec 09 '23 11:12 Phyks

Maybe this should be a configuration? Because my users expect all photos taken to be uploaded, regardless of what is cleaned up in the device photo roll afterwards.

ne20002 avatar Dec 10 '23 08:12 ne20002

:+1:

To elaborate on my use case: I'm using my Nextcloud for backing up my pictures as an iCloud alternative. Therefore, I would expect the photo roll on my device and the Nextcloud folder to be in sync.

Regarding both use cases, I could see a point in keeping deleted photos into my Nextcloud, but I would definitely need a way to tag "removed" photos on my iPhone within Nextcloud to be able to quickly sort them/remove them/filter them

Phyks avatar Dec 10 '23 17:12 Phyks

Yes, I read this a lot. We have two use cases to consider:

  1. Having all photos shot being uploaded to save them. Deleting photos on the device is possible to save space.
  2. Syncing everything the same way as iCloud photos. a) with copies of all photos on the device b) with access to the photos on the Nextcloud to save space on the device. Btw, I wouldn't go with 2a.

At the moment we have 1). 2) would be kind of album application which we currently not have.

ne20002 avatar Dec 11 '23 07:12 ne20002