Skip to content

Sync of offline made pictures does not work #2460

Closed

Description

@hannesa2

When you made pictures offline, the sync waits for ever to sync.

Waiting for WiFi connectivity

I expected an auto start with Wifi or with 15 minutes periodical sync job

image

PRs:

Activity

  1. davigonz commented on Feb 28, 2019

    @davigonz
    Contributor

    So the steps to reproduce here are:

    1. Disable wifi connection.
    2. Enable camera uploads.
    3. Take a picture.
    4. Wait 15 minutes so the new picture is detected and enqueued
    5. Enable wifi

    Is this correct? Thanks

  2. hannesa2 commented on Mar 4, 2019

    @hannesa2
    ContributorAuthor

    This is the right order :

    1. Enable camera uploads.
    2. Disable wifi connection.
    3. Take a picture.
    4. Wait 15 minutes so the new picture is detected and enqueued
    5. Enable WiFi
      And pictures are still in wait-for-WiFi-mode
  3. rotational467 commented on May 1, 2019

    @rotational467

    Hello,
    I can reproduce this problem. Copying a post I made to the user forums earlier regarding this.

    Actual behaviour
    With Photo auto-upload on WiFi only enabled, photos taken while not on WiFi coverage do not automatically upload after returning to WiFi coverage.

    Expected behaviour
    The app should detect the presence of/switch to WiFi, and trigger the upload queue automatically.

    Steps to reproduce
    1 . Install OC client and enable Auto-Upload photos on Wifi only. Test and validate this works on WiFi.

    1. Leave/Disable WiFi coverage and take a new photo. Within 15 minutes it will appear in the upload queue as expected, with the “Waiting for WiFi” status.

    2. Return to WiFi coverage. Items in the upload queue will remain in “Waiting for WiFi status” for at least 24 hours. The “Retry failed” option will trigger the uploads, which complete successfully. The app will then usually crash (note - the app seems to be extremely crash-prone when there are items queued in the Waiting for WiFi status while WiFi is enabled).

    Can this problem be reproduced with the official owncloud server?
    (url: https://demo.owncloud.org, user: test, password: test)

    Yes. Validated auto-upload on wifi. No auto-upload to demo server 20+ minutes after returning to WiFi. App crashed while browsing upload queue.

    Auto-upload to demo server triggered after app auto-restart from crash.

    Environment data
    Android version:
    8.1.0 Dec 5 2018

    Device model:
    Nexus 6P

    Stock or customized system:
    Stock

    ownCloud app version:
    2.10.0 release 6d34130

    ownCloud server version:
    10.1.1

  4. sid3windr commented on Jul 21, 2019

    @sid3windr

    Same problem here - this is not being fixed? It's pretty basic functionality.

    And indeed if you tap on a picture, it will retry the upload, then while it's uploading if you're looking at the queue, the app just crashes and restarts.

    I just now selected "Retry all failed" and it does seem to go through now, without crashing.

  5. hannesa2 commented on Jul 23, 2019

    @hannesa2
    ContributorAuthor

    @sid3windr
    I total agree to you about basic functionality.
    But see it positive, a half a year ago, even sync on Android P was not working at all.
    But now, they are on a good way and modernize the app. 👍

    In my point of view any bug fixing makes no sense now, till they merge this "new architecture" stuff

    Btw, please can you post the crashes log ?

  6. hannesa2 commented on Oct 4, 2019

    @hannesa2
    ContributorAuthor

    Here is a attempt to fix it #2679

  7. jesmrec commented on Nov 25, 2019

    @jesmrec
    Member

    Merged. Ready to 2.14.

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