Syncing Across Macosx In Configuration Mode


cnkeller

Recommended Posts

Sync Version: 2.2.7

OSX Version 10.11.2

 

I'm trying to sync across a cluster of mac mini servers without success. Ultimately, I'll run it via a launchd daemon, but I'd like to verify it works within the terminal. I've followed the instructions here to run in configuration mode without success. No logs are generated and no sync occurs. The below output is consistent regardless of whether or not I use '--config' or the how settings are configured. I've come across some posts in older versions that says it's not supported, but the URL above would seem to imply differently. As a side, but perhaps related, note, the command line options don't seem to work at all, e.g., '--generate-secret' does nothing. The docs don't indicate that it's restricted to Linux.

 

Please note that when running the GUI remotely via RemoteDesktop, it works perfectly across the cluster.

 

$ ~/Applications/BitTorrent\ Sync.app/Contents/MacOS/BitTorrent\ Sync --config ~/btsync.conf

Jan  2 13:39:36  BitTorrent Sync[6731] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Jan  2 13:39:36  BitTorrent Sync[6731] <Error>: This user is not allowed access to the window system right now.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: Invalid Connection ID 0
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
2016-01-02 13:39:36.814 BitTorrent Sync[6731:336762] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-02 13:39:36.815 BitTorrent Sync[6731:336762] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-02 13:39:36.815 BitTorrent Sync[6731:336762] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-02 13:39:36.816 BitTorrent Sync[6731:336762] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan  2 13:39:36  BitTorrent Sync[6731] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Link to comment
Share on other sites

cnkeller, yes "--generate-secret" option is available for linux only. thank you for reporting about that we'll improve our KB article.

I suspect that something is wrong with configuration file. You can contact us via this form and send your config file (replacing secret and IP addresses with *** if you want). Then we'll check it and tell you how to fix it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.