nextcloud / nextcloud/ios

Autoupload not backing up .dng (raw) files. Only taking the HEIC files.

Open
#2,573 2 comments 0 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

Steps to reproduce

N.B. I currently have iCloud Photo storage turned on. I am interested in migrating away from Apple's online storage in favour of NextCloud, but only if ALL my data is preserved intact.

  1. Have NextCloud app installed and autoupload on, with settings to preserve original filename, most compatible OFF, granularity DAYS
  2. Take a photo with a suitable RAW photo app like Halide, options set to save RAW + HEIC
  3. Go to the NextCloud app and wait to see the transfer occur
  4. Note that there is only one transfer instead of two.
  5. Check in the NextCloud media tab - there is only the HEIC image
  6. Check on the server itself. There is only the HEIC image
  7. Using Photos App on iPhone, check that the image was saved with RAW + JPEG
  8. Using the FileManagerPro App, check that the image exists as two distinct files in the photo library, under Recently Added folder
Expected behaviour

ALL content, regardless of the file format, is automatically backed up, from camera roll to NextCloud.

Actual behaviour

Raw photos (.dng file extension) are not transferred from the phone to NextCloud. No errors are stated. It is silent. And because of this, and the fact that the HEIC images ARE transferred, this could easily be overlooked and all RAW photos taken could be lost, having assumed they were backed up.

Screenshots

IMG_5571
IMG_5570
IMG_5569
IMG_5568
IMG_5567

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

All user data should be safely stored into Nextcloud. That's the whole point of Nextcloud. "a safe home for all your data"

Environment data

iOS version: e.g. iOS 14.4.1

iOS 16.6

Nextcloud iOS app version: see More > Settings

Nextcloud Liquid for iOS 4.8.6.4

Server operating system:

Ubuntu Jammy

Web server: Apache, nginx

Caddy

Database:

PostgreSQL 14

PHP version:

8.1

Nextcloud version: see Nextcloud admin page

Nextcloud Server 27.0.1

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

The issue names no source file or test. Start by reproducing autoupload with an iOS photo containing both RAW and HEIC files, then trace the upload path to see why the .dng file is skipped. Done means both files are transferred to Nextcloud without errors and a regression test covers the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.