nextcloud / nextcloud/ios

Auto-Upload stalls

Open
#3,713 18 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Enable Automatic Upload (Photos & Videos).
  2. Start large upload (camera roll) of all photos (not just the latest defined by the day the auto-upload is enabled).
  3. Put app to background / phone locks → upload stalls.
  4. Re-enter app → queue stuck; Settings → Advanced freezes.

Tried already: maintenance:repair, files:scan(-app-data), Redis flush (AUTH), new target folder, app reinstall.

Expected behaviour

Upload resumes in background or cleanly continues in foreground.

Actual behaviour

Stalls/queue hang; app settings sometimes freeze.

Only uploading new pics seems to still work, so probably it is a data size problem. Actually the problem started last week during vacation when I tried to sync my photos with unreliable internet connection. I then re-setup the upload because files are still missing and it continuously stalls.

When I enter the settings -> Autoupload menu, I get a warning msg saying that it cannot be activated in the background.

When I access the app's settings in the iPhone's general settings -> Apps menu, I see the "background refresh" switch being on and I cannot switch it off.

Logs
Reasoning or why should it be changed/implemented?
Environment data

iOS version: latest

Nextcloud iOS app version: latest

Server operating system: Ubuntu Server LTS, latest

Web server: AIO standard config

Database: AIO standard config

PHP version: AIO standard config

Nextcloud version: latest AIO

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Automatic Upload with a large camera-roll upload, then background the app or lock the phone and check the queue and Settings → Advanced behavior. Trace the upload queue and background-resume flow; done means uploads continue or recover cleanly after backgrounding without freezing settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.