love2scoot

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    1

About love2scoot

  • Rank
    New User

Profile Information

  • Gender
    Not Telling
  1. I have a detailed how-to for running btsync as a service on page 4 in the thread linked to above by GreatMarko. I can confirm this works very well and have already sync'd near 100GB internationally using this method.
  2. Nice find, I'll add this to my documentation. I've had good luck so far with (2) 2003R2 Servers and this technique- good performance and no bad data.
  3. (Thanks to user SNG for doing some of the leg work here) I think we finally have a working solution for running Bittorrent Sync as a service. One of the features added in 1.4.103 is the ability to run a command line argument "/webui" which sets the default interface to a web page. This feature finally gets us over the finish line and allows for true run as a service under Windows. Prerequisites:Install / Update Bittorrent Sync to at least version 1.4.103 and run the application.Download the latest NSSM (Non-Sucking Service Manager) from http://nssm.cc/ and extract the contents. (I used v2.24) Create a text file in the Bittorent Sync Program Files folder called "btsync.conf" and populate this file with the following lines:{ "device_name": "HOSTNAME", "webui" : { "listen" : "0.0.0.0:8888", "login" : "USERNAME", "password" : "PASSWORD" }} Replace HOSTNAME with the name that you wish to use to identify the Bittorrent Sync instance. Replace USERNAME with the username you wish to use for the WebUI credentials. Replace PASSWORD with the username you wish to use for the WebUI credentials. The "listen" line is important because the WebUI only responds to local loopback by default while 0.0.0.0 allows for response to any host. You may optionally specify an IP to limit responses to that specific host.Installation as a Service: Open a command prompt (with Admin privileges for Windows OSs newer than XP/2003) and change directories into the extracted NSSM folder from step 2.Type "nssm install btsync", and the GUI interface for NSSM will appear.In the "Application" tab, click the ellipse button, browse to the Bittorrent Sync Program Files folder, and select "BTsync.exe"It will populate the "Startup Directory" field, leave this at defaultUnder the "Arguments" field, enter "/webui /config btsync.conf"(optional) Under the "Details" tab, enter "Bittorrent Sync Service Wrapper" in the "Display Name" field.Make sure that "Startup type" is set to "Automatic"Leave all other fields at default and click the "Install Service" button.Make sure to close the instance of Bittorrent Sync if it is currently running in your user session.Open the Services.msc snap-in, select "Bittorrent Sync Service Wrapper", and click start.Open a browser on the same local network, and enter http://HOSTNAME:8888 (where HOSTNAME is the name of the computer). You should be prompted to enter credentials. You're done! You should now be able to manage Bittorrent Sync on the computer without an active user session. I have completed the above procedure on two separate servers (2003R2) and was able to successfully sync data between them, after setting up the folders using Chrome from a third computer.
  4. I agree. We attempted to get around syncing two Windows 2003 Servers (no run as a service on Windows) by mounting two Windows shares on two Ubuntu Virtual Machines, using CIFS mounts in fstab. Everything appeared to run fine, only later did we find that all synced data had been silently corrupted once every 4MB or so. Since this time we've shied away from attempting to sync files across CIFS shares.
  5. I posted this in the main release thread for 1.4.103, but it's not really getting traction there. As part of the release note for .103 comes the line "- Added "/webui" command line parameter to run WebUI on Windows in default browser." The obstacle that we were previously experiencing when wrapping the btsync program into a service (on Windows) was the lack of interaction to that service (since the standard Windows GUI was not available for the wrapped program). The previous solution was to kill the background service, run the program from the gui, make the changes, shutdown the program, then manually restart the service. This was obviously not a realistic use case. If we now have an options to run btsync with a WebGUI as default, it seems that we could add the switch to the program call, then wrap the program, and interact with btsync on Windows (via the WebGUI) without having to have an active user session running. I haven't tried this personally yet, but it seems that we may have a realistic use case here, unless I'm forgetting some dependency. Can someone confirm that this works?
  6. Hmm, so it seems possible that starting btsync with the new /webui parameter and then wrapping the program in a Windows service gets us past the finish line on running AND managing btsync under Windows without having an active user session; or are we still missing a component here?
  7. WordenPond- Can you confirm that btsync is persistent across reboots on the ix2?
  8. When last I checked, these install instructions worked for the Lenovo Ix2 / Ix4 NAS models, but upon the next reboot cycle the btsync software was wiped out by the NAS (although all data remained intact). Can someone please confirm / deny that this is the case with the latest firmware (4.1.104.31360)?