nextcloud / nextcloud/ios

Auto upload full: no new assets found

Open
#1,553 5 comments 1 reaction 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

Expected behaviour

All photos of the iOS photo library should be uploaded

Actual behaviour

On an fully reset iPhone with 15K photos synchronised from OSX Photos on it and a newly set up Nextcloud iOS App the auto upload full function does not load any photo into the cloud.
An entry is logged to the log file (log level 2):
Automatic upload, no new assets found [Auto upload full]

Steps to reproduce
  1. Autoupload from a phone
  2. reset the phone (fully, data and settings)
  3. move the old photos from the Photos folder in the Nextcloud to another folder in the same Nextcloud.
  4. synchronize the photos from MacOS (directly - not from iCloud)
  5. setup the Nextcloud iOS app to point to your cloud
  6. Trigger Auto upload full function
Reasoning or why should it be changed/implemented?

There should be a documented way to re-upload images with the Auto upload full function without deleting all old images from the Nextcloud (Former (and moved) upload has some images in it, which are no more present on the phone now).

iOS version

14.4

App version

3.3.1.1

Server configuration
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.britzke.berlin"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "20.0.8.1",
    "overwrite.cli.url": "https:\/\/cloud.britzke.berlin",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "theme": "",
    "loglevel": 0,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "updater.release.channel": "stable",
    "mysql.utf8mb4": true,
    "mail_smtpsecure": "tls",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "app_install_overwrite": [
        "files_ebookreader"
    ],
    "enable_previews": true,
    "enabledPreviewProviders": [
        "OC\\Preview\\Image",
        "OC\\Preview\\Movie",
        "OC\\Preview\\TXT"
    ]
}

Operating system:
Ubuntu 20.10

Web server:
nginx
Database:
mariadb
PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
20.0.8

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

Start by reproducing the Auto upload full flow described in the issue, focusing on how the iOS photo library is compared with existing cloud uploads after photos are moved. Trace the Auto upload full entry point and the source of the “no new assets found” log. Done means the stated re-upload scenario works or the supported limitation and workaround are documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.