[OFFICIAL] sabnzbd

Problems with packages? Post here, using [tags] of the package name.

Re: [OFFICIAL] sabnzbd

Postby WarheadsSE » Wed Sep 05, 2012 11:38 am

Hah. It's not just the oxnas people!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [OFFICIAL] sabnzbd

Postby joecho5 » Wed Sep 05, 2012 5:32 pm

wow pepedog. Thank you so much! I tried looking for a solution on google for about an hour and found nothing. Thanks for the rescue!
joecho5
 
Posts: 7
Joined: Mon Sep 03, 2012 11:26 pm

Re: [OFFICIAL] sabnzbd

Postby strato » Fri Sep 07, 2012 3:59 am

$this->bbcode_second_pass_quote('pepedog', 'A')lso ntpd should go after network in DAEMONS


Noted! and thanks!
strato
 
Posts: 10
Joined: Sat Sep 01, 2012 7:09 pm

Re: [OFFICIAL] sabnzbd

Postby elk29n » Sun Oct 07, 2012 12:25 pm

I have an issue that when a file is downloading, at times, sabnzbd quits and the Dockstar locks up requiring a reboot.
I have the swap file on SATA 1TB HD and the rootfs on a USB Flash 2GB.

Any suggestions?
elk29n
 
Posts: 13
Joined: Sun Dec 26, 2010 1:13 am

Re: [OFFICIAL] sabnzbd

Postby elk29n » Wed Oct 10, 2012 12:48 pm

Could anyone suggest anything? I've looked around and can't figure out the problem.

The program idles fine but when its downloads a file (4-8GB) it occasionally locks up and requires a restart of the dockstar.

Thanks in advance.
elk29n
 
Posts: 13
Joined: Sun Dec 26, 2010 1:13 am

Re: [OFFICIAL] sabnzbd

Postby m0rphU » Wed Jan 16, 2013 3:12 pm

Did the latest updates and experienced the initscript has moved to a systemd script... Now I'm missing any chance to start sabnzbd on my Pogo (POGO-B02, oxnas-based)

Is there any chance to get this working on oxnas devices? Seems systemd isn't working there.
m0rphU
 
Posts: 7
Joined: Fri Jun 10, 2011 9:55 am

Re: [OFFICIAL] sabnzbd

Postby rflores2323 » Fri Feb 01, 2013 11:53 pm

my pogo plus sabnzbd keep freezing and then I have to restart it.

I am on a pogoplug E02 running sab 0.7.9

see below

$this->bbcode_second_pass_code('', '[root@alarm couchpotato]# systemctl status sabnzbd.service
sabnzbd.service - SABnzbd binary newsreader
Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled)
Active: failed (Result: signal) since Fri 2013-02-01 17:12:23 CST; 26min ago
Process: 31427 ExecStart=/bin/sh -c python2 /opt/sabnzbd/SABnzbd.py -l0 (code=killed, signal=KILL)

