Skip to content

[1.6.0] Battery drain due to endless sync loop #671

Closed

Description

@dajusc

Since updating to 1.6.0 (SGS2, CM11, oC:7.0.1) the app is stuck in an endless sync loop, causing extreme battery drain.

The symptoms are very similar to #415, but unlike there, the owncloug.log contains no (related) entries. Rebooting didn't help. Downloading files via app works as expected. The workaround to save battery is to disable automatic syncing.

Anyone else experiencing this issue?

Activity

  1. dajusc commented on Oct 21, 2014

    @dajusc
    Author
  2. ccoenen commented on Oct 22, 2014

    @ccoenen

    I have this problem as well.
    Android 4.4.2 (Stock Samsung Firmware on a Galaxy S4) / ownCloud 1.6.0

    Background Data Use 2014-09-24 to 2014-10-21: 38 MB
    Background Data Use 2014-10-22 to 2014-10-22: 515 MB
    Historically, i have never had more than 50MB of Background Data Use for an entire month for ownCloud. Now it's 500MB in two days.

  3. ccoenen commented on Oct 22, 2014

    @ccoenen

    My Logfile is full of

    "PROPFIND /remote.php/webdav/<SOME-DIRECTORY> HTTP/1.1" 207 34643 "-" "Android-ownCloud"
    

    to illustrate the amount, i grepped the most recent apache logfiles:

    # current logfile
    zgrep "Android-ownCloud" /var/log/apache2/access.log | grep "PROPFIND" | wc -l
    104685
    
    # logfiles before that (~4-5 days increments)
    zgrep "Android-ownCloud" /var/log/apache2/access.log.1 | grep "PROPFIND" | wc -l
    5290
    zgrep "Android-ownCloud" /var/log/apache2/access.log.2.gz | grep "PROPFIND" | wc -l
    6825
    zgrep "Android-ownCloud" /var/log/apache2/access.log.3.gz | grep "PROPFIND" | wc -l
    7168
    
  4. davivel commented on Oct 22, 2014

    @davivel
    Contributor

    We will check it, but we made no change in the synchronization process, as far as I can remember.

  5. dper commented on Oct 22, 2014

    @dper

    I also am experiencing the endless sync bug. OwnCloud Android 1.6.0 installed from F-Droid. Cyanogenmod 11 NIGHTLY. Samsung Galaxy S3. The endless syncing began right after upgrading to 1.6.0 yesterday. I didn't change the firmware or any other apps around that time (or since). It is clear that the app is working very hard doing very little. Battery usage statistics within Android had it at 97% of the last eight hours when I stopped it earlier today.

  6. dajusc commented on Oct 22, 2014

    @dajusc
    Author

    I meanwhile checked my webservers logfile, and it's crammed with the same type of entries @ccoenen described.

    PS.: If only I had made an backup of the previous versions *.apk... On the bright side: The cold days of the year are comming, and now my phone has supreme hand-warmer-functionallity. ^^

  7. shred commented on Oct 22, 2014

    @shred

    Same for me... Starting with the 1.6.0 update, the OwnCloud app dries the accu very quickly. The server's log file is full of PROPFINDs. Synchronization runs endlessly. When I turn off synchronization, the PROPFIND requests also stop.

  8. wollir72 commented on Oct 22, 2014

    @wollir72

    Same issue for me. Android version 4.2.2, CyanogenMod 10.1.3, app version 1.6.0

  9. emasters commented on Oct 22, 2014

    @emasters

    Same issue here. Android 4.1, app version 1.6.0. Endless sync runs up data and drained my battery.

  10. llucax commented on Oct 22, 2014

    @llucax

    This is killing my phone's battery. Samsung Galaxy S4 LTE, CM 11 M11 (Android 4.4.4).

  11. llucax commented on Oct 23, 2014

    @llucax

    Susi Sorglos, el 23 de October a las 03:21 me escribiste:

    Previous version via
    F-Droid.
    Works with the current workaround app for Jelly Bean.

    I get a "(De-)Installation Error" when trying to downgrade. I just
    disabled the sync for my account for now and with that my battery is
    fine again.

  12. rperezb commented on Oct 24, 2014

    @rperezb

    This has been fixed within the latest version, 1.6.1, which is already available on the market.
    We´d appreciate if any of you confirm it.

    Thanks!

  13. shred commented on Oct 24, 2014

    @shred

    Updated and reactivated sync. There were only a few PROPFIND requests first, but eventually they stopped and the sync was completed.

    I'll now do a long-term test, but so far it's looking good. Thank you!

  14. wollir72 commented on Oct 24, 2014

    @wollir72

    Version 1.6.1 works fine :-)

  15. dajusc commented on Oct 24, 2014

    @dajusc
    Author

    @rperezb Version 1.6.1 apparently solved the problem. :) A big thx to all developers (developers, developers, developers!!!!! ^^) for the quick fix! I'll mark this issue as closed.

  16. ccoenen commented on Oct 25, 2014

    @ccoenen

    1.6.1 looks a lot better, Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions