emby server not working on boot

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dinesh88
Posts: 13
Joined: Thu Dec 14, 2017 4:59 pm

emby server not working on boot

Post by dinesh88 »

Hi guys,

i am new to deitpi and i have installed it on my odroid xu4. i have downloaded emby-server from the sdietpi-software and facing the following problem. all softwares boot perfectly well on start up, but emby server service has to be rebooted from the cmmand line to make it work. can you please help me fix itso that it boots and stats active on start up. thanks

# service emby-server status
● emby-server.service - Emby Media Server
Loaded: loaded (/lib/systemd/system/emby-server.service; disabled)
Active: failed (Result: exit-code) since Sun 2017-12-17 01:52:28 -04; 1h 12min ago
Process: 2994 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
Process: 2225 ExecStart=/usr/bin/emby-server start (code=exited, status=134)
Main PID: 2225 (code=exited, status=134)

Dec 17 01:52:28 DietPi emby-server[2225]: ffff0000-ffff1000 r-xp 00000000 00...]
Dec 17 01:52:28 DietPi emby-server[2225]: Native stacktrace:
Dec 17 01:52:28 DietPi emby-server[2225]: Debug info from gdb:
Dec 17 01:52:28 DietPi emby-server[2225]: mono_gdb_render_native_backtraces ...b
Dec 17 01:52:28 DietPi emby-server[2225]: ==================================...=
Dec 17 01:52:28 DietPi emby-server[2225]: Got a SIGABRT while executing nati...s
Dec 17 01:52:28 DietPi emby-server[2225]: a fatal error in the mono runtime ...s
Dec 17 01:52:28 DietPi emby-server[2225]: used by your application.
Dec 17 01:52:28 DietPi emby-server[2225]: ==================================...=
Dec 17 01:52:28 DietPi systemd[1]: Unit emby-server.service entered failed ...e.
Hint: Some lines were ellipsized, use -l to show in full.
# service emby-server restart
# service emby-server status
● emby-server.service - Emby Media Server
Loaded: loaded (/lib/systemd/system/emby-server.service; disabled)
Active: active (running) since Sun 2017-12-17 03:05:48 -04; 20s ago
Process: 2994 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
Main PID: 8987 (su)
CGroup: /system.slice/emby-server.service
‣ 8987 su -s /bin/sh -c umask $0; exec "$1" "$@" emby -- 002 env MAGICK_HOME=/usr/lib/emby-server MAGICK_CODER_FILTER_PATH=/usr/lib/emby-server/arm-linux-gnueabihf/EmbyMagick-6.9.6/modules-Q8/filt...

Dec 17 03:05:48 DietPi systemd[1]: Starting Emby Media Server...
Dec 17 03:05:48 DietPi systemd[1]: Started Emby Media Server.
Dec 17 03:05:48 DietPi su[8987]: Successful su for emby by root
Dec 17 03:05:48 DietPi su[8987]: + ??? root:emby
Dec 17 03:05:48 DietPi su[8987]: pam_unix(su:session): session opened for user emby by (uid=0)
#
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: emby server not working on boot

Post by johnvick »

Try this:

systemctl enable emby-server

systemctl start emby-server

It looks from the above that the emby-server service has become disabled.

John
dinesh88
Posts: 13
Joined: Thu Dec 14, 2017 4:59 pm

Re: emby server not working on boot

Post by dinesh88 »

Thank you Johnvick,

it is working fine now.

:D
dinesh88
Posts: 13
Joined: Thu Dec 14, 2017 4:59 pm

Re: emby server not working on boot

Post by dinesh88 »

hi,

i have now noticed tgat enby works fine in boot but it keeps crashing and exuts while i try to transcode or set up the library.

any way tto stop this from happening ?

emby-server.service - Emby Media Server
Loaded: loaded (/lib/systemd/system/emby-server.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-12-18 08:09:31 -04; 46s ago
Process: 19431 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
Process: 17955 ExecStart=/usr/bin/emby-server start (code=exited, status=134)
Main PID: 17955 (code=exited, status=134)

Dec 18 08:09:31 DietPi emby-server[17955]: be954000-be975000 rw-p 00000000 0...]
Dec 18 08:09:31 DietPi emby-server[17955]: ffff0000-ffff1000 r-xp 00000000 0...]
Dec 18 08:09:31 DietPi emby-server[17955]: Native stacktrace:
Dec 18 08:09:31 DietPi emby-server[17955]: Debug info from gdb:
Dec 18 08:09:31 DietPi emby-server[17955]: mono_gdb_render_native_backtraces...b
Dec 18 08:09:31 DietPi emby-server[17955]: =================================...=
Dec 18 08:09:31 DietPi emby-server[17955]: Got a SIGSEGV while executing nat...s
Dec 18 08:09:31 DietPi emby-server[17955]: a fatal error in the mono runtime...s
Dec 18 08:09:31 DietPi emby-server[17955]: used by your application.
Dec 18 08:09:31 DietPi emby-server[17955]: =================================...=
Hint: Some lines were ellipsized, use -l to show in full.
#
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: emby server not working on boot

Post by johnvick »

This may be due to running a version of Mono that Emby does not work well with.

Best version is 4.8.1 - any higher, Emby may not work.

# mono --version

Will tell you.

John
dinesh88
Posts: 13
Joined: Thu Dec 14, 2017 4:59 pm

Re: emby server not working on boot

Post by dinesh88 »

Thanks John, will check that out.
Post Reply