nextcloud / nextcloud/ios

Deleting a Folder/File in Nextcloud iOS causes "Invalid Cross-Device Link" on Desktop Client while Syncing

Open
#2,686 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
  1. Delete Folder/File in iOS App v4.9.2.20
  2. Sync with Nextcloud Desktop Client Version 3.10.1 (KDE)
  3. Message: "Some files couldn't Synced! Invalid Cross-Device Link"
  4. using Nextcloud Server 27.1.4
Expected behaviour

Normal Syncing

Actual behaviour

Since a few weeks, when I make changes in the iOS App I get "Some files couldn't Synced! Invalid Cross-Device Link" on my Desktop Client. If I manually delete the Folder/File on the Desktop too >or< restore the file on iOS, then the message disappears. If I make changes on the Desktop, they are seamlessly carried to iOS.

Logs

#=#=#=# Syncrun started 2023-11-30T05:16:45Z
#=#=#=#=# Propagation starts 2023-11-30T05:16:49Z (last step: 3827 msec, total: 3827 msec)
||d/3C/KP5MMSYPK7ZI3V7JFXCJ72BKNNKTFI/FBT89-UXyKwr9RXGVpS0KOJEtgG_t3ZGpq6M3_FLMxkgHLR1SA==.c9r|2|2|1669990248|354d7794cf693b414183dde707d4dcdf|84120344|00173437oc45lz9m9l2h|2|Invalid cross-device link|0|84120344|1669990248||
||d/QW/MJ2OOXNY4QVWN5D7SC65RG35L5T5EV/0rq0DmsAYgG_ZGvCGeEeZlaOHO7hAjWVq0yh-rFn.c9r|2|2|1701261965|300cb2e06635b0f60c9ba7d2c4b882de|122147|00184995oc45lz9m9l2h|2|Invalid cross-device link|0|122147|1701261965||
#=#=#=# Syncrun finished 2023-11-30T05:16:49Z (last step: 18 msec, total: 3846 msec)

Environment data

iOS version:
iOS 17.1.1

Nextcloud iOS app version:
v4.9.2.20

Server operating system:
Debian 12 Bookworm

Web server:
Nginx

Database:
MariaDB MySQL 10.11.4

PHP version:
8.2.13

Nextcloud version:
27.1.4

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

No source file, test, or entry point is named. Start by reproducing the deletion flow with iOS 4.9.2.20, Desktop Client 3.10.1, and Server 27.1.4, then use the supplied sync log to trace the invalid cross-device link. Done means deleting from iOS syncs normally without the desktop error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.