File does not get uploaded: Waiting to upload - log says "local file not exists"
- 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
I don't know how to trigger this problem - it just happened.
### Expected behaviour
All files get uploaded automatically without errors
### Actual behaviour
Nextcloud's "Uploads" view shows two files with status "Waiting to upload" ("Warte auf Hochladen").
Pausing and resuming upload does not help.
Stopping the Nextcloud app (via the System's app settings > Stop) and starting it again does not help.
Other files apart from the two ones did get uploaded.
----
Despite the "Waiting to upload" status, the adb logs say
> UploadFileOperation: Upload cancelled for /storage/emulated/0/DCIM/Camera/PXL_20260518_183605988.jpg: local file not exists.
and
> UploadErrorNotificationManager: handle upload result with result code: LOCAL_FILE_NOT_FOUND
The problem is the disconnect between the UI showing "waiting to upload" instead of "local file not found".
## Screenshot
### Android version
15
### Device brand and model
Xiaomi Mi 8
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
33.1.0
### Nextcloud server version
Nextcloud Hub 25 Autumn
### Using a reverse proxy?
No
### Android logs
[2026-05-20 nextcloud android waiting-to-upload.log](https://github.com/user-attachments/files/28071126/2026-05-20.nextcloud.android.waiting-to-upload.log)
### Server error logs
```bash
```
### Additional information
OS is LineageOS 22.1
Other people also see this issue: https://help.nextcloud.com/t/android-client-warte-auf-hochladen/217584/1
Contributor guide
Assessment
This issue has not been assessed yet.