Skip to content

Mac: no sync after opening laptop lidΒ #388

Open

Description

@windsource

On Mac sometimes the app does not sync when Mac returns from standy mode. When I click "Force sync now" it works again.

Steps:

  • MacBook is in standby. Lid is closed for a couple of hours.
  • Some files are added on the server from another machine via web UI
  • MacBook lid is opened
  • No sync occurs, even when waiting for a couple of minutes.

This problem does not happen when the lid is closed for a few minutes only.

This problem is quite annoying as I cannot rely on the local files being up-to-date.

App: Version 2.0.0
Opencloud server: 3.1.0
MacOS Sequoia 15.5

Activity

  1. windsource commented on Jul 14, 2025

    @windsource
    Author

    @TheOneRing I was able to reproduce the problem and now I also have logs. The app does not sync but shows only "Preparing to sync". Only when I click "Force sync now" the sync starts.

    The app settings tell me "The logs contain sensitive information which you should not make publicly available", so I have sent you the logs via email.

  2. windsource commented on Jul 31, 2025

    @windsource
    Author

    The problem only occurs on MacOS. On Linux and Windows the problem does not occur.

  3. TheOneRing commented on Aug 5, 2025

    @TheOneRing
    Contributor

    I finally found the time to have a look at the logs.
    Authentication works perfectly and everything....(our usual suspect).

    But then I found:

    25-07-14 12:49:48:102 [ debug gui.scheduler.etagwatcher ]	[ (FolderMan *, QObject *)::(anonymous class)::operator()()::(anonymous class)::operator( ]:	Scheduling sync of "Personal" "/Users/x/OpenCloud/Personal/" due to an etag change
    25-07-14 12:49:48:102 [ info gui.scheduler.syncscheduler ]:	Enqueue "/Users/x/OpenCloud/Personal/" OCC::SyncScheduler::Priority::Low QueueSize: 13
    

    So we detect the change, we enqueue the folder and there are already 13 waiting, and nothing happens.....

  4. TheOneRing commented on Aug 5, 2025

    @TheOneRing
    Contributor

    I hope I was able to fix it :)

  5. windsource commented on Aug 5, 2025

    @windsource
    Author

    @TheOneRing Thanks a lot for the fix! Is there an intermediate version that I am able to test or should I wait for the next release for testing?

  6. TheOneRing commented on Aug 5, 2025

    @TheOneRing
    Contributor

    There were quite some changes already so I'd recommend to wait for a beta.

  7. nicokaiser commented on Sep 3, 2025

    @nicokaiser

    Any news on the beta? I'd love to test if this works more reliably now.
    Keep up the great work, OpenCloud is already a game-changer in the world of personal clouds!

  8. TheOneRing commented on Sep 8, 2025

    @TheOneRing
    Contributor

    Soon, but there are still a few bugs to iron out in the new windows virtual files code.

  9. windsource commented on Nov 14, 2025

    @windsource
    Author

    The problem appears again with OpenCloud Desktop Beta 3.0.0 1858 commit 6524964.

  10. windsource commented on Nov 14, 2025

    @windsource
    Author

    @TheOneRing I have sent you the logs via email.

  11. added this to the 3.0.0 milestone on Nov 14, 2025
  12. TheOneRing commented on Nov 19, 2025

    @TheOneRing
    Contributor

    @windsource thank you for sending me the log files. However, I assume the log was rotated shortly before you send it. Thus it didn't contain any relevant information.

  13. windsource commented on Nov 19, 2025

    @windsource
    Author

    @TheOneRing Actually I had not turned on logging in the beta before the problem happened. After I detected the problem, I switched on logging. As the problem still occured for the time of collecting the logs, I tought those might be useful for you. While collecting the logs sync did not take place but it was pending.

  14. modified the milestones: 3.0.0, Next on Jan 20, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions