nhisyam Posted November 8, 2013 Report Share Posted November 8, 2013 Hi, I have not been able to run BittorrentSync app using the --config parameter. After I run it, nothing happens and the app doesn't run. Anyone managed to get this running on Mac OS X? Thanks. Quote Link to comment Share on other sites More sharing options...
voz Posted November 8, 2013 Report Share Posted November 8, 2013 I was able to run on Mac OS 10.9: $ /Applications/BitTorrent\ Sync.app/Contents/MacOS/BitTorrent\ Sync-config ~/btconfig/config.json Make sure that you have the latest version of the client. Quote Link to comment Share on other sites More sharing options...
nhisyam Posted November 8, 2013 Author Report Share Posted November 8, 2013 I see. Thanks. Now I am able to run it, but still I can't seem to get it running correctly. The application seems to now run with the specified config file. But I still can't access the HTTP API. - I have provided valid storage_path- I'm using my local IP address (192.168.1.34:8888)- I entered correct API key Am I missing something? Quote Link to comment Share on other sites More sharing options...
Decipher Posted November 9, 2013 Report Share Posted November 9, 2013 Try 127.0.0.1:8888, and also, if "use_guid" is set to false then you wouldn't be able to see anything other than when you use the API functions. Quote Link to comment Share on other sites More sharing options...
nils Posted November 9, 2013 Report Share Posted November 9, 2013 I have tried the same on 10.9, but was unsuccessful. Can one of you post a working config? Quote Link to comment Share on other sites More sharing options...
nils Posted November 10, 2013 Report Share Posted November 10, 2013 Got it working with a sample config generated with Python from another thread . My minimal config :{ "storage_path" : "/Users/username/Library/Application Support/BitTorrent Sync", "use_gui" : true, "webui" : { "listen" : "127.0.0.1:8888", "api_key" : "XXX" } Quote Link to comment Share on other sites More sharing options...
jeffrey Posted November 11, 2013 Report Share Posted November 11, 2013 Got it working with a sample config generated with Python from another thread . My minimal config :{ "storage_path" : "/Users/username/Library/Application Support/BitTorrent Sync", "use_gui" : true, "webui" : { "listen" : "127.0.0.1:8888", "api_key" : "XXX" } I had the same issue. This works for me. Thx! Quote Link to comment Share on other sites More sharing options...
nhisyam Posted November 12, 2013 Author Report Share Posted November 12, 2013 Finally got it working. For my case it fails to run because existing Bittorrent Sync app is running and using the same storage_path. Dohh! Thanks guys! Quote Link to comment Share on other sites More sharing options...
jonseymour Posted January 14, 2014 Report Share Posted January 14, 2014 Hey guys - thanks for the helpful thread. When I use $ /Applications/BitTorrent\ Sync.app/Contents/MacOS/BitTorrent\ Sync-config ~/btconfig/config.json in the terminal, it freezes (although the http API does work). I am observing a similar freeze in the development environment (LiveCode 6.5.1) when I issue the same "shell" command. How can I run this in a "background" mode? Or, what am I missing? Thanks in advance, Jon Quote Link to comment Share on other sites More sharing options...
dch Posted February 6, 2014 Report Share Posted February 6, 2014 Either set up a launchd plist, for example here's one for Apache CouchDB:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"> <dict> <key>Label</key> <string>org.apache.couchdb</string> <key>EnvironmentVariables</key> <dict> <key>HOME</key> <string>/usr/local/var/lib/couchdb/</string> </dict> <key>ProgramArguments</key> <array> <string>/usr/local/bin/couchdb</string> </array> <key>UserName</key> <string>couchdb</string> <key>StandardOutPath</key> <string>/dev/null</string> <key>StandardErrorPath</key> <string>/dev/null</string> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/> </dict></plist>modify this file as needed, put it in `/Library/LaunchDaemons/com.bittorrent.btsync.plist` and then use `/usr/bin/sudo launchctl load -w /Library/LaunchDaemons/com.bittorrent.btsync.plist` to start it and `/usr/bin/sudo launchctl unload /Library/LaunchDaemons/com.bittorrent.btsync.plist` to stop it Alternatively, run it when you need it from the terminal:/Applications/BitTorrent\ Sync.app/Contents/MacOS/BitTorrent\ Sync-config ~/btconfig/config.json &the & forces it to run in the background. Quote Link to comment Share on other sites More sharing options...
willyt Posted April 3, 2014 Report Share Posted April 3, 2014 Did anyone get a launchDaemon to work? Bittorent Sync seems to just quit after a couple of seconds, it doesn't log anything to any standard system logs either so there's no way to figure out whats going wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.