Skip to content

Restart sync actually stops syncing #656

Closed

Description

@jnweiger

Seen with OpenCloud Beta OpenCloud Beta 3.0.0.1828 (from CI)

  • Server has three spaces, Personal, Shares, Pictures
  • connect client, wait for initial sync.
  • Add a large 70MB file locally to the Pictures space.
  • The client starts uploading.
  • While uploading, hit Restart Sync. The sync stops. OK
  • Wait 5 min. The sync does not restart. BAD
  • The new large file is present locally, but not on the server.

The new large files shows up in the Not Synced tab as blacklisted

Image
  • The description promises "trying again in 23 second(s)" but that never happens while waiting 5 more minutes.

beta.log

Workaround: Add another (small file locally). Then both are uploaded.
This workaround seems to cause an immediate re-download of the large file after upload. This wastes bandwidth, (but is hopefully harmless otherwise. ?? Could this cause file conflicts or corruption if editing the file locally??)

Image

Activity

  1. TheOneRing commented on Nov 7, 2025

    @TheOneRing
    Contributor

    According to the logs, the issue here is that we encountered a sync issue. Which results in the affected file to be on an ignore list for at least 25s.
    As the sync fails, we retry to sync after 2s, we retry that for 3 times until we give up.
    That's 6s so there is no chance that that file gets synced.
    The change only reschedules after 10s and reduces the minimum ignore time to 5s.

  2. moved this from Qualification to Done in OpenCloud Team Boardon Nov 7, 2025
  3. jnweiger commented on Nov 10, 2025

    @jnweiger
    SponsorContributorAuthor

    Cannot reproduce with OpenCloud Beta OpenCloud Beta 3.0.0.1857

    A restart sync immediately restarts now, most of the time.
    Once, I saw a 'Connection closed' error in the clients 'Not synced' tab, but that was not reproducable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions