Jump to content

Linux Basic Setup Problem


drumlin

Recommended Posts

drumlin

I thought I would give emby a try on my linux (Fedora 29) workstation.

But somehow I can't get beyond the basic setup.

I followed the instructions found on https://emby.media/linux-server.html.

So it seemed pretty simple, two steps, as far as I could tell.

So step 1 is install the rpm, which I did, and step 2 is "Open a web browser to http://localhost:8096".

But all I get is the "Unable to connect" "Firefox can’t establish a connection to the server at localhost:8096." page.

So I added starting the server: "systemctl start emby-server" which didn't help.

I thought maybe a firewall issue, so I also did "firewall-cmd --add-port 8096/tcp", "firewall-cmd --add-port 8096/udp", "firewall-cmd --reload" followed by "systemctl restart emby-server".

All I get is the same "Unable to connect".

What am I missing?

I can't seem to get beyond this simple first step.

Thanks!

Link to comment
Share on other sites

HI there, are you sure the install completed successfully? Can you try installing again, then provide the complete terminal output? Thanks !

Link to comment
Share on other sites

drumlin

Thank you for the reply!

There aren't too many things what one can be 100 % sure of.

But I am pretty sure the install was successful for two reasons.

First, there were no error messages when I installed.

And second, I was able to do the command (as I mentioned in my first post) "systemctl start emby-server" with no errors or complaints.

I don't need to re-install since I still have the terminal open.

Here is the output:

 

# dnf install https://github.com/MediaBrowser/Emby.Releases/releases/download/4.3.1.0/emby-server-rpm_4.3.1.0_x86_64.rpm
Fedora Modular 29 - x86_64                       40 kB/s |  18 kB     00:00    
Fedora Modular 29 - x86_64 - Updates             83 kB/s |  17 kB     00:00    
Fedora 29 - x86_64 - Updates                     49 kB/s |  17 kB     00:00    
Fedora 29 - x86_64                              106 kB/s |  18 kB     00:00    
RPM Fusion for Fedora 29 - Free - Updates       4.1 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 29 - Free                  23 kB/s | 3.2 kB     00:00    
RPM Fusion for Fedora 29 - Nonfree - Updates    6.1 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 29 - Nonfree              6.3 kB/s | 3.2 kB     00:00    
Fedora 29 - x86_64 - VirtualBox                 342  B/s | 181  B     00:00    
emby-server-rpm_4.3.1.0_x86_64.rpm               17 MB/s |  70 MB     00:04    
Dependencies resolved.
================================================================================
 Package                  Arch        Version           Repository         Size
================================================================================
Installing:
 emby-server              x86_64      4.3.1.0-1         @commandline       70 M
Upgrading:
 glibc                    x86_64      2.28-39.fc29      updates           3.8 M
 glibc-all-langpacks      x86_64      2.28-39.fc29      updates            25 M
 glibc-common             x86_64      2.28-39.fc29      updates           802 k

 glibc-devel              x86_64      2.28-39.fc29      updates           1.0 M
 glibc-headers            x86_64      2.28-39.fc29      updates           464 k
 glibc-langpack-en        x86_64      2.28-39.fc29      updates           814 k
Installing dependencies:
 libnsl                   x86_64      2.28-39.fc29      updates            85 k

Transaction Summary
================================================================================
Install  2 Packages
Upgrade  6 Packages

Total size: 102 M
Total download size: 32 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): libnsl-2.28-39.fc29.x86_64.rpm           282 kB/s |  85 kB     00:00    
(2/7): glibc-common-2.28-39.fc29.x86_64.rpm     3.9 MB/s | 802 kB     00:00    
(3/7): glibc-2.28-39.fc29.x86_64.rpm            5.0 MB/s | 3.8 MB     00:00    
(4/7): glibc-devel-2.28-39.fc29.x86_64.rpm      3.6 MB/s | 1.0 MB     00:00    
(5/7): glibc-headers-2.28-39.fc29.x86_64.rpm    3.5 MB/s | 464 kB     00:00  

