Jump to content

emby-server service won't start automatically anymore


landry

Recommended Posts

landry

Hi,
my emby-server was running ok for monthes until recently : it won't start automatically anymore, but starts flawlessly manually.

 

Here is the status of emby-service after system boot-up.

~ sudo systemctl status emby-server
● emby-server.service - Emby brings together your videos, music, photos, and live television.
     Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2020-05-01 10:18:22 CEST; 20min ago
    Process: 536 ExecStart=/usr/bin/emby-server (code=exited, status=226/NAMESPACE)
   Main PID: 536 (code=exited, status=226/NAMESPACE)

mai 01 10:18:22 riverrun systemd[1]: Started Emby brings together your videos, music, photos, and live television..
mai 01 10:18:22 riverrun systemd[536]: emby-server.service: Failed to set up mount namespacing: /run/systemd/unit-root/dev/dri: No such file or directory
mai 01 10:18:22 riverrun systemd[536]: emby-server.service: Failed at step NAMESPACE spawning /usr/bin/emby-server: No such file or directory
mai 01 10:18:22 riverrun systemd[1]: emby-server.service: Main process exited, code=exited, status=226/NAMESPACE
mai 01 10:18:22 riverrun systemd[1]: emby-server.service: Failed with result 'exit-code'.

Seems like there's a problem with /run/systemd/unit-root/dev/dri. But I don't know what's this directory supposed to be ?

It runs fine after I type: sudo systemctl start emby-server
Any clue ?
 

Link to comment
Share on other sites

alucryd

Are you on Arch Linux? Do you perhaps have no graphics card?

Link to comment
Share on other sites

landry

Hi, do you know what version you currently have installed?

 

Hi, I have version `emby-server 4.4.2.0-1` installed.

 

Are you on Arch Linux? Do you perhaps have no graphics card?

 

Hi, I'm on Manjaro. Here is my config:

 

5eb1ad92df2f2_20200505_2015.png

 

Link to comment
Share on other sites

alucryd

You do have a graphics card then, does the `/dev/dri` directory exist?

Link to comment
Share on other sites

rtcheeks

I had this problem too. The systemd unit file on the arch linux community repo is wrong.

 

Edit /usr/lib/systemd/system/emby-server.service

and change

ReadWritePaths=/dev/dri

to

#ReadWritePaths=/dev/dri
Edited by rtcheeks
  • Like 1
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...