nextcloud / nextcloud/android

local copies of uploaded files are not deleted and thus duplicate

Open
#14,254 9 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
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 your android client 3.29.x (play store version!) set to upload photos and move them to the appp folder afterwards
2. Install 3.30.6 from play store in order to get that setting changed to "leave in original folder"
3. Wait for uploads and check whether photos duplicate instead of being copied to the local folder (bug/feature #5592) and deleted afterwards

### Expected behaviour

Delete the local copy after the upload.

### Actual behaviour

Files get duplicated because the local copy stays in the nextcloud folder.

### Android version

15

### Device brand and model

Pixel 8a

### Stock or custom OS?

Stock

### Nextcloud android app version

3.30.6

### Nextcloud server version

30.0.4

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

Two way sync is enabled in the general settings but not for any folder.

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.