Images with zero bytes are in my Nextcloud after uploading from iPhone
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Expected behaviour
Nextcloud iOS uploads all new photos from my camera roll to my Nextcloud instance.
All the images have a size > 0 bytes.
Actual behaviour
Nextcloud iOS uploads all new photos from my camera roll to my Nextcloud instance.
Approximately every 5. to 10. images is uploaded with zero bytes size and therefore not usable.
This happens since approx. 1-2 month.
Please also see the communication.log exported from iOS.
Maybe this is unrelated, but I also get a lot of errors in my upload list, practically during every upload. See screenshot of this in this other ticket.
Steps to reproduce
- Take a bunch of photos with your camera or a screenshot
- Wait until uploaded
- Look into the web interface of Nextcloud, inspect the folder where the images are stored to. Sort by size ascending.
In my case, several zero-byte-sized images are not on top of the list.
Here is an example of what it looks like for me:

Reasoning or why should it be changed/implemented?
As of now, this behaviour basically trashes the core use case for me (uploading my taken photos to my Nextcloud instance).
iOS version
13.6.1
App version
3.0.5.8
Server configuration
Operating system:
Ubuntu (Linux 5.3.0-1032-aws x86_64)
Web server:
I'm using Snappy.
Database:
MySQL 5.7.31, I'm using Snappy.
PHP version:
7.3.21, I'm using Snappy.
Nextcloud version: (see Nextcloud admin page)
19.0.1, installed via Snappy
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
Start by reviewing the linked communication.log alongside the reported iOS 13.6.1 and app version 3.0.5.8 details, then follow the reproduction steps with a batch of photos or screenshots. Done means uploads no longer create unusable zero-byte images and the result can be verified in the Nextcloud web interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100