Jump to content

Error during installation of Emby plugin on FreeNAS


tachain

Recommended Posts

makarai

@@tachain. I ask this all the time what freenas version are you using. I hope it's RC-2. The previous ones had a lot of problems with automatic interface creation mounting and so on

Link to comment
Share on other sites

Hi,

 

questions.

 

Which interface is the cable plugged in?

Can you please install another plugin from the plugin catalogue, I recommend irssr.

Can you type ifconfig in the shell and report back

 

Hi,

1. My cable plugged into: igb0

2. Manage to install irssr with DHCP

3. ifconfig , see ifconfig.txt

 

Just wondering if the error occurred for installation of 1st plugin, I manage to install zoneminder now as well.

Link to comment
Share on other sites

@@tachain. I ask this all the time what freenas version are you using. I hope it's RC-2. The previous ones had a lot of problems with automatic interface creation mounting and so on

 

Yes.

OS Version:

FreeNAS-11.2-RC2

(Build Date: Nov 15, 2018 20:21)

Link to comment
Share on other sites

makarai

Hi,

1. My cable plugged into: igb0

2. Manage to install irssr with DHCP

3. ifconfig , see

ifconfig.txt

 

Just wondering if the error occurred for installation of 1st plugin, I manage to install zoneminder now as well.

 

And all the plugins that you installed select bridge0 as their interface?

Link to comment
Share on other sites

And all the plugins that you installed select bridge0 as their interface?

 

Plugin Install sequence and selected interface:

1. Emby - bridge0

2. zoneminder - bridge0

3. irssr - DHCP

Link to comment
Share on other sites

makarai

root@freenas[~]# ifconfig
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 0c:cx
        hwaddr 0x:cx
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 0c:c
        hwaddr 0c:c
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 00:b
        hwaddr 00:b
        nd6 options=1<PERFORMNUD>
        media: Ethernet autoselect
        status: active
        groups: tap
        Opened by PID 3980
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:e
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0:10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000
        member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000000
vnet0:10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: emby-server-beta56
        options=8<VLAN_MTU>
        ether 02:ff:60:2e:4a:95
        hwaddr 02:78:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
root@freenas[~]#
 

You can see, normally the bridge0 has different members- IGB0 (physical) vnet0 (Jails)  tap0(VMs)

So i am confused why yours does not. I am asking this because you probably run into problems at somepoint if your network is not properly installed within freenas itself.

 

If i start a second emby server you can even see how this is working it just adds a member to the bridge0

vnet0:34: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: emby-server-beta73
        options=8<VLAN_MTU>
        ether 02:f
        hwaddr 02:7
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair

Sorry if I ask all the stupid questions: but is the ifconfig output before or after you installed irssr ?

 

Last question do you have any tuneables installed ? (before RC2 you had to put)

System > Tunables

 

Variable: cloned_interfaces, Value: bridge0, Type: rc.conf

Variable: ifconfig_bridge0, Value: addm vnet0 up, Type: rc.conf

 

in the tunables to get jails running, if you still have them in there take them out and reboot

Edited by makarai
Link to comment
Share on other sites

root@freenas[~]# ifconfig
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 0c:cx
        hwaddr 0x:cx
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 0c:c
        hwaddr 0c:c
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 00:b
        hwaddr 00:b
        nd6 options=1<PERFORMNUD>
        media: Ethernet autoselect
        status: active
        groups: tap
        Opened by PID 3980
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:e
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0:10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000
        member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000000
vnet0:10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: emby-server-beta56
        options=8<VLAN_MTU>
        ether 02:ff:60:2e:4a:95
        hwaddr 02:78:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
root@freenas[~]#
 

You can see, normally the bridge0 has different members- IGB0 (physical) vnet0 (Jails)  tap0(VMs)

So i am confused why yours does not. I am asking this because you probably run into problems at somepoint if your network is not properly installed within freenas itself.

 

If i start a second emby server you can even see how this is working it just adds a member to the bridge0

vnet0:34: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: emby-server-beta73
        options=8<VLAN_MTU>
        ether 02:f
        hwaddr 02:7
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair

Sorry if I ask all the stupid questions: but is the ifconfig output before or after you installed irssr ?

 

Last question do you have any tuneables installed ? (before RC2 you had to put)

System > Tunables

 

Variable: cloned_interfaces, Value: bridge0, Type: rc.conf

Variable: ifconfig_bridge0, Value: addm vnet0 up, Type: rc.conf

 

in the tunables to get jails running, if you still have them in there take them out and reboot

 

The ifconfig output before installation of irssr.

Is a new server, New Installation, no prior version.

Link to comment
Share on other sites

makarai

The ifconfig output before installation of irssr.

Is a new server, New Installation, no prior version.

can you post a second ifconfig output after the installation of irssr. Sorry i didnt make that clear, i am hoping that the dhcp installation created the necessary interfaces. i.e. vnet0

 

honestly just check if there is another interface i.e. vnet0 or similar.

Edited by makarai
Link to comment
Share on other sites

can you post a second ifconfig output after the installation of irssr. Sorry i didnt make that clear, i am hoping that the dhcp installation created the necessary interfaces. i.e. vnet0

 

Here you go. 

ifconfig.txt

Link to comment
Share on other sites

makarai

Here you go. 

Well, that was uneventful. Unfortunately no new interface was created. This seems weird. I have to get back to you on this one, i am guessing you'll run into problems at some point.

Link to comment
Share on other sites

Well, that was uneventful. Unfortunately no new interface was created. This seems weird. I have to get back to you on this one, i am guessing you'll run into problems at some point.

 

I ran into problem... I changed IPv4 manual settings back to DHCP. now I see the vnet0.

All good now:)

ifconfig.txt

Link to comment
Share on other sites

makarai

AWESOME! 

 

now you basically have to change your other jails and plugins and you can use the installation method provided for a solid emby setup :D

cd /tmp
wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby/beta/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server-beta.json --branch 'beta' 
Edited by makarai
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...