Skip to content

Server sync repeatedly re-transmits data, but never proceeds to actually sync anything #700

Description

@Soukyuu

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Sync never seems to proceed for new clients, always trying to sync the oldest pdf files which may or may not exist anymore

Expected Behavior

Sync actually realizing the files are not there and skipping them, syncing the rest.

Steps To Reproduce

  1. Have a storage directory with some binary files missing
  2. Install anytype on a new device and configure it with client.yml
  3. Attempt to sync the spaces to the new device
  4. Realize it never actually proceeds
  5. See logs getting spammed with the following over and over again
any-sync-node-1-1                 | 2026-06-08T07:00:46.880Z    INFO    rpcLog          {"totalDur": 0.004601856, "spaceId": "bafyreicyi3dnebel3uopln776dtd4m6vqj2p53jenqc7xans5e3gxagj5e.1myh1bppny9q6", "objectId": "bafyreihffadaevc4yvnufgiwch62kh2fvvvmyeyjdccx3memp7635rewq4", "app": "v0.11.1", "peerId": "12D3KooWDMjvgZ1W7s9MK1vnLCpKXah8KYr6RtoqVHqxf6kvSQtk", "identity": "A7WCST4zq3ab5x5YUD93yDNYcT3rSRqDRS1CfhTFs6R6TVxv", "rpc": "space.objectSyncRequestStream", "peerVersion": "Linux:0.55.5/middle:v0.50.8/any-sync:v0.12.6"}

Environment

Server: trueNAS 25.10.2, running dockge as an app and everything else including anysync managed by it, following make-less setup instructions.

Windows client: win11 pro running 0.55.5
This is the client that still has most of the space data

Linux client: running the 0.55.5 appimage
This is one of the clients that attempts to sync, but never actually updates the sync status

Android client: running 0.46.12
Permanently stating 288 elements are being synced

Anything else?

I think this might be because I've lost parts of my binary storage at some point, I really need help to get this working again for the things that did not get lost.

Everything seemed to be working fine until I've updated anysync two days ago because the android app complained the server was incompatible. Then all hell broke lose.

Starting today, the client that had the space data shows a circling circle as the space icon and clicking on it results in a "Space not ready. Check your internet connection and try again" message ;_;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions