Resource icon

FN11.1 iocage jails for NZB Hydra and Lidarr (headphones alternative)

Status
Not open for further replies.

lukyjay

Contributor
Joined
May 13, 2016
Messages
134
lukyjay submitted a new resource:

FN11.1 iocage jails for NZB Hydra and Lidarr (headphones alternative) - Freenas 11 iocage jails to expand on the other useful resource by Pentaflake

Hello

Based on this resource but with some more jails you can add. I took the scripts from that resource and changed what needed to be changed to make it work for the below applications.

Remember to change <IP>/<MASK> and <GATEWAY> as indicated in the other guide. Also the location to your files. Mines /mnt/JRaid/ but yours will be...

Read more about this resource...
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Thanks for the resource!

Im having issues with this last command

root@freenas:~ # iocage exec lidarr "tar -xzvf /usr/local/share/Lidarr.*.linux.tar.gz -C /usr/local/share"
tar: Error opening archive: Unrecognized archive format
True


Any ideas?
 

lukyjay

Contributor
Joined
May 13, 2016
Messages
134
Thanks for the resource!

Im having issues with this last command

root@freenas:~ # iocage exec lidarr "tar -xzvf /usr/local/share/Lidarr.*.linux.tar.gz -C /usr/local/share"
tar: Error opening archive: Unrecognized archive format
True


Any ideas?

Try deleting and redownloading the file. From the iocage jail:

Code:
rm /usr/local/share/Lidarr.*.linux.tar.gz  

Then repeat the download and tar command
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
I think there's something up with that download link. I added in the corrected link you posted in here. I know the file is only 8MB but it feels like its downloading too fast. I dunno....does this look like a completed download?


root@freenas:~ # iocage exec lidarr "fetch https://ci.appveyor.com/project/lidarr/lidarr/build/artifacts/Lidarr.develop.0.2.0.279.linux.tar.gz -o /usr/local/share"
/usr/local/share/Lidarr.develop.0.2.0.279.linu100% of 7128 B 62 MBps 00m00s
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Oh i see whats happening, the dots are being inserted by the message board. Same thing is happening in the resource.

I did below and also updated version

iocage exec lidarr "fetch https://ci.appveyor.com/api/buildjobs/jg3cp3ep0f5tefhh/artifacts/Lidarr.develop.0.2.0.279.linux.tar.gz -o /usr/local/share"

And got it to finally download the correct file

I tried entering wildcards for version but couldnt get it to work.
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Ok now im unable to create rc file

unable to create file "/mnt/iocage/jails/lidarr/root/usr/local/etc/rc.d/lidarr"

Something to do with permissions maybe?
 

toliman

Cadet
Joined
Feb 9, 2014
Messages
7
Ok now im unable to create rc file

unable to create file "/mnt/iocage/jails/lidarr/root/usr/local/etc/rc.d/lidarr"

Something to do with permissions maybe?

if you get stuck with the commands erroring out, you could always resort to
Code:
sudo iocage exec lidarr tcsh
 

lukyjay

Contributor
Joined
May 13, 2016
Messages
134
Unsure if you managed to resolve your issue but try this if not:

Code:
iocage console lidarr
ee /usr/local/etc/rc.d/lidarr
<paste the file you want to create>
<ctrl+c>
enter the command: exit
 
Status
Not open for further replies.
Top