Jump to content

Fedora 29 Install of Emby Server fails


FemoTheDon

Recommended Posts

FemoTheDon

Hello guys,

 

I have just installed emby-server on my fedora server

 

# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID:    Fedora
Description:    Fedora release 29 (Twenty Nine)
Release:    29
Codename:    TwentyNine
 

as directed on the website:

 

# dnf install https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-rpm_4.2.1.0_x86_64.rpm
 

When I opened this in a browser http://localhost:8096/ it fails. I assumed it was the firewall, I opened it still no joy.

On checking the status is failed and starting or restarting it doesn't do anything.

 

# systemctl status emby-server.service
● 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 Thu 2019-10-17 18:59:59 BST; 10s ago
  Process: 7764 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
 Main PID: 7764 (code=dumped, signal=ABRT)

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

 

Can anyone advise on what to do?

Many thanks.

 

Femo

Link to comment
Share on other sites

Hi, this means there's some kind of permissions problem preventing the server from being able to write to it's own data folder. It's failing because it can't even create a log file.

 

Over the last couple months there have actually been one or two reports similar to this. Let me see if i can find one of those topics. @@mastrmind11 might recall.

Link to comment
Share on other sites

FemoTheDon

Thanks a lot.

 

I'm guessing i will need to chown some locations to emby:emby?

 

I will await your reply as said earlier

Link to comment
Share on other sites

riothamus

Hey, I run Emby on my Fedora 30 server at home.  Do you have SELinux running as well?   Nevermind, I see you have it in /opt, SELinux doesn't really care about that directory.

 

Check the permissions on your /opt/emby-server directory, and on your /var/lib/emby directory.

Edited by riothamus
Link to comment
Share on other sites

FemoTheDon

Hey guys, i remove and reinstalled it back again and for some strange reason, it appears to be working okay now and running and the install has setup permissions properly itself 
 

# systemctl status emby-server.service 
● 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: active (running) since Fri 2019-10-18 13:04:17 BST; 4min 6s ago
 Main PID: 28431 (EmbyServer)
    Tasks: 16 (limit: 4915)
   Memory: 67.1M
   CGroup: /system.slice/emby-server.service
           └─28431 /opt/emby-server/system/EmbyServer -programdata /var/lib/emby -ffdetect /opt/emby-s>
 
# ll /var/lib | grep emby
drwxr-xr-x.  9 emby      emby      98 Oct 18 13:04 emby
 
Thanks for your help! 
Link to comment
Share on other sites

  • 1 year later...
THE5LOVE

ubuntu @ emby-server: ~ $ sudo systemctl status emby-server.service
? emby-server.service: Emby Server es un servidor multimedia personal con aplicaciones en casi todos los dispositivos.
     Cargado: cargado (/lib/systemd/system/emby-server.service; habilitado; preajuste del proveedor: habilitado)
     Activo: activo (en ejecución) desde Tue 2021-04-13 12:44:13 UTC; Hace 4min 39s
   PID principal: 8429 (EmbyServer)
      Tareas: 16 (límite: 1119)
     Memoria: 94,7 M
     CGroup: /system.slice/emby-server.service
             +-8429 / opt / emby-server / system / EmbyServer -programdata / var / lib / emby -ffdetect / opt / emby-server / bin / ffdetect -ffmpeg / opt / emby-server / bin / ffmpeg -ffprobe / opt / emby-server / bin / ffprobe -restartexitcode 3 -updatepackage emby-se
rver-deb_ {versión} _amd64.deb

13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Notifications.Notifications. Duración: 0.0003103 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial Emby.Server.Sync.SyncManagerEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: SyncRepository Inicializar tomando bloqueo de escritura
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: SyncRepository Inicializar bloqueo de escritura tomado
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Server.Sync.SyncManagerEntryPoint. Duración: 0.006291 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial Emby.Server.Sync.SyncNotificationEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Server.Sync.SyncNotificationEntryPoint. Duración: 0.0023773 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial EmbyServer.Windows.LoopUtilEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: EmbyServer.Windows.LoopUtilEntryPoint. Duración: 8.41E-05 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: todos los puntos de entrada han comenzado
ubuntu @ emby-servidor: ~ $

Link to comment
Share on other sites

12 hours ago, THE5LOVE said:

ubuntu @ emby-server: ~ $ sudo systemctl status emby-server.service
? emby-server.service: Emby Server es un servidor multimedia personal con aplicaciones en casi todos los dispositivos.
     Cargado: cargado (/lib/systemd/system/emby-server.service; habilitado; preajuste del proveedor: habilitado)
     Activo: activo (en ejecución) desde Tue 2021-04-13 12:44:13 UTC; Hace 4min 39s
   PID principal: 8429 (EmbyServer)
      Tareas: 16 (límite: 1119)
     Memoria: 94,7 M
     CGroup: /system.slice/emby-server.service
             +-8429 / opt / emby-server / system / EmbyServer -programdata / var / lib / emby -ffdetect / opt / emby-server / bin / ffdetect -ffmpeg / opt / emby-server / bin / ffmpeg -ffprobe / opt / emby-server / bin / ffprobe -restartexitcode 3 -updatepackage emby-se
rver-deb_ {versión} _amd64.deb

13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Notifications.Notifications. Duración: 0.0003103 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial Emby.Server.Sync.SyncManagerEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: SyncRepository Inicializar tomando bloqueo de escritura
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: SyncRepository Inicializar bloqueo de escritura tomado
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Server.Sync.SyncManagerEntryPoint. Duración: 0.006291 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial Emby.Server.Sync.SyncNotificationEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: Emby.Server.Sync.SyncNotificationEntryPoint. Duración: 0.0023773 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada inicial EmbyServer.Windows.LoopUtilEntryPoint
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: Punto de entrada completado: EmbyServer.Windows.LoopUtilEntryPoint. Duración: 8.41E-05 segundos
13 de abril 12:44:20 emby-server emby-server [8429]: Aplicación de información: todos los puntos de entrada han comenzado
ubuntu @ emby-servidor: ~ $

HI, is that the complete terminal output?

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