Feb 01 12:37:06 alarm systemd[1]: Starting SABnzbd binary newsreader...
Feb 01 12:37:06 alarm systemd[1]: Started SABnzbd binary newsreader.
Feb 01 12:37:40 alarm sh[31427]: 2013-02-01 12:37:35,822::ERROR::[database:...og
Feb 01 12:37:55 alarm sh[31427]: 2013-02-01 12:37:40,577::ERROR::[database:...og
Feb 01 12:37:55 alarm sh[31427]: 2013-02-01 12:37:47,235::ERROR::[database:...og
Feb 01 12:37:55 alarm sh[31427]: 2013-02-01 12:37:47,238::ERROR::[database:...og
Feb 01 12:38:41 alarm sh[31427]: 2013-02-01 12:38:01,391::ERROR::[database:...og
Feb 01 12:39:22 alarm sh[31427]: 2013-02-01 12:38:04,944::ERROR::[database:...og
Feb 01 17:12:23 alarm systemd[1]: sabnzbd.service: main process exited, cod...LL
Feb 01 17:12:23 alarm systemd[1]: Unit sabnzbd.service entered failed state
[root@alarm couchpotato]# systemctl start sabnzbd.service
[root@alarm couchpotato]# system status sabnzbd.service
-bash: system: command not found
[root@alarm couchpotato]# systemctl status sabnzbd.service
sabnzbd.service - SABnzbd binary newsreader
Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; enabled)
Active: active (running) since Fri 2013-02-01 17:39:13 CST; 45s ago
Main PID: 3352 (python2)
CGroup: name=systemd:/system/sabnzbd.service
└─3352 python2 /opt/sabnzbd/SABnzbd.py -l0

Feb 01 17:39:13 alarm systemd[1]: Starting SABnzbd binary newsreader...
Feb 01 17:39:13 alarm systemd[1]: Started SABnzbd binary newsreader.
Feb 01 17:40:20 alarm sh[3352]: 2013-02-01 17:40:09,554::ERROR::[database:1...og
[root@alarm couchpotato]# ')

$this->bbcode_second_pass_code('', '2013-02-01 08:42:31,029::INFO::[_cplogging:55] [01/Feb/2013:08:42:31] ENGINE Bus STARTING
2013-02-01 08:42:32,483::INFO::[_cplogging:55] [01/Feb/2013:08:42:32] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-02-01 08:42:32,692::INFO::[_cplogging:55] [01/Feb/2013:08:42:32] ENGINE Serving on 192.168.1.24:8085
2013-02-01 08:42:32,694::INFO::[_cplogging:55] [01/Feb/2013:08:42:32] ENGINE Bus STARTED
2013-02-01 08:42:41,648::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:42:47,673::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:42:53,139::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:42:53,162::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:43:00,384::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:43:00,387::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:43:00,396::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 08:43:00,476::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:37:24,212::INFO::[_cplogging:55] [01/Feb/2013:12:37:24] ENGINE Bus STARTING
2013-02-01 12:37:25,648::INFO::[_cplogging:55] [01/Feb/2013:12:37:25] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-02-01 12:37:25,862::INFO::[_cplogging:55] [01/Feb/2013:12:37:25] ENGINE Serving on 192.168.1.24:8085
2013-02-01 12:37:25,864::INFO::[_cplogging:55] [01/Feb/2013:12:37:25] ENGINE Bus STARTED
2013-02-01 12:37:35,822::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:37:40,577::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:37:47,235::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:37:47,238::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:38:01,391::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 12:38:04,944::ERROR::[database:111] SQL Command Failed, see log
2013-02-01 17:39:33,501::INFO::[_cplogging:55] [01/Feb/2013:17:39:33] ENGINE Bus STARTING
2013-02-01 17:39:36,448::INFO::[_cplogging:55] [01/Feb/2013:17:39:36] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-02-01 17:39:36,659::INFO::[_cplogging:55] [01/Feb/2013:17:39:36] ENGINE Serving on 192.168.1.24:8085
2013-02-01 17:39:36,661::INFO::[_cplogging:55] [01/Feb/2013:17:39:36] ENGINE Bus STARTED
2013-02-01 17:40:09,554::ERROR::[database:111] SQL Command Failed, see log')
rflores2323
 
Posts: 17
Joined: Wed Nov 23, 2011 4:39 pm

Re: [OFFICIAL] sabnzbd

Postby darkside401 » Sat Feb 02, 2013 10:19 am

$this->bbcode_second_pass_quote('m0rphU', 'D')id the latest updates and experienced the initscript has moved to a systemd script... Now I'm missing any chance to start sabnzbd on my Pogo (POGO-B02, oxnas-based)

Is there any chance to get this working on oxnas devices? Seems systemd isn't working there.



Same problem here.
Updated from 0.7.6 to 0.7.10 and the rc.d Script is missing.
Any chance to get the fixed?

Edit:
As an intermediate help, i just had the old Sabnzbd package in my Cache and i just extracted the rc.d Script.
You just have to put it in the the /etc/rc.d folder and make it executeable.

$this->bbcode_second_pass_code('', '#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/sabnzbd

PID="$(pgrep -f -u "${SABNZBD_USER}" SABnzbd.py)"

case "${1}" in
start)
stat_busy "Starting SABnzbd"

if [ -f /run/daemons/sabnzbd ]; then
echo -n "Sabnzbd is already running as a daemon! If you are certain it is not running, remove /run/daemons/sabnzbd."
stat_fail
else
su - "${SABNZBD_USER}" -c "python2 ${SABNZBD_DIR}/SABnzbd.py ${SABNZBD_ARGS}" -s /bin/sh
if [ "${?}" -gt 0 ]; then
stat_fail
exit 1
else
add_daemon sabnzbd
stat_done
fi
fi
;;
stop)
stat_busy "Stopping SABnzbd"

curl -f "${SABNZBD_PROTOCOL}://${SABNZBD_USPW}${SABNZBD_IP}:${SABNZBD_PORT}/sabnzbd/api?mode=shutdown&apikey=${SABNZBD_KEY}" &> /dev/null

if [ "${?}" -gt 0 ]; then
stat_fail
exit 1
else
rm_daemon sabnzbd
stat_done
fi
;;
force-stop)
stat_busy "Stopping SABnzbd (forced)"

[ -n "${PID}" ]; kill "${PID}" &> /dev/null

if [ "${?}" -gt 0 ]; then
stat_fail
exit 1
else
[ -f /run/daemons/sabnzbd ]; rm -f /run/daemons/sabnzbd &> /dev/null
rm_daemon sabnzbd
stat_done
fi
;;
restart)
"${0}" stop
sleep 1
"${0}" start
;;
force-restart)
"${0}" force-stop
sleep 1
"${0}" start
;;
status)
stat_busy "Checking SABnzbd status";
ck_status sabnzbd
;;
*)
echo "usage: ${0} {start|stop|restart|force-stop|force-restart|status}"
esac

exit 0
')
darkside401
 
Posts: 14
Joined: Fri Jan 11, 2013 10:18 am

Re: [OFFICIAL] sabnzbd

Postby sjwoo » Sat Mar 02, 2013 12:43 pm

Hey folks,

For some reason, I just can't get sabnzbd to run on a port other than the server's, i.e., 127.0.0.1. I've updated /etc/conf.d/sabnzbd, but it seems to have no effect.

$this->bbcode_second_pass_code('', '[root@pogo ~]# cat /etc/conf.d/sabnzbd
# This file is used to make association of .nzb files with SABnzbd possible.
# If you do not want this feature, you do no have to fill in these settings.

# The SABnzbd url. Make sure to add a username and password if required
URL="http://192.168.0.113:8080"

# Put the API key from Config > General here
API_KEY=""')

I installed Lynx to make sure it is running on the server itself, and it is. What am I missing?
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: [OFFICIAL] sabnzbd

Postby yeehaa » Sat Mar 02, 2013 9:02 pm

$this->bbcode_second_pass_quote('sjwoo', 'H')ey folks,

For some reason, I just can't get sabnzbd to run on a port other than the server's, i.e., 127.0.0.1. I've updated /etc/conf.d/sabnzbd, but it seems to have no effect.

$this->bbcode_second_pass_code('', '[root@pogo ~]# cat /etc/conf.d/sabnzbd
# This file is used to make association of .nzb files with SABnzbd possible.
# If you do not want this feature, you do no have to fill in these settings.

# The SABnzbd url. Make sure to add a username and password if required
URL="http://192.168.0.113:8080"

# Put the API key from Config > General here
API_KEY=""')

I installed Lynx to make sure it is running on the server itself, and it is. What am I missing?



try 0.0.0.0.. it should work
yeehaa
 
Posts: 43
Joined: Mon May 21, 2012 7:54 pm
Top

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 18 guests