ofstudio

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Moscow, Russia
  • Interests
    Raspberry Pi, Mac OS X, iOS, BTSync

ofstudio's Achievements

New User

New User (1/3)

  1. Ok, I think i've found solution. It seems like a bug. The solution is simple (thnx to knireis' report) 1. Stop btsync sudo service btsync stop2. In btsync config file find "storage_path". In my case "storage_path" : "/srv/BTSync/users/media/.btsync",3. Navigate to storage_path. Backup two files: settings.dat and settings.dat.old to somewhere (just to be on the safe side) and then delete them from storage_path directory. 4. In your btsync config file remove "login" and "password" lines. 5. Start btsync again: sudo service btsync start
  2. 1. Yes, config file is readable. I can set various "login" and "password" values, I can specify different port number for webiu – and everything works fine (webui works correctly with the specified login, password and port values). The only wrong case when i remove "login" and "password" lines from config. 2. Removal the // DAEMON entries lead to the fact that btsync will operate as root. And new synced files will be with root:root permissions and write protected from other components of my workflow (and this is not what I want)
  3. Yes, btsync running with right config file pi@RPi2-Ninja ~ $ ps -ef | grep btsyncmedia 9617 1 20 08:17 ? 00:06:50 /usr/lib/btsync/btsync-daemon --nodaemon --log file --config /etc/btsync/media.conf
  4. Hi! Is there any way to disable WebUI auth in BTSync? I want to place webui behind proxy web app with own auth mechanism. Here is my /etc/default/btsync # This is the configuration file for /etc/init.d/btsync# Start only these btsync instances automatically via# init script.# Allowed values are "all", "none" or space separated list of# names of the instances. If empty, "all" is assumed.## The instance name refers to the btsync configuration file name.# i.e. "general" would be /etc/btsync/general.confAUTOSTART="media"# Optional arguments to btsync's command line. Be careful!# You should only add thngs here if you know EXACTLY what# you are doing!DAEMON_ARGS=""and my /etc/btsync/media.conf // DAEMON_UID=media// DAEMON_GID=media// DAEMON_UMASK=0002{ "device_name": "RaspberryPi-Ninja", "storage_path" : "/media/NinjaStorage/BTSync/.btsync", "listening_port" : 0, "check_for_updates" : false, "use_upnp" : false, "download_limit" : 0, "upload_limit" : 0, "disk_low_priority" : true, "lan_encrypt_data" : false, "lan_use_tcp" : false, "rate_limit_local_peers" : false, "folder_rescan_interval" : 600, "webui" : { "listen" : "192.168.1.32:32888" }}…but all the browsers trying to ask for login and password.