nextcloud / nextcloud/android

feature: auto upload

Open
#16,679 3 comments 0 reactions 1 assignee Claimed by @alperozturk96 View on GitHub
bug feature: auto upload
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

Apologies, I hope I'm posting correctly. According to https://github.com/nextcloud/android/issues/16550 we are supposed to post a separate issue despite this being known?

Steps to reproduce:
1. Install the APK provided here [https://cloud.nextcloud.com/s/CBsW4ST38LQ8gCP] ( https://github.com/nextcloud/android/issues/16550 )
2. attempt to sync phone/Auto-upload

### Expected behaviour

Files sync to server

### Actual behaviour

Files do NOT sync to server. Time out.

### Android version

16

### Device brand and model

Samsung Galaxy S22 Ultra

### Stock or custom OS?

Stock

### Nextcloud android app version

33.0.0 (from other ticket)

### Nextcloud server version

33.0.0

### Using a reverse proxy?

Yes

### Android logs

2026-03-15T16:29:26.298-0500;V;UploadsStorageManager;Updating /storage/emulated/0/DCIM/Camera/20260315_124755.heic with status=UPLOAD_IN_PROGRESS
2026-03-15T16:56:43.594-0500;D;ExistenceCheckRemoteOperation;Existence check ... 404(FAIL)
2026-03-15T16:56:43.623-0500;D;OwnCloudClient #0;REQUEST PUT /remote.php/dav/files/.../20260315_124755.heic
2026-03-15T16:57:23.717-0500;E;UploadFileOperation;Upload of /storage/emulated/0/DCIM/Camera/20260315_124755.heic ... Socket timeout exception
2026-03-15T16:57:23.717-0500;D;UploadsStorageManager;Upload Finished [❌] | RemoteCode: TIMEOUT | ... UPLOAD_FAILED

2026-03-15T16:57:55.785-0500;V;UploadsStorageManager;Updating /storage/emulated/0/DCIM/Camera/20260308_120750.heic with status=UPLOAD_IN_PROGRESS
2026-03-15T16:58:46.711-0500;E;UploadFileOperation;Upload of ...20260308_120750.heic ... Socket timeout exception
2026-03-15T16:58:46.712-0500;D;UploadsStorageManager;Upload Finished [❌] | RemoteCode: TIMEOUT

2026-03-15T16:58:55.710-0500;V;UploadsStorageManager;Updating /storage/emulated/0/DCIM/Camera/20260315_124755.heic with status=UPLOAD_IN_PROGRESS
2026-03-15T17:00:08.981-0500;E;UploadFileOperation;Upload of ...20260315_124755.heic ... Socket timeout exception

2026-03-15T16:59:27.530-0500;E;UploadFileOperation;Upload of ...20260314_122122.heic ... Socket timeout exception

### Server error logs

```bash
2026-03-15T09:34:15+00:00; user=NeoMatrixJR; app=webdav; method=HEAD; url=/remote.php/dav/files/.../20260314_161135.heic
"File with name /NeoMatrixJR Phone Uploads/Camera/Photos/20260314_161135.heic could not be located" (Sabre\DAV\Exception\NotFound)

2026-03-15T09:34:15+00:00; user=NeoMatrixJR; app=webdav; method=PUT; url=/remote.php/dav/files/.../20260314_161135.heic
"/NeoMatrixJR Phone Uploads/Camera/Photos/20260314_161135.heic.upload.part" is locked, existing lock on file: exclusive
(OCA\DAV\Connector\Sabre\Exception\FileLocked)
Previous: OCP\Lock\LockedException on .upload.part file

2026-03-15T09:34:15+00:00; user=NeoMatrixJR; app=no app in context; method=PUT
Uncaught exception: FileLocked on .upload.part

2026-03-15T09:34:15+00:00; user=NeoMatrixJR; app=webdav; method=HEAD; url=...20260314_161135.heic
File could not be located (404)

2026-03-15T09:35:02+00:00 (cron entries removed - only relevant lock/timeout context kept)
```

### Additional information

Need to fix ASAP, or I'm going to need to find another backup platform. I'm our family's primary photo taker.
Used AI to ensure fields fit within character limits.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.