larryjay 1 Posted September 18, 2022 Posted September 18, 2022 (edited) In my TrueNAS scale , i have installed the official emby docker image. Emby's dashboard comes up and with my HDHomerun tuner, I can make recordings and see the guide data. The NAS box is at the static address of 192.168.1.106. The Emby dash board shows Version 4.7.6.0 Emby Server is up to date Running on http port 8096 In-Home (LAN) access: http://192.168.1.106:8096 But when I enter that In-Home link (clicking on it or otherwise), I get This site can’t be reached 192.168.1.106 refused to connect. 1. TrueNAS does not have a firewall 2. When I shell in to peek inside the running docker image and enter ifconfig, I get eth0 Link encap:Ethernet HWaddr 7E:EA:88:E3:BA:F4 inet addr:172.16.0.36 Bcast:172.16.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4134 errors:0 dropped:0 overruns:0 frame:0 TX packets:2906 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5834257 (5.5 MiB) TX bytes:2790544 (2.6 MiB) But I entering http://172.16.0.36 in the browser also fails. 3. The Official Plex docker image is installed on the TrueNAS box but the image is not running at this time. It runs fine but I refer the Emby user interface. None of the Emby apps will connect either through Emby connect or direct entry of the IP address. I'd appreciate any help. Thank you. Edited September 18, 2022 by larryjay
larryjay 1 Posted September 19, 2022 Author Posted September 19, 2022 Digging a little more: Using shell access to the docker image, I find: / # cat /etc/hosts # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 172.16.0.44 emby Within the TrueNAS scale shell: root@truenas[~]# curl 172.16.0.44 curl: (7) Failed to connect to 172.16.0.44 port 80: Connection refused But combined with the port, curl succeeds. root@truenas[~]# curl 172.16.0.44:8096 root@truenas[~]# Additonally, from the TrueNAS Scale shell, I can ping that ip: root@truenas[~]# ping 172.16.0.44 PING 172.16.0.44 (172.16.0.44) 56(84) bytes of data. 64 bytes from 172.16.0.44: icmp_seq=1 ttl=64 time=0.110 ms 64 bytes from 172.16.0.44: icmp_seq=2 ttl=64 time=0.099 ms So why none of my Emby client applications are able to connect to my emby server at 172.16.0.44:8096 remains the mystery of the day!
larryjay 1 Posted September 19, 2022 Author Posted September 19, 2022 I think I made my plea for help in the wrong area. Here is my cry for help. Thanks All this is with the Official TrueNAS Scale Emby docker image on my ixSystems TrueNAS server. https://emby.media/community/index.php?/topic/112259-truenas-scale-emby-official-image-apps-cant-connect/
larryjay 1 Posted September 19, 2022 Author Posted September 19, 2022 At the Emby client application, doing the Sign in with Connect results in Pin Confirmed. Thank you But the app never connects to the server even fed "SKIP AND ENTER IP ADDRESS" of 172.16.0.44 and port 8096 Client App is version 2.0.79g tv.emby.embyatv
Luke 42077 Posted September 19, 2022 Posted September 19, 2022 Hi, do you have the docker container in bridge or host networking mode?
larryjay 1 Posted September 19, 2022 Author Posted September 19, 2022 Luke, Not sure. I didn't see an entry for chosing host vs bridge mode. In the config dialog for the image, I see this (below) under the Networking paragraph. The image and subsequent container is from the Officalcharts catalog Version 4.7.6.0._1.0.11, not the Truecharts version which I think I recall allowed setting a static IP address for the container. Also from within the TrueNAS Scale shell: root@truenas[~]# docker network ls NETWORK ID NAME DRIVER SCOPE 9b0768bf9693 host host local 51988ad86100 none null local and netstat from within the container: / # netstat -r Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface default 172.16.0.1 0.0.0.0 UG 0 0 0 eth0 172.16.0.0 * 255.255.0.0 U 0 0 0 eth0 / # netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 :::8096 :::* LISTEN tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:54548 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:60698 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:42176 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:54560 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:43498 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:42184 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:60696 TIME_WAIT tcp 0 0 172-16-0-44.emby-tcp.ix-emby.svc.cluster.local:8096 ::ffff:172.16.0.1:43494 TIME_WAIT udp 0 0 emby:52051 0.0.0.0:* udp 0 0 localhost:57032 0.0.0.0:* udp 0 0 0.0.0.0:49021 0.0.0.0:* udp 0 0 0.0.0.0:1900 0.0.0.0:* udp 0 0 :::7359 :::* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 29646316 /tmp/dotnet-diagnostic-199-100869002-socket / # And this from the configuration dialog for the image/container: Networking Configure Host Network Configure Emby Server HTTP Service Port to expose for Emby Server UI
larryjay 1 Posted September 20, 2022 Author Posted September 20, 2022 Luke Is there a shell command I can run inside the TrueNAS Scale Chart emby container that will tell us whether networking is bridge or host? Larry
dgrigo 35 Posted September 22, 2022 Posted September 22, 2022 (edited) The default is running in bridge mode for the official catalog. You can't select host I think is bugged, I installed Plex and is working in both ways exposing dnla and wake on lan. I live with that until the bluefin lands. So no wake on lan or dnla. There are other ways to do it with true charts and bridge for true as scale if you want. Personally I V gone back to official for all my apps. Also don't forget that kubernetes is exposed only internally like a bridge to the real network so you can't ping that network from outside of scale. Edited September 22, 2022 by dgrigo
dgrigo 35 Posted September 22, 2022 Posted September 22, 2022 (edited) To connect make sure in advanced settings you have selected the correct nic or bridge or whatever is the nic that you can ping truenas from your internal network, then make sure that host networking is not selected, and use port 9096. Then when the deployment ends http://your scale up:9096 from your network will get you in. Ps . I wish emby was using by default ports above 9000 as we will see more and more implementations of cluster Networking. Edited September 22, 2022 by dgrigo Ps
larryjay 1 Posted September 22, 2022 Author Posted September 22, 2022 (edited) Thanks Dgrigo. I think I understand your post. I stumbled though a IXsystems Truecharts Emby image installation. It allows Host networking. I think I have emby working now. I tried to document my efforts in the attached emby.odt Probably won't help you but might help another novice like me. emby.odt Edited September 22, 2022 by larryjay
dgrigo 35 Posted September 22, 2022 Posted September 22, 2022 OK, that's not official catalog as you asked in first post, but it's truecharts, different beast most customizable and works with host networking etc. Good that you solved it
larryjay 1 Posted September 22, 2022 Author Posted September 22, 2022 Yes dgrigo, you are correct. The Version of Emby I installed and have running (finally!!!) is from the TrueCharts Catalog, not the official. I gave up in the official container install. I sorted out where the IXSystems Kurbernetes deployment script places your emby file space. It is under \config. I changed my guide to reflect that so here's another copy. emby.odt
dgrigo 35 Posted September 22, 2022 Posted September 22, 2022 I found solution to the official , i posted here on forums 1
Luke 42077 Posted September 22, 2022 Posted September 22, 2022 On 9/20/2022 at 2:51 PM, larryjay said: Luke Is there a shell command I can run inside the TrueNAS Scale Chart emby container that will tell us whether networking is bridge or host? Larry @larryjay this may help:
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now