Automatic Coding Posted April 28, 2013 Report Share Posted April 28, 2013 I have a problem. Linux doesn't remember my settings. When I kill btsync and start it again it starts as a fresh application without any settings in it.I have it installed on Ubuntu 12.10.Are you using a configuration file? I had that issue before I set up my configuration file. Quote Link to comment Share on other sites More sharing options...
Nomen Posted April 28, 2013 Report Share Posted April 28, 2013 Are you using a configuration file? I had that issue before I set up my configuration file.I've tried that but after I've started btsync with configuration file it doesn't load webgui. Quote Link to comment Share on other sites More sharing options...
anvo Posted April 28, 2013 Report Share Posted April 28, 2013 I'm getting 100% cpu usage on Ubuntu 12.04. It seems to be working but I cannot get any debug logs.Works fine on Debian 6 though so I was wondering if anyone has any ideas on what could be wrong?Same here... Linux deadend 3.5.0-18-generic #29-Ubuntu SMP Wed Oct 24 19:51:55 UTC 2012 i686 i686 i386 GNU/Linux Quote Link to comment Share on other sites More sharing options...
chiefwilson Posted April 28, 2013 Report Share Posted April 28, 2013 Please pardon my newbness, but is it possible to run two instances of btsync on Ubuntu Server?I'm running into permissions issues when syncing folders. I installed btsync on /home/'myuser'/btsync , and use the read only secret as a "backup solution" to push files from my PC and MAC to my NAS (Ubuntu Server). But, when I want to sync another users's files to another directory "/media/documents/'anotheruser' with the owner being 'anotheruser' and chmod set to 775, I still get permission denied.Even when I changed the owner of that directory to 'myuser' btsync still doesn't sync the files.Noone wanted to help the newb - eh? j/k. I figured it out. I went ahead and installed btsync on that users directory. Even though I used the configuration file to start the second process, the webgui did NOT work (yes, I changed the port). Therefore, I had to hardcode the folder settings and secrets in the text file. It works for now, and I understand that this is an alpha release. Just wanted to share my experience on linux (Ubuntu Server 12.04 LTS). Quote Link to comment Share on other sites More sharing options...
chiefwilson Posted April 28, 2013 Report Share Posted April 28, 2013 Same here... Linux deadend 3.5.0-18-generic #29-Ubuntu SMP Wed Oct 24 19:51:55 UTC 2012 i686 i686 i386 GNU/LinuxDo you have another btsync process running on the same box? I noticed when I tried to run btsync a second time without the configuration file, it started but ran at 100 cpu. I suspect there is an issue when it tries to grab the same 8888 port that's already in use by the first process. Quote Link to comment Share on other sites More sharing options...
AbsolutelyNoOne Posted April 30, 2013 Report Share Posted April 30, 2013 I use this (http://code.google.com/p/spindown/) to spindown and monitor the disks. When i stop the deamon with your script disk accessing is stopped, when i start the deamon, disks are accessed again about every 10 seconds.Running the deamon with btsync --config spins tje disks up every 10 minutes as programmed by the developers to scan for file changes.So it's really start-stop-daemon's fault. I'll investigate why this is happening.This is how I start it as a system job with ubuntu (last LTS version, couldn't remember number) using upstart.1. Create btsync.conf on /etc/init.d/2. file contains 2 lines:# home in my setup is another hard drive.start on mounted MOUNTPOINT=/home TYPE=ext4# starts as non-root userexec start-stop-daemon --start -c myuser --exec /home/myuser/btsync3. this satisfies my needs.Sweet! Despite the need to have a separate copy of btsync's binary, it's very simple and good to go!Upstart has its way to track the daemon's PID and I'm not sure if it can handle multiple PIDs. To run btsync for multiple users we need to specify two services, something like btsync-all and btsync-user. btsync-all is going to start a btsync-user for every user and let upstart control the PID generated in btsync-user instance. (I'm not an Upstart specialist, so I can be very wrong in this case)Another good thing to do is a safety check for all configuration files to prevent the execution of btsync if webui is enabled and the same port number appears in some of them. Quote Link to comment Share on other sites More sharing options...
Swisstengu Posted July 15, 2013 Report Share Posted July 15, 2013 Do you have another btsync process running on the same box? I noticed when I tried to run btsync a second time without the configuration file, it started but ran at 100 cpu. I suspect there is an issue when it tries to grab the same 8888 port that's already in use by the first process.Hello,My guess: you may have multiple instances, as long as they- don't have the same PID file- don't use the same port- don't use the same data directory (default ~/.sync)- don't sync the same directoriesThis kind of setup may be good for a multi-user use - else, a single instance with multiple directories is far better. Quote Link to comment Share on other sites More sharing options...
19feet Posted July 15, 2013 Report Share Posted July 15, 2013 BTSync Build: 1.1.33 works great with Ubuntu 12.04 32bit, 64bit, Ubuntu 13.04 64bit on many different PCs Quote Link to comment Share on other sites More sharing options...
manifold Posted August 22, 2013 Report Share Posted August 22, 2013 It works generally very good. However I have 1 major problem:My external harddrive spins down after a while. There are about 600 files in the indexed folder on my external harddrive. After a while (and spindown harddrive) BTSync shows that there are 300 files. Then 200. Then 100. Then 10.And when my harddrive spins again it does NOT reindex the files! It's like BTSync completely ignores the files it forgot during spindown. New files it however indexes immediately.I have to delete the shared folder in BTSync and recreate it to reindex it completely.Please, do you have a solution (I use Version 1.1.70)?PS: A shutdown button in the web-interface would be nice. Quote Link to comment Share on other sites More sharing options...
Dantounet Posted August 22, 2013 Report Share Posted August 22, 2013 Hi,Some feedback for Linux:- have a btsync-client which allows to see the progress on transfers because when we use the config file we have no idea of what's going on (and the logs are not helpful)- have a command to allow btsync to reload the configuration file (without having to stop/start it)Otherwise it's a good piece of software Quote Link to comment Share on other sites More sharing options...
panteo Posted August 28, 2013 Report Share Posted August 28, 2013 Noone wanted to help the newb - eh? j/k. I figured it out. I went ahead and installed btsync on that users directory. Even though I used the configuration file to start the second process, the webgui did NOT work (yes, I changed the port). Therefore, I had to hardcode the folder settings and secrets in the text file. It works for now, and I understand that this is an alpha release. Just wanted to share my experience on linux (Ubuntu Server 12.04 LTS).I had the same problem (Ubuntu 13.04, btsync 1.1.70). I noticed, however, that the problem occurs only taking two windows open at once in the same browser, each with one of the two GUI. Try opening a GUI at a time. Quote Link to comment Share on other sites More sharing options...
WayneBorean Posted September 27, 2013 Report Share Posted September 27, 2013 I'm running CrunchBang 10/AMD64. I've got the GUI up. The problem is, it isn't syncing. Any suggestions? Wayne Quote Link to comment Share on other sites More sharing options...
WayneBorean Posted September 28, 2013 Report Share Posted September 28, 2013 Never mind. It's working now. I've made no changes. I'm guessing that it just took a while to connect for some reason. Wayne Quote Link to comment Share on other sites More sharing options...
Faow456 Posted September 29, 2013 Report Share Posted September 29, 2013 I cant get it to work on a Seagate central Nas. The system kills the app right away.The box runs monta vista linux 6 and is arm6 based. Quote Link to comment Share on other sites More sharing options...
disconnect Posted September 30, 2013 Report Share Posted September 30, 2013 Not works for me, i try on my ARM pc (cubieboard2), "sh btsync" then "btsync: 1: btsync: Syntax error: word unexpected (expecting ")")" error. Any suggestions? I know what's the problem now, the ARM package is simply not an ARM package... it's a synology package, as it not compatible with all arm devices, just with few... Quote Link to comment Share on other sites More sharing options...
Yukko Posted March 4, 2014 Report Share Posted March 4, 2014 I'm running Debian on server and launched btsync just fine, but there is a big problem. It makes the system slow, load average increases with time up to the limits when the system becomes unresponsive. I tried to decrease the number of syncing peers but it did not help. Actually the system took a bit more time to became slow but at the end I had to recover it from failures. My current clear intension is to limit btsync usage on my server systems, stop all daemons, remove them from autostart and make only manual syncing of big archives when needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.