Help! Who can teach me how to install FlexGet on FreeNAS 9.1 JAIL.

Status
Not open for further replies.

useful_idiot

Cadet
Joined
Dec 19, 2014
Messages
5
Much appreciated Scharbag, this got it installed happily. Now I've just gotta fix up my config.yml - my perfectly good config from my old WD MyBook Live system is getting errors when run on this... soon all will be good!

Thanks again.
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Hmmm,

Seems like this changed in 9.3 again... Trying a couple things and will let you know what the deal is.

I have hit a wall with a py-sqlite error.

Code:
FATAL: Unable to use SQLite. Are you running Python 2.5 - 2.7 ?
Python should normally have SQLite support built in.
If you're running correct version of Python then it is not equipped with SQLite.
You can try installing `pysqlite`. If you have compiled python yourself, recompile it with SQLite support.


Anyone else figure out how to do a fresh install of FlexGet on a clean FreeNAS jail?
 
Last edited:

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Got past the darn SQL problem. Strange that && make install clean in /usr/ports/databases/py-sqlite3 fails but the following worked:

Code:
pkg install databases/py-sqlite3


So, a little closer to complete.
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Got it working.

Add storage to the jail via the FreeNAS gui

install the ports tree:
portsnap fetch extract update

upgrade installed packages:
pkg upgrade

run “&& make install clean” in (not all are needed for FlexGet but my config needs them):
/usr/ports/devel/py-pip
/usr/ports/net/rsync
/usr/ports/editors/nano
/usr/ports/achivers/rar
/usr/ports/achivers/unrar

pip install flexget
pip install —upgrade flexget
pip install transmissionrpc

pkg install databases/py-sqlite3 <— this is strange that the ports tree fails but this works…

remember to use "rehash" after the applications are installed.
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Still having some issue with the execution when using thetvdb plugin but I don't know if that is the Jail or FlexGet 1.2.244. <-- it was a bug in 1.2.244 regarding the api_tvdb - fixed in 1.2.248.

Here is a simple shell script that will get FlexGet installed super fast in a standard jail in 9.3:

Code:
#!/bin/sh
pkg upgrade -y
pkg install -y net/py-urllib3 databases/py-sqlite3 devel/py-pip rar unrar nano

pip install --upgrade pip
pip install --upgrade setuptools
pip install flexget
pip install --upgrade flexget
pip install transmissionrpc
pip install --upgrade transmissionrpc


If you update the packages, nano installs. Nano is NOT needed for FlexGet but I like it.

Cheers,
 
Last edited:
Status
Not open for further replies.
Top