android icon indicating copy to clipboard operation
android copied to clipboard

AutoUpload not working, battery optimization bug

Open wzykubek opened this issue 5 years ago • 53 comments

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

wzykubek avatar Nov 11 '19 09:11 wzykubek

I have the same issue

eliezerb2 avatar Nov 16 '19 16:11 eliezerb2

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

mhzawadi avatar Nov 18 '19 12:11 mhzawadi

Same issue with samsung s9 +

garygitton avatar Nov 19 '19 18:11 garygitton

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.

eyriewow avatar Nov 20 '19 08:11 eyriewow

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

nextgen-networks avatar Nov 20 '19 15:11 nextgen-networks

Same issue Xiaomi redmi 5

tihomircolev avatar Nov 21 '19 07:11 tihomircolev

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

miovee avatar Nov 23 '19 18:11 miovee

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

BrandonMcInroy avatar Dec 20 '19 18:12 BrandonMcInroy

Same issue on my HUAWEI P9+

TsingJyujing avatar Dec 21 '19 08:12 TsingJyujing

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

ScottHammett avatar Jan 03 '20 20:01 ScottHammett

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

chdorb avatar Jan 07 '20 10:01 chdorb

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

szaimen avatar Jan 09 '20 00:01 szaimen

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.

adojck avatar Jan 13 '20 15:01 adojck

No AutoUpload with

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

marbx avatar Jan 19 '20 20:01 marbx

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

mjflower avatar Jan 28 '20 03:01 mjflower

Same here, battery optimization disabled:

Huawei P20 Pro Nextcloud Dev Version 20200125 EMUI 9.0.0 Android 9

blob42 avatar Feb 15 '20 22:02 blob42

Same issue.

Xioami Mi A1 - Android 9

Nextcloud Client Android - 3.10.1

Nextcloud Server - 17.0.2

ivanrojasorg avatar Feb 16 '20 22:02 ivanrojasorg

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.

ivanrojasorg avatar Feb 17 '20 01:02 ivanrojasorg

tried the dev app last week. same issue.

mjflower avatar Mar 02 '20 03:03 mjflower

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

ghost avatar Mar 02 '20 03:03 ghost

Thanks for replying, @exili0n -> closing

tobiasKaminsky avatar Mar 25 '20 16:03 tobiasKaminsky

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.

MorgothSauron avatar Apr 13 '20 21:04 MorgothSauron

I also have the same issue on these devices:

  • Samsung Galaxy A20e
  • Samsung Galaxy A50

QuakyCZ avatar Jul 17 '20 18:07 QuakyCZ

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

johackim avatar Aug 30 '20 18:08 johackim

On my Mi8 I have the same issue. No actions on phone or in the system can't fix it. I am very disappointed, that such a critical issue is still presented. Seems I need to search for more stable solutions.

  • Mi8
  • Android 10
  • MIUI 12.0.1 Global Stable
  • Nextcloud 3.18.0

alphaw1n avatar Nov 28 '21 07:11 alphaw1n

Thanks for replying, @exili0n -> closing

@tobiasKaminsky Please, reopen this issue, the problem is still presented.

alphaw1n avatar Nov 28 '21 07:11 alphaw1n

Same here on a S20 Fe Android 12 OneUI 4.1

LeandroSQ avatar May 25 '22 03:05 LeandroSQ

Same issue, on a Samsung Galaxy S9

CiozZ avatar Jun 18 '22 20:06 CiozZ

Same problem for Samsung Galaxy s9 Application version : 3.20.3

kyuuk avatar Jun 19 '22 15:06 kyuuk

Same problem for Samsung Galaxy S9+ Application version: 3.20.3, fresh install. This bug is not resolved. Please re-open.

jcarrut2 avatar Jul 23 '22 14:07 jcarrut2