General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Dec 18, 2017 6:13 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Tue Feb 24, 2015 11:32 am 
Offline

Joined: Tue Feb 24, 2015 11:29 am
Posts: 2
Hi,

I am hoping someone can help me. I managed to get Sickbeard working with my nas through alot of stumbling through tutorials and copy and paste. Unfortunately Sickbeard doesn't seem to offer the ability to work with torrents. I was hoping that someone could help me with the installation on Sickrage https://github.com/SiCKRAGETV/SickRage

Im pretty lost when it comes to this.

Any help would be greatly appreciated.

Cheers


Top
 Profile  
 
PostPosted: Tue Feb 24, 2015 9:56 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Here you are :)
Following command is one-liner:
Code:
wget http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/sickrage.sh -O /ffp/start/sickrage.sh
Code:
sh /ffp/start/sickrage.sh install
Code:
sh /ffp/start/sickrage.sh start

Enable autostart on NAS boot:
Code:
chmod 755 /ffp/start/sickrage.sh

Disable autostart:
Code:
chmod 644 /ffp/start/sickrage.sh

Uninstall:
Code:
sh /ffp/start/sickrage.sh uninstall


Top
 Profile  
 
PostPosted: Wed Feb 25, 2015 12:37 am 
Offline

Joined: Tue Feb 24, 2015 11:29 am
Posts: 2
You sir are a gentleman and a scholar.

Thank you very much. :D :D


Top
 Profile  
 
PostPosted: Thu Feb 26, 2015 3:25 pm 
Offline

Joined: Thu Feb 26, 2015 3:20 pm
Posts: 3
Hey, I just managed to get ffp 0.7 installed on my Zyxel NSA325 and happened by this post.

When I try to install Sickrage using your code I get this:

root@TomsMedia:~# sh /ffp/start/sickrage.sh install
/ffp/start/sickrage.sh: line 147: git: command not found
Installing SickRage...
/ffp/start/sickrage.sh: line 153: git: command not found
ERROR WARNING: failed to download SickRage source. Aborting install!
SickRage is not installed ...

Any ideas?


Top
 Profile  
 
PostPosted: Thu Feb 26, 2015 3:42 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6091
Install git.


Top
 Profile  
 
PostPosted: Tue Dec 29, 2015 4:07 pm 
Offline

Joined: Sat Oct 24, 2015 6:53 pm
Posts: 4
I know this post is old, but for anyone stumbling upon it, like I did today, and not knowing exactly how to continue after the git error, I did the following:

Install git:
Code:
slacker -a git

Select the git package and press OK.

Then, I needed curl:
Code:
slacker -Ua curl

Select the curl package and press OK.

Then, I got an error of certificates from git. The easiest (but not recommended way) to solve it is to disable the SSL verification. Anyone following these steps should first try to install sickrage, if it doesn't work you could:
Code:
git config --system http.sslverify false


Install Sickrage:
Code:
sh /ffp/start/sickrage.sh install


Then sickrage wouldn't start, because it was looking for python on the FFP stick. Maybe because I actually have NSA540, I have python preinstalled in /usr/bin/python, so I edited sickrage.sh with this value:
Code:
python="/usr/bin/python"


Then I started sickrage:
Code:
sh /ffp/start/sickrage.sh start


And the URL is:
NAS_IP:8081/home


Top
 Profile  
 
PostPosted: Mon Nov 20, 2017 8:26 pm 
Offline

Joined: Mon Oct 27, 2014 2:33 pm
Posts: 40
After updating sickrage a couple of days ago it did not start again. After renaming the Sickrage folder in ffp/opt/ I tried the above steps a couple of times but keep getting this error:

Code:
root@NSA325:/ffp/start# sh /ffp/start/sickrage.sh start
/ffp/opt/sickrage/SickBeard.py: Required file not found or not readable
root@NSA325:/ffp/start#


It is correct that the file is not there. There is a file called SiCKRAGE.py. When changing the command in the sickrage.sh file I get the following error:

Code:
root@NSA325:/ffp/start# sh /ffp/start/sickrage.sh start
Starting SickRage...done! [ OK ]
root@NSA325:/ffp/start# Traceback (most recent call last):
  File "/usr/local/zy-pkgs/ffproot/ffp/opt/sickrage/sickrage/__init__.py", line                                                                                                                      211, in main
    from sickrage.core import Core
  File "/usr/local/zy-pkgs/ffproot/ffp/opt/sickrage/sickrage/core/__init__.py",                                                                                                                      line 35, in <module>
    import adba
  File "/usr/local/zy-pkgs/ffproot/ffp/opt/sickrage/sickrage/libs/adba/__init__.                                                                                                                     py", line 21, in <module>
    from aniDBAbstracter import Anime, Episode
  File "/usr/local/zy-pkgs/ffproot/ffp/opt/sickrage/sickrage/libs/adba/aniDBAbst                                                                                                                     racter.py", line 23, in <module>
    import aniDBfileInfo as fileInfo
  File "/usr/local/zy-pkgs/ffproot/ffp/opt/sickrage/sickrage/libs/adba/aniDBfile                                                                                                                     Info.py", line 30, in <module>
    import requests
ImportError: No module named requests
Failed to import required libs, please run 'pip install --user -U -r /usr/local/                                                                                                                     zy-pkgs/ffproot/ffp/opt/sickrage/requirements.txt' from console


What am I doing wrong?


Top
 Profile  
 
