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. Hi, I've just installed the most recent bittorrent sync server version (using the ubuntu package btsync). A default config file was created in /etc/btsync. The web UI is running and started via upstart as root process. The --config parameter of the btsync process is directing to the /etc/btsync config file. However, none of the setting changes, applied in the web UI, are reflected in the /etc/btsync config file. Where is the web UI storing all the config data e.g. keys, shared folders, advanced settings like disabling LAN lookup? Thanks for any hints, Best Numa P.S.: Bittorrent Sync Version 1.1.82; Ubuntu 12.04.02 LTS. Package used from tuxpoldo/btsync-deb repository
  2. Hello Guys, Recently i started getting a problem, when i click "Add Folder" on the WebUI, no folders are listed in the "popover". Here is the screenshot of the "popover" Here is the screenshot of my full WebUI I had a similar problem before, where it would take some time to list the folders, but now, it just don't show up. After i created my own "config file" ( before i was running default ) and the problem still don't go away. Here is my config file: { "folder_rescan_interval": 10000, "storage_path": "/home/btsync/.sync", "webui": { "listen" : "" }} Is there "logs" i could read to see what is going on? Is there a way of "dumping the list of shares" i have into a config file so then i can append more shares "by hand" ? Any ideas? Its running the arch version on a "Wd My Cloud", thank you very much
  3. ** UPDATED — All sorted. Stupid me... Hey all— Just installed sync on a linux server so that it is installed on something that is always on. MT doesn't allow executables in /tmp due to security reasons, so I just installed it the the root of the server. All works, only problem is I cannot create a folder through the gui due to permissions. See below. Can anyone help?
  4. The binaries downloaded from for Linux (both i386 and x64 versions) cannot run on Linux, complaining "cannot execute binary file: Exec format error". Previous versions (1.2.x) run fine on the same machine.
  5. Hi! If I'll disable WebUI, how can I know that everything is OK and all files are synced properly?
  6. Hopefully someone can help me with my setup on two Synology NASs that I'd like to sync some folders on. I've followed the setup instructions for installing btsync on my devices at: (I've gone this route to keep my build up to date as the synocommunity has gone down along with their package). I have a default config setup onboth NASs. I've set up a folder on each NAS to be used for syncing and synced them using the web ui. They connect instantly (no issue there). However, when I put files in the sync folder on NAS 1, it takes an eternity to sync the files to NAS 2. Here are the specs: Both NASs connected on an internal gigabit LAN networksync folders on respective NASs newly create, containing no filesAdd 4 files of approx 16MB in total to sync folder on NAS 1Files are recognised and start transferring: ie !Sync temp files are createdAfter 1 hour, files are still syncing (not one of the 4 has finished)Transfer speeds are showing at between 2 and 70 B/s (ie barely moving)CPU and RAM usage on both devices are hovering around 10 - 20%, so that isn't an issueNow comes the interesting part: I put btsync for Mac on my MacBook ProI then added the sync folder to my MBPWithin an instant, all 3 devices are brought into syncSo the upshot is that the synology to synology sync is dire, but add a 3rd device using a different platform and everything works as expected. My assumption is therefore that NAS 1 syncs rapidly and as expected with the MBP which then syncs rapidly with NAS 2 (not proven, but still a strong assumption). Of course, I don't want to/can't leave my MBP on to continually keep the NASs in sync. My question, of course, is how do I get NAS 1 & NAS 2 to sync at anything approaching decent speeds? Is there maybe something in the default Linux setups/configs that conflict and needs to be amended to speed up Linux to Linux syncing?? Or something else??
  7. Hello, How do I stop btsync in linux? I start the bin with ./btsync How to I stop it from runing? Thank You.
  8. Hi i am struggling to install btsync on my Synology DS412+ NAS, Can anyone give me some advice/help please. DS412+ speck: DS412+ Intel Atom D2700 Dualcore (2C/4T) 2.13GHz x86 Processor 64-bit@DDR3, 1GB of RAM So firstly I downloaded btsync_glibc23_i386.tar.gz, I enabled ssh and logged in as root. then I ran the following commands: DiskStation> cd /usr/bin/ DiskStation> mkdir btsync DiskStation> cp /volume1/public/btsync_glibc23_i386.tar.gz /usr/bin/btsync/ DiskStation> tar xzvf btsync_glibc23_i386.tar.gz DiskStation> chmod +x /usr/bin/btsync DiskStation> ./btsync DiskStation> ls -al drwxr-xr-x 3 root root 4096 Apr 29 20:10 . drwxr-xr-x 3 root root 4096 Apr 29 18:28 .. drwxr-xr-x 2 root root 4096 Apr 29 20:10 .sync -rwxrwxr-x 1 501 502 2852024 Apr 18 12:22 btsync -rw-r--r-- 1 root root 1235497 Apr 29 18:29 btsync_glibc23_i386.tar.gz Cleared my browser cookies as invalid address came up before I did that Now when I load i just get a blank white screen? Have I installed the wrong version? or have I installed it into the incorrect location? Or do I need to add something to the web server app in DSM 2.1? Any help with this would be great Thanks
  9. Hello. I have problem with btsync. I have tested it last time today with Linux x64 1.3.94 version. It is starts, reports no error, but do not do any work, do not write anything into log. Also, it exits only on second Ctrl-C or SIGTERM. I turned on debug: ~ $ cat ~/.btsync/debug.txtFFFFBut the log file still do not appear. If I start it in foreground mode, I see this: ~/.btsync $ /opt/btsync/btsync --config /etc/btsync/config --nodaemon --log sync.logBy using this application, you agree to our Privacy Policy and Terms. physical memory 536870912 max disk cache 2097152Using IP address XXX.XXX.XXX.XXXtest sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DDtest aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293^C^CIt does nothing after "test aes: ...". If I run strace on the process, which stuck in that way I see this: ~ $ strace -p 28735 -ffProcess 28735 attachedrestart_syscall(<... resuming interrupted call ...>) = -1 ETIMEDOUT (Connection timed out)futex(0x4501920, FUTEX_WAKE_PRIVATE, 1) = 0futex(0x450194c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5, {1398668412, 247165000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)futex(0x4501920, FUTEX_WAKE_PRIVATE, 1) = 0futex(0x450194c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 7, {1398668472, 247366000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)futex(0x4501920, FUTEX_WAKE_PRIVATE, 1) = 0futex(0x450194c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 9, {1398668532, 247562000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)futex(0x4501920, FUTEX_WAKE_PRIVATE, 1) = 0futex(0x450194c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 11, {1398668592, 247750000}, ffffffff) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=943012408, ptr=0x4b534d2038353a38}} ---rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x724b0ce15b10}, NULL, 8) = 0rt_sigreturn() = -1 EINTR (Interrupted system call)futex(0x450194c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 11, {1398668592, 247750000}, ffffffff) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=943012408, ptr=0x4b534d2038353a38}} ---+++ killed by SIGINT +++Config file have nothing special: { "device_name": "user", "listening_port" : 14444, "storage_path" : "/home/user/.btsync", "pid_file" : "/home/user/.btsync/", "check_for_updates" : false, "use_upnp" : false, "download_limit" : 10240, "upload_limit" : 10240, "webui" : { "listen" : "", "login" : "admin", "password" : "password" } , "shared_folders" : [ { "secret" : SECRET, "dir" : "/home/user/sync", "use_relay_server" : true, "use_tracker" : true, "use_dht" : true, "search_lan" : false, "use_sync_trash" : true, "known_hosts" : [ ] } ]}
  10. Hi, some time ago I’ve set up a dedicated ubuntu linux VM for btsync 1.2.82. It’s running behind a firewall, I only opened outgoing port 3000 udp and from the beginning it worked like charm. It takes about 2 seconds to connect new peers and the sync starts. Now I did an update to 1.3.94 by switching the btsync executable, I left everything else as it was but now the peers won’t connect anymore. I already compared the sample config from 1.3.94 with my running config but it doesn’t seem as if there were many changes in the structure of the config file from 1.2x to 1.3x I restored my VM from backup and everything is working again. Somebody got an idea how to update without breaking everything? Regards, Michael
  11. Hi I use Bittorrent Sync on my two MacBooks and on a Raspberry Pi. But after this update... Fixed stream appearing as after updating 1.2.91. ... all devices syncing all the time. If i disable the Raspberry Pi it works, but i need it. How can i fix this Problem? Thanks Anna
  12. The current use case of btsync for linux users is the following: They are unaware of the difficulties of the advanced configuration so the start the easy way and they configure everything in the Web UI. Later on they realize they need to make an advanced configuration. This is when they realize that all their previous work was in vein because they need to run --Dump-Sample-Config and do every configuration all over again manually in the config file. Their previous settings will be lost. This is not even documented. This is a very cumbersome procedure and not like any other linux daemon that use config files for their settings. Suggestions to improve the documentation (easy way): - Warn users in the user guide that they shouldn't do any configuration in the Web UI unless they don't want to do any advanced configuration later on. (See the next bullet point.) - Warn users in the user guide that starting btsync with a config file will erase their previous configurations they made in the Web UI. Suggestions to improve btsync (hard way): - Make an editible config file that is in sync with the configuration made in the Web UI. So it could be changed in both the Web UI or manually in the config file itself for advanced configuration. OR - Lose the config file altogether and make it possible to make any configuration in the Web UI.
  13. I'm running btsync on several machines and it's mostly working but I'm having trouble on one older server running Ubuntu 12.04. Basically, the btsync process doesn't seem to automatically detect any changes I make in my sync folders, it only picks up and syncs out changes after the folder_rescan_interval. I tested this by starting the btsync process and immediately changing a file. It was about 10 minute before my other computers got it. I changed my config file to have a 5 minute folder_rescan_interval and repeated the test and it took 5 minutes for a sync to happen. I would really like to get the sync time down to a few seconds at most (I'm trying to replace Dropbox which does this pretty well), so I could set the folder_rescan_interval interval to something really short like 5 seconds or less but that seems excessive. Are there any other ways to get btsync to pick up changes more quickly? I noted on some other threads that people were saying it should happen basically automatically via inotify but that doesn't seem to be working for me. Are there dependancies that need to be installed? (I'm not using the package version, just the 1.3.94 binary). Thanks for the help. -Nick PS: I don't have sudo privileges on this particular server but I'm friends with the SA so I can ask him to tweak reasonable things.
  14. Hey I run my Bittorrent Sync Server from a raspberry pi and sync my music with a win 7 computer. Now I got an Ubuntu Linux PC and wanted to sync that pc to. So I installed BtSync and it seems to work fine Just if I switch to the transfer or chronicle tab, it says "because of missing api this cannot be implemented" (hope my translation is correct, my client is in german ^-^) can I somehow fix this? greetings Kaito
  15. I'm running 1.1.82 on a Linux Mint machine. I have been trying to troubleshoot why an iOS device, which doesn't hit my LAN every day, would have trouble updating. Its my understanding that the device doesn't have to be on the LAN, is that incorrect? One of the troubleshooting steps I've seen is to use the most up to date version of the desktop software on the server side, however mine says that 1.1.82 is the newest version, but the web site says that 1.3.80 is the latest version. I can't find the correction instructions on how to upgrade to the new version. Can anyone help with that (and why an iOS device may not sync consistently?)
  16. It's really hard to tell when new files have appeared (without using other linux tools to monitor the folder,) in a shared folder and it's kind of annoying that such features don't work on linux, but work everywhere else :< I understand that Btsync-GUI can't have these tabs until the API allows them to, so my question is, will the API be modified to allow this, and if so do we know when? Danke.
  17. Question guys, I have the following config.json for my two nodes. I am wondering if I am still sending any data over the internet or would all my traffic stay within my local lan ? From what I understand using the known_hosts directive, along with search_lan, I am not going to be using any public trackers. Is this correct? Thanks! -John { "device_name": "", "listening_port": 55555, "storage_path": "/etc/btsync", "pid_file": "/var/run/btsync/", "check_for_updates": false, "use_upnp": false, "download_limit": 0, "upload_limit": 0, "disk_low_priority": false, "folder_rescan_interval": 120, "lan_encrypt_data": true, "lan_use_tcp": true, "rate_limit_local_peers": false, "sync_max_time_diff": 300, "sync_trash_ttl": 30 ,"shared_folders": [ { "secret" : "xxxxx", "dir" : "/etc/somewhere/", "use_relay_server" : false, "use_tracker" : false, "use_dht" : false, "search_lan" : true, "use_sync_trash" : false , "known_hosts" : ["", ""] }
  18. During this discussion with knireis I discovered, that btsync 1.2.68 has stopped saving it's log file in the storage_path. Also creating the ominous debug.txt file in the storage_path has no effect. It seems that the entire logging in 1.2 is broken, since I found absolutely nothing. Look: linux-dev-64 /var/lib/btsync # echo FFFF > debug.txtlinux-dev-64 /var/lib/btsync # service btsync restart* Stopping P2P file synchronisation daemon(s)...* Stopping btsync instance 'debconf-default' ...done.* Starting P2P file synchronisation daemon(s)...* Autostarting btsync instance 'debconf-default' ...done.linux-dev-64 /var/lib/btsync # ls -latotal 316drwxr-xr-x 2 root root 4096 Nov 12 12:07 .drwxr-xr-x 42 root root 4096 Nov 6 21:05 ..-rw-r--r-- 1 root root 5 Nov 12 12:07 debug.txt-rw-r--r-- 1 root root 2714 Nov 12 12:07 settings.dat-rw-r--r-- 1 root root 2714 Nov 12 12:07 settings.dat.old-rw-r--r-- 1 root root 210 Nov 6 21:15 sync.dat-rw-r--r-- 1 root root 85324 Nov 12 12:07 sync.lng-rw-r--r-- 1 root root 6 Nov 12 12:07 1 root root 206647 Nov 12 12:07 webui.ziplinux-dev-64 /var/lib/btsync # cat /etc/btsync/debconf-default.conf//!/usr/lib/btsync/btsync-daemon --config//// Default instance automatically created by debconf//// DO NOT EDIT THIS FILE MANUALLY - SERIOUSLY//// THIS FILE WILL BE OVERWRITTEN AT EVERY UPDATE// OR RECONFIGURATION SO DO NOT EVEN TRY IT//// USE dpkg-reconfigure btsync INSTEAD TO MODIFY// THE CONFIGURATION////{ "device_name": "linux-dev-64 - Default Instance", "storage_path" : "/var/lib/btsync", "listening_port" : 0, "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, "webui" : { "listen" : "", "login" : "admin", "password" : "asd" }}linux-dev-64 /var/lib/btsync # Where has the log file gone?
  19. Hi I've recently become one of the beta testers for syncapp. In the invitation mail I've seen support for ARM and PowerPC. I think MIPS is missing in that list, lots of routers with usb ports have MIPS cpu's with the capability to run lots of things. For example, my own router an asus rt-n16 runs a full php website with mysql, samba server, ftp and transmission torrent client. Since I have a 4TB harddisk hooked up I'd love to sync files to my router as well. In fact it has been my biggest issue ever to sync files properly to all my pc's and have a backup on my router. Is there a possibility for MIPS support in the future? I'm willing to help with compiling issues if required. Also, I do like syncapp so far, it's fantastic.
  20. Greetings, I appologize if this has been asked before; I didn't find anything. I am trying to find specific documentation on the settings generated by the btsync --dump-sample-configcommand in linux. I want to understanding these various settings out of curiousity, and I am also trying to make sure of something else: <stupid questions> How can I be sure btsync is set up properly to transfer using the local network directly when possible instead of over the internet? (I still want it to transfer over the internet, just the local network should take priorety.) Also, will this local transfer still work when one device(raspberry pi) is hooked up via ethernet and the other device(laptop) is hooked up via wifi throught the same router, or will it go through the internet? </stupid questions> If someone can point me towards documentation or answer my stupid questions, I will be grateful. Thank you!
  21. I have a raspberry pi, mounting a smb share on my synology nas. The mount takes place with all right (777) required on the /mnt/share/ And then I try to sync from a laptop to the share (in readonly mode). The mount is not empty, actually it already contains a full copy of what is going to be synced, if not it can delete stuff (I don't care). Now I get the error "don't have permissions to write to the selected folder." When I do the same thing, but now create a directory within the /mnt/share/syncdir/ Now it just syncs fine... What is going on here? Please explain this behaviour, so I understand what I am doing wrong. Thanks, #3
  22. Hi, I posted a related thread here, but this post is about looking at the problem from a different angle. I have a linux machine with read-only secrets synchronising with a Windows machine. When the Windows machine is off, the linux machine should basically do nothing, since it is a read only client. However, every 30 minutes my HDD is woken up. Since it is a read-only share and no file can have changed, why does btsync wake up my hard disk? Best regards, Greentown
  23. Today I installed BT Sync on our company NAS, a Synology DS214+. Everything works fine, but I noticed a strange thing when browsing the files on the NAS. The NAS is the 'host' of a folder; say btsync/, and a Windows PC is connected using the Windows application for Sync. On the PC we added a folder; say Subdir/ to btsync/. When we changed the name of Subdir/ to subdir/ (note the uppercase S), on the NAS both exist. So when you change the name of a folder, but only uppercase/lowercase, it makes both folders to exist on the NAS, which is a Linux device.
  24. We are setting up a sync server for our photographers to sync their photos to our server. According to the FAQ we will be at risk losing old images just because a new image with the same filename will be uploaded. How can we prevent files to be overwritten on our server? Is there a way to prevent that in the conf file, write a script or by setting up a file permission in Linux? "What if files with same names are added from different computers? We give human action first priority and always consider it right. That's why if several files with the same name are added on different devices, BitTorrent Sync will synchronize the file that was the latest added to BitTorrent Sync even if it is not the newest version of the file itself. Previously added files will be deleted, but you can find them in .SyncTrash (if enabled in folder preferences)."
  25. I have just downloaded the latest version of Bittorrent Sync on Ubuntu via the apt archive. I added a folder and used as my secret a read-only secret from a friend's computer running on OS X. But he's not actually connected right now. The software started scanning my drive, which contains 1TB of data (my friend initially copied the files to this drive locally so we wouldn't have to push all 1TB over the Internet). I monitored the progress of indexing by watching the web UI and could see it making progress (the total size was growing). But it stopped making progress at 62.1GB in 452 files, whereas the directory actually has 971GB in 18284 files. Any idea what's going on? The logs don't have any useful data in them and the daemon itself appears to be idle. Thanks, Josh