nextcloud / nextcloud/android

Auto-upload feature sometimes fails to upload file correctly - results into incomplete/broken file in the cloud.

Open
#12,339 8 comments 2 reactions 0 assignees View on GitHub
bug connectivity feature: auto upload feature: transfers stable-3.26
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. have autoupload active for folder where Camera stores new photos/videos
2. record new video
3. wait for the nextcloud to start uploading
4. cause some network issue and hope to reproduce the failure that results into incomplete file being uploaded

### Expected behaviour

File should either be uploaded completely or not at all = upload postponed and/or repeated later, trying until the file is successfully uploaded.

### Actual behaviour

My video file has ~ 150 MB locally in my android phone but the file uploaded via auto-upload feature has 40 MB and I am unable to play/open the cloud version of the file. The file uploaded into cloud is broken and incomplete.

### Android version

12 SKQ1.211019.001

### Device brand and model

Xiaomi Redmi Note 9 Pro

### Stock or custom OS?

Stock

### Nextcloud android app version

3.26.0

### Nextcloud server version

27.1.5

### Using a reverse proxy?

I don't know

### Android logs

_No response_

### Server error logs

_No response_

### Additional information

I am not hosting the server myself and I couldn't fine the android nextcloud logs either: (looking for nextcloud.log - nothing was found on the device).

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.