Jump to content


Photo

Emby server on Raspberry pi 3 (docker) : no access

raspberry pi docker port 8096 netstat

  • Please log in to reply
36 replies to this topic

#21 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 19 May 2017 - 11:39 AM

Hurricanehrndz,

 

 

I did what you said exactly :

591f0f34e847c_Capture.jpg

 

waited 1min, then (attached file "emby-server logs").

 

waited 1 more minute, then :

591f1193c7072_Capture2.jpg

 

Attached Files



#22 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 19 May 2017 - 11:45 AM

I'm wondering if the docker emby shouldn't use the --network=host option ?  (noob question, sorry)



#23 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 11:48 AM

Wow, this is really strange. Your log looks clean, mono 4.6.2 is the only concern on my part, but I will not be able to update the version at this time.

 

@Luke, can you double check the log! To me it looks flawless.

 

Can you run the following again, with no further changes

docker inspect emby-server > ~/container_setup.log
sudo lsof -i -P > ~/port.log
echo "" | nc -v 127.0.0.1 8096
echo "" | nc -v 127.0.0.1 8920


#24 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 11:55 AM

I'm wondering if the docker emby shouldn't use the --network=host option ?  (noob question, sorry)

Let me check the wrapper script.

 

The wrapper script should be setup with net=host


Edited by hurricanehrndz, 19 May 2017 - 11:57 AM.


#25 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 19 May 2017 - 11:58 AM

Yes, no problem of course, please find attached the 2 log files.

 

Plus the 2 cmd results :

591f1561795db_Capture3.jpg

Attached Files



#26 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 12:01 PM

Line 161 of /usr/local/bin/emby-server should have --net=host, if not please run the instl command again, the one from the first post.



#27 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 12:02 PM

Yes, no problem of course, please find attached the 2 log files.

 

Plus the 2 cmd results :

591f1561795db_Capture3.jpg

Thanks for your patience and working with us, it will make the experience better for future users. PS I'm out for a bit, I will see about getting this resolved later.



#28 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 19 May 2017 - 12:08 PM

Line 161 of /usr/local/bin/emby-server should have --net=host, if not please run the instl command again, the one from the first post.

 

 

In fact i searched the whole file /usr/local/bin/emby-server there's no net=host, pattern found  :-(



#29 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 12:34 PM

Runt the install command, the original image you use was really outdated

Sent from my ONEPLUS A3000 using Tapatalk

#30 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 19 May 2017 - 05:27 PM

I re-run the install method as described in the official post.

i now have 190 lines in the script and -net=host is written  :-)

 

Unfortunately that doesn't change things, i still have problem connecting to  192.168.0.20:8096  ("curl -L localhost:8096" from RPi not OK ->   curl: (7) Failed to connect to localhost port 8096: Connection refused).



#31 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153496 posts
  • Local time: 12:47 AM

Posted 19 May 2017 - 05:58 PM

the log looks ok. it seems like something is just blocking it.



#32 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 19 May 2017 - 07:46 PM

Well, the container is definitely working now and I'm really happy to hear. The rest is up to you. You might need help with either the firewall or your networking setup. If your using ufw or firewalld you will need to add an exception for port 8096. I'm gone till Tuesday so best of luck

Sent from my ONEPLUS A3000 using Tapatalk

#33 tdiguy OFFLINE  

tdiguy

    Advanced Member

  • Members
  • 1194 posts
  • Local time: 11:47 PM

Posted 19 May 2017 - 11:03 PM

I am very interested in this. I am not nearly as skilled as the op with linux but i have heard emby is the software i want to run on my pi3. I have played with plex and its nice but their current support for my hdhomerun is less than desirable with a disjointed interface when it comes to a guide ( is there one? ).

Thank you for all the support on this btw.



#34 hurricanehrndz OFFLINE  

hurricanehrndz

    Advanced Member

  • Developers
  • 1249 posts
  • Local time: 09:47 PM

Posted 20 May 2017 - 01:50 AM

Your very welcome, please let us know if there is any other way to help​. That's why we are here. I'm sure there is enough information on Google about iptables or ufw to help you get this done. Please report back when you have everything up and running. We are working really hard right now to get hardware decoding working on the pi, so users like yourself are essential to the project and the community, on behalf of myself, Luke and the whole dev team, welcome to the emby family

Sent from my ONEPLUS A3000 using Tapatalk

#35 tealc59 OFFLINE  

tealc59

    Advanced Member

  • Members
  • 56 posts
  • Local time: 05:47 AM
  • LocationFrance

Posted 21 May 2017 - 12:24 PM

hi,

 

great news, i rebooted the RPi again today, start  "emby-server", then tried to launch the URL again.

 

it instantly failed, but after ~5sec the web page changed to something like  "web page will begin shortly".

i "F5" after maybe 20sec then i saw the emby server web page  (http://192.168.0.20:...izardstart.html)  :-D

 

i don't know why i now works, when it wasn't yesterday.  But after maybe 30sec i could access the URL.

i didn't have time to continue at the moment, but will do it very soon  :-)

 

thanks again for your assistance.


  • hurricanehrndz likes this

#36 tdiguy OFFLINE  

tdiguy

    Advanced Member

  • Members
  • 1194 posts
  • Local time: 11:47 PM

Posted 21 May 2017 - 01:28 PM

I was able to install emby last night also. I thought it was not going to work because of an error message but it turned out that it worked just fine. I am thrilled with the emby server.


  • hurricanehrndz likes this

#37 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153496 posts
  • Local time: 12:47 AM

Posted 21 May 2017 - 01:47 PM

Thanks for the feedback !





Also tagged with one or more of these keywords: raspberry, pi, docker, port, 8096, netstat

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users