HOW TO: NZBautomator for Entware-ng

Marvell Kirkwood based
Post Reply
burbulence
Posts: 308
Joined: Sun Feb 17, 2013 10:00 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by burbulence » Mon Nov 14, 2016 2:15 pm

Haha yeah that would do it!!

As for the Par buffer, it might help, give it a try... but from what i can see from mine it is after the par repair and during unpacking, but it'll be something like that.

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Mon Nov 14, 2016 2:16 pm

burbulence wrote:Haha yeah that would do it!!

As for the Par buffer, it might help, give it a try... but from what i can see from mine it is after the par repair and during unpacking, but it'll be something like that.
:D

Please share if you find a solution :)

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Tue Nov 15, 2016 7:45 am

Par buffer change to 32MB had no effect... Any way to at least make NZBGet restart automatically after it crashes? Run it as daemon or something?
Or any way to downgrade NZBGet?

ckuever
Posts: 2
Joined: Mon Dec 28, 2015 10:01 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by ckuever » Wed Jan 11, 2017 3:59 pm

hi,

for some reason nzbget and sabnzbd won't install because /opt/share/sabnzbd cannot found

here is the output:

root@NAS:/opt/etc/init.d# sh -x S80NZBautomator
+ . /opt/etc/autonzb.conf
++ SABnzbd=1
++ Nzbget=1
++ CouchPotato=1
++ SickRage=1
++ Headphones=0
++ Mylar=0
++ NzbtoMedia=1
++ packageupdate=0
++ init=/opt/etc/init.d
++ useradmin=/i-data/md0/admin
++ configdir=/opt/usr/etc/config
++ share=/opt/share
++ sabconfig=/opt/usr/etc/config/sabnzbd
++ nzbgetconfig=/opt/usr/etc/config/nzbget
++ couchconfig=/opt/usr/etc/config/couchpotato
++ sickconfig=/opt/usr/etc/config/sickbeard
++ headconfig=/opt/usr/etc/config/headphones
++ mylarconfig=/opt/usr/etc/config/mylar
++ nzbtomedia=/opt/usr/etc/config/nzbToMedia
++ python=/opt/bin/python2
++ sabdata=/opt/share/sabnzbd
++ couchdata=/opt/share/couchpotato
++ sickdata=/opt/share/SickRage
++ headdata=/opt/share/headphones
++ mylardata=/opt/share/mylar
++ SABPKG_NAME=SABnzbd
++ SABPKG_DIR=/opt/share/couchpotato
++ SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
++ NPKG_NAME=nzbget
++ NCONFIG_DIR=/opt/usr/etc/config/nzbget
++ NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
++ CPKG_NAME=CouchPotato
++ CPKG_DIR=/opt/share/couchpotato
++ CCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
++ SPKG_NAME=SickRage
++ SPKG_DIR=/opt/share/SickRage
++ SCONFIG_DIR=/opt/usr/etc/config/sickbeard
++ SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
++ HPKG_NAME=Headphones
++ HPKG_DIR=/opt/share/headphones
++ HCONFIG_DIR=/opt/usr/etc/config/headphones
++ HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
++ MPKG_NAME=Mylar
++ MPKG_DIR=/opt/share/mylar
++ MCONFIG_DIR=/opt/usr/etc/config/mylar
++ MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
+ '[' 0 == 1 ']'
+ cd /i-data/md0/admin
+ '[' '!' -d /i-data/md0/admin/download/incomplete ']'
+ '[' 1 == 1 ']'
+ '[' '!' -f /opt/bin/nzbget ']'
+ '[' 0 == 1 ']'
+ '[' 1 == 1 ']'
+ '[' -f /opt/share/sabnzbd/SABnzbd.py ']'
+ git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
Cloning into '/opt/share/sabnzbd'...
/usr/local/zy-pkgs/ffproot/ffp/libexec/git-core/git-remote-https: can't resolve symbol 'SSL_CTX_set_next_proto_select_cb'
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/couchpotato ']'
+ cd /opt/share/couchpotato
+ git pull https://github.com/RuudBurger/CouchPotatoServer
/usr/local/zy-pkgs/ffproot/ffp/libexec/git-core/git-remote-https: can't resolve symbol 'SSL_CTX_set_next_proto_select_cb'
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/SickRage ']'
+ cd /opt/share/SickRage
+ git pull https://github.com/SickRage/SickRage.git
/usr/local/zy-pkgs/ffproot/ffp/libexec/git-core/git-remote-https: can't resolve symbol 'SSL_CTX_set_next_proto_select_cb'
+ '[' 0 == 1 ']'
+ '[' 0 == 1 ']'
+ '[' 1 == 1 ']'
+ '[' -d /opt/usr/etc/config/nzbToMedia ']'
+ cd /opt/usr/etc/config/nzbToMedia
+ git pull https://github.com/clinton-hall/nzbToMedia.git
/usr/local/zy-pkgs/ffproot/ffp/libexec/git-core/git-remote-https: can't resolve symbol 'SSL_CTX_set_next_proto_select_cb'
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ']'
+ sleep 2
+ '[' -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ']'
+ PYTHON_EGG_CACHE=/tmp
+ /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d --pidfile SABPID_FILE -f sabconfig/sabnzbd.ini
/opt/bin/python2: can't open file '/opt/share/sabnzbd/SABnzbd.py': [Errno 2] No such file or directory
+ '[' 1 == 1 ']'
+ sh /opt/etc/init.d/S75nzbget stop
Checking nzbget... dead.
+ sleep 2
+ '[' 0 == 1 ']'
+ sleep 2
+ sh /opt/etc/init.d/S75nzbget start
Starting nzbget... failed.
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/CouchPotato.pid ']'
++ /bin/cat /opt/usr/etc/config/couchpotato/CouchPotato.pid
+ Pid=2433
+ i=0
+ kill 2433
+ echo -n ' Waiting for CouchPotato to shut down: '
Waiting for CouchPotato to shut down: + '[' -d /proc/2433 ']'
+ sleep 1
+ let i+=1
+ /bin/echo -n '1, '
1, + '[' 1 = 45 ']'
+ '[' -d /proc/2433 ']'
+ rm -f /opt/usr/etc/config/couchpotato/CouchPotato.pid
+ echo ' CouchPotato Shutdown '
CouchPotato Shutdown
+ sleep 2
+ /opt/bin/python2 /opt/share/couchpotato/CouchPotato.py --daemon --data_dir /opt/usr/etc/config/couchpotato --config /opt/usr/etc/config/couchpotato/settings.conf --pid_file /opt/usr/etc/config/couchpotato/CouchPotato.pid
+ echo -n ' CouchPotato Started '
CouchPotato Started + sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/sickbeard/SickRage.pid ']'
++ /bin/cat /opt/usr/etc/config/sickbeard/SickRage.pid
+ Pid=2592
+ i=0
+ kill 2592
+ echo -n ' Waiting for SickRage to shut down: '
Waiting for SickRage to shut down: + '[' -d /proc/2592 ']'
+ sleep 1
+ let i+=1
+ /bin/echo -n '1, '
1, + '[' 1 = 45 ']'
+ '[' -d /proc/2592 ']'
+ sleep 1
+ let i+=1
+ /bin/echo -n '2, '
2, + '[' 2 = 45 ']'
+ '[' -d /proc/2592 ']'
+ sleep 1
+ let i+=1
+ /bin/echo -n '3, '
3, + '[' 3 = 45 ']'
+ '[' -d /proc/2592 ']'
+ sleep 1
+ let i+=1
+ /bin/echo -n '4, '
4, + '[' 4 = 45 ']'
+ '[' -d /proc/2592 ']'
+ rm -f /opt/usr/etc/config/sickbeard/SickRage.pid
+ echo ' SickRage Shutdown '
SickRage Shutdown
+ sleep 2
+ /opt/bin/python2 /opt/share/SickRage/SickBeard.py --datadir /opt/usr/etc/config/sickbeard --config /opt/usr/etc/config/sickbeard/config.ini -d --pidfile /opt/usr/etc/config/sickbeard/SickRage.pid
+ echo -n ' SickRage Started '
SickRage Started + sleep 2
+ '[' 0 == 1 ']'
+ echo ' Headphones not Installed '
Headphones not Installed
+ sleep 2
+ '[' 0 == 1 ']'
+ echo 'Mylar not Installed'
Mylar not Installed
root@NAS:/opt/etc/init.d#


