No Webui At All


igordata

Recommended Posts

Hi.

 

I'm playing with btsync for a couple of days.

For a while I used webui, but now it's not working. I don't know why.

I've set permissions 777 for "sync" folder. Webui.zip is in it. Owner and group are "btsync", user for daemon is "btsync" too.

 

I have tried to change port or IP to listen for webui. No effect. Firewall is disabled.

 

Any ideas? =(

 

Config:

{   "device_name": "CentOS.mini",  "listening_port" : 43030,  "storage_path" : "/var/lib/btsync/sync",  "pid_file" : "/var/run/btsync/btsync.pid",  "check_for_updates" : true,   "use_upnp" : true,  "download_limit" : 0,                         "upload_limit" : 0,   "webui" :  {    "listen" : "0.0.0.0:8888",    "login" : "admin",    "password" : "****"  },  "shared_folders" :  [    {      "secret" : "****",      "dir" : "/var/backup",      "use_sync_trash" : false,      "known_hosts" :      [        "192.168.1.2:43030"      ]    }  ]}

I attached debug log without any mentioning about "8888" port or "webui", or just "ui". 

 

I do not understand what I am doing wrong. And debug log provide no info about config file and its errors.

 

Any advice would be most welcome!

Thanks!

debug.log.zip

Link to comment
Share on other sites

As Harold mentions, the WebUI is disabled because you've defined shared folders in your config file.

 

The config file overrides the WebUI, therefore, removing the "shared_folders" section from your config file will then allow you to access the WebUI, where you'll be able to add your sync folders there.

Link to comment
Share on other sites

  • 2 months later...

Is this a feature or a bug?

Why is it not possible to have both 'shared_folder' and 'webui' enabled together? I can think of at least 1 use case where I would like to have both.

 

Let said I want some of my machines have a predefined key to sync down all of the files, and maybe some guys can login to the webui and check the content once a while, and maybe write a little script to use the Btsync API from the web endpoint?

http://www.bittorrent.com/sync/developers/api

 

 

 

As Harold mentions, the WebUI is disabled because you've defined shared folders in your config file.

 

The config file overrides the WebUI, therefore, removing the "shared_folders" section from your config file will then allow you to access the WebUI, where you'll be able to add your sync folders there.

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.