Cannot Get Going On Freebsd


lbutlr

Recommended Posts

I installed btsync under freebsd from ports and I went to http://server:8888/gui/ where it asked for a user and password, so I tried logging in as root..

 

Now I cannot figure out how to actually sync anything too or from the machine. I enter the key for my home BTSYnc and it's accepted, but as soon as I try to select a folder on the server to link to and press "Add" I get an error "Please enter a valid Key". If I try to just add a directory I get "Don't have permission to write to folder".

 

What I want to do is setup btsync to keep the server's /usr/local/www/ directory synced to my local machine.

 

Edit: I do already have BTsync 2.0 running between three Macs on my LAN.

Edited by lbutlr
Link to comment
Share on other sites

@lbutlr

Could you please share a sample key to me so I can test it and see if key is valid? Also, I strongly suspect that your Sync lacks permissions on your freeBSD machine. Could you please verify that the user running sync binary has enough permissions to write to its home folder as well as to the folder you want to sync?

Link to comment
Share on other sites

Sorry for the late reply, I got distracted with other things.

 

I don't know what you mean by a sample key.

 

And yes, permissions seem likely. I am launching btysync as root, but it runs as its own user. It requires write access to the folder I want to sync which I suppose I could grant it by adding it to he www group?

btsync   59363   0.0  0.3  35748  5540 ??  Ss   Mon12PM     1:46.59 /usr/local/bin/btsync --config /usr/local/etc/btsync.confroot     61022   0.0  0.3  40020  5792 ??  Ss   Mon12PM     2:13.16 ./btsync
Link to comment
Share on other sites

@lbutlr

The output show indicates that tgere are 2 instances of Sync is running. The first one runs under btsync user and it will require RW access to:

1) folders you want to Sync

2) storage folder (it is specified in /usr/local/etc/btsync.conf file)

 

Second one runs under root and has full set of permissions. Although, one one of them will be available via WebUI. I'd recommend to get rid of one you run under user account and grant permissions for the one under btsync user.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.