roberth1990

New Members
  • Posts

    1
  • Joined

  • Last visited

roberth1990's Achievements

New User

New User (1/3)

  1. Hello I downloaded the latest stable version of bittorrent sync for linux to my VPS. I used this howto: https://whatbox.ca/wiki/Bittorrent_Sync Here is my configuration file: { "device_name": "My Sync Device", "listening_port" : 0, // 0 - randomize port/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory where binary is located. otherwise user-defined directory will be used */"storage_path" : "/home/roberth1990/.btsync",/* set location of pid file */// "pid_file" : "~/btsync/btsync.pid",/* use UPnP for port mapping */ "use_upnp" : true,/* limits in kB/s. 0 - no limit */ "download_limit" : 0, "upload_limit" : 0,/* proxy configuration */// "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy// "proxy_addr" : "192.168.1.2", // IP address of proxy server.// "proxy_port" : 1080,// "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure// "proxy_username" : "user",// "proxy_password" : "password", "webui" : { "listen" : "0.0.0.0:49539" // remove field to disable WebUI/* preset credentials. Use password or password_hash */ ,"login" : "roberth1990" ,"password" : "******"// ,"password_hash" : "some_hash" // password hash in crypt(3) format// ,"allow_empty_password" : false // Defaults to true/* ssl configuration */// ,"force_https" : true // disable http// ,"ssl_certificate" : "/path/to/cert.pem"// ,"ssl_private_key" : "/path/to/private.key"/* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / */ ,"directory_root" : "/home/roberth1990/files/"/* directory_root_policy defines how directory_root is used (linux only). Valid values are: "all" - accepts directory_root and its subdirectories for 'getdir' and 'adddir' actions "belowroot" - accepts directory_root's subdirectories for 'getdir' and 'adddir' actions, but denies attempts to use 'adddir' to create directories directly within directory_root Default value is "all". */// ,"directory_root_policy" : "all"/* dir_whitelist defines which directories can be shown to user or have folders added (linux only) relative paths are relative to directory_root setting */// ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ] }/* !!! if you set shared folders in config file WebUI will be DISABLED !!! shared directories specified in config file override the folders previously added from WebUI. *//*, "shared_folders" : [ { "secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret "dir" : "/home/user/bittorrent/sync_test", // * required field "use_relay_server" : true, // use relay server when direct connection fails "use_tracker" : true, "use_dht" : false, "search_lan" : true, "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders "known_hosts" : // specify hosts to attempt connection without additional search [ "192.168.1.2:44444" ] } ]*//* Advanced preferences can be added to config file. Info is available at http://sync-help.bittorrent.com */}I started bittorrent sync and tried to access it via http://taurus.whatbox.ca:49539/ as instructed in the howto, but it just loads for a long time and returns with "This webpage is not available" EDIT: Okay, I checked top, and it is obvious that it is shutting down as soon as webui tries to access it but, the webui doesn't return with "This webpage is not available" after while, so it wasn't obvious to me at the same time as I didn't check top. Here is the log: platform: Linux 3.15.2-hardened-whatbox #1 SMP Wed Jul 2 05:37:50 UTC 2014 x86_64version: 2.0.105[20150420 15:14:28.170] Can't copy file /home/roberth1990/.btsync/settings.dat - 2 No such file or directory[20150420 15:14:28.179] total physical memory 536870912 max disk cache 2097152[20150420 15:14:28.189] Using IP address 95.211.194.178[20150420 15:14:28.190] Unable to listen for HTTP traffic on port 49539. Exiting...[20150420 15:14:28.193] My PeerID: 10A4082A41D3A52DDC5B965B004F6BEAA954FE02[20150420 15:14:28.209] Can't copy file /home/roberth1990/.btsync/sync.dat - 2 No such file or directory[20150420 15:14:28.209] Can't copy file /home/roberth1990/.btsync/history.dat - 2 No such file or directory[20150420 15:14:29.210] Shutdown. Saving config sync.dat[20150420 15:16:57.063] total physical memory 536870912 max disk cache 2097152[20150420 15:16:57.073] Using IP address 95.211.194.178[20150420 15:16:57.073] Unable to listen for HTTP traffic on port 49539. Exiting...[20150420 15:16:57.076] Loading config file version 2.0.105[20150420 15:16:57.076] My PeerID: 10A4082A41D3A52DDC5B965B004F6BEAA954FE02[20150420 15:16:58.107] Shutdown. Saving config sync.datWhat am I doing wrong?