Auto upload pauses after about 5-6 image files
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
1. Disable network access.
2. Enable auto upload for camera folder.
3. Make some photos.
4. Enable network access. I use WLAN.
### Expected behaviour
Nextcloud app uploads all newly made images instantly.
### Actual behaviour
Nextcloud app uploads about 5-6 images and then waits. Even if starting outstanding uploads manually.
As a work-around I found that I can force-terminate the app and start it again. Then when I start uploading manually again it uploads again 5-6 images.
If just leaving it, after the initial upload of 5-6 images nothing happens. In the uploads view I see that uploads are outstanding with message "app has been terminated".
### Android version
13
### Device brand and model
Fairphone 3+
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
3.28
### Nextcloud server version
28.0.3
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
Saw the log requirement after doing the work-around. Currently no images to upload. Can aim to do the `adb logcat` stuff next time. But to me it appears the pausing may even be intended behavior for always on network devices. However my phone is usually in flight mode and without WLAN access. I specifically enable network access when I like to have it do the uploads. But then I like it to upload all files in one go instead of waiting around like in background mode auto upload.
App is set to unrestricted regarding battery use.
Battery is above 80% anyway.
Forum posts mention this issue, but there is no solution offered:
[https://help.nextcloud.com/t/android-app-pausiert/69996](https://help.nextcloud.com/t/android-app-pausiert/69996)
[Android App Pauses/Stops Uploading (manual upload)](https://help.nextcloud.com/t/android-app-pauses-stops-uploading-manual-upload/72355)
Contributor guide
Assessment
This issue has not been assessed yet.