Search the Community

Showing results for tags 'Linux'.

More search options

  • 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







Found 209 results

  1. Hello, How do I stop btsync in linux? I start the bin with ./btsync How to I stop it from runing? Thank You.
  2. 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
  3. 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" : [ ] } ]}
  4. 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
  5. 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
  6. 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.
  7. 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.
  8. 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
  9. 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?)
  10. 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.
  11. 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" : ["", ""] }
  12. 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?
  13. 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.
  14. 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!
  15. 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
  16. 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
  17. 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.
  18. 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)."
  19. 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
  20. I'm having trouble getting BTSync to run in my fresh Arch Linux installation. The only problems which I am getting are with UPnP but when I turn it off, no error is reported. I have one Raspberry Pi on the local network that gets discovered in Windows and I don't know how to tell what devices have been found in Linux. I do all my configuration without WebUI. All folder paths are relative to my home directory (BTSync doesn't like tildes) which is where I launch it. All the .SyncArchive, .SyncID, .SyncIgnore flies are being created in their corresponding folders. Below is my config file. It is directly copied from my Raspberry Pi which synchronizes fine. { "device_name" : "Lenovo-Linux", "listening_port" : 56789, // 0 - randomize port "check_for_updates" : true, "use_upnp" : true, // use UPnP for port mapping "storage_path" : ".sync", "download_limit" : 0, "upload_limit" : 0, "webui" : { //"listen" : "localhost:8888", "login" : "admin", "password" : "password" }, "shared_folders" : [ { "secret" : "***************************************", "dir" : "documents/college", "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true, "use_sync_trash" : true }, { "secret" : "***************************************", "dir" : "documents/share", "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true, "use_sync_trash" : true }, { "secret" : "***************************************", "dir" : "documents/code", "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true, "use_sync_trash" : true } ] // Advanced preferences can be added to config file. // Info is available in BitTorrent Sync User Guide. } Below are my "sync.log" files with UPnP turned on and UPnP turned off. With UPnP: [20140105 11:22:16.800] total physical memory 536870912 max disk cache 2097152 [20140105 11:22:16.800] Using IP address [20140105 11:22:17.830] UPnP: Device error "": (-2) [20140105 11:22:17.837] UPnP: Device error "": (-2) [20140105 11:22:19.463] UPnP: Device error "": (-2) [20140105 11:22:19.799] UPnP: Device error "": (-2) [20140105 11:22:20.016] UPnP: Device error "": (-2) Without UPnP: [20140105 11:26:47.060] total physical memory 536870912 max disk cache 2097152 [20140105 11:26:47.060] Using IP address
  21. The x86 version of btsync for linux does not run on my ALIX router board. Details: tuxpoldo ~ # /usr/lib/btsync/btsync-daemon --nodaemon --config /etc/btsync/debconf-default.confBy using this application, you agree to our Privacy Policy and Terms. instructiontuxpoldo ~ # cat /proc/cpuinfoprocessor : 0vendor_id : AuthenticAMDcpu family : 5model : 10model name : Geode(TM) Integrated Processor by AMD PCSstepping : 2microcode : 0x8bcpu MHz : 498.027cache size : 128 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 1wp : yesflags : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnowbogomips : 996.05clflush size : 32cache_alignment : 32address sizes : 32 bits physical, 32 bits virtualpower management:
  22. Hi, Got a problem with the linux bittorrent sync client, Basically if the folder you want to remove hasn't been sync'd in a while then it won't show in the web ui and you won't have any way of showing the folder secret or being able to delete the folder. Is there any special web address say /gui/en/all.html which will show all the sync'd folders on the linux server rather than the most recent so I can remove or get the secret of the older folders?
  23. I'm running Linux Mint (desktop) and I don't know which version I have to download. Linux i386(glibc 2.3)1.2.82PowerPC1.2.82i3861.2.82 What is a PowerPC? I don't have problems running btsync on a terminal but I like a desktop version.
  24. Nowadays we have installation packages for debianoid distributions, but I suppose that there is also a need for RPM packages (RHEL, Centos, Fedora, etc.). Since I have no experience in creating such packages, I would ask the community, if there is someone here able to make the same work I made for Debian/Ubuntu/Mint and willing to cooperate in creating these packages. From my part I can offer: The scripts and the concept of deployment Hosting space for the repositories in order to keep all together Any volunteer here?
  25. Hi people, I'm Diego, work on Conexia and I love Sync! I'm here to talk about the use of bysync to copy the back ups (and other stuff) from a lot of client to a central server where the files goto a tape. At this moment, I have 5 CentOS clients sending files to a Windows 2008 R2. All the btsyncs apps are working as a service. All the CentOS have one shared folder (all by config file) Windows only have RO Secrets (configured by the GUI) Additionally, i formatted the volume for the shared folders into 64K to reduce the IO. Please, let me know what you think and how to get it better. Saludos, Diego