Skip to content

Add a 'force upload/sync' button to automatic uploads #7019

Closed

Description

@ppattard

Is your feature request related to a problem? Please describe.

When putting Android into powersave mode (with network disabled in background), automatic uploads won't start when a new picture is taken from the camera. I always have to exit the powersave mode first, go into Nextcloud and wait for it to find the new pictures. It usually takes between 30s and up to several minutes for it to actually start the upload.

Describe the solution you'd like

A force upload button in the UI, for instance on uploads history panel, or from the panel where you configure upload folders, to trigger the new file detection and automatic upload would be a nice workaround to avoid having to wait.

Describe alternatives you've considered

Fixing the upload that do not start when in powersave mode (even when the screen is on and not locked), but I'm not sure if this is possible or if this is a limitation of Android.

Additional context

--

Activity

  1. Derkades commented on Oct 20, 2020

    @Derkades

    I agree that a force upload button would be useful. In my case I have it configured to only upload when charging, but there are times where I need a file uploaded immediately.

    Fixing the upload that do not start when in powersave mode (even when the screen is on and not locked), but I'm not sure if this is possible or if this is a limitation of Android.

    I don't think this is a good solution. Apps should save power when in power saving mode. If a user enables power saving mode in some situation where they need their phone to keep working and are not able to charge it, they usually wouldn't want nextcloud to waste valuable energy uploading files.

    A force button will make everyone happy.

  2. datenheim commented on Oct 31, 2020

    @datenheim

    This would be useful indeed.
    Possibly can be put together with "Pause/restart aborted auto-uploads?" #6823
    Also "Disable autoupload" #6505 is somehow connected to this...

  3. tobiasKaminsky commented on Nov 12, 2020

    @tobiasKaminsky
    Member

    Force upload is already implement: if you go to upload view and swipe to refresh, then a manual auto upload detection job is triggered.

  4. Derkades commented on Nov 13, 2020

    @Derkades

    It may detect new files but it does not "force upload" them. If it is waiting for battery saver to be turned off or the phone to start charging it will still be waiting.

  5. tobiasKaminsky commented on Nov 16, 2020

    @tobiasKaminsky
    Member

    Ah right 👍
    Then I would suggest a "play/resume/restart" button next to "cancel" on active group, which then overrides all checks as a one-timer.

  6. codereptile commented on Mar 6, 2022

    @codereptile

    Any progress on this? I would LOVE to see this, because I often find it difficult to start uploading existing files when creating a new 'auto upload' catalogue

  7. added
    feature: transfers[WIP] Any uploading / downloading matters that aren't auto upload or sync specific
    on Dec 11, 2023
  8. changed the title [-]Force automatic uploads[/-] [+]Add a 'force upload' button[/+] on Dec 11, 2023
  9. changed the title [-]Add a 'force upload' button[/-] [+]Add a 'force upload/sync' button[/+] on Dec 11, 2023
  10. panasenco commented on Apr 15, 2024

    @panasenco

    Ran into the same issue, my workaround:

    Use custom syncs instead of predefined ones

    1. Go to Settings > Auto upload
    2. Disable syncs for all predefined places there.
    3. Instead, hit the three dots in the top right and click "Set up a custom folder". Select the local and remote folders. Be sure to set "What to do if the file already exists?" to Skip uploading.
    4. Save the sync. It should start.

    Delete and re-create the custom sync to force sync

    When you need to force sync:

    1. Go to Settings > Auto upload.
    2. Click the three dots next to the custom sync > Configure.
    3. Delete the custom sync.
    4. Recreate as described above.
    5. The sync should start. All files that already exist in NextCloud will be quickly skipped.
  11. regs01 commented on Jun 27, 2024

    @regs01

    This is indeed very sharp issue. Quite often you make a photo and screenshot and need it immediately on you computer, but you have to wait half a hour until it syncs automatically.

    There is a pause button in Upload status screen. Just make it force resync, every time you resuming syncing, so you can just press pause and resume to force do now.

  12. chesamo commented on Jul 25, 2024

    @chesamo

    Four years and no progress on this. Feature parity with the desktop sync client is a must.

  13. shalak commented on Jul 26, 2024

    @shalak

    Is there a workaround simpler than what was already suggested? It doesn't start when I plug in the phone to charger...

  14. 14 remaining items

  15. moved this to 📄 To do (max 2 entries / member) in 🤖 🍏 Mobile clients teamon Jul 17, 2026
  16. tobiasKaminsky commented on Jul 17, 2026

    @tobiasKaminsky
    Member

    Idea: Inside upload view --> "battery optimization header" -> add second option to "sync now"

  17. regs01 commented on Jul 17, 2026

    @regs01

    Idea: Inside upload view --> "battery optimization header" -> add second option to "sync now"

    It needs to be two different buttons sync now for sync and force upload for autoupload. Second would be better in status screen next to pause button.

  18. rain1 commented on Jul 26, 2026

    @rain1

    Is there any chance to get it implemented?

  19. alperozturk96 commented on Jul 30, 2026

    @alperozturk96
    Collaborator

    Hello,

    PR is created for this feature: #17396.

    You can try last generated QA APK and share your feedback with us.

    About PR:

    App's shows a banner if device is in power save mode and this affects the auto upload behaviour such as delays.

    This PR adds "Sync now" button inside the banner to re-trigger auto upload via overriding the battery optimization.

  20. regs01 commented on Jul 31, 2026

    @regs01

    is it autoupload now or sync now? those just two different things.

  21. moved this from 📄 To do (max 2 entries / member) to 🏗️ In progress in 🤖 🍏 Mobile clients teamon Aug 5, 2026
  22. moved this from 🏗️ In progress to ☑️ Done in 🤖 🍏 Mobile clients teamon Sep 1, 2026
  23. chesamo commented on Sep 1, 2026

    @chesamo

    #17396 doesn't address this issue directly per comment 5175294367:

    …this button only re-trigger auto upload via bypassing the battery optimization. It does not ignore every check and try to force upload every file.

    If the "fix" is only accessible by entering battery saving mode, that isn't a fix.

  24. regs01 commented on Sep 1, 2026

    @regs01

    @alperozturk96
    Yeah, that PR is not related to this issue. It's to bypass battery optimizations, when auto triggered. This issue is about let users autoupload at demand.

  25. rain1 commented on Sep 11, 2026

    @rain1

    Basically NC is doing everything they can to avoid doing what users actually ask.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions