Jump to content

[Noob Here] Can't access Emby web interface.. (CentOS 7)


Cavemantech13
Go to solution Solved by mastrmind11,

Recommended Posts

Cavemantech13

I've been using emby on windows 8 64 bit before and now i decided to try linux and i chose CentOS 7.
I only installed CentOS on Minimal(no GUI) and with the helped of google i managed to install emby by following your instructions on https://emby.media/linux-server.html and https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server without an error.
 

 

#  systemctl status emby-server

[] emby-server.server -  Emby Media Server
    Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor present: disabled)

    Active: active (running) since Thu 2017-07-27 01:26:36 PHT; 35min ago

Main PID: 990 (su)

    Cgroup /system.slice/emby-server.service

                 [] 990 su -s /bin/sh -c umask $0; exec "$1" "S@" emby --- 002 env MAGICK_HOME=/usr/lib/emby-server MAGICK_CODER_FILTER_PATH=/usr/lib/emby-server/lib64/EmbyMagick-6.9.6/...

Jul 27 01:26:36 localhost.localdomain systemd[1]: Started Emby Media Server.
Jul 27 01:26:36 localhost.localdomain systemd[1]: Starting Emby Media Server....
Jul 27 01:26:36 localhost.localdomain su[990]: (to emby) root on none

The Problem is i can't access emby web interface.
I tried disabling firewalld but i still can't access 192.168.8.249:8096 (reserved) on my other computer and TV...
I've been googling but i can't find any answer and this is too interesting to give up and roll back to windows..

Please help.. Thanks

PS: I also install Samba and i manage to make it worked, i can see my shared folders in windows and even manage to put files on them..

Edited by Cavemantech13
Link to comment
Share on other sites

mastrmind11

What's the output of 

curl --basic http://localhost:8096 -v  

if you run it from your server's cli?

  • Like 1
Link to comment
Share on other sites

dcrdev

Disabling firewalld won't necessarily work - there are a bunch of other services that depend on it meaning that it frequently gets restarted.

 

Some things to try:

 

I won't go into configuring firewalld to allow Emby, but if you're not interested in having it enabled - try:

$ systemctl disable firewalld <-- Disable

$ systemctl mask firewalld <-- Redirect the service to /dev/null i.e. prevent it from ever starting.

$ systemctl stop firewalld <-- Stop the running process.

$ systemctl restart emby-server

 

Also have you got selinux enabled? If so try:

$ setenforce 0

$ systemctl restart emby-server

 

^ If that works a fix to make it work with selinux is available in my post here: https://emby.media/community/index.php?/topic/44406-emby-service-wont-start-fedora-25/?p=415334

Edited by dcrdev
  • Like 1
Link to comment
Share on other sites

Jdiesel

Do you have any experience setting up a ssh tunnel? You can try creating a connection between your headless server and a remote PC which in turn will mimic a local connection to the server. This way you should be able to tell if Emby is running in the background and it is a firewall issue or if Emby is failing to start the web server all together. I use Putty myself.

 

Open Putty and navigate to SSH-Connection-Tunnels and add 8096 for the source port and 127.0.0.1:8096 for the destination then click add.

 

59790ff432a28_Capture.png

 

Go back to Sessions as enter your server IP address and connect to it. Once you are logged in open your webbrowser and go to http://127.0.0.1:8096 which should connect you to Emby, if this doesn't work then it may be that Emby isn't firing up correctly. If it works you have a firewall issue.

  • Like 1
Link to comment
Share on other sites

  • Solution
mastrmind11

Do my suggestion first.  If you see: 

 
* Rebuilt URL to: http://localhost:8096/
*   Trying ::1...
* Connected to localhost (::1) port 8096 (#0)
> GET / HTTP/1.1
> Host: localhost:8096
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: web/index.html
< Server: Microsoft-NetCore/2.0
< Date: Wed, 26 Jul 2017 22:03:42 GMT
< Transfer-Encoding: Chunked
<

then the server is running and it's a firewall issue, in which case see the post post #4

Edited by mastrmind11
  • Like 1
Link to comment
Share on other sites

Cavemantech13

@mastrmind11 I did what you said and got the result you posted so i followed @dcrdev post

$ systemctl disable firewalld <-- Disable
$ systemctl mask firewalld <-- Redirect the service to /dev/null i.e. prevent it from ever starting.
$ systemctl stop firewalld <-- Stop the running process.
$ systemctl restart emby-server 

And got Emby working.. Thanks

And then i did this

$ systemctl unmask firewalld
$ systemctl enable firewalld
$ systemctl start firewalld
$ systemctl restart emby-server 

then followed the answer here https://emby.media/c...-and-firewalld/
 

It's working now.. Thank you guys.

@Jdiesel That's a good idea i'll try it later, thanks.

  • Like 2
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...