Jump to content

Raspberry - emby dont start after reboot


ibizista
Go to solution Solved by ibizista,

Recommended Posts

ibizista

Hello,

 

I have a Raspberry Pi 3, with raspbian

 

 pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

I've installed emby-server

 

wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.2.0/emby-server-deb_4.4.2.0_armhf.deb

sudo dpkg -i emby-server-deb_4.4.2.0_armhf.deb

sudo service emby-server start

 

Until here, all works fine.

I can use the config web

 

http://localhost:8096

 

But if I restart the service or reboot the raspberry, the service don't start.

 

pi@raspberrypi:~ $ sudo 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: enabled)
   Active: failed (Result: signal) since Thu 2020-04-23 15:45:01 CEST; 5s ago
  Process: 916 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT)
 Main PID: 916 (code=killed, signal=ABRT)

abr 23 15:45:00 raspberrypi systemd[1]: Started Emby Server is a personal media server with apps on just about every device..
abr 23 15:45:01 raspberrypi systemd[1]: emby-server.service: Main process exited, code=killed, status=6/ABRT
abr 23 15:45:01 raspberrypi systemd[1]: emby-server.service: Unit entered failed state.
abr 23 15:45:01 raspberrypi systemd[1]: emby-server.service: Failed with result 'signal'.

 

If I try to run emby with the command:

 

pi@raspberrypi:~ $ sudo /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-server-deb_{version}_armhf.deb
sudo: unable to execute /opt/emby-server/system/EmbyServer: No such file or directory

 

But the file exist

 

pi@raspberrypi:~ $ ls -ltrh /opt/emby-server/system/EmbyServer
-rwxr-xr-x 1 root root 76K ago 22  2017 /opt/emby-server/system/EmbyServer

 

If i reinstall emby-server, the first time that I run it, it works, but the second and above, don't work.

 

Thanks

 

 

Link to comment
Share on other sites

  • Solution
ibizista

I've reinstalled the reaspberry with the last version of raspbian (debian 10 buster lite) and now all works fine.

 

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

 

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