Zero length files, resync?

Nextcloud version (eg, 12.0.2): 17.0.2
Operating system and version (eg, Ubuntu 17.04): unRaid 6.8.0 / Docker
Apache or nginx version (eg, Apache 2.4.25): nginx/1.16.1
PHP version (eg, 7.1): 7.3.13

Some photos uploaded with zero length from my iPhone 6s with Nextcloud for iOS 2.25.2.10.

I deleted these zero length files from my Nextcloud folder on my desktop, but I found the phone won’t resync these missing files.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Take a picture.
  2. Allow Nextcloud for iOS to sync in background.
  3. Check Desktop client for status of files and note any 0KB files.

The output of your Nextcloud log in Admin > Logging:

Not sure how to get this.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "memcache.local": "\\OC\\Memcache\\APCu",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "192.168.0.100:444",
        "nextcloud.domain.com"
    ],
    "dbtype": "mysql",
    "version": "17.0.2.1",
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/nextcloud.domain.com",
    "overwritehost": "nextcloud.domain.com",
    "overwriteprotocol": "https",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

The output of your Apache/nginx/system log in `/var/log/____`:

root@blah:/var/log/nginx# ls -l
total 4
-rw-r–r-- 1 root root 0 Dec 26 10:54 access.log
-rw-r–r-- 1 root root 107 Dec 26 10:54 error.log
root@blah:/var/log/nginx# more error.log
2019/12/26 10:54:34 [emerg] 3643#3643: open() “/run/nginx/nginx.pid” failed (2: No such file or directory)

Nevermind!
I think I got it.
Turns out there was no space left on my iPhone. I guess the syncing process stills needs some space to do a successful sync.
Would be nice if the Nextcloud iOS app checked for what it needs before it performs a sync or maybe compares the two files afterwards to catch any zero length files.
Sorry for the false alarm.