effectivetechie

[Solved] Cannot access webgui after install via official repository on ubuntu server

Recommended Posts

Hi BTSync community!

The subject explains the issue, let me give some background:

sudo systemctl status btsync

yields active (running)

so this seems to indicate that it is running properly.

I previously had set it up with the unofficial repository, but since that is way out of date, at one point in the past I had installed it manually. I could always access the webgui this way.

Upon finding out there was the official repository, I installed the official repository on my 14.04 ubuntu server and it synced fine, but I could not access the webgui... I decided I would wait to try again after a fresh install of the now released 16.04 (thought maybe the issue was not uninstalling previous repository properly). I still am seeing the same issue with regards to accessing the webgui.

it returns:

"site can't be reached" and lower "site refused to connect" in chrome when trying to access 8888.

I am not a linux power user by any means, but am generally able to work my way around the terminal reasonably well... point is, don't assume something obvious that should be done has already been done... It may not be obvious to me!

Is there something else I have to do to get the webgui working when using the official repository? What troubleshooting should I do next?

 

Thanks for the help in advance!

Share this post


Link to post
Share on other sites

effectivetechie,

1) check that Sync process IS running : ps aux | grep sync 

2) what is the exact full address you're trying to reach? it shall be http://127.0.0.1:8888/gui/

Share this post


Link to post
Share on other sites

Thanks for the response Helen!

Here is what ps aux returns:

systemd+   590  0.0  0.0 100324  1172 ?        Ssl  Apr23   0:00 /lib/systemd/systemd-timesyncd
btsync     908  0.0  0.0 430324  1920 ?        Ssl  Apr23   2:16 /usr/bin/btsync --config /etc/btsync/config.json

and I verified that I am using the full address as posted (with the ip changed to the ip of my server), keeping the http, etc.

is there something else I need to install for the webgui? I just used the default settings when installing from your repository... thoughts on next steps?

Thanks again!

 

Share this post


Link to post
Share on other sites

nope, there is nothing else to install to get to webui. The /etc/btsync/config.json file shall have "webui" : {"listen" : "0.0.0.0:8888"} and that shall be enough for webui to be reachable from LAN. The rest - is just local network setup, for example, server's address may be not reachable from another subnetwork, or port 8888 may be busy, etc. To check successful connection you can use :

curl -k http://xxx.xxx.x.xxx:8888/gui -v

sudo netstat | grep :8888

lsof -i :8888

And if your ubuntu had gui, go there and try to open Sync on localhost address. 

 

 

Share this post


Link to post
Share on other sites

Thank you Helen!

I figured out what the issue was... for some reason the 

On 4/26/2016 at 10:19 PM, Helen said:

"webui" : {"listen" : "0.0.0.0:8888"}

portion read

127.0.0.1:8888

Once I changed it to 0.0.0.0 and rebooted it let me connect.

Cheers!

Share this post


Link to post
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.