nextcloud / nextcloud/ios

After phone upgrade to newer iphone - all photos are synced

Open
#1,528 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behaviour

After ihpone upgrade nextcloud is configured for photos and sync, only new photos from this date going forward is uploaded.

Actual behaviour

All pre-existing photos are synced causing a massive photo sync update - in my case 8000 photos.

Steps to reproduce

Replace phone with new iphone as upgrade.
Configure nextcloud with image sync
What seems to happen is the iphone starts to download all photos from icloud and resyncs them to nextcloud.

Reasoning or why should it be changed/implemented?
  • Takes time and ressources to sync
    Changes made to images in nextcloud are owerwritten

If not exactly same configuration for file naming is choosen new images may get a new directory or image structure causing many dublets.

iOS version

14

App version

3.1.0.7

Server configuration

Operating system:
Linux debian configured in a docker container

Web server:
Apache

Database:
MariaDb

PHP version:
7.2

Nextcloud version: (see Nextcloud admin page)
20.05

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

No source file or test is named. Start by reproducing the iOS photo-sync flow after replacing a phone and configuring image sync, then inspect how existing iCloud photos are identified versus newly captured photos; done means pre-existing photos are not re-uploaded while new photos continue to sync without overwriting or duplicating files.

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
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.