Installation & Configuration of FreeNAS Plugins

Notes

Youtube video available here. (I don’t regularly update it so the video is out of date)

  • requires usenet server account
  • assumes zpool named ‘tank’
  • required settings left at their default value are not mentioned

FreeNAS WebUI

Storage > Volumes > Create Dataset

  • Dataset Name = media
  • Compression level = Off
  • Enable atime = Off

Plugins > Available > SABnzbd > Install

Jails > Jails > sabnzbd_1

  • Add Storage
    • Source = /mnt/tank/media
    • Destination = /mnt/media

Plugins > Transmission

  • Incomplete Download Directory = /mnt/media/downloads/transmission/incomplete
  • Script Torrent Done = /usr/local/share/nzbToMedia/TorrentToMedia.py
  • Cache Size = 8
  • Downloaded Permissions = 777

Plugins > Installed

  • (Sabnzbd & Transmission & Sickrage & Couchpotato) Service status = ON

Plugin Jail Command-Line

service transmission stop && service sickrage stop
pkg upgrade && pkg install git python2 py27-sqlite3 unrar p7zip ffmpeg nginx
sysrc 'transmission_user=media' 'nginx_enable=YES'

git clone git://github.com/clinton-hall/nzbToMedia.git /usr/local/share/nzbToMedia
cp /usr/local/share/nzbToMedia/autoProcessMedia.cfg.spec /usr/local/share/nzbToMedia/autoProcessMedia.cfg

mkdir -p /mnt/media/downloads/sabnzbd/incomplete /mnt/media/downloads/sabnzbd/complete/tv /mnt/media/downloads/sabnzbd/complete/movies /mnt/media/downloads/transmission/incomplete /mnt/media/downloads/transmission/complete/tv /mnt/media/downloads/transmission/complete/movies /mnt/media/videos/tvshows /mnt/media/videos/movies
chown -R media:media /usr/local/share/nzbToMedia /mnt/media 
crontab -u media -e

Append

@daily /usr/pbi/transmission-amd64/bin/transmission-remote --blocklist-update

Replace the relevant line in /var/db/sickrage/config.ini

web_root = /sickrage

Replace or insert the relevant lines in /usr/local/etc/nginx/nginx.conf

server {
    location ^~ /sabnzbd {
        proxy_pass http://127.0.0.1:8080;
    }
    location ^~ /transmission {
        proxy_pass http://127.0.0.1:9091;
    }
    location ^~ /sickrage {
        proxy_pass http://127.0.0.1:8081;
    }
    location ^~ /couchpotato {
        proxy_pass http://127.0.0.1:5050;
    }
}
service transmission start && service sickrage start && service nginx start

SABnzbd WebUI

Config > Folders

  • Temporary Download Folder = /mnt/media/downloads/sabnzbd/incomplete
  • Completed Download Folder = /mnt/media/downloads/sabnzbd/complete
  • Permissions for completed downloads = 777
  • Post-Processing Scripts Folder = /usr/local/share/nzbToMedia

Config > Categories

  • Category = tv , Script = nzbToSickBeard.py , Folder/Path = tv
  • Category = movies , Script = nzbToCouchPotato.py , Folder/Path = movies

Config > Switches

  • Abort jobs that cannot be completed = [√]
  • Action when encrypted RAR is downloaded = Abort
  • Extra PAR2 Parameters = -t+
  • Post-Process Only Verified Jobs = [ ]

Config > Special

  • empty_postproc = [√]

Transmission WebUI

Preferences > Torrents

  • Download to =  /mnt/media/downloads/transmission/complete

Preferences > Peers

  • Encryption mode = Require encryption
  • Enable blocklist = [√]
    • http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz

SickRage WebUI

Config > General

    • Show root directories
      • New = /mnt/media/videos/tvshows

Config > Search Settings

      • Episode Search
        • Use Failed Downloads = [√]
        • Delete Failed = [√]
      • NZB Search
        • Search NZBs = [√]
        • Send .nzb files to = SABnzbd
        • SABnzbd server URL = http://localhost:8080
        • SABnzbd API key = (Found in SABnzbd WebUI > Config > General)
      • Torrent Search
        • Send .torrent files to = Transmission
        • Transmission Host = http://localhost:9091
        • Downloaded files location = /mnt/media/downloads/transmission/complete/tv
        • Allow high bandwidth = [√]

Config > Post-Processing

      • Post-Processing
        • Processing Method = Move

CouchPotato WebUI

Settings > General

      • Show advanced settings = [√]
      • Url Base = couchpotato
      • Folder CHMOD = 0777
      • File CHMOD = 0666

Settings > Searcher

      • First Search = usenet

Settings > Downloaders

      • Transmission = [√]
      • Directory = /mnt/media/downloads/transmission/complete/movies/
      • Sabnzbd = [√]
      • Api Key = (Found in SABnzbd WebUI > Config > General)
      • Category = movies

Settings > Renamer

      • Rename downloaded movies = [√]
      • From = /mnt/media/downloads/sabnzbd/complete/movies/
      • To = /mnt/media/videos/movies/
      • Unrar = [√]
      • Cleanup = [√]
      • Run Every = 0
      • Force Every = 0
      • Next On_failed = [ ]
      • Torrent File Action = Move
      • Rename .NFO = [ ]

Settings > Metadata

      • XBMC = [√]
      • Only IMDB URL = [√]
      • Fanart = [ ]
      • Thumbnail = [ ]

Settings > Manage

      • Movie Library Manager = [√]
      • Movie Folder = /mnt/media/videos/movies/

Restart CouchPotato

Plugin Jail Command-Line

Replace the relevant lines in /usr/local/share/nzbToMedia/autoProcessMedia.cfg

[General]
force_clean = 1

[CouchPotato]
[[movies]]
enabled = 1
apikey = (Found in CouchPotato WebUI > Settings > General)
web_root = /couchpotato
delete_failed = 1
delete_ignored = 1

[SickBeard]
enabled = 1
web_root = /sickrage
delete_failed = 1
delete_ignored = 1

[Nzb]
sabnzbd_apikey = (Found in SABnzbd WebUI > Config > General)

[Torrent]
clientAgent = transmission
useLink = move
outputDirectory = /mnt/media/downloads/transmission/complete
deleteOriginal = 1

Router

    • Port forward 51413 TCP/UDP to your jail_ip

4 thoughts on “Installation & Configuration of FreeNAS Plugins

    1. josh4trunks Post author

      As Dave said, just use the steps. I don’t want to have the video on YouTube anymore; though if i do an updated version i may find a way to host it locally instead

      Reply
      1. Larry

        Even though it was outdated, it still helped me in some places. Being the noob, I am it has assisted me several times. I have been running my server with your setup since I found your video several years ago. Thanks again.

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.