Web interface not accessible on a new install

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
justgosh
Newbie
Newbie
Posts: 3
Joined: May 26th, 2018, 12:00 am

Web interface not accessible on a new install

Post by justgosh »

I've built 2 Ubuntu Server 16_04 VMs and they are both experiencing the same issue: I am unable to access the web interface_ Here are the steps I've taken

Code: Select all

sudo apt install sabnzbdplus

sudo vi /etc/systemd/system/sabnzbd_service
[Unit]
Description=SABnzbd Usenet Client
After=network_target
[Service]
Type=simple
User=sabnzbd
Group=sabnzbd
ExecStart=/usr/bin/python -OO /usr/bin/sabnzbdplus --browser 0 & 
ExecStop=/usr/bin/pkill sabnzbdplus
Restart=always
SyslogIdentifier=SABnzbd Usenet Client
[Install]
WantedBy=multi-user_target

sudo systemctl daemon-reload
sudo adduser --system --home /home/sabnzbd sabnzbd
sudo addgroup --system sabnzbd
sudo adduser sabnzbd sabnzbd
pkill sabnzbdplus
sudo systemctl start sabnzbd
sudo systemctl enable sabnzbd

systemctl status sabnzbd
● sabnzbd_service - SABnzbd Usenet Client
   Loaded: loaded (/etc/systemd/system/sabnzbd_service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-05-25 23:21:09 CDT; 44min ago
 Main PID: 1256 (python)
   CGroup: /system_slice/sabnzbd_service
           └─1256 /usr/bin/python -OO /usr/bin/sabnzbdplus --browser 0 &

May 25 23:21:10 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:10,805::INFO::[sabnzbdplus:483] ionice binary___ found (/usr/bin/ionice)
May 25 23:21:10 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:10,805::INFO::[sabnzbdplus:488] pyOpenSSL___ found (True)
May 25 23:21:10 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:10,806::INFO::[sabnzbdplus:1516] Starting web-interface on 127_0_0_1:8080
May 25 23:21:10 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:10,806::INFO::[_cplogging:55] [25/May/2018:23:21:10] ENGINE Bus STARTING
May 25 23:21:10 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:10,816::INFO::[_cplogging:55] [25/May/2018:23:21:10] ENGINE Started monitor thread '_TimeoutMonitor'_
May 25 23:21:11 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:11,016::INFO::[_cplogging:55] [25/May/2018:23:21:11] ENGINE Serving on 127_0_0_1:8080
May 25 23:21:11 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:11,017::INFO::[_cplogging:55] [25/May/2018:23:21:11] ENGINE Bus STARTED
May 25 23:21:11 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:11,518::INFO::[sabnzbdplus:1585] Starting sabnzbdplus-0_7_20
May 25 23:21:11 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:11,518::INFO::[dirscanner:277] Dirscanner starting up
May 25 23:21:11 PLEX-OTA SABnzbd Usenet Client[1256]: 2018-05-25 23:21:11,519::INFO::[urlgrabber:77] URLGrabber starting up

sudo vi /etc/default/sabnzbdplus
USER=sabnzbd
CONFIG=
HOST=0_0_0_0
PORT=8080
EXTRAOPTS=

sudo vi /etc/hosts
127_0_0_1       localhost
127_0_0_1       PLEX-OTA

ifconfig
inet addr:192_168_16_145 Mask:255_255_255_0

nmap -p 8080 192_168_16_145
Starting Nmap 7_01  at 2018-05-26 00:20 Central Daylight Time
Nmap scan report for 192_168_16_145
Host is up (0_0010s latency)_
PORT     STATE  SERVICE
8080/tcp closed http-proxy
MAC Address: 00:0C:29:F2:0A:A5 (VMware)
Nmap done: 1 IP address (1 host up) scanned in 120_42 seconds

sudo ufw allow 8080

service --status-all
 [ + ]  acpid
 [ + ]  apparmor
 [ + ]  apport
 [ + ]  atd
 [ - ]  avahi-daemon
 [ - ]  bootmisc_sh
 [ - ]  checkfs_sh
 [ - ]  checkroot-bootclean_sh
 [ - ]  checkroot_sh
 [ + ]  console-setup
 [ + ]  cron
 [ - ]  cryptdisks
 [ - ]  cryptdisks-early
 [ + ]  dbus
 [ + ]  grub-common
 [ - ]  hostname_sh
 [ - ]  hwclock_sh
 [ + ]  irqbalance
 [ + ]  iscsid
 [ + ]  keyboard-setup
 [ - ]  killprocs
 [ + ]  kmod
 [ - ]  lvm2
 [ + ]  lvm2-lvmetad
 [ + ]  lvm2-lvmpolld
 [ + ]  lxcfs
 [ - ]  lxd
 [ + ]  mdadm
 [ - ]  mdadm-waitidle
 [ - ]  mountall-bootclean_sh
 [ - ]  mountall_sh
 [ - ]  mountdevsubfs_sh
 [ - ]  mountkernfs_sh
 [ - ]  mountnfs-bootclean_sh
 [ - ]  mountnfs_sh
 [ + ]  networking
 [ + ]  ondemand
 [ + ]  open-iscsi
 [ + ]  open-vm-tools
 [ - ]  plymouth
 [ - ]  plymouth-log
 [ + ]  procps
 [ + ]  rc_local
 [ + ]  resolvconf
 [ - ]  rsync
 [ + ]  rsyslog
 [ + ]  sabnzbdplus
 [ - ]  screen-cleanup
 [ - ]  sendsigs
 [ + ]  ssh
 [ + ]  udev
 [ + ]  ufw
 [ - ]  umountfs
 [ - ]  umountnfs_sh
 [ - ]  umountroot
 [ + ]  unattended-upgrades
 [ + ]  urandom
 [ - ]  uuidd
 [ - ]  vmware-tools

sudo ufw disable

A few other things that might not be helpful
sudo apt-get dist-upgrade
Reading package lists___ Done
Building dependency tree
Reading state information___ Done
Calculating upgrade___ Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded_

which par2
/usr/bin/par2

sudo apt-get install open-vm-tools
sudo apt-get install cifs-utils
sudo apt-get install plexmediaserver
Server has the Plex service also installed and running on port 32400

New users can't post links so I replaced all of the . with _ so it would let me post.
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: Web interface not accessible on a new install

Post by jcfp »

The package ships with an init.d script, configured through /etc/default/sabnzbdplus. This will be picked up just fine by systemd, as long as there's no native systemd service by the same name. So in your case: either remove the sabnzbdplus systemd service you added yourself (probably best since it has other issues as well), or set the proper command line options to make it listen on all addresses.
justgosh
Newbie
Newbie
Posts: 3
Joined: May 26th, 2018, 12:00 am

Re: Web interface not accessible on a new install

Post by justgosh »

Code: Select all

pkill sabnzbdplus
sudo /etc/init.d/sabnzbdplus start
[ ok ] Starting sabnzbdplus (via systemctl): sabnzbdplus.service.

sudo systemctl status sabnzbdplus.service
● sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber
   Loaded: loaded (/etc/init.d/sabnzbdplus; bad; vendor preset: enabled)
   Active: active (exited) since Sat 2018-05-26 03:12:40 CDT; 20h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1335 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=0/SUCCESS)
    Tasks: 0
   Memory: 0B
      CPU: 0

