Autoupload not backing up .dng (raw) files. Only taking the HEIC files.
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.
- Have NextCloud app installed and autoupload on, with settings to preserve original filename, most compatible OFF, granularity DAYS
- Take a photo with a suitable RAW photo app like Halide, options set to save RAW + HEIC
- Go to the NextCloud app and wait to see the transfer occur
- Note that there is only one transfer instead of two.
- Check in the NextCloud media tab - there is only the HEIC image
- Check on the server itself. There is only the HEIC image
- Using Photos App on iPhone, check that the image was saved with RAW + JPEG
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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