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

Status
Not open for further replies.

V K

Cadet
Joined
Feb 22, 2014
Messages
1
Would really appreciate the name of your personal blog as well, couldnt find it after a good long search :/
 

hunter

Explorer
Joined
Nov 24, 2013
Messages
94
Same here, I Googled your name, which looks pretty unique, and spent a long time looking at the results and couldn't find your personal blog. Keep up the good work making modules. Working modules are one of the reasons I have freeNAS instead of the alternative NAS options...

Sent from my Nexus 7 using Tapatalk
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Same here, I Googled your name, which looks pretty unique, and spent a long time looking at the results and couldn't find your personal blog. Keep up the good work making modules. Working modules are one of the reasons I have freeNAS instead of the alternative NAS options...

Sent from my Nexus 7 using Tapatalk
I only setup the blog on Friday night so the google bot hasn't had a chance to index it..
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Hey Josh.

If I shut down all plugins and then upgrade to 9.2.1.2 then just start up all plugins again.
Would that be the best way to upgrade?

Do you know of any issues with 9.2.1.2?
 

Joshua Parker Ruehlig

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

If I shut down all plugins and then upgrade to 9.2.1.2 then just start up all plugins again.
Would that be the best way to upgrade?

Do you know of any issues with 9.2.1.2?

I suggest you snapshot your jail. That way if stuff doesn't work you can reinstall, restore your old 'etc' directories, and everything should keep working. I have played much with updating cause I don't have a production system on FreeNAS currently.

haven't looked at 9.2.1.2 yet, I'm excited 9.2.1.1 fixed alot.
 

bbddpp

Explorer
Joined
Dec 8, 2012
Messages
91
Upgrading FreeNAS seems to play well with the plugins, though I have another question - If I'm using older versions of the PBIs of the plugins, any benefit to upgrading the plugins themselves and is there an easy way?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Upgrading FreeNAS seems to play well with the plugins, though I have another question - If I'm using older versions of the PBIs of the plugins, any benefit to upgrading the plugins themselves and is there an easy way?
no benefit unless you are experiencing a bug (like broken thumbnails).
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Also upgraded to 9.2.1.2 and plugins work perfectly.

Had an issue with the networking on FreeNAS itself but fixed and all good.
 

greebles

Cadet
Joined
Mar 5, 2014
Messages
8
I can't get CouchPotato working. I'm new to FreeNAS, and just got version FreeNAS-9.2.1.2-RELEASE-x64 up and running. I created my own plugins jail, and successfully uploaded and started Sickbeard and Sabnzbd.

I uploaded and installed CouchPotato to this same jail, but when I click on it's link, to go to [jail_ip]:5050, nothing comes up. SSHing to the jail and running python CouchPotato.sh gives an error:
"No module named pysqlite2"

Anyone know why this might be happening, and how I can possibly fix this? Thanks!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I can't get CouchPotato working. I'm new to FreeNAS, and just got version FreeNAS-9.2.1.2-RELEASE-x64 up and running. I created my own plugins jail, and successfully uploaded and started Sickbeard and Sabnzbd.

I uploaded and installed CouchPotato to this same jail, but when I click on it's link, to go to [jail_ip]:5050, nothing comes up. SSHing to the jail and running python CouchPotato.sh gives an error:
"No module named pysqlite2"

Anyone know why this might be happening, and how I can possibly fix this? Thanks!
Don't run CouchPotato like that! Use the init scripts, totherwise certain things (like the daemons user and datadirectory file ownership) would get screwed up. Post the output of the following.
Code:
service couchpotato onestart
 

greebles

Cadet
Joined
Mar 5, 2014
Messages
8
It seems something was missing, because simply installing the PBI and trying to hit the URL failed? I was able to get it to at least start just now by SSHing to the jail and installing this:
pkg install py27-sqlite3

EDIT: to clarify, I started it directly from SSH (before I read your post), and was able to access the :5050 site; I'm still not able to Stop/Start it from the FreeNAS GUI.

Running service couchpotato onestart gives me this:
Code:
can't open file  'usr/pbi/couchpotato-amd64/CouchPotato/CouchPotato.py':  [Errno 2] No such file or directory



The PBI version I uploaded and installed was v2, which seems to locate CouchPotato.py here:
Code:
/usr/pbi/couchpotato-amd64/CouchPotato/share/couchpotato/CouchPotatoServer/CouchPotato.py
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
It seems something was missing, because simply installing the PBI and trying to hit the URL failed? I was able to get it to at least start just now by SSHing to the jail and installing this:
pkg install py27-sqlite3

EDIT: to clarify, I started it directly from SSH (before I read your post), and was able to access the :5050 site; I'm still not able to Stop/Start it from the FreeNAS GUI.

Running service couchpotato onestart gives me this:
Code:
can't open file  'usr/pbi/couchpotato-amd64/CouchPotato/CouchPotato.py':  [Errno 2] No such file or directory



The PBI version I uploaded and installed was v2, which seems to locate CouchPotato.py here:
Code:
/usr/pbi/couchpotato-amd64/CouchPotato/share/couchpotato/CouchPotatoServer/CouchPotato.py
I just tested by uploading CouchPotato v2.0 to a fresh jail and it started from the FreeNAS WebUI. Though I'm on 9.2.1.1, I'll try upgrading and see if a fresh upload doesn't work.
 

greebles

Cadet
Joined
Mar 5, 2014
Messages
8
Ok thanks, I appreciate it. I'll try a new jail on my end, too, and see if that fixes it.

EDIT: CouchPotato v2 PBI worked fine in a new user-created plugin jail! Yay! Still curious why I can' get it working in my main jail along with SickBeard and Sabnzbd, though.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok thanks, I appreciate it. I'll try a new jail on my end, too, and see if that fixes it.

EDIT: CouchPotato v2 PBI worked fine in a new user-created plugin jail! Yay! Still curious why I can' get it working in my main jail along with SickBeard and Sabnzbd, though.
Weird, did you happen to install python in the 'main' jail?
 

greebles

Cadet
Joined
Mar 5, 2014
Messages
8
I ... don't think so. At least I don't remember doing so directly. I did "pkg install vim" ... not sure if that process installs python.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I ... don't think so. At least I don't remember doing so directly. I did "pkg install vim" ... not sure if that process installs python.
I just tested it and it indead does install python. That shouldn't cause an issue.. but alot of these plugins are using 'env python' which could possibly use the system's site-lib directory (instead of the one I setup for the program).

EDIT
I can't cause it to break, installing the PBI before or after installing 'vim' and sickbeard/sabnzbd. It always works on my end..
Maybe try installing again to the shared jail and see if you still get the issue with 'service couchpotato onestart'?
 

greebles

Cadet
Joined
Mar 5, 2014
Messages
8
I found the problem by comparing the broken plugin with the working one in the fresh jail. For whatever reason, on my pre-existing jail the plugin didn't create the SymLink to the proper rc.d directory. Instead, there was just a couchpotato file sitting in /usr/local/etc/rc.d.

I ran:
Code:
ln -s /usr/pbi/couchpotato-amd64/etc/rc.d/couchpotato /usr/local/etc/rc.d/couchpotato


This created the proper link, and now all is working well. Thanks for your help, Josh, and for creating these plugins!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Awesome! might have been a corrupted download. I'll upload the checksum files just incase people want to check them
 
Status
Not open for further replies.
Top