Search the Community

Showing results for tags 'linux'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. Good day, I've been successfully running btsync 1.3.8 on CentOS 7.3. I am looking to update to latest (1.4.1) and have a few questions: 1. The upgrade instructions state I need to place the rslsync along btsync. Where is that? /var/lib/btsync/? /var/lib/btsync has a folder .SyncUserxxxxxxx. Is that the folder you mean by ".sync" 2. I have the old btsync repo under /etc/yum.repos.d If i add the new repo for resilio, will that work with above manual install? 3. Will old shares be preserved? Thank you,
  2. Hi, I've recently moved from Sync to Resilio on a Raspberry Pi running Raspbian. I had to restart the computer it's installed on and now when I go to the WebGui there aren't any of the settings or folders I had configured. This includes the licence file to upgrade to Pro. I followed the instructions at: and all of the folders being synced are owned by the same user. Is there anything I can do to refresh to the previously set settings or is there anything I have overlooked in the install to prevent this happening next time I restart? Resilio and it's predecessor are great and I use it all the time. I don't want to migrate away from it if settings don't persist after a restart! Harold
  3. I am using Ubuntu 16.10. It took a while to set up due the documentation being a bit sparse. I am having an issue with permissions. Initially I was able to select my home folder however I needed to change the hosts file to allow my phone to access the laptop. I closed the browser and attempted to try again from scratch but this time instead of my username, Sync is using rslsync which does not have permission to write to my home folder. I have purged and started from fresh to no avail. How can I reset the whole process?
  4. Just a heads up for any one using the aur package on arch linux. It seems like the resilio sync from aur has the wrong pid_file option in the default config in /etc/. This line "pid_file" : "/var/run/btsync/" should be "pid_file" : "/var/run/rslsync/". The error disabled the startup service. systemctl status rslsync.service returned ● rslsync.service - Resilio Sync service Loaded: loaded (/usr/lib/systemd/system/rslsync.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2016-11-11 14:25:25 CET; 19min ago Main PID: 10007 (code=exited, status=1/FAILURE) Nov 11 14:25:22 PC-NAME systemd[1]: Started Resilio Sync service. Nov 11 14:25:22 PC-NAME rslsync[10007]: [14:25:22.163] Debug log mask has been set to FFFFFFFF Nov 11 14:25:22 PC-NAME rslsync[10007]: [14:25:22.163] Features mask has been set to 0 Nov 11 14:25:22 PC-NAME rslsync[10007]: [20161111 14:25:22.166] ZIP: Can't locate [version] in zip, error -100. Nov 11 14:25:22 PC-NAME rslsync[10007]: [20161111 14:25:22.167] I! Configuration from file "/etc/rslsync.conf" has been ap Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Main process exited, code=exited, status=1/FAILURE Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Unit entered failed state. Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Failed with result 'exit-code'.
  5. I am trying to run Resilio Sync 2.4.1 on a Raspberry pi 3 running Raspbian. I followed these instructions: Installing Sync Package On Linux and the service comes up with two instances running, here is the output of ps -axu | grep resil to demonstrate: rslsync 660 0.1 0.7 84232 7544 ? Ssl 14:56 0:03 /usr/bin/rslsync --config /etc/resilio-sync/config.json pi 1160 0.1 0.7 70872 6636 ? Ssl 14:56 0:02 /usr/bin/rslsync --config /home/pi/.config/resilio-sync/config.json I have a resilio-sync direction in /etc/ with the following files in it: -rw-r--r-- 1 root root 201 Sep 29 08:55 config.json -rwxrwxr-x 1 root root 496 Sep 29 08:54 -rw-r--r-- 1 root root 222 Sep 29 08:54 user_config.json and I have a launch script in in /etc/init.d/. These should all be vanilla from the install instructions but I can't figure out why two instance are launching? the config.json looks like this: { "storage_path" : "/var/lib/resilio-sync/", "pid_file" : "/var/run/resilio-sync/", "agree_to_EULA": "yes", "webui" : { "listen" : "" } } And the user_config.json looks like this: { "storage_path" : "{HOME}/.config/resilio-sync/storage", "pid_file" : "{HOME}/.config/resilio-sync/", "agree_to_EULA": "yes", "webui" : { "listen" : "" } } I'm also curious how to change the user that is used to launch the service at boot. I'd prefer the user "pi" over the user "rslsync" since it will be easier to manage the permissions.
  6. BTSYNC DESKTOP GUI FOR ARCH, DEBIAN, UBUNTU AND OTHER DERIVED DISTRIBUTIONS If you are using Arch Linux, Ubuntu, Debian, Raspian or other derived distributions based on Debian and you are searching for an easy way to deploy BitTorrent Sync on your systems, this topic is definitively for you. Here you will find information about a family of easy to install packages that offer both a solution for the need of typical server/cloud operators as for interactive users. The desktop gui package is explicitly intended for desktop usage and provide a user experience similar to BitTorrent Sync on Windows or Mac OSX by still giving the user the possibility to customise his installation if he has special needs. This topic covers only the desktop user package. If you are searching for the server package, please look here. THE SOFTWARE AND THE PACKAGES ARE UNOFFICIAL AND NOT THE WORK OF BITTORRENT® INC. PLEASE DO NOT CONTACT THE BITTORRENT® INC. SUPPORT WITH QUESTIONS OR PROBLEMS RELATED TO THE USE OF THE PACKAGES. YOU WILL FIND COMPETENT HELP AND SUPPORT IN THIS FORUM THREAD INSTALLATION ON ARCH LINUX The Arch Linux Package in the AUR is maintained by Martin Wimpress (@flexiondotorg). The package is named btsync-gui and can be installed from the AUR using your favourite package manager. e.g.: if you are using yaourt: sudo yaourt -S btsync-guiWhen you have finished installing, you can skip the next section below and move directly to the USAGE NOTES. INSTALLATION ON DEBIAN, UBUNTU, LINUX MINT, RASPBIAN OR OTHER DEBIAN DERIVATES The most easy and fast way to install the repository is to paste that at a terminal prompt: sh -c "$(curl -fsSL"The script explains what it will do and then pauses before it does it asking for your permission. If you encounter any problems or prefer to do it manually, please look here. Now update the package index and install btsync-gui by pasting that at a terminal prompt: `which sudo` apt-get update`which sudo` apt-get install btsync-guiOn some systems the AppIndicator library is not available or maybe you do not want to use it. In this case, you may want to install the GTK only version of the BitTorrent Sync GUI instead: `which sudo` apt-get update`which sudo` apt-get install btsync-gui-gtkPlease keep in mind, that this will work only on GTK based desktops. If you install it on other desktops like Unity, btsync-gui-gtk will start but you will see nothing and you have no control over the application! Install btsync-gui-gtk only if you know exactly what you are doing!!! If this happened, you can fix it by installing btsync-gui and rebooting your system. After the successful installation, you have to initially start BitTorrent Sync. You have various possibilities to do this: Log out and log in again. Since BitTorrent Sync GUI is registered in the autostart group, it will start as soon as you log in.Select BitTorrent Sync from the menu or the default application launcher of your desktop.USAGE NOTES The BitTorrent Sync GUI aims to be a clone of the original BitTorrent Sync application on Windows and Mac OSX and to replace on long term the legacy package btsync-user. The GUI provides two modes of operation: Standalone Mode: This is the default mode. When the GUI starts, an underlaying BitTorrent Sync agent is started too providing an overall experience similar to the GUI applications on Windows or Mac OSX.Client Mode: The GUI can be started from the command line with parameters specifying a connection to a remote BitTorrent Sync system. In this case, the GUI does not start a local BitTorrent Sync agent, but connects to an already running agent at a remote location. This will work only, if the remote agent has activated API access by specifying a valid API key in the configuration file.The behaviour of the GUI can be influenced by specifying various options on the command line. There is also a way to make some options persistent across restarts making it superfluous to specify the options each time you start the GUI. You can get detailed help about the command line options by invoking the man page: man btsync-guiHere you find an overview of the available options: usage: btsync-gui [-h] [--log {CRITICAL,ERROR,WARNING,INFO,DEBUG}] [--host HOST] [--port PORT] [--username USERNAME] [--password PASSWORD] [--bindui BINDUI] [--webui] [--savedefaults] [--cleardefaults]optional arguments: -h, --help show this help message and exit --log {CRITICAL,ERROR,WARNING,INFO,DEBUG} Sets the logging level. By default the logging level is WARNING --host HOST Hostname for the connection to BitTorrent Sync. If not specified, a local BitTorrent Sync agent will be launched. --port PORT Optional port number for the connection to BitTorrent Sync. If not specified, port 8888 is taken for a connection to a remote BitTorrent Sync agent or (8999 + uid) is taken when creating a locally lauched agent. This option can be made persistent for local agents with --savedefaults --username USERNAME Optional user name for connecting to a remote BitTorrent Sync agent or username to use when creating a locally launched agent. This option can be made persistent for local agents with --savedefaults --password PASSWORD Optional password for connecting to a remote BitTorrent Sync agent or username to use when creating a locally launched agent. This option can be made persistent for local agents with --savedefaults --bindui BINDUI Optional bind address for the Web UI of a locally created BitTorrent Sync agent. By default the agent binds to If you want the Web UI of the agent to be reachable by other computers, specify one of the available IP addresses of this computer or "all" to bind to all available adapters. This option can be made persistent for local agents with --savedefaults --webui Include the Web UI in the menu. This option can be made persistent with --savedefaults --savedefaults If specified, the optionally supplied credentials, bind address and port will be stored as default in the application preferences and used when launching a local BitTorrent Sync agent. --cleardefaults If specified, all internally stored credentials, bind address and port information will be cleared from the application preferences.The usage of the command line options will be explained by some examples below. STANDALONE MODE By default there is no way to access the Web UI provided by the BitTorrent Sync agent, since the agent itself defines at each start random credentials to protect the system. If you still want to access the Web UI, you can activate an extended menu option by specifying --webui on the command line. You will then have an additional menu item, that invokes a browser and connects you to the Web UI. If you want to make this setting persistent, you can invoke the following command from the console: btsync-gui --webui --savedefaultsFrom now you will not need to specify it again at each start. Sometimes it may happen, that you want to access your running BitTorrent Sync agent from another computer via the Web UI or a btsync-gui in Client Mode. By default this is not possible, because of two reasons: The BitTorrent Sync agent binds the administration interface only to the loopback adapter making it possible to connect only from the same machine (This is a security feature).The BitTorrent Sync agent is started at every time with randomly generated credentials. Without knowing them, it is impossible to access the administration interface of the agent (This is also a security feature).For users that want to access their system from another computer, there is still a possibility to configure the GUI in a way that makes the agent accessible also from other computers. In order to do so, the following parameters must be changed: The BitTorrent Sync agent must bind its administrative interface to all adapters of the system or an adapter reachable from outside.The BitTorrent Sync agent must bind its administrative interface to a well-known port. By default the port is the sum of 8999 and the uid of the user.The credentials must be set to something known.The GUI can be launched in such a mode, by specifying the following parameters: btsync-gui --bindui --port 10888 --username Leopoldo --password SuperSecretThis configures the BitTorrent Sync agent to bind on all interfaces on port 10888 and to be accessible with the user name "Leopoldo" and the password "SuperSecret". Also these settings can be made persistent by adding the option --savedefaults WARNING: as every comfort function, you pay the comfort by lowering the security. Remember: the product of comfort and security is a constant. You cannot increase both. CLIENT MODE In client mode, the GUI can be used to access a remotely running BitTorrent Sync agent. The only prerequisites are that the remote BitTorrent Sync agent is reachable from your computer, you know the credentials and the API access is enabled on the remote agent. You can also use the GUI to connect to another machine where a BitTorrent Sync GUI is running in standalone mode, if you have configured access possibilities like shown in the example above. The connection to a remote BitTorrent Sync agent is done by entering the following command: btsync-gui --host --port 8888 --username Leopoldo --password SuperSecretIf you are able to access the Web UI of a remote BitTorrent Sync system, you should know everything you need to also launch successfully the GUI. Since the connection to remote systems is slower, you will notice the following limitations: The refresh rate is slower. It adapts dynamically to the overall performance.During the status refreshes, the GUI may be a bit unresponsive.There are no local file system checks, when you add a new folder. You must be sure, that you enter a valid path on the remote machine.Some features are disabled (Pause/resume, Enable/Disable Debug) since they are not feasible on remote systems.COMPATIBILITY The GUI packages are available for the same architectures as released by BitTorrent Inc.: i386 - Intel/AMD 32 Bitamd64 - Intel/AMD 64 Bitarmel - ARM EABIarmhf - ARM hard floatpowerpc - PowerPCThe GUI packages have been tested on the following distributions: Debian Wheezy with Gnome DesktopUbuntu Raring 13.04 with Unity DesktopLinux Mint Petra with Cinnamon DesktopOther users have reported successful installations on: Xubuntu Saucy 13.10 with OpenBox+Tint2Debian Jessie with KDEUbuntu Trusty 14.04 with Cinnamon, MATE and OpenBoxArch Linux with MATEThe GUI package has also been released for other Linux distributions: Arch Linux: Packages can be found in the AURWANTED Maintainers for other Linux distributions beeing able to write a suitable packaging for their favourite distribution: Centos/RHEL (rpm)Fedora (rpm)SLES(rpm)GentooNow it's up to you to test it and give me lots of feedback in order to extend this list. Any related feedback is highly appreciated. BUG REPORTS, CONTRIBUTION AND SOURCES If you want to contribute to the development of the packages or if you are curious how this all works, you may find the current sources, the deployment scripts and packaging on GitHub. If you want to contribute to the localisation by translating changed strings or by adding support for your favourite language, you may join the localisation team on If you have experienced a reproducible issue that is related to the gui or the packaging and not to BitTorrent Sync itself you are strongly encouraged to open an issue on the project's GitHub Page. Issues related to the native functionality of BitTorrent Sync should instead be discussed by creating a new topic or partecipating to an already existing topic in the BitTorrent Sync Forum.
  7. I am running Ubuntu 15.10 and just installed Resilio to sync some folders from my LAN connected NAS over the web. When I try to add a folder from the NAS, it gives me the error "Don't have permissions to write to selected folder" Any help? TYFYC Fondue
  8. Hello everyone, I am new here. I originally joined this forum to get help. I am on Linux Mint and I was following this tutorial to install Resilio Sync... Installing Sync package on Linux Well, I am here to tell Linux Mint users not to follow that guide. First of all, the guide was not written for beginners, and secondly, it is flawed. When you reach the part to run the systemctl commands, those commands will fail every time. Why? Because there is no such thing as systemctl on your computer, or at least, that is what will happen to you if you are a Linux Mint user like me. I literally wasted hours trying to figure out was was wrong and I definitely would not want the same thing to happen to someone else. Okay, now that I have given you the bad news, here’s the good news. Just follow these YouTube videos and you’ll install Resilio Sync like a breeze... Bittorrent Sync in Linux (Part 1) Bittorrent Sync in Linux (Part 2) Bittorrent Sync in Linux (Part 3) Substitute Resilio Sync wherever the person says Bittorrent Sync and you’ll be good. The sync interface is a bit different too, but nothing too hard to figure out. I hope this helps somebody.
  9. Hello everyone. I upgraded to the new btSync passing Resilio version now called 4.1.2 on my devices: QNAP NAS TS-220 PC Windows 10 + dual Boot Linux Kubuntu 16.04 I'm having problems with the time, in spite of all devices must use the update via NTP time server and time zone is set correctly (Rome UTC +1) On the Linux PC, Resilio tells me this error: and in the footer of the page: I tried to change the variable sync_max_time_diff bringing it up to 10800 (the default value is 600 -> 10 minutes) but the error remains. I do not understand what is wrong ... If a terminal (that Linux on the NAS with SSH) give the command date -u ottengo il corretto orario nel formato UTC (due ore in meno rispetto al mio orario nazionale -> Italia) It may be that Resilio on the NAS or on the Linux PC will read out fee and does not take account of what UTC? In advance thank you for your answers
  10. Resilio looks like what I need and I am hoping to buy Pro My use case - sync 1 windows desktop folder and sub folders with Linux Server (hosting a website) and AWS EC2 server It looks like I am missing the Getting Started Manual and or Tutorials or - presumes user has lots of experience working with servers. eg "Installing Sync on Linux" starts with:" If you have btsync package installed", then goes on to Create file /etc/apt/sources.list.d/resilio-sync.list + more instructions. I assume many users will not already be using btsync so I presume I can ignore this part but - I presume I will have lots of questions like: My linux host has a folder named etc/ is the instruction telling me to make folders named apt/ and sources.list.d/ then create the file named /resilio-sync.list? The next instruction says Add public key with the following command: wget -qO - | sudo apt-key add - How? I assume I will have many "where" and "how" questions as I work down the page plus questions like "does this apply to my server" / "my use case scenario" UPDATE: my web host (shared hosting) has confirmed that I will not be able to install Resilio on the server. Will Risilio allow me to do an automatic or manual FTP sync from my desktop to my web host? I am quite competent to follow detailed instructions, but not where it is presumed I have lots of previous experience that I do not have. i assume when I try to connect to Amazon EC2 I will have similar questions to above, without a detailed tutorial. Is there somewhere that I can find much more details instructions / tutorials for Windows and EC2? Or is much more previous knowledge assumed - than I might have? Note, I could live with one way sync to my web host - ie only upload new or updated files. Thanks ColinK
  11. Hi. Today I started getting errors in web interface (linux version, last from your deb repo): Your system was unable to load BitTorrent Sync properly. For information on how to fix this issue, please see the Sync Knowledge Base. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0 Reload I used this version of btsync and browser from they last update. On iPhone Safari - same; on Google Chrome - same. Thank you!
  12. Hi, I just solved an issue I had - just wnated to document it in case it's of some use? I had trouble to automatically start Sync under my user on my Fedora 23 laptop at boot. Although I had enabled btsync as systemd service under my user, it did not start up even after I entered my graphical session. In addition I enabled lingering for my user, i.e., to start a user manager for my user at boot and after logout - so that services under my user will survive me logging out... > sudo loginctl enable-linger $USER > systemctl --user enable btsync > systemctl --user start btsync Still, btsync did not start at boot. Remedy was to change the target for the btsync target from multi-user to default in the [Install] section in /usr/lib/systemd/user/btsync.service > /usr/lib/systemd/user/btsync.service # #original target # working target After disabling and enabling again btsync with systemctl for my user for resetting the link to match the target, i.e., $HOME/.config/systemd/user/ btysnc starts finally at boot under my user. I suspect, that maybe the network may be was an obstacle for multi-user as target, since not necessarily I have a network at start (is multi-user coupled with network-online??) Maybe somebody has an idea, what possible drawback could be with default as target? From what I see, it can change at some point (current graphical). Maybe graphical is not the optimal target. Anyway, I had thought that graphical downstream of multi-user, so I wonder why it is working Cheers, Thomas
  13. I am running sync on a number of boxes (Ubuntu 14.04), all with the exact same configuration, which you can see here - Recently on one of my laptops, it is asking for a new identity when I visit the webGUI. If I do, it creates a new identity in the storage_path folder where the original .SyncUser is. Is there any way to specify to use the current .SyncUser folder that is in the storage_path folder, rather than try and create a new one?
  14. Hi, I made one small tweak to my config yesterday and since then, BTSync (latest official Linux version) no longer starts. Systemd kills it immediately, then retries infinitely, failing constantly. The change I made was the download directory for all the folders, from /path/a/b to /path/b. All paths exist and are accessible. The .sync folders are still present (though I did try deleting them all to see if that was causing an issue). Nothing else has changed. I've removed and purged btsync with apt-get, tried a basic config as well as my normal one. I've even tried the standard example from the installation. Nothing works, and what's weirder is nothing has (to my knowledge) changed on the system (a Pi). I've tried everything and am lost - some logs below, which hopefully someone can diagnose better than me. I think a dependency might be broken though... Thanks for any help! Will Systemd status May 23 18:58:44 raspberrypi systemd[1]: Started BitTorrent Sync service. pi@raspberrypi:~$ sudo systemctl status btsync.service ● btsync.service - BitTorrent Sync service Loaded: loaded (/lib/systemd/system/btsync.service; disabled) Active: inactive (dead) Docs: May 23 18:58:25 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 18:58:30 raspberrypi systemd[1]: Stopped BitTorrent Sync service. May 23 18:58:32 raspberrypi systemd[1]: Starting BitTorrent Sync service... May 23 18:58:33 raspberrypi systemd[1]: Started BitTorrent Sync service. May 23 18:58:36 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 18:58:41 raspberrypi systemd[1]: Stopped BitTorrent Sync service. May 23 18:58:43 raspberrypi systemd[1]: Starting BitTorrent Sync service... May 23 18:58:44 raspberrypi systemd[1]: Started BitTorrent Sync service. May 23 18:58:46 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 18:58:50 raspberrypi systemd[1]: Stopped BitTorrent Sync service. pi@raspberrypi:~$ sudo systemctl status btsync.service ● btsync.service - BitTorrent Sync service Loaded: loaded (/lib/systemd/system/btsync.service; disabled) Active: inactive (dead) Docs: May 23 18:59:46 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 18:59:51 raspberrypi systemd[1]: Stopped BitTorrent Sync service. May 23 18:59:53 raspberrypi systemd[1]: Starting BitTorrent Sync service... May 23 18:59:53 raspberrypi systemd[1]: Started BitTorrent Sync service. May 23 18:59:55 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 19:00:04 raspberrypi systemd[1]: Stopped BitTorrent Sync service. May 23 19:00:06 raspberrypi systemd[1]: Starting BitTorrent Sync service... May 23 19:00:06 raspberrypi systemd[1]: Started BitTorrent Sync service. May 23 19:00:09 raspberrypi systemd[1]: Stopping BitTorrent Sync service... May 23 19:00:14 raspberrypi systemd[1]: Stopped BitTorrent Sync service. Sync.log (for the standard config) [19:00:52.412] Debug log mask has been set to FFFF [19:00:52.413] Features mask has been set to 0 [20160523 19:00:52.423] Configuration from file "/etc/btsync/config.json" has been applied [20160523 19:00:52.442] ZIP: Can't locate [version] in zip, error -100. [20160523 19:00:52.453] PLC[0x01f321c0] binding on [20160523 19:00:52.453] Socket[0x01f321c0][8] bound listening socket 8 to IP [20160523 19:00:52.454] UDP: bound listening socket 9 to IP [20160523 19:00:52.454] Socket[0x01f32dc0][10] bound listening socket 10 to IP [20160523 19:00:52.458] UPNP: Using IP address [20160523 19:00:52.490] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642 [20160523 19:00:52.490] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD [20160523 19:00:52.490] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293 [20160523 19:00:52.492] Loading config file version 2.3.7, current version 2.3.7 [20160523 19:00:52.492] My PeerID: 10344197918885B006FE520626BBF53C4462DA96 [20160523 19:00:52.493] loaded history: 0 events [20160523 19:00:52.495] setup socket 14 for local peer discovery for success [20160523 19:00:52.495] setup socket 15 for local peer discovery for success [20160523 19:00:52.496] setup socket 16 for local peer discovery for success [20160523 19:00:55.478] Received shutdown request via signal 15 [20160523 19:00:55.483] saved history: 0 events [20160523 19:00:55.503] SyncFolderScanner: shut down [20160523 19:00:55.503] Shutdown. Saving config sync.dat [19:01:02.925] Debug log mask has been set to FFFF [19:01:02.927] Features mask has been set to 0 [20160523 19:01:02.961] Configuration from file "/etc/btsync/config.json" has been applied [20160523 19:01:03.012] ZIP: Can't locate [version] in zip, error -100. [20160523 19:01:03.029] PLC[0x012481c0] binding on [20160523 19:01:03.036] Socket[0x012481c0][7] bound listening socket 7 to IP [20160523 19:01:03.036] UDP: bound listening socket 8 to IP [20160523 19:01:03.037] Socket[0x01248dc0][9] bound listening socket 9 to IP [20160523 19:01:03.038] UPNP: Using IP address [20160523 19:01:03.057] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642 [20160523 19:01:03.057] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD [20160523 19:01:03.058] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293 [20160523 19:01:03.059] Loading config file version 2.3.7, current version 2.3.7 [20160523 19:01:03.060] My PeerID: 10344197918885B006FE520626BBF53C4462DA96 [20160523 19:01:03.060] loaded history: 0 events [20160523 19:01:03.061] setup socket 14 for local peer discovery for success [20160523 19:01:03.062] setup socket 15 for local peer discovery for success [20160523 19:01:03.062] setup socket 16 for local peer discovery for success Sync.log (for my usual config) [20160523 19:06:04.913] SyncFolderNotify: Added path=/home/epistrophy/bt/Will-FileStore/rsyncNEW/home/pi/btsyncOLD with fd=176 [20160523 19:06:05.127] UPnP: Device error "": (-2) [20160523 19:06:06.129] Received shutdown request via signal 15 [20160523 19:06:06.131] saved history: 0 events [20160523 19:06:08.135] UPnP: Could not map UPnP Port on this pass, retrying. [20160523 19:06:10.163] UPnP: Device error "": (-2) [20160523 19:06:10.185] UPnP: Device error "": (-2) [20160523 19:06:10.187] UPnP: Device error "": (-2) [20160523 19:06:10.193] UPnP: Device error "": (-2) [20160523 19:06:10.196] UPnP: Device error "": (-2) [20160523 19:06:10.198] UPnP: Device error "": (-2) [20160523 19:06:10.199] UPnP: Device error "": (-2) [20160523 19:06:10.219] UPnP: Device error "": (-2) [20160523 19:06:10.255] UPnP: Device error "": (-2) [20160523 19:06:10.440] UPnP: Device error "": (-2) [20160523 19:06:10.623] UPnP: Device error "": (-2) [20160523 19:06:10.851] UPnP: Device error "": (-2) [20160523 19:06:11.703] UPnP: Device error "": (-2) [20160523 19:06:12.157] UPnP: Device error "": (-2) [20160523 19:06:12.285] UPnP: Device error "": (-2) [20160523 19:06:12.493] UPnP: Device error "": (-2) [20160523 19:06:12.889] UPnP: Device error "": (-2) [20160523 19:06:14.892] UPnP: Could not map UPnP Port on this pass, retrying. [20160523 19:06:14.892] NAT-PMP: Unable to map port with NAT-PMP. Config { "device_name": "Chuck Berry", "listening_port" : 0, "storage_path" : "/home/pi/btsync/", "pid_file" : "/var/run/btsync/", "sync_trash_ttl": 3, "agree_to_EULA": "yes", "folder_rescan_interval":300, "webui" : { "listen" : "" }, "shared_folders" : [ { "secret" : "x", "dir" : "/home/a1", "use_relay_server" : true, "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, "overwrite_changes" : false }, { "secret" : "y", "dir" : "/home/a2/", "use_relay_server" : true, "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, "overwrite_changes" : false }, { "secret" : "z", "dir" : "/home/a3", "use_relay_server" : true, "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, "overwrite_changes" : false }, { "secret" : "zz", "dir" : "/home/a4", "use_relay_server" : true, "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, "overwrite_changes" : false } ] } Systemd service file [Unit] Description=BitTorrent Sync service Documentation= [Service] Type=forking User=pi Group=pi UMask=0002 Restart=on-failure PermissionsStartOnly=true PIDFile=/var/run/btsync/ ExecStartPre=/bin/mkdir -p /var/run/btsync ExecStartPre=/bin/chown -R pi:pi /var/run/btsync ExecStart=/usr/bin/btsync --config /home/pi/.config/btsync/config2.json [Install]
  15. I am trying to install the latest version of btsyc on a CentOS 6.5 headless server. I cannot reach the WebUI. I configured the webui on port 65000. This is confirmed by the command line reply when I start the service: The service itself is configured to run on port 8888. When I run `lsof -Pnl +M -i4`, I get the following output: btsync 25687 500 9u IPv4 536416051 0t0 TCP *:8888 (LISTEN) btsync 25687 500 10u IPv4 536416052 0t0 UDP *:8888 btsync 25687 500 13u IPv4 536416060 0t0 UDP *:3838 Nothing else seems to be listening on 65000. I tried `netstat -tulpn` as well and the results are the same. I added a rule to iptables and `Iptables -L` returns (among others): But to make sure I tried to run it while the iptables service was completely switched off, and I still could not get any different results. The logfile sows the following: I tried to run webui on a different port, the result is the same. I also tried to bind the webui on my server's IP address instead of, same result. Any ideas? [Update] So I started this whole process again with a default config and on port 8888 and now it worked. As a recommendation for people in the future who have such an issue, try to use this command here: curl -k -v to see if the server is running from the server's command line. It should show a quite long bunch of HTML if the server is running properly. If that works, try to amend the config file from there on
  16. I would like to restore a folder that I accidentally deleted. I can see archived filed in .sync/Archive (several copies of the same file) but I cannot find the option in the GUI to restore these files. This seems to be straightforward on the Mac machine on the other end, but I don't seem to be able to find the option in the dropdown menu in the linux machine where the archived files are located. Is this a missing feature, a configuration problem or just a bug? Is there a way to get around this? Thanks,
  17. Hi BTSync community! The subject explains the issue, let me give some background: sudo systemctl status btsync yields active (running) so this seems to indicate that it is running properly. I previously had set it up with the unofficial repository, but since that is way out of date, at one point in the past I had installed it manually. I could always access the webgui this way. Upon finding out there was the official repository, I installed the official repository on my 14.04 ubuntu server and it synced fine, but I could not access the webgui... I decided I would wait to try again after a fresh install of the now released 16.04 (thought maybe the issue was not uninstalling previous repository properly). I still am seeing the same issue with regards to accessing the webgui. it returns: "site can't be reached" and lower "site refused to connect" in chrome when trying to access 8888. I am not a linux power user by any means, but am generally able to work my way around the terminal reasonably well... point is, don't assume something obvious that should be done has already been done... It may not be obvious to me! Is there something else I have to do to get the webgui working when using the official repository? What troubleshooting should I do next? Thanks for the help in advance!
  18. Hello! Currently we have a setup in which roughly 30 folders are synced over hundred clients. Clients all have read only permissions when as (1) host node has write permissions. We are experiencing high amount of CPU load when all of the peers are connected at the same time. I have received reports of Sync creating thousands of connections. We are assuming the the problems is caused by the connection amount so we have tried to look for max amount of connections setting but in vain. All of these problems occur on 32 bit Linux and in version 2.3.5 but the problem has persisted in all used versions (since 2.3.1?). Sync log is filled by assert failures like: [20160321 18:18:27.818] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/SyncFolder.cpp:1909 [20160328 02:49:51.613] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-204/bencparser.cpp:54 [20160323 19:44:19.611] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/network.cpp:2738 [20160315 19:26:41.793] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-1674/KickSocket.cpp:222 I would upload the log file but it is over 100 MB in size. Similar setup on 64 bit Windows 7 has no problems. System details: OS: Ubuntu Wily CPU: 3 Ghz p4 RAM: 1242 MB
  19. Hi all I have been using btsync on my raspberry pi for a while now and have found it to run very well. Lately I changed over to the official repo for the deb packages and at the same time updated btsync and my system. Now I can no longer access the webui and I also when I try to run "sudo dpkg-reconfigure btsync" it just thinks for about 10 seconds then shows a new line in the prompt. Btsync is still running when i check with systemctl and it is syncing with my desktop successfully however I would like to be able to run the configuration and access the webui. Thanks!
  20. Hi, I was pleased to see the official Linux packages release last week, but on Debian Jessie (on a Raspberry Pi), the CPU usage is up above 100% and often 150%. It's unusable. Has anyone else seen similar or knows a way around it, or do we have to wait for the Sync team to do a fix? Thanks
  21. Hi, i was wondering why one of my server told me his 100 % rootfs. It is a very light installation of ubuntu server. So i researched the reason and found Btsync as the bad guy. I have 2 other btsync installation and found the same symptom there. The /var/lib/btsync is messing up the rootfs and i got more than 10g there! Why? That's not common in linux to mess up the rootfs with a small programm. I found it on my raspberry as well. There was more than 2,4g antoher installation had 8,5g occupied space by BTsync. So why there are such big db files saved in /var/lib/btsync? Why is there no clean up of them? the db are getting bigger and bigger and will break down any system in the future. What is the workaround for that issue? br DIrk
  22. I've an old Atom based NetBook that I'm reprovisioning to use as a BTSYnc 'hub' for home use. I proven the concept by installing Ubuntu 15.10 in a partition alongside the existing Windows XP, but it's quite a heavyweight OS for what I'm doing here. Can anyone suggest the most lightweight linux that I might provision in order to run BTSync ? I'd also like to occupy the entire disk, wiping out XP once & for all. I'm not the most technically capable individual, tending to Google myself each step of the way. Hence, please don't presuppose a high level of competence on my part ! Thanks all.
  23. Hello, I just downloaded this nice tool today and synced my data between a Win10 desktop and a Linux Desktop working with Ubuntu 14.04.2. They are both running the latest BitTorrent Sync version as I downloaded it just today. After syncing all my data and comparing it, I noticed that there were missing some files and folders. They all had in common that they started with a number because I like to organize my files by date (like: 2015-10-26-example.txt). The folders not syncing were subfolders of the folder syncing. When I added them manually to Sync, the original folder started indexing the files and synced that folder. I didn't add a peer for the manually added folder. Is there an option to sync these files/folders without having to add these folders manually? I'll be thankful for every help I can get
  24. As mentioned in this thread selective syncing isn't available on Linux: In my opinion selective sync is one of the killer features of btsync. Getting this on Linux would be great. Keep up the great work.
  25. Hello, I have installed BitTorrent Sync on my LaCie Network Space 2 and it is running nicely. The NS2 uses initng with its '.i' files to manage starting and stopping services (such as ftp, ssh, etc.). Could anyone provide me with guidance as to what the content should be for a btsync.i file? For example, the proftpd.i file is: #!/sbin/itype# This is a i file, used by initng parsed by install_servicedaemon btsync { need = virtual/net sshd/generate_keys; exec daemon = /usr/sbin/proftpd; pid_file = /var/run/; daemon_stops_badly; forks;}I have a working knowledge of the Linux command line, but my daily use of Linux was fifteen years ago. I'm not familiar with the initng process manager, and haven't been able to find any information on using it to automatically start btsync on boot. Many thanks, Jolin