Hi. Noob here so forgive terminology etc. My first thread so go easy!
I’m so close to USEnet nirvana that I can taste it, but SABnzbd doesn’t seem to be processing files to hand off to Sick Beard.
My setup: Drobo 5N serving media files to my 2012 i5 Mac Mini that has Plex Media Server and Plex Home Theater. Mac Mini-side software is all working brilliantly, so is my hardware - it’s SABnzbd and Sick Beard on my Drobo 5N that’s giving me a headache.
My SABnzbd log at startup looks like this:
2014-06-02 00:04:09,401::INFO::[SABnzbd:1256] --------------------------------
2014-06-02 00:04:09,402::INFO::[SABnzbd:1257] SABnzbd.py-0.7.x (rev=unknown)
2014-06-02 00:04:09,403::INFO::[SABnzbd:1269] Platform = posix
2014-06-02 00:04:09,404::INFO::[SABnzbd:1270] Python-version = 2.7.5 (default, Aug 29 2013, 19:15:20)
[GCC 4.5.1]
2014-06-02 00:04:09,404::INFO::[SABnzbd:1271] Arguments = /mnt/DroboFS/Shares/DroboApps/sabnzbd/app/SABnzbd.py --config-file /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/sabnzbd.ini --pid /tmp/DroboApps/sabnzbd --daemon
2014-06-02 00:04:09,405::INFO::[SABnzbd:1284] Read INI file /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/sabnzbd.ini
2014-06-02 00:04:09,417::INFO::[init :928] Loading data for bookmarks.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/bookmarks.sab
2014-06-02 00:04:09,419::INFO::[init :928] Loading data for rss_data.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/rss_data.sab
2014-06-02 00:04:09,420::INFO::[init :928] Loading data for totals9.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/totals9.sab
2014-06-02 00:04:09,422::INFO::[postproc:90] Loading postproc queue
2014-06-02 00:04:09,423::INFO::[init :928] Loading data for postproc1.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/postproc1.sab
2014-06-02 00:04:09,425::INFO::[init :928] Loading data for queue9.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/queue9.sab
2014-06-02 00:04:09,428::INFO::[init :928] Loading data for watched_data.sab from /mnt/DroboFS/Shares/DroboApps/sabnzbd/data/admin/watched_data.sab
2014-06-02 00:04:09,432::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2014-06-02 00:04:09,433::INFO::[downloader:211] Resuming
2014-06-02 00:04:09,434::INFO::[init :330] All processes started
2014-06-02 00:04:09,435::INFO::[SABnzbd:334] Web dir is /mnt/DroboFS/Shares/DroboApps/sabnzbd/app/interfaces/Plush
2014-06-02 00:04:09,436::INFO::[SABnzbd:334] Web dir is /mnt/DroboFS/Shares/DroboApps/sabnzbd/app/interfaces/Config
2014-06-02 00:04:09,520::INFO::[SABnzbd:468] _yenc module… NOT found!
2014-06-02 00:04:09,522::ERROR::[SABnzbd:473] par2 binary… NOT found!
2014-06-02 00:04:09,523: :[SABnzbd:481] unrar binary… NOT found
2014-06-02 00:04:09,524: :[SABnzbd:486] unzip binary… NOT found!
2014-06-02 00:04:09,525::INFO::[SABnzbd:492] nice binary… NOT found!
2014-06-02 00:04:09,525::INFO::[SABnzbd:496] ionice binary… NOT found!
2014-06-02 00:04:09,526::INFO::[SABnzbd:499] pyOpenSSL… found (True)
2014-06-02 00:04:09,533::INFO::[SABnzbd:1483] Starting web-interface on 0.0.0.0:8081
2014-06-02 00:04:09,536::INFO::[_cplogging:55] [02/Jun/2014:00:04:09] ENGINE Bus STARTING
2014-06-02 00:04:09,558::INFO::[_cplogging:55] [02/Jun/2014:00:04:09] ENGINE Started monitor thread ‘_TimeoutMonitor’.
2014-06-02 00:04:09,680::INFO::[_cplogging:55] [02/Jun/2014:00:04:09] ENGINE Serving on 0.0.0.0:8081
2014-06-02 00:04:09,682::INFO::[_cplogging:55] [02/Jun/2014:00:04:09] ENGINE Bus STARTED
2014-06-02 00:04:10,199::INFO::[SABnzbd:1552] Starting SABnzbd.py-0.7.x
2014-06-02 00:04:10,203::INFO::[dirscanner:274] Dirscanner starting up
2014-06-02 00:04:10,205::INFO::[urlgrabber:77] URLGrabber starting up
I checked out these links here and here , and as a result I altered my SABnzbd service.sh file to this:
#!/bin/sh
SABnzbd service
PATH=$PATH:/mnt/DroboFS/Shares/DroboApps/unrar/bin:/mnt/DroboFS/Shares/DroboApps/par2/bin
. /etc/service.subr
prog_dir=dirname \
realpath $0``
name=“sabnzbd”
version=“0.7”
description=“Usenet downloader”
framework_version=“2.0”
pidfile="/tmp/DroboApps/${name}/pid.txt"
logfile="/tmp/DroboApps/${name}/log.txt"
python="$DROBOAPPS_DIR/python2/bin/python"
pypath="${prog_dir}/lib/python2.7/site-packages/"
conffile="${prog_dir}/data/sabnzbd.ini"
_create_config() {
if [ ! -f “${conffile}” ]; then
cp “${conffile}.default” “${conffile}” 1>> “${logfile}” 2>&1
fi
}
start() {
_create_config
eval “grep ^port \"${conffile}\" | head -n 1 | sed \"s/ //g\"
”
ln -fs “/tmp/DroboApps/${name}/sabnzbd-${port}.pid” “${pidfile}”
ln -fs “${prog_dir}/data/logs/sabnzbd.log” “${logfile}”
PATH="${prog_dir}/bin:$PATH" PYTHONPATH="${pypath}" ${python} ${prog_dir}/app/SABnzbd.py --config-file ${conffile} --pid “dirname ${pidfile}
” --daemon 1>> “${logfile}” 2>&1
}
case “$1” in
start) start_service ;;
stop) stop_service ;;
restart) stop_service ; sleep 3 ; start_service ;;
status) status ;;
*) echo “Usage: $0 [start|stop|restart|status]” ; exit 1 ;;
esac
and my sabToSickBeard.py file to this:
#!/mnt/DroboFS/Shares/DroboApps/python2/bin/python
This file is part of Sick Beard.
Sick Beard is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Sick Beard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
import sys
import autoProcessTV
if len(sys.argv) < 2:
print “No folder supplied - is this being called from SABnzbd?”
sys.exit()
elif len(sys.argv) >= 3:
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
else:
autoProcessTV.processEpisode(sys.argv[1])
I still run in to the exact same problem. SABnzbd just doesn’t seem to be able to recognise par2 and unrar.
Any ideas?