nextcloud / android

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

Consecutive taken photos auto upload missing #13792

Open sideshowbob84 opened 1 month ago

sideshowbob84 commented 1 month ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. Set an auto upload folder
  2. Set direct upload (uncheck WLAN only and charging only)
  3. take many photos directly after another (i noticed the problem with my lat holiday pictures (many pictures are missing and reproduced with 7 taken pictures at home in my wlan)
  4. shut off screen and put smartphone in your pocket.

Expected behaviour

all photos are uploaded

Actual behaviour

some photos are missing. It seems random to me. sometimes it happens sometimes not. The number of photos not uploades seems related to internet quality available. 5G bad area many missing / wlan at home it happens not every time but it is still possible to reproduce

Android version

14

Device brand and model

Pixel 6a

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.30.0

Nextcloud server version

29.0.6

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

i checked the log there were 0 errors

Additional information

i use the normal (not beta/dev version) from f-droid. so no logs available. i use grapheneos (so not stock rom)

joshtrichards commented 1 month ago

What does the status of the transfers show under the Uploads tab?

And is this new behavior that started after an app update?

sideshowbob84 commented 1 month ago

sorry that i forgot to mention this part. The photos are not recognized by the app at all. So they are not shown under the "Uploads" tab. It looks like the problem was introduced with with the last release. I checked back till August. My nextcloud android app was updatet at the 19.9.2024.

Wezea commented 1 month ago

I can confirm this issue.

If I open the Nextcloud app, syncing is sometimes triggered, though.

The target folder on my cloud is an external storage.

Update: I updates to 3.30.1 and now the upload is completely broken. Even when I access the app it does not recognise new files.

sideshowbob84 commented 1 month ago

my target folder is a "normal" folder.

aptmon commented 2 weeks ago

I'm having the same issue. It's relatively recent behaviour (since September sometime), I'm not sure what version it started in exactly but it's persisting in 3.30.3. One extra piece of info in my case is that recent missed uploads do appear on the Settings -> Auto upload screen, as part of the preview of folder contents, but they indeed do not appear at all in the Uploads screen. Enabling and disabling auto upload for that folder also does not cause an upload. I also find that the issue is correlated with bad reception, and "failed upload" messages, so my uneducated guess is (some?) failed uploads are being dropped instead of re-enqueued. This is on Galaxy S22, One UI 6.1/Android 14 (stock ROM).

Wezea commented 2 weeks ago

After a fresh install of 3.30.3, it works for me again. I have the feeling syncing works not as snappy as before v3.30.X though.