Jump to content

emby-server starts and crashes... (fedora 27)


Recommended Posts

Posted

Bonjour,

 

I downloaded emby-server rpm from emby download site.

No propblem for installing using dnf but when I start it and ask for status immediately after launching, I get this:

 

● 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 Mon 2018-01-15 18:39:18 CET; 1ms ago
 Main PID: 28354 (emby-server)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/emby-server.service
           └─28354 /bin/sh /opt/emby-server/bin/emby-server

janv. 15 18:39:18 dipankar systemd[1]: Started Emby Server is a personal media server with apps on just about ever
 

Seems to be ok, but if I re-ask for the status:

 

● 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 2018-01-15 18:39:19 CET; 1min 19s ago
  Process: 28354 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
 Main PID: 28354 (code=dumped, signal=ABRT)

janv. 15 18:39:18 dipankar systemd[1]: emby-server.service: Failed with result 'core-dump'.
janv. 15 18:39:19 dipankar systemd[1]: emby-server.service: Service hold-off time over, scheduling restart.
janv. 15 18:39:19 dipankar systemd[1]: Stopped Emby Server is a personal media server with apps on just about ever
janv. 15 18:39:19 dipankar systemd[1]: emby-server.service: Start request repeated too quickly.
janv. 15 18:39:19 dipankar systemd[1]: Failed to start Emby Server is a personal media server with apps on just ab
janv. 15 18:39:19 dipankar systemd[1]: emby-server.service: Unit entered failed state.
janv. 15 18:39:19 dipankar systemd[1]: emby-server.service: Failed with result 'core-dump'.
 

What's wrong?

 

Thank you.

 

F.P.

 

 

Posted

hi, can you try starting it on the terminal and capture the terminal output? thanks.

Posted (edited)

hi, can you try starting it on the terminal and capture the terminal output? thanks.

 

from command line the server starts!!!

 

And attachment is not working on this site....

Edited by frpatte
Posted

so now you're all set?

Posted

so now you're all set?

 

No! It crashes if I start it using systemctl! So I cannot enable this service!

Posted

No! It crashes if I start it using systemctl! So I cannot enable this service!

chown -R emby:emby /var/lib/emby*
systemctl restart emby-server
Posted
chown -R emby:emby /var/lib/emby*
systemctl restart emby-server

no emby directory in /var/lib!

Posted

no emby directory in /var/lib!

 

That'll be why then:

mkdir -p /var/lib/emby
chown -R emby:emby /var/lib/emby
systemctl restart emby-server
mastrmind11
Posted

:huh:

Posted

 

That'll be why then:

mkdir -p /var/lib/emby
chown -R emby:emby /var/lib/emby
systemctl restart emby-server

So, something is missing in the installation script included in the emby-server.rpm

 

Thank you to confirm!

Posted
getent passwd emby > /dev/null 2>&1 && usermod -c 'Emby Server' -g emby -d /var/lib/emby -m -s /usr/bin/nologin emby
getent passwd emby > /dev/null 2>&1 || useradd -r -c 'Emby Server' -g emby -d /var/lib/emby -m -s /usr/bin/nologin emby

This creates a user and its home if it doesn't exist, and if it exists it modifies it and moves the home in the process. Either way "/var/lib/emby" should have been created on installation (unless you had an emby user with no home, maybe, not sure if usermod is clever enough in that case).

 

I'll switch to sysusers and tmpfiles from systemd in the near future anyway, the manual way will only be needed on ancient Ubuntu LTE installations, everything else has moved over to systemd.

  • 1 month later...
  • 2 months later...
Posted

@@z10rog, there is no 3.4.1.2. I haven't released that for fedora yet. The highest available version for fedora is 3.4.1.

Posted

Sorry, my bad. I'm running Arch Linux and the AUR repository. I just searched for the error message and selected this thread. Feel free to move/delete post and hope there will be a fix soon for Arch. Keep up the good work :)

Posted

I am going to hide it. Please use the Testing Area of the community for beta related discussion. Thanks.

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