android icon indicating copy to clipboard operation
android copied to clipboard

Auto upload uses mobile data

Open FireFury0 opened this issue 1 year ago • 3 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Auto upload is turned on, with "Only upload on unmetered Wi-Fi" ticked.
  2. Record a long video.

Expected behaviour

Video should upload once the phone logs back onto a wifi network. It should NOT use mobile data for the upload.

Actual behaviour

The video uploads (successfully) once the phone is on a wifi network. Some time later, while not connected to the wifi, the video appears to be re-uploaded over mobile data (I see a large number of PUT requests to /remote.php/dav/uploads/// but I don't appear to see a MOVE at the end of the upload, nor does the Nextcloud activity log show that anything has been uploaded, so presumably the upload does not succeed).

Turning off "background data" for the Nextcloud app in Android's settings appears to have worked around the issue.

Android version

12

Device brand and model

Fairphone 4

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.24.2

Nextcloud server version

25.0.3

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

Running the stock Android 12, but rooted.

FireFury0 avatar May 30 '23 09:05 FireFury0

Same here.

Android version

13

Device model

OnePlus 7 Pro (Guacamole)

Custom OS

LineageOS + MicroG

Nextcloud Android App version

3.25.0

Nextcloud server version

27.0.0

Using reverse proxy?

Yes: Traefik 2.10

MillironX avatar Jul 30 '23 03:07 MillironX

Related: #6851

joshtrichards avatar Dec 22 '23 22:12 joshtrichards

This is a MAJOR pita and needs to be addressed as soon as possible. The app not respecting "only upload on unmetered wifi" not only cost me frequently money (remote location with sattelite uplink), it also causes distress in a team environment, where my device sucks up all the available bandwith for uploads which should only occur on non-metered wifis.

kartoffelheinz avatar Apr 22 '24 09:04 kartoffelheinz