nextcloud / nextcloud/ios

Nextcloud app grows in size when uploading + delete after upload

Open
#935 16 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Expected behaviour

iOS storage is almost full, upload photos to nextcloud and ideally have nextcloud delete them off storage after uploading. The Nextcloud app itself should not grow in size during this process

Actual behaviour

storage on iOS is almost full so I upload the photos (4GB) to Nextcloud, there is no "delete after upload" option so I will just delete the photos myself after. Time passes and uploading is complete, all photos are on nextcloud. I check device storage and now I have 4GB of photos and Nextcloud itself is 4GB in size!

I had to open nextcloud and "delete cache"

Steps to reproduce

as above, upload 4gb worth of files and watch the nextcloud app grow to that size

No offline folders were configured, no files appear in offline files, offline favourites not enabled.

iOS version

12.x

App version

2.23.8.30

Server configuration

nextcloud snap 15.0.11

iphone nextcloud

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on the iOS app using the reported 4 GB upload scenario, with no offline folders or favourites enabled, and compare storage before and after deleting the uploaded photos. Check whether the app retains upload data or cache after completion; done means uploads finish without comparable app growth, or the retained data is removed by the expected cleanup behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.