Vince42

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Vince42

  1. Okay, my bad ... but might I add that this is at best a really weird config file format? Why not use some validating XML? That would save a lot of irritation ... I know, this applies to linux daemon users mainly, but still ... Thank you very much for the help though! Cheers Vince
  2. Hi, now I finally got an error message: Error while parsing config file: Unexpected end of config file (are you missing '}') ?(I really wish we had XML config files ... *sigh*) My config file reads like this: //!/usr/sbin/btsync-daemon --configDAEMON_UID=username// DAEMON_GID=usergroupDAEMON_UMASK=0002{"device_name": "BT","listening_port": 12345,"storage_path": "/home/username/.btsync","check_for_updates": false,"use_upnp": false,"download_limit": 0,"upload_limit": 0,"disk_low_priority": true,"lan_encrypt_data": true,"lan_use_tcp": false,"rate_limit_local_peers": false,"folder_rescan_interval": 600,//"sync_max_time_diff": 600,//"max_file_size_diff_for_patching": 1000,//"max_file_size_for_versioning": 1000,//"sync_trash_ttl": 30,"webui": {},"shared_folders": [{"secret": "SECRET1","dir": "/home/username/sync/first","use_relay_server": true,"use_dht": false,"search_lan": false,"use_sync_trash": true},{"secret": "SECRET2","dir": "/home/username/sync/second","use_relay_server": true,"use_dht": false,"search_lan": false,"use_sync_trash": true}]}I also tried a variant that I found here in forums with "shared_folders" : [{ ... }],"shared_folders" : [{ ... }]but that one did not work either (and does not really make sense either). I am able to launch the daemon with sample/simple.config and sample/complex.config. I tried to adjust complex.config, but once I entered my details I got the error message again. The config file is owned by username:usergroup and is chmod 600 (recommended in a bittorrent blog post). All specified folders exist and are for the time being set to 777 (later on 700 for .btsync and 600 for sync should suffice, I guess?) Thank you very much in advance for any help ... Cheers Vince
  3. Hi, I managed to install btsync on my Ubuntu 12.04 LTS server and created a config file based on the samples provided. However, when I start btsync with /etc/init.d/btsync start it fails and consequently /etc/init.d/btsync status * BTSYNC 'username' is not running is displayed (where 'username' is mentally to be displayed by the user that I am running the config for). So I am stuck at this point as there is no sync.log, nor did it help to provide "FFFF" in debug.txt in the user's .btsync folder. Where can I start to debug why btsync won't start the daemon? Cheers Vince