Project

General

Profile

Help: Schedules Direct setup on Freenas (error after configuration)

Added by Jonathan McGuire over 5 years ago

I've run into another issue and think I'm close to solving it but need a little help...

Clean install in iocage:

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

I have a test channel working using one of my HDHR Prime channels imported as IPTV. Next I tried to add an epg data. I have a Schedules Direct account setup with my lineup. I installed xmltv by going into the jail console and:

 pkg install p5-xmltv

Then enabled the grabber module and set it to priority 1. Back in the console I changed to user "tvheadend" with:

su - tvheadend
tv_grab_zz_sdjson --configure

I was able to go through the configuration process but get this error:

2019-02-25 00:58:05.453 spawn: Name "Params::Validate::NO_VALIDATION" used only once: possible typo at /usr/local/bin/tv_grab_zz_sdjson line 238.
2019-02-25 00:58:05.509 spawn: You need to configure the grabber by running it with --configure 
2019-02-25 00:58:05.513 xmltv: /usr/local/bin/tv_grab_zz_sdjson: no output detected
2019-02-25 00:58:05.513 xmltv: /usr/local/bin/tv_grab_zz_sdjson: grab returned no data

From what I have read this is a permission issue of some kind. I may also not need to manually install xmltv according to this information on the freenas port:

Configuration Options
===> The following configuration options are available for tvheadend-4.2.8:
     AVAHI=off: Zeroconf support via Avahi
     DVBCSA=on: Replace internal ffdecsa with dvbcsa
     DVBEN50221=off: Hardware CAM support
     HDHOMERUN=on: Native support for HDHomeRun network tuners
     INOTIFY=on: File system notifications support
     TRANSCODING=off: Transcoding for mobile and web clients
     XMLTV=off
===> Use 'make config' to modify these settings

Is xmltv already installed and just needs to be enabled? If so how do I go about that? (make config is not a recognized command) And if the install location of xmltv is not my issue then does anyone have an idea?

BTW "tvheadend" is the user created by the pkg installation, I assumed this would need to be the user to run the configuration process but I may be wrong about that.


Replies (4)

RE: Help: Schedules Direct setup on Freenas (error after configuration) - Added by Mark Clarkstone over 5 years ago

Have you tried running the script directly under the tvheadend user?

RE: Help: Schedules Direct setup on Freenas (error after configuration) - Added by Jonathan McGuire over 5 years ago

Without the "su - tvheadend"? I am performing this through the Freenas console "iocage console tvheadend". I'm not how to login in tvheadend other than the way I performed it. I will try reading up on how to ssh into the jail as tvheadend or to call that user without su.

RE: Help: Schedules Direct setup on Freenas (error after configuration) - Added by Mark Clarkstone over 5 years ago

Jonathan McGuire wrote:

Without the "su - tvheadend"? I am performing this through the Freenas console "iocage console tvheadend". I'm not how to login in tvheadend other than the way I performed it. I will try reading up on how to ssh into the jail as tvheadend or to call that user without su.

Ah, I get what you mean now! I have no experience with freenas so can't help you there I'm afraid.

RE: Help: Schedules Direct setup on Freenas (error after configuration) - Added by Jonathan McGuire over 5 years ago

From what I'm reading I did perform the script as tvheadend. When I first open the shell from the Freenas ui it opens as root but "su - tvheadend" switches to the correct user (if what I found is correct) so that may not be the issue.

    (1-4/4)