Skip to content

Sync stuck in preparing for sync #544

Closed

Description

@TheOneRing

When "Restart sync" is pressed the client triggers an asser

25-09-17 12:25:37:417 [ info gui.folder ]:	folder  "/Users/h.vonreth/OpenCloud Beta/Smile/"  Terminating!
25-09-17 12:25:37:417 [ info sync.engine ]:	Aborting sync
25-09-17 12:25:37:417 [ info sync.engine ]:	Sync run for "/Users/h.vonreth/OpenCloud Beta/Smile/" took duration(0h, 1min, 0s, 158ms)
25-09-17 12:25:37:417 [ debug sync.localdiscoverytracker ]	[ OCC::LocalDiscoveryTracker::slotSyncFinished ]:	sync failed, keeping last sync's local discovery path list
25-09-17 12:25:37:417 [ debug gui.folder ]	[ OCC::Folder::setSyncState ]:	State of "/Users/h.vonreth/OpenCloud Beta/Smile/" changed to OCC::SyncResult::SyncAbortRequested
25-09-17 12:25:37:417 [ debug gui.socketapi ]	[ OCC::SocketApi::slotUpdateFolderView ]:	Not sending UPDATE_VIEW for "/Users/h.vonreth/OpenCloud Beta/Smile/" because status() is OCC::SyncResult::SyncAbortRequested
25-09-17 12:25:37:425 [ info gui.scheduler.syncscheduler ]:	Enqueue "/Users/h.vonreth/OpenCloud Beta/Smile/" OCC::SyncScheduler::Priority::Low QueueSize: 0 scheduler is active: false current sync "/Users/h.vonreth/OpenCloud Beta/Smile/" for duration(0h, 1min, 0s, 173ms) 
25-09-17 12:25:37:425 [ fatal default ]:	ENSURE: "_currentSync->isSyncRunning()" in file /Users/h.vonreth/CraftRoot/download/git/opencloud/opencloud-desktop/src/gui/scheduling/syncscheduler.cpp, line 167 void OCC::SyncScheduler::enqueueFolder(Folder *, Priority)

Activity

  1. nicokaiser commented on Sep 18, 2025

    @nicokaiser

    Is this related to #388?

  2. TheOneRing commented on Sep 19, 2025

    @TheOneRing
    ContributorAuthor

    Yes, and my fix of the issue introduced a new issue. Only main builds are affected by this issue.

  3. linked a pull request that will close this issueFix termination of running syncs #554on Sep 25, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions