How do I upload the PBI file to the FreeNAS?

I expected the FreeNAS server to already have the Channels DVR plugin available in the list of plugins. It isn’t there so How do I add it to the list?

What version of FreeNAS? It should be under:

Services > Plugins > Install Plugin

You can also try an iocage install: Guide: Freenas 11.1 iocage manual install

I’m running 11.2 beta 3

Perhaps I should re-install with 11.1 if it means I can use the Services > Plugins > Install Plugin option

On the newer versions it’s probably better to use iocage since plug-ins are getting deprecated.

That manual install looks daunting

Yea that’s fair. We’ve been waiting for 11.2 official release to make it one-click easy.

So yea I’d recommend just going to non-beta for now and using the plugin.

The manual install is actually pretty simple, just copy and paste (only changes that need to be made are for your directory names). PM me if you want help.

I installed FreeNAS 11.1 and uploaded the PBI file no problem. The plugin installed without error and the Jail got created.

All I needed to do was add the directory where I wanted the recordings to get stored. I’m up and running.

Thanks for all the help!!!

1 Like

Oops. I still have one minor issue I need help with.

When I boot the FreeNAS server the plugin does not start. I have to login to the server and turn it on.

The Jail starts okay at boot, but not the plugin.

Perhaps I can start it using a postinit script?

Is there a simple command like “channelsdvr start” ?

I’m looking into why it’s not auto-starting.

Can you run this over ssh and copy/paste the output:

cat /mnt/data/jails/customplugin_1/usr/pbi/channels-dvr-amd64/etc/rc.conf

I couldn’t find that specific file. But I did find this one.

/mnt/HDHomeRun/jails/customplugin_1/usr/pbi/channels-dvr-amd64/etc/rc.d/channels_dvr

Thanks.

Can you try this new package? It should fix the issue.

https://channels-dvr.s3.amazonaws.com/freenas/channelsdvr-1.0.5.pbi

I’m sorry to say it didn’t fix it. I have the exact same problem.

After uploading the pbi file it successfully installs the plugin and starts up the jail.
I then have to manually start the plugin using the button. This works fine.

After a reboot I once again have to manually start the plugin using the button.

Does this file exist now?

/mnt/HDHomeRun/jails/customplugin_1/usr/pbi/channels-dvr-amd64/etc/rc.conf

No. the only thing in etc is the rc.d directory. And the only file in rc.d is “channels_dvr”

Ok thanks. How about this file:

/mnt/HDHomeRun/jails/customplugin_1/etc/rc.conf

yeah. it is there

Here is the contents of that file:
portmap_enable="NO"
sshd_enable="NO"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
hostname="customplugin_1"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
inet6_enable="YES"
ip6addrctl_enable="YES"

I added the following line to the rc.conf file

channels_dvr_enable=“YES”

Didn’t help :frowning: