Android: AutoUpload not working, battery optimization bug

Created on 11 Nov 2019  路  24Comments  路  Source: nextcloud/android

Actual behaviour

  • When I want to enable auto upload feature is displayed info to disable battery optimization for NextCloud app, but this function is disabled, and sync not working.

Expected behaviour

  • Auto upload should works.

Environment data

Android version:
Android 9
Device model:
Xiaomi Mi A2 Lite
Stock or customized system:
Lineage OS 16
Nextcloud app version:
3.9.0 & dev 20191102
Nextcloud server version:
16.0.3

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here
bug AutoUpload

Most helpful comment

Ok, figured out that autoupload is working for me when i turn "disable power save check". Worked in both version F-droid and playstore.

All 24 comments

I have the same issue

I get the same issue on a Oneplus 3T running Android 9

Same issue with samsung s9 +

Same issue on my Xiaomi Mi A1 on Android Version 9

Edit: to provide a bit more details, my existing auto-upload folder (camera) still works fine. When I tried adding a new folder to auto-upload it fails as OP described.

My device is affected too (Xiaomi Mi 9 SE and Android 10/Q)

Same issue Xiaomi redmi 5

same. Battery optimization warning. not syncing
Device : Galaxy Fold

Same issue with S10, everything up to date. Battery optimization is off for app.

Same issue on my HUAWEI P9+

Same problem. Wants me to exclude nextcloud from battery optimization to auto upload. There is no way to do that on Android 5.0.1

Same issue on HUAWEI P20, Android 9, EMUI 9.1.0 (latest)
Android Nexcloud 3.9.2

have you looked here?
https://dontkillmyapp.com/

Same issue with Samsung Galaxy S10+
Android 10
Nextcloud Android app 3.9.2

Every time I try to set-up sync for a folder I see "Battery Optimization" window with "Close" and "Disable" buttons. I tried pushing each, nothing changes, sync does not work.

No AutoUpload with

  • Nextcloud client 3.9.2
  • Lineage 16.0 2020-01-05
  • No power saver, app battery not optimized
  • Sony XA2

Same issue here. Mi A1 android 9 everything up to date. Auto sync does not start. Battery optimisation is off for the app.

Same here, battery optimization disabled:

Huawei P20 Pro
Nextcloud Dev Version 20200125
EMUI 9.0.0
Android 9

Same issue.

Xioami Mi A1 - Android 9

Nextcloud Client Android - 3.10.1

Nextcloud Server - 17.0.2

Then of 2 days searching the way to have a funtionallity AutoUpload, I finded one way.

  1. First, test configure a folder like camara. Then you take a picture. If it create a folder new and upload the image, you app is ok. The app only will upload the new files. You will have upload manually the old files.

  2. If step 1 dont working. Download the last app Nextcloud Dev. https://f-droid.org/en/packages/com.nextcloud.android.beta/ Install the app and test again de step 1.

Please tell me if this steps works for you.

tried the dev app last week. same issue.

Ok, figured out that autoupload is working for me when i turn "disable power save check". Worked in both version F-droid and playstore.

Thanks for replying, @exili0n -> closing

AutoUpload doesn't work for me

  • Android version: Android 9
  • Device model: Xiaomi Redmi Note 8 Pro
  • Stock or customized system: Stock
  • Nextcloud app version: 3.11.0
  • Nextcloud server version: 18.0.3

No matter how long I way autoupload never upload new pictures. In parallel Dropbox works fine. Uploading the same files manually work.

Edit: It seems to work with the "Dev" version.

I also have the same issue on these devices:

  • Samsung Galaxy A20e
  • Samsung Galaxy A50

Yes ! I confirm, the dev version work : https://f-droid.org/en/packages/com.nextcloud.android.beta/ :smiley:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daywalk3r666 picture daywalk3r666  路  3Comments

tobiasKaminsky picture tobiasKaminsky  路  3Comments

JSoko picture JSoko  路  3Comments

markbryanduncan picture markbryanduncan  路  3Comments

ikke-t picture ikke-t  路  3Comments