Auto-Upload stalls
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Enable Automatic Upload (Photos & Videos).
- Start large upload (camera roll) of all photos (not just the latest defined by the day the auto-upload is enabled).
- Put app to background / phone locks → upload stalls.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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