the directorys are there? :

root@NAS:/opt/share# ls
SickRage aclocal-1.15 automake-1.15 git-core perl
aclocal autoconf couchpotato nzbget terminfo
root@NAS:/opt/share#


can anyone help me what to do?

Thanks.

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Sat Jan 14, 2017 9:03 pm

kramiz1 wrote:Par buffer change to 32MB had no effect... Any way to at least make NZBGet restart automatically after it crashes? Run it as daemon or something?
Or any way to downgrade NZBGet?
Wow I got it working somehow shortly after (don't ask me how, I have no idea). Then of course I was stupid and upgraded all opkg packages on the NAS today and after that it crashes again... :(

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Sat Jan 14, 2017 11:01 pm

kramiz1 wrote:
kramiz1 wrote:Par buffer change to 32MB had no effect... Any way to at least make NZBGet restart automatically after it crashes? Run it as daemon or something?
Or any way to downgrade NZBGet?
Wow I got it working somehow shortly after (don't ask me how, I have no idea). Then of course I was stupid and upgraded all opkg packages on the NAS today and after that it crashes again... :(
Ended up just creating a cronjob that restarts nzbget if it crashes. Not the ideal fix but it will hopefully do for now...

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Wed Jan 18, 2017 7:18 pm

Can anyone point me in the right direction to why this is not installing properly?

+ . /opt/etc/autonzb.conf
++ SABnzbd=1
++ Nzbget=1
++ CouchPotato=1
++ SickRage=1
++ Headphones=0
++ Mylar=0
++ NzbtoMedia=1
++ packageupdate=0
++ init=/opt/etc/init.d
++ useradmin=/i-data/md0/admin
++ configdir=/opt/usr/etc/config
++ share=/opt/share
++ sabconfig=/opt/usr/etc/config/sabnzbd
++ nzbgetconfig=/opt/usr/etc/config/nzbget
++ couchconfig=/opt/usr/etc/config/couchpotato
++ sickconfig=/opt/usr/etc/config/sickbeard
++ headconfig=/opt/usr/etc/config/headphones
++ mylarconfig=/opt/usr/etc/config/mylar
++ nzbtomedia=/opt/usr/etc/config/nzbToMedia
++ python=/opt/bin/python2
++ sabdata=/opt/share/sabnzbd
++ couchdata=/opt/share/couchpotato
++ sickdata=/opt/share/SickRage
++ headdata=/opt/share/headphones
++ mylardata=/opt/share/mylar
++ SABPKG_NAME=SABnzbd
++ SABPKG_DIR=/opt/share/couchpotato
++ SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
++ NPKG_NAME=nzbget
++ NCONFIG_DIR=/opt/usr/etc/config/nzbget
++ NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
++ CPKG_NAME=CouchPotato
++ CPKG_DIR=/opt/share/couchpotato
++ CCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
++ SPKG_NAME=SickRage
++ SPKG_DIR=/opt/share/SickRage
++ SCONFIG_DIR=/opt/usr/etc/config/sickbeard
++ SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
++ HPKG_NAME=Headphones
++ HPKG_DIR=/opt/share/headphones
++ HCONFIG_DIR=/opt/usr/etc/config/headphones
++ HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
++ MPKG_NAME=Mylar
++ MPKG_DIR=/opt/share/mylar
++ MCONFIG_DIR=/opt/usr/etc/config/mylar
++ MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
+ '[' 0 == 1 ']'
+ cd /i-data/md0/admin
+ '[' '!' -d /i-data/md0/admin/download/incomplete ']'
+ '[' 1 == 1 ']'
+ '[' '!' -f /opt/bin/nzbget ']'
+ opkg install nzbget
S80NZBautomator: line 51: opkg: command not found
+ '[' 1 == 1 ']'
+ '[' -f /opt/share/sabnzbd/SABnzbd.py ']'
+ git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
S80NZBautomator: line 67: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/couchpotato ']'
+ git clone https://github.com/RuudBurger/CouchPotatoServer /opt/share/couchpotato
S80NZBautomator: line 83: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/couchpotato
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/SickRage ']'
+ git clone https://github.com/SickRage/SickRage.git /opt/share/SickRage
S80NZBautomator: line 98: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/sickbeard
+ sleep 2
+ '[' 0 == 1 ']'
+ '[' 0 == 1 ']'
+ '[' 1 == 1 ']'
+ '[' -d /opt/usr/etc/config/nzbToMedia ']'
+ git clone https://github.com/clinton-hall/nzbToMedia.git /opt/usr/etc/config/nzbToMedia
S80NZBautomator: line 145: git: command not found
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ']'
+ sleep 2
+ '[' -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ']'
+ PYTHON_EGG_CACHE=/tmp
+ /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d -s 0.0.0.0:8085 --pidfile SABPID_FILE -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini
S80NZBautomator: line 181: /opt/bin/python2: No such file or directory
+ sleep 2
+ '[' 1 == 1 ']'
+ sh /opt/etc/init.d/S75nzbget stop
sh: /opt/etc/init.d/S75nzbget: No such file or directory
+ sleep 2
+ '[' 0 == 1 ']'
+ sleep 2
+ sh /opt/etc/init.d/S75nzbget start
sh: /opt/etc/init.d/S75nzbget: No such file or directory
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/CouchPotato.pid ']'
+ sleep 2
+ /opt/bin/python2 /opt/share/couchpotato/CouchPotato.py --daemon --data_dir /opt/usr/etc/config/couchpotato --config /opt/usr/etc/config/couchpotato/settings.conf --pid_file /opt/usr/etc/config/couchpotato/CouchPotato.pid
S80NZBautomator: line 233: /opt/bin/python2: No such file or directory
+ echo -n ' CouchPotato Started '
CouchPotato Started + sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/sickbeard/SickRage.pid ']'
+ sleep 2
+ /opt/bin/python2 /opt/share/SickRage/SickBeard.py --datadir /opt/usr/etc/config/sickbeard --config /opt/usr/etc/config/sickbeard/config.ini -d --pidfile /opt/usr/etc/config/sickbeard/SickRage.pid
S80NZBautomator: line 268: /opt/bin/python2: No such file or directory
+ echo -n ' SickRage Started '
SickRage Started + sleep 2
+ '[' 0 == 1 ']'
+ echo ' Headphones not Installed '
Headphones not Installed
+ sleep 2
+ '[' 0 == 1 ']'
+ echo 'Mylar not Installed'
Mylar not Installed
root@Mediaserver2:/opt/etc/init.d# sh -x S80NZBautomator start
+ . /opt/etc/autonzb.conf
++ SABnzbd=1
++ Nzbget=1
++ CouchPotato=1
++ SickRage=1
++ Headphones=0
++ Mylar=0
++ NzbtoMedia=1
++ packageupdate=0
++ init=/opt/etc/init.d
++ useradmin=/i-data/md0/admin
++ configdir=/opt/usr/etc/config
++ share=/opt/share
++ sabconfig=/opt/usr/etc/config/sabnzbd
++ nzbgetconfig=/opt/usr/etc/config/nzbget
++ couchconfig=/opt/usr/etc/config/couchpotato
++ sickconfig=/opt/usr/etc/config/sickbeard
++ headconfig=/opt/usr/etc/config/headphones
++ mylarconfig=/opt/usr/etc/config/mylar
++ nzbtomedia=/opt/usr/etc/config/nzbToMedia
++ python=/opt/bin/python2
++ sabdata=/opt/share/sabnzbd
++ couchdata=/opt/share/couchpotato
++ sickdata=/opt/share/SickRage
++ headdata=/opt/share/headphones
++ mylardata=/opt/share/mylar
++ SABPKG_NAME=SABnzbd
++ SABPKG_DIR=/opt/share/couchpotato
++ SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
++ NPKG_NAME=nzbget
++ NCONFIG_DIR=/opt/usr/etc/config/nzbget
++ NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
++ CPKG_NAME=CouchPotato
++ CPKG_DIR=/opt/share/couchpotato
++ CCONFIG_DIR=/opt/usr/etc/config/couchpotato
++ CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
++ SPKG_NAME=SickRage
++ SPKG_DIR=/opt/share/SickRage
++ SCONFIG_DIR=/opt/usr/etc/config/sickbeard
++ SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
++ HPKG_NAME=Headphones
++ HPKG_DIR=/opt/share/headphones
++ HCONFIG_DIR=/opt/usr/etc/config/headphones
++ HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
++ MPKG_NAME=Mylar
++ MPKG_DIR=/opt/share/mylar
++ MCONFIG_DIR=/opt/usr/etc/config/mylar
++ MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
+ '[' 0 == 1 ']'
+ cd /i-data/md0/admin
+ '[' '!' -d /i-data/md0/admin/download/incomplete ']'
+ '[' 1 == 1 ']'
+ '[' '!' -f /opt/bin/nzbget ']'
+ opkg install nzbget
S80NZBautomator: line 51: opkg: command not found
+ '[' 1 == 1 ']'
+ '[' -f /opt/share/sabnzbd/SABnzbd.py ']'
+ git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
S80NZBautomator: line 67: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/couchpotato ']'
+ git clone https://github.com/RuudBurger/CouchPotatoServer /opt/share/couchpotato
S80NZBautomator: line 83: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/couchpotato
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -d /opt/share/SickRage ']'
+ git clone https://github.com/SickRage/SickRage.git /opt/share/SickRage
S80NZBautomator: line 98: git: command not found
+ mkdir -p -m 777 /opt/usr/etc/config/sickbeard
+ sleep 2
+ '[' 0 == 1 ']'
+ '[' 0 == 1 ']'
+ '[' 1 == 1 ']'
+ '[' -d /opt/usr/etc/config/nzbToMedia ']'
+ git clone https://github.com/clinton-hall/nzbToMedia.git /opt/usr/etc/config/nzbToMedia
S80NZBautomator: line 145: git: command not found
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ']'
+ sleep 2
+ '[' -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ']'
+ PYTHON_EGG_CACHE=/tmp
+ /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d -s 0.0.0.0:8085 --pidfile SABPID_FILE -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini
S80NZBautomator: line 181: /opt/bin/python2: No such file or directory
+ sleep 2
+ '[' 1 == 1 ']'
+ sh /opt/etc/init.d/S75nzbget stop
sh: /opt/etc/init.d/S75nzbget: No such file or directory
+ sleep 2
+ '[' 0 == 1 ']'
+ sleep 2
+ sh /opt/etc/init.d/S75nzbget start
sh: /opt/etc/init.d/S75nzbget: No such file or directory
+ sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/couchpotato/CouchPotato.pid ']'
+ sleep 2
+ /opt/bin/python2 /opt/share/couchpotato/CouchPotato.py --daemon --data_dir /opt/usr/etc/config/couchpotato --config /opt/usr/etc/config/couchpotato/settings.conf --pid_file /opt/usr/etc/config/couchpotato/CouchPotato.pid
S80NZBautomator: line 233: /opt/bin/python2: No such file or directory
+ echo -n ' CouchPotato Started '
CouchPotato Started + sleep 2
+ '[' 1 == 1 ']'
+ '[' -f /opt/usr/etc/config/sickbeard/SickRage.pid ']'
+ sleep 2
+ /opt/bin/python2 /opt/share/SickRage/SickBeard.py --datadir /opt/usr/etc/config/sickbeard --config /opt/usr/etc/config/sickbeard/config.ini -d --pidfile /opt/usr/etc/config/sickbeard/SickRage.pid
S80NZBautomator: line 268: /opt/bin/python2: No such file or directory
+ echo -n ' SickRage Started '
SickRage Started + sleep 2
+ '[' 0 == 1 ']'
+ echo ' Headphones not Installed '
Headphones not Installed
+ sleep 2
+ '[' 0 == 1 ']'
+ echo 'Mylar not Installed'
Mylar not Installed

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Wed Jan 18, 2017 7:43 pm

ajg007 wrote:Can anyone point me in the right direction to why this is not installing properly?

...
Doesn't look like you entware / opkg installed?
Last edited by kramiz1 on Mon Jan 23, 2017 10:08 pm, edited 2 times in total.

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Mon Jan 23, 2017 8:55 pm

kramiz1 wrote:
Doesn't look like you entware / open installed?
Thanks I have it running now.

Are these errors normal?

24/01/2017 04:36 par2 binary... NOT found!
WARNING 24/01/2017 04:36 _yenc module... NOT found!

thanks

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Mon Jan 23, 2017 10:06 pm

ajg007 wrote:
kramiz1 wrote:
Doesn't look like you entware / open installed?
Thanks I have it running now.

Are these errors normal?

24/01/2017 04:36 par2 binary... NOT found!
WARNING 24/01/2017 04:36 _yenc module... NOT found!

thanks
Try installing par2 with opkg

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Mon Jan 23, 2017 10:42 pm

kramiz1 wrote:
ajg007 wrote:
kramiz1 wrote:
Doesn't look like you entware / open installed?
Thanks I have it running now.

Are these errors normal?

24/01/2017 04:36 par2 binary... NOT found!
WARNING 24/01/2017 04:36 _yenc module... NOT found!

thanks
Try installing par2 with opkg

Thanks for your help :-) sorted that Now my next issue lol


i keep getting a config error with nzbget.

Please edit your configuration file (/opt/share/nzbget/nzbget.conf) in a text editor and set the option ConfigTemplate to point to the template configuration file nzbget.conf.

I've tried editing it like it says and no dice, I've then put where my ftp program says the config file is which is /usr/local/zy-pkgs/opt/share/nzbget and still it does not like it!


Edit: seems to be working now thanks

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Fri Jan 27, 2017 9:16 pm

Sorry Guys. I know I'm useless!

I'm trying out sabnzbd and when i try to install Yenc using this command

Code: Select all

pip install http://www.golug.it/pub/yenc/yenc-0.4.0.tar.gz
I get these errors:

Code: Select all

Command "/opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /opt/tmp/pip-480Q7Z-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/

any help would be great!

kramiz1
Posts: 25
Joined: Sat Sep 24, 2016 2:22 pm

Re: HOW TO: NZBautomator for Entware-ng

Post by kramiz1 » Fri Jan 27, 2017 11:08 pm

ajg007 wrote:Sorry Guys. I know I'm useless!

I'm trying out sabnzbd and when i try to install Yenc using this command

Code: Select all

pip install http://www.golug.it/pub/yenc/yenc-0.4.0.tar.gz
I get these errors:

Code: Select all

Command "/opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /opt/tmp/pip-480Q7Z-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/

any help would be great!
That seems to be a very generic error so I don't know how to help you unfortunately... Other than; try installing it with opkg instead if it's available there? (Can't look for myself right now).

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Sat Jan 28, 2017 9:59 am

kramiz1 wrote:
ajg007 wrote:Sorry Guys. I know I'm useless!

I'm trying out sabnzbd and when i try to install Yenc using this command

Code: Select all

pip install http://www.golug.it/pub/yenc/yenc-0.4.0.tar.gz
I get these errors:

Code: Select all

Command "/opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /opt/tmp/pip-480Q7Z-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /usr/local/zy-pkgs/opt/tmp/pip-zAKqIo-build/

any help would be great!
That seems to be a very generic error so I don't know how to help you unfortunately... Other than; try installing it with opkg instead if it's available there? (Can't look for myself right now).

its ok. found the solution.

opkg install python-dev --force-overwrite

then

pip install http://www.golug.it/pub/yenc/yenc-0.4.0.tar.gz


then i get:

Installing collected packages: yenc
Running setup.py install for yenc ... done
Successfully installed yenc-0.4.0


woohoo

ajg007
Posts: 16
Joined: Sat Jun 01, 2013 9:39 am

Re: HOW TO: NZBautomator for Entware-ng

Post by ajg007 » Thu Feb 02, 2017 9:20 pm

Seems my sabnzbd seems to stop if the NAS is shutdown.

How can I restart it and how can i make it auto start on boot?


Can someone kindly take a look to see if its an install issue that causes sabnzbd not to autosrat after boot?

~ # cd /usr/local/zy-pkgs/opt/etc/init.d
/usr/local/zy-pkgs/opt/etc/init.d # chmod a+x /usr/local/zy-pkgs/opt/etc/init.d/S80NZBautomator
/usr/local/zy-pkgs/opt/etc/init.d # sh -x S80NZBautomator start
+ . /opt/etc/autonzb.conf
+ SABnzbd=1
+ Nzbget=0
+ CouchPotato=0
+ SickRage=0
+ Headphones=0
+ Mylar=0
+ NzbtoMedia=0
+ packageupdate=0
+ init=/opt/etc/init.d
+ useradmin=/i-data/md0/admin
+ configdir=/opt/usr/etc/config
+ share=/opt/share
+ sabconfig=/opt/usr/etc/config/sabnzbd
+ nzbgetconfig=/opt/usr/etc/config/nzbget
+ couchconfig=/opt/usr/etc/config/couchpotato
+ sickconfig=/opt/usr/etc/config/sickbeard
+ headconfig=/opt/usr/etc/config/headphones
+ mylarconfig=/opt/usr/etc/config/mylar
+ nzbtomedia=/opt/usr/etc/config/nzbToMedia
+ python=/opt/bin/python2
+ sabdata=/opt/share/sabnzbd
+ couchdata=/opt/share/couchpotato
+ sickdata=/opt/share/SickRage
+ headdata=/opt/share/headphones
+ mylardata=/opt/share/mylar
+ SABPKG_NAME=SABnzbd
+ SABPKG_DIR=/opt/share/couchpotato
+ SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
+ SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
+ NPKG_NAME=nzbget
+ NCONFIG_DIR=/opt/usr/etc/config/nzbget
+ NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
+ CPKG_NAME=CouchPotato
+ CPKG_DIR=/opt/share/couchpotato
+ CCONFIG_DIR=/opt/usr/etc/config/couchpotato
+ CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
+ SPKG_NAME=SickRage
+ SPKG_DIR=/opt/share/SickRage
+ SCONFIG_DIR=/opt/usr/etc/config/sickbeard
+ SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
+ HPKG_NAME=Headphones
+ HPKG_DIR=/opt/share/headphones
+ HCONFIG_DIR=/opt/usr/etc/config/headphones
+ HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
+ MPKG_NAME=Mylar
+ MPKG_DIR=/opt/share/mylar
+ MCONFIG_DIR=/opt/usr/etc/config/mylar
+ MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
+ [ 0 == 1 ]
+ cd /i-data/md0/admin
+ [ ! -d /i-data/md0/admin/download/incomplete ]
+ [ 0 == 1 ]
+ [ 0 == 1 ]
+ [ 1 == 1 ]
+ [ -f /opt/share/sabnzbd/SABnzbd.py ]
+ git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
Cloning into '/opt/share/sabnzbd'...
remote: Counting objects: 47057, done.
remote: Compressing objects: 100% (157/157), done.
remote: Total 47057 (delta 96), reused 0 (delta 0), pack-reused 46900
Receiving objects: 100% (47057/47057), 98.15 MiB | 2.55 MiB/s, done.
Resolving deltas: 100% (31844/31844), done.
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
+ sleep 2
+ [ 0 == 1 ]
+ [ 0 == 1 ]
+ [ 0 == 1 ]
+ [ 0 == 1 ]
+ [ 0 == 1 ]
+ [ 1 == 1 ]
+ [ -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ]
+ sleep 2
+ [ -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ]
+ PYTHON_EGG_CACHE=/tmp /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d --pidfile $SABPID_FILE -f $sabconfig/sabnzbd.ini
+ [ 0 == 1 ]
+ sleep 2
+ [ 0 == 1 ]
+ echo Couchpotato not Installed
Couchpotato not Installed
+ sleep 2
+ [ 0 == 1 ]
+ echo SickRage not Installed
SickRage not Installed
+ sleep 2
+ [ 0 == 1 ]
+ echo Headphones not Installed
Headphones not Installed
+ sleep 2
+ [ 0 == 1 ]
+ echo Mylar not Installed
Mylar not Installed

Post Reply