Automatic photo upload does not upload all photos taken consecutively
- 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. Enable automatic photo upload in the Nextcloud Android app.
2. Open the Android camera app.
3. Take several photos in a row (for example 4–5 photos) within a short time.
4. Wait a few minutes for the automatic upload to start.
5. Check the upload status and the photos folder in Nextcloud.
### Expected behaviour
1. All photos taken should be uploaded automatically to Nextcloud.
2. If 5 photos are taken, all 5 photos should appear in the Nextcloud photos folder without manual intervention.
3. The app should not incorrectly detect newly taken photos as already existing files.
### Actual behaviour
Not all photos taken are uploaded automatically.
When several photos are taken in a short period of time (for example 4–5 photos),
only some of them are uploaded (sometimes 1 or 2), while the rest are skipped.
For the photos that are not uploaded, the app reports that the file already exists
on the server and skips the upload.
However, this is incorrect: the file does not actually exist in the destination
folder in Nextcloud.
The photos that get uploaded or skipped seem to be random.
The skipped photos remain on the device and are only uploaded if the upload
is triggered manually or after restarting the app.
This looks like a false-positive duplicate detection issue.
### Android version
13
### Device brand and model
xiaomi mi 11 lite 5g
### Stock or custom OS?
Stock
### Nextcloud android app version
3.3530
### Nextcloud server version
Nextcloud Hub 25 Autumn (32.0.5)
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
```bash
```
### Additional information
Contributor guide
Assessment
This issue has not been assessed yet.