diworm Posted April 25, 2013 Report Share Posted April 25, 2013 Hi! I try start btsync from debian console..{"device_name": "My Exchanger","listening_port" : 0, // 0 - randomize port/* storage_path dir contains auxilliary app filesif no storage_path field: .sync dir created in the directorywhere binary is located.otherwise user-defined directory will be used*/// "storage_path" : "/home/user/.sync",// uncomment next line if you want to set location of pid file"pid_file" : "/var/run/syncapp/syncapp.pid","check_for_updates" : true,"use_upnp" : true, // use UPnP for port mapping/* limits in kB/s0 - no limit*/"download_limit" : 0, "upload_limit" : 0,/* remove "listen" field to disable WebUIremove "login" and "password" fields to disable credentials check*/"webui" :{// "listen" : "0.0.0.0:8888","login" : "admin","password" : "qwerty"}/* !!! if you set shared folders in config file WebUI will be DISABLED !!!shared directories specified in config fileoverride the folders previously added from WebUI.*//*,"shared_folders" :[{// use --generate-secret in command line to create new secret "secret" : "MY_SECRET", // * required field "dir" : "/home/worm/exchanger", // * required field// use relay server when direct connection fails "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true,// enable sync trash to store files deleted on remote devices "use_sync_trash" : false,// specify hosts to attempt connection without additional search "known_hosts" : [// "192.168.1.2:44444",// "myhost.com:6881" ]}]*/// Advanced preferences can be added to config file.// Info is available in BitTorrent Sync User Guide.}andconsole cmd: /home/worm/btsync/btsync --config /home/worm/btsync/btsync.confand see:To use BitTorrent Sync you should specify shared directories in config file or enable Web UIWhat's wrong with my config? Quote Link to comment Share on other sites More sharing options...
Automatic Coding Posted April 25, 2013 Report Share Posted April 25, 2013 You've commented out both the "listen" part of the config and the folder part of the config, choose one or the other. Quote Link to comment Share on other sites More sharing options...
Urist Posted April 25, 2013 Report Share Posted April 25, 2013 To expand on what Auto (Do you mind if I call you Auto?) was saying, the "/*" and "*/" are the beginning and end of comment blocks. The config has them commented out to begin with and you need to remove them for the config to see them. Look at the top and bottom of the snip below./*"shared_folders" :[{// use --generate-secret in command line to create new secret "secret" : "MY_SECRET", // * required field "dir" : "/home/worm/exchanger", // * required field// use relay server when direct connection fails "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true,// enable sync trash to store files deleted on remote devices "use_sync_trash" : false,// specify hosts to attempt connection without additional search "known_hosts" : [// "192.168.1.2:44444",// "myhost.com:6881" ]}]*/ 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.