May 26 03:12:38 PLEX-OTA systemd[1]: Starting LSB: SABnzbd+ binary newsgrabber...
May 26 03:12:39 PLEX-OTA sabnzbdplus[1335]:  * Starting SABnzbd+ binary newsgrabber
May 26 03:12:40 PLEX-OTA sabnzbdplus[1335]:    ...done.
May 26 03:12:40 PLEX-OTA systemd[1]: Started LSB: SABnzbd+ binary newsgrabber.
May 27 00:09:56 PLEX-OTA systemd[1]: Started LSB: SABnzbd+ binary newsgrabber.

Still no love. Did I miss a step?
justgosh
Newbie
Newbie
Posts: 3
Joined: May 26th, 2018, 12:00 am

Re: Web interface not accessible on a new install

Post by justgosh »

Taking anther stab at it following different instructions

Code: Select all

Clean install 16.04
sudo add-apt-repository ppa:jcfp/nobetas

sudo add-apt-repository ppa:jcfp/sab-addons

sudo apt-get update && sudo apt-get dist-upgrade

sudo apt-get install sabnzbdplus python-sabyenc
sudo apt-get install par2-tbb

sudo vi /etc/default/sabnzbdplus
USER=sabnzbd
CONFIG=
HOST=0.0.0.0
PORT=8080
EXTRAOPTS=

sudo service sabnzbdplus start
And it's up and working!
Anyone reading this, the directions on linuxbabe seem to be reproducibly wrong.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Web interface not accessible on a new install

Post by safihre »

Good to know!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply