nextcloud / nextcloud/ios

App craps itself when trying to auto upload photos

Open
#3,504 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

iOS app craps itself when turning on auto uploading of ~35000 photos.

Steps to reproduce
  1. Enter settings, Auto upload
  2. Select upload from Camera roll
  3. Disable "Backup new photos/videos only"
  4. Set all other options to enabled.
  5. Click on "Turn on auto uploading"
Expected behaviour

The app should upload all photos and videos on my iOS device

Actual behaviour

The app throws me back to the main screen and then becomes completely unresponsive.

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?

App should not freeze and become completely unresponsive.

Environment data

iOS version: 18.5

Nextcloud iOS app version: 6.6.3.6

Server operating system: FreeBSD

Web server: Apache

Database: MariaDB

PHP version: 8.4.5

Nextcloud version: 31.0.5

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

Start in the iOS app's Settings > Auto upload flow and reproduce the failure with about 35,000 photos, using the listed steps. Done means enabling uploads no longer returns to the main screen or leaves the app unresponsive, and the photos and videos can be uploaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.