I'm new to TvHeadend but I did search around first without finding a solution. I did a fresh install on Freenas 11.2 by creating an iocage jail...
echo '{"pkgs":["tvheadend"]}' > /tmp/pkg.json
iocage create -n "tvheadend" -p /tmp/pkg.json -r 11.2-RELEASE ip4_addr="vnet0|<IP>/<MASK>" defaultrouter="<GATEWAY>" vnet="on" allow_raw_sockets="1" boot="on"
rm /tmp/pkg.json
Edited the rc.conf and enabled tvheadend_enable=YES and started with the -C argument to login...
iocage exec tvheadend ee /etc/rc.conf
I after getting into the UI I set the user:password and my HDHR Prime tuners all showed up. I followed this video (https://www.youtube.com/watch?v=6Dgjn1IKrFM) from KordKutters (Nate from Kodi) and got stuck when no services were activated on my Mux.
Here is the log, any suggestions on what I'm doing wrong are appreciated.
2019-02-24 20:37:42.797 mpegts: adding mux Multiplex [onid:FFFF tsid:FFFF] in HDHomerun to scan queue weight 5 flags 1000
2019-02-24 20:37:45.732 settings: saving to /usr/local/etc/tvheadend/input/iptv/networks/a78ebe8433005626039dc6be81c6399f/muxes/d9505c20324f03b88ba7585cbd441cb7
2019-02-24 20:37:52.743 mpegts: ESPNHD in HDHomerun - add raw service
2019-02-24 20:37:52.743 service: 1: ESPNHD in HDHomerun si 0x80503c240 weight 0 prio 11 error 0 (OK)
2019-02-24 20:37:52.743 mpegts: ESPNHD in HDHomerun - tuning on IPTV
2019-02-24 20:37:52.744 mpegts: ESPNHD in HDHomerun - started
2019-02-24 20:37:52.744 epggrab: ESPNHD in HDHomerun - registering mux for OTA EPG
2019-02-24 20:37:52.744 settings: saving to /usr/local/etc/tvheadend/epggrab/otamux/d9505c20324f03b88ba7585cbd441cb7
2019-02-24 20:37:52.744 settings: saving to /usr/local/etc/tvheadend/epggrab/otamux/d9505c20324f03b88ba7585cbd441cb7
2019-02-24 20:37:52.744 mpegts: ESPNHD in HDHomerun - open PID 0012 (18) [20/0x806213000]
2019-02-24 20:37:52.744 tbl-eit: eit: installed table handlers
2019-02-24 20:37:52.744 tbl-eit: eit: grab started
2019-02-24 20:37:52.744 mpegts: ESPNHD in HDHomerun - open PID 1FFB (8187) [20/0x806413000]
2019-02-24 20:37:52.744 tbl-eit: mgt: installed table handlers
2019-02-24 20:37:52.744 psip: psip: grab started
2019-02-24 20:37:52.744 mpegts: ESPNHD in HDHomerun - open PID tables subscription [0042/0x80501e400]
2019-02-24 20:37:52.744 subscription: 000A: "scan" subscribing to mux "ESPNHD", weight: 5, adapter: "IPTV", network: "HDHomerun", service: "Raw PID Subscription"
2019-02-24 20:37:53.207 mpegts: ESPNHD in HDHomerun - open PID 0000 (0) [20/0x80634e000]
2019-02-24 20:37:53.207 mpegts: ESPNHD in HDHomerun - open PID 0001 (1) [16/0x80634f800]
2019-02-24 20:37:53.207 mpegts: ESPNHD in HDHomerun - open PID 0010 (16) [16/0x806214800]
2019-02-24 20:37:53.207 mpegts: ESPNHD in HDHomerun - open PID 0011 (17) [20/0x806270000]
2019-02-24 20:37:53.207 mpegts: ESPNHD in HDHomerun - open PID 0011 (17) [16/0x8062a5800]
2019-02-24 20:37:53.207 service: ESPNHD in HDHomerun: Status changed to [Demuxed packets]
2019-02-24 20:37:53.207 service: ESPNHD in HDHomerun: Status changed to [Demuxed packets] [Reassembled packets]
2019-02-24 20:37:53.207 tbl-base: pat: ESPNHD in HDHomerun: TSID zero value detected, ignoring
2019-02-24 20:37:53.464 tbl-base: pat: completed pid 0 table 00000000 / 00000000
2019-02-24 20:37:54.745 service: ESPNHD in HDHomerun: Status changed to [Demuxed packets] [Reassembled packets] [CA check]
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - close PID 0011 (17) [20/0x806270000]
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - close PID 0010 (16) [16/0x806214800]
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - close PID 0001 (1) [16/0x80634f800]
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - 0000 (0) pat complete
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun scan complete
2019-02-24 20:38:07.752 subscription: 000A: "scan" unsubscribing
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - close PID tables subscription [0042/0x80501e400]
2019-02-24 20:38:07.752 mpegts: ESPNHD in HDHomerun - stopping mux
2019-02-24 20:38:07.753 mpegts: ESPNHD in HDHomerun - close PID 0000 (0) [20/0x80634e000]
2019-02-24 20:38:07.753 mpegts: ESPNHD in HDHomerun - close PID 0011 (17) [16/0x8062a5800]
2019-02-24 20:38:07.753 mpegts: ESPNHD in HDHomerun - close PID 0012 (18) [20/0x806213000]
2019-02-24 20:38:07.753 mpegts: ESPNHD in HDHomerun - close PID 1FFB (8187) [20/0x806413000]
2019-02-24 20:38:07.753 epggrab: grab done for ESPNHD in HDHomerun (stolen)
2019-02-24 20:38:07.753 mpegts: removing mux ESPNHD in HDHomerun from scan queue
2019-02-24 20:38:10.763 settings: saving to /usr/local/etc/tvheadend/input/iptv/networks/a78ebe8433005626039dc6be81c6399f/muxes/d9505c20324f03b88ba7585cbd441cb7