(6/7): glibc-langpack-en-2.28-39.fc29.x86_64.rp 5.3 MB/s | 814 kB     00:00    
(7/7): glibc-all-langpacks-2.28-39.fc29.x86_64.  14 MB/s |  25 MB     00:01    
--------------------------------------------------------------------------------
Total                                            14 MB/s |  32 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: emby-server-4.3.1.0-1.x86_64                           1/1
  Preparing        :                                                        1/1
  Upgrading        : glibc-all-langpacks-2.28-39.fc29.x86_64               1/14
  Upgrading        : glibc-common-2.28-39.fc29.x86_64                      2/14
  Upgrading        : glibc-langpack-en-2.28-39.fc29.x86_64                 3/14
  Running scriptlet: glibc-2.28-39.fc29.x86_64                             4/14
  Upgrading        : glibc-2.28-39.fc29.x86_64                             4/14
  Running scriptlet: glibc-2.28-39.fc29.x86_64                             4/14
  Installing       : libnsl-2.28-39.fc29.x86_64                            5/14
  Running scriptlet: glibc-headers-2.28-39.fc29.x86_64                     6/14
  Upgrading        : glibc-headers-2.28-39.fc29.x86_64                     6/14

  Upgrading        : glibc-devel-2.28-39.fc29.x86_64                       7/14
  Running scriptlet: glibc-devel-2.28-39.fc29.x86_64                       7/14
  Installing       : emby-server-4.3.1.0-1.x86_64                          8/14
  Running scriptlet: glibc-devel-2.28-33.fc29.x86_64                       9/14
  Cleanup          : glibc-devel-2.28-33.fc29.x86_64                       9/14
  Cleanup          : glibc-headers-2.28-33.fc29.x86_64                    10/14
  Cleanup          : glibc-all-langpacks-2.28-33.fc29.x86_64              11/14
  Running scriptlet: glibc-all-langpacks-2.28-33.fc29.x86_64              11/14
  Cleanup          : glibc-common-2.28-33.fc29.x86_64                     12/14
  Cleanup          : glibc-langpack-en-2.28-33.fc29.x86_64                13/14
  Cleanup          : glibc-2.28-33.fc29.x86_64                            14/14
  Running scriptlet: glibc-all-langpacks-2.28-39.fc29.x86_64              14/14
  Running scriptlet: emby-server-4.3.1.0-1.x86_64                         14/14
  Running scriptlet: glibc-2.28-33.fc29.x86_64                            14/14
  Running scriptlet: glibc-common-2.28-39.fc29.x86_64                     14/14
  Verifying        : libnsl-2.28-39.fc29.x86_64                            1/14
  Verifying        : emby-server-4.3.1.0-1.x86_64                          2/14
  Verifying        : glibc-2.28-39.fc29.x86_64                             3/14
  Verifying        : glibc-2.28-33.fc29.x86_64                             4/14
  Verifying        : glibc-all-langpacks-2.28-39.fc29.x86_64               5/14

  Verifying        : glibc-all-langpacks-2.28-33.fc29.x86_64               6/14
  Verifying        : glibc-common-2.28-39.fc29.x86_64                      7/14
  Verifying        : glibc-common-2.28-33.fc29.x86_64                      8/14
  Verifying        : glibc-devel-2.28-39.fc29.x86_64                       9/14
  Verifying        : glibc-devel-2.28-33.fc29.x86_64                      10/14
  Verifying        : glibc-headers-2.28-39.fc29.x86_64                    11/14
  Verifying        : glibc-headers-2.28-33.fc29.x86_64                    12/14
  Verifying        : glibc-langpack-en-2.28-39.fc29.x86_64                13/14
  Verifying        : glibc-langpack-en-2.28-33.fc29.x86_64                14/14

Upgraded:
  glibc-2.28-39.fc29.x86_64           glibc-all-langpacks-2.28-39.fc29.x86_64  
  glibc-common-2.28-39.fc29.x86_64    glibc-devel-2.28-39.fc29.x86_64          
  glibc-headers-2.28-39.fc29.x86_64   glibc-langpack-en-2.28-39.fc29.x86_64    

Installed:
  emby-server-4.3.1.0-1.x86_64            libnsl-2.28-39.fc29.x86_64           

Complete!
 

Link to comment
Share on other sites

  • 2 weeks later...
BAlGaInTl

Probably a stupid question... but I assume that you are trying to open the page on the same machine that you did the install on?

 

Maybe try replacing localhost with the IP address of the server?

Link to comment
Share on other sites

  • 2 months later...
drumlin

Thank you for the replies, and sorry for the delay in my response.

 

BaIGalnt: Thank you for the suggestion, but I did try it.

Luke: Can you tell me where I can find the beta package?

I will give it a try.

Also, I should have done this earlier, but here is the output from # systemctl status emby-server:

 

● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Mon 2020-02-17 18:04:17 CST; 1 months 21 days ago
 Main PID: 17846 (code=dumped, signal=ABRT)

Feb 17 18:04:16 tarazed emby-server[17846]:    --- End of inner exception stack trace ---
Feb 17 18:04:16 tarazed emby-server[17846]:    at System.IO.FileSystem.CreateDirectory(String fullPath)
Feb 17 18:04:16 tarazed emby-server[17846]:    at System.IO.Directory.CreateDirectory(String path)
Feb 17 18:04:16 tarazed emby-server[17846]:    at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)
Feb 17 18:04:16 tarazed emby-server[17846]:    at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)
Feb 17 18:04:16 tarazed emby-server[17846]:    --- End of inner exception stack trace ---
Feb 17 18:04:16 tarazed emby-server[17846]:    at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
Feb 17 18:04:16 tarazed emby-server[17846]:    at EmbyServer.Program.Main(String[] args)
Feb 17 18:04:17 tarazed systemd[1]: emby-server.service: Main process exited, code=dumped, status=6/ABRT
Feb 17 18:04:17 tarazed systemd[1]: emby-server.service: Failed with result 'core-dump'.
 

Link to comment
Share on other sites

drumlin

That did the trick.

I gave read/write/execute user (emby) and group (emby) permission to /var/lib/emby.

May have been slight overkill but it works now.

Thanks!

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...