PostPosted: Tue Nov 21, 2017 12:09 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
nickster wrote:
ImportError: No module named requests
Failed to import required libs, please run 'pip install --user -U -r /usr/local/ zy-pkgs/ffproot/ffp/opt/sickrage/requirements.txt' from console
[/code]

What am I doing wrong?

Red statement should be understood directly. You need to install additional python modules from PyPi for your current Sickrage version to function correctly. For that purpose you need to update ffp first.
Here is instructions:
# Login as root user
# Skip this step if you have slapt-get installed already.
# Create funpkg cache dir for br2 repo if it not exists and install new slapt-get package manager:
Code:
[ -d /ffp/funpkg/cache/br2 ] || mkdir -p /ffp/funpkg/cache/br2
cd /ffp/funpkg/cache/br2
/ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz
funpkg -i slapt-get-0.10.2t-arm-2.txz

# Update slapt-get lists and upgrade core packages:
Code:
slapt-get -u
slapt-get --upgrade

# Restart sshd daemon service after upgrading, if you are using it for ssh connection to NAS:
Code:
sh /ffp/start/sshd.sh restart

# Install pip with dependant packages together:
Code:
slapt-get -i pip

Then install python modules from PyPi, reguired for Sickrage
Code:
pip install -U -r /ffp/opt/sickrage/requirements.txt


If you are getting unexpected errors on any step, then stop and report to me.
BTW. Which clone of Sickrage you are using right now?


Top
 Profile  
 
PostPosted: Tue Nov 21, 2017 8:42 pm 
Offline

Joined: Mon Oct 27, 2014 2:33 pm
Posts: 40
thx for the help. So I did all the steps above and then followed the sickrage steps from your second post from this thread again. And I have exactely the same messages as I had yesterday:

Code:
SickRage source successfully downloaded to /ffp/opt/sickrage
Installation of SickRage is completed!

#########################################################################
Now you can start SickRage with command - sh /ffp/start/sickrage.sh start
#########################################################################

root@NSA325:/ffp/funpkg/cache/br2# sh /ffp/start/sickrage.sh start
/ffp/opt/sickrage/SickBeard.py: Required file not found or not readable
root@NSA325:/ffp/funpkg/cache/br2#


Should I rename the command parameter in the sickrage.sh file again?

Code:
command="$home_dir/SickBeard.py"


Top
 Profile  
 
PostPosted: Tue Nov 21, 2017 9:46 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Yes. Early it was SickBeard.py, now it is changed to SiCKRAGE.py. Besides it requires now a lot additional python modules installed with pip, which wasn't requirement earlier too.


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 6:07 pm 
Offline

Joined: Mon Oct 27, 2014 2:33 pm
Posts: 40
Ok. Sickrage is running... BUT, I cannot connect...

Quote:
root@NSA325:/home/shares# sh /ffp/start/sickrage.sh start
Starting SickRage...done! [ OK ]
root@NSA325:/home/shares# sh /ffp/start/sickrage.sh status
PROCESS STATUS INFO: SickRage is running with process ID(s):4727


The thing is, I cannot connect to the webinterface. I'm assuming the port is still 8081. I tried Chrome and IE. I tried by name and by ip. I can reach the zyxel webinterface and also the sabnzb interface... I restarted the nas once and started sickrage again... no improvement...

Edit:
Can it be that my router is blocking the port?


Top
 Profile  
 
PostPosted: Thu Nov 23, 2017 8:37 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
I don't think so, unless you are connecting from outside. Keep in mind program starts and processes request slowly. So wait a minute or so, before login into web interface. If you still not able to connect then uninstall sickrage and remove startup script:
Code:
rm /ffp/start/sickrage.sh
I will try to revise and update sickrage script tomorrow.
Meanwhile you can test sickgear-another fork of sickbeard:
Code:
/ffp/bin/wget http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/sickgear.sh -O /ffp/start/sickgear.sh
sh /ffp/start/sickgear.sh install
pip install cheetah lxml regex scandir
sh /ffp/start/sickgear.sh start

Wait about 1 minute, then restart process:
Code:
sh /ffp/start/sickgear.sh restart

Wait a bit again and try to login.


Top
 Profile  
 
PostPosted: Fri Nov 24, 2017 6:07 am 
Offline

Joined: Mon Oct 27, 2014 2:33 pm
Posts: 40
Ok, I'll give it a try when I come home. I searched around a bit yesterday. The browser (Chrome) gives an error message that the connection is refused. When I google for the error message in combination with Sickrage there are plenty of hits but so far I could not find a solution....

Thx again for your help!


Top
 Profile  
 
PostPosted: Fri Nov 24, 2017 5:31 pm 
Offline

Joined: Mon Oct 27, 2014 2:33 pm
Posts: 40
YES! SickGear is working fine!! :mrgreen:

Edit:

2017-11-24 18:29:10 TORNADO :: Unable to add show because can't create folder: /i-data/md0/video/Uitzoeken/SickGear/The Big Bang Theory

some issue with rights now... :(


Top
 Profile  
 
PostPosted: Fri Nov 24, 2017 10:34 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
You need to give write rights for sickgear daemon service to download directory, before adding downloads. Remove your currently added download tasks first. Then assuming, that you set download directory-/i-data/md0/video/Uitzoeken/SickGear in SickGear preferences:
Code:
chmod 777 /i-data/md0/video/Uitzoeken/SickGear
Restart sickgear service after this action.
BTW. I uploaded updated sickrage script. You can re-download it, if you want to test.it And keep in mind-only one of these programs can be running at the same time. So, stop and disable sickgear, in case of testing sickrage.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group