[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi
I just updated from 9.2.1.8 to 9.3. SB, Plex and Deluge are working fine, but CP is being a little naggy. Just installed it like a week ago via FreeNAS WebGUI plugin page and now after the update the Plugin won't start. When I hit the button it goes to on, but after refreshing it's off again. Restarting the jail didn't help. I looked into the logs and this is what I got:

Code:
nginx-access.log:192.168.1.31 - - [11/Dec/2014:22:47:00 +0100] "GET /plugins/couchpotato/5/_s/start HTTP/1.1" 200 54 "https://IP.To.FreeNAS.WebGUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
nginx-access.log:192.168.1.31 - - [11/Dec/2014:22:47:02 +0100] "GET /plugins/couchpotato/5/_s/status HTTP/1.1" 200 68 "https://IP.To.FreeNAS.WebGUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
nginx-error.log:2014/05/13 16:49:02 [error] 21948#0: *2387 connect() to IP.TO.CouchPotato failed (61: Connection refused) while connecting to upstream, client: IP.To.FreeNAS.WebGUI, server: localhost, request: "GET /plugins/couchpotato/1/_s/treemenu HTTP/1.1", upstream: "fastcgi://IP.TO.CouchPotato", host: "IP.To.FreeNAS.WebGUI"


I googled the error (61: Connection refused) and got three results saying something about php-fpm not being installed/running (click here, here and here).
I tried these ways of starting php-fpm without success. Frankly I've no idea if php-fpm is even installed, but if it's really needed I assume so since it worked before the update. Any ideas how to fix this?
php-fpm has nothing to do with CP.
maybe try 'service couchpotato onestart' in the CP jail and see what happens.
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
php-fpm has nothing to do with CP.
maybe try 'service couchpotato onestart' in the CP jail and see what happens.

The one time I google and find something it has nothing to do with my issue at all haha.
When I run it it starts CP, runs for couple of secs and then just terminates. Where is the appropriate log file?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
The one time I google and find something it has nothing to do with my issue at all haha.
When I run it it starts CP, runs for couple of secs and then just terminates. Where is the appropriate log file?
/var/db/couchpotato
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
/var/db/couchpotato

Thanks! The issue was with FreeNAS. No folder was mounted any more from FreeNAS into the CP jail and so CP couldn't find the SSL certificates. I remounted them and now it's running.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks! The issue was with FreeNAS. No folder was mounted any more from FreeNAS into the CP jail and so CP couldn't find the SSL certificates. I remounted them and now it's running.
Ahh, interesting. Lots of little bugs are cropping up with the move to FN9.3

Hoping we can get everything stable and smooth soon
 

marcevan

Patron
Joined
Dec 15, 2013
Messages
432
Just a small rant on Mylar: If it was meant to be like Sickbeard, then it's way off. I think I've tried it like 5 times and always end up with it not importing anything.

And unlike Sickbeard, where imports just work, the playout (watching) of comics is not something I can do in Windows 7's Media Center like I can with Mediabrowser for Sickbeard tv shows.

Anyone have a better experience with Mylar (both in getting cbz/cbrs to import and then also being able to view seamlessly)? I'd be willing to try again, but man, it's just not like Sickbeard which is Mylar's tagline.
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Josh any chance you could do a NZBdrone plugin?
Might have been asked before?

Also what is the point of nginx?
And using the proxy?

As I am having issues passing it through my router.
I have it setup, and works perfectly when outside my network, but internally I cannot access the pages.
Its starts loading and then gets stuck everytime.
Could I not just set it up without the proxy?
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Josh any chance you could do a NZBdrone plugin?
Might have been asked before?

Also what is the point of nginx?
And using the proxy?

As I am having issues passing it through my router.
I have it setup, and works perfectly when outside my network, but internally I cannot access the pages.
Its starts loading and then gets stuck everytime.
Could I not just set it up without the proxy?
I'm planning on doing a sonarr (previously called nzbdrone) soon.

nginx is optional. it is used so you can access all your plugins from the same port. http://IP/sickbeard http://IP/sabnzbd instead of http://IP:8081 http://ip:8080
it also give you the option of leaving your plugins un-passworded then putting a single password through nginx. youd need a trusted local network though. also makes setting up a single port forward, or SSL cert easier.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Just a heads up. There is now a SickRage plugin available.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Do you know who can generate a Qbittorrent proper plugin?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Are you the primary plugin developer? I know others can do it but I get the impression it's literally just you doing the majority of them?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Are you the primary plugin developer? I know others can do it but I get the impression it's literally just you doing the majority of them?
I just do what I want. Don't have an official title or obligation to do anything currently.
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Hey Josh,

Have you updated your guide and the plugins for 9.3?
I see there are your plugins for 9.3 already.

Just wondering if you have finished the guide and updates already?
If not no stress.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey Josh,

Have you updated your guide and the plugins for 9.3?
I see there are your plugins for 9.3 already.

Just wondering if you have finished the guide and updates already?
If not no stress.
not yet, it's on the to-do list. gonna finish polishing up the transmission plugin, then double check the guide.
 

dir_d

Explorer
Joined
Nov 9, 2013
Messages
55
This is on 9.3 sorry. And yes I've tried with both static IPs like it was originally set too or DHCP with my router providing a static lease. No differences.

EDIT: Sickbeard too:
Code:
2014-12-10 15:58:15 MAIN :: Unable to start web server, is something else running on port: 8081
I have found out that for some reason since upgrading to 9.3 the jails don't like you to use port 8080 and 8081 on the localhost. After i changed sickbeard to a LAN IP it started working but sabnzbd will not keep the LAN IP. Every time i restart sab it goes back to 0.0.0.0 as the host ip which is causing problems.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have found out that for some reason since upgrading to 9.3 the jails don't like you to use port 8080 and 8081 on the localhost. After i changed sickbeard to a LAN IP it started working but sabnzbd will not keep the LAN IP. Every time i restart sab it goes back to 0.0.0.0 as the host ip which is causing problems.
Sounds like you are having a similar issue as @darkryoushii. This has nothing to do with port 8080/8081 specifically, just that the plugins in the init script are set to use 0.0.0.0 (all possible IPs), which to the jail this means localhost (127.0.0.1) and it's LAN IP.
Can you show the output of "ifconfig", I bet you'll be missing 127.0.0.1

I don't have this issue on my test machine, which is a fresh install of FN9.3, so maybe this only happens on upgrades?
 

dir_d

Explorer
Joined
Nov 9, 2013
Messages
55
Sounds like you are having a similar issue as @darkryoushii. This has nothing to do with port 8080/8081 specifically, just that the plugins in the init script are set to use 0.0.0.0 (all possible IPs), which to the jail this means localhost (127.0.0.1) and it's LAN IP.
Can you show the output of "ifconfig", I bet you'll be missing 127.0.0.1

I don't have this issue on my test machine, which is a fresh install of FN9.3, so maybe this only happens on upgrades?

This is my Jail ifconfig

Code:
root@SabSickCouchTrans:/ # ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:74:23:00:08:0b
        inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active


EDIT... You were right, added 127.0.0.1 to my jail loopback and everything is back to normal, Thank You!

EDIT2... I Mis spoke, everything is not back to normal but everything is working just not automated like usual.
 
Last edited:
Status
Not open for further replies.
Top