Jump to content

Can't run emby service


Recommended Posts

Posted

Hi,

I'm quite new to linux, so probably I'm missing something.

 

I'm on dietpi on a raspi, trying to install the server. I downloaded the correct Deb, using wget, unpacked and installed according to official instructions.

But Emby refuses to run, systemctl status reports

failed - result: signal, code=killed, signal=ILL.

 

trying to run emby with start just brings a bunch of errors,

/bin/emby-server.service: line 1: [unit]: command not found
/bin/emby-server.service: line 2: Server: command not found
/bin/emby-server.service: line 5: [service]: command not found
/bin/emby-server.service: line 12: [install]: command not found
 

trying to nano it didn't help much, I'm not that familiar with the architecture.

 

So maybe I'm just missing something really obvious, would be grateful if any of you guys could point it out.

 

Thanks a lot

Posted (edited)

Well it's different here, because Emby-server can't even start, I'm probably missing some very basic thing. Any ideas?

Question is, what is supported? cause Emby was "included" (optimized) with DietPi in the past, but I see it's removed now.

Can't find a real compatibilty list (or how to get logs from a linux set up for that matter)

 

Thank you very much, really appreciate the stuff you guys do

Edited by debianer
Posted

Well it's different here, because Emby-server can't even start, I'm probably missing some very basic thing. Any ideas?

Question is, what is supported? cause Emby was "included" (optimized) with DietPi in the past, but I see it's removed now.

Can't find a real compatibilty list (or how to get logs from a linux set up for that matter)

 

Thank you very much, really appreciate the stuff you guys do

Dietpie is a very customized distribution of linux. I would recommend if you want to use anything not install able direct from dietpie to use something more mainstream like raspberry jessie or stretch or whatever raspberry now has for a official download.

Posted

For what it is worth a while back i also had tried to run emby on my raspberry pie with dietpie. I spent multiple hours trying to figure out how to get it to work. Then i spent maybe an hour re-building the micro sd-card putting jessie on it, installing emby and customizing things a bit like changing passwords enabling ssh on startup and the like. 

Posted

For what it is worth a while back i also had tried to run emby on my raspberry pie with dietpie. I spent multiple hours trying to figure out how to get it to work. Then i spent maybe an hour re-building the micro sd-card putting jessie on it, installing emby and customizing things a bit like changing passwords enabling ssh on startup and the like. 

Yeah, that might be what I actually end up doing.

How much of a resource hog is running Stretch 24/7 compared to DietPi, from what you can estimate?

How much of a hassle is it to configure  enable-ssh on startup?

I'm a complete linux noob.

Posted

Yeah, that might be what I actually end up doing.

How much of a resource hog is running Stretch 24/7 compared to DietPi, from what you can estimate?

How much of a hassle is it to configure  enable-ssh on startup?

I'm a complete linux noob.

I am not sure honestly, but the raspbian distros have all been customized to run well on the raspbery pie boards and very often they are very similar to more conventional linux systems ( especially debian ) I forget if they are directly debian based or ubuntu based, they all are pretty similar to me. When it comes to running emby the area you will likely run into issues honestly will be if you need to transcode anything, that will be problematic. 

  • Like 1
Posted (edited)

I am not sure honestly, but the raspbian distros have all been customized to run well on the raspbery pie boards and very often they are very similar to more conventional linux systems ( especially debian ) I forget if they are directly debian based or ubuntu based, they all are pretty similar to me. When it comes to running emby the area you will likely run into issues honestly will be if you need to transcode anything, that will be problematic. 

From what I understand, transcoding only occurs if the client machine can't play the original file format?

So no problem if I access, say, an (h264) MP4 file or an MKV file from a Kodi-windows-based machine? (forgive the codec vs container talk... I plan on running pretty traditional formats)

 

How much of a hassle enabling ssh at startup is?

Thanks.

 

Edit: how well does the setup even perform? if no transcoding is needed?

Edited by debianer
Posted

To enable ssh at startup it's pretty easy, heck you can enable ssh on install it's just dropping a empty file with the right name in the right directory sorry I forget the specifics.

 

Sent from my moto g(6) play using Tapatalk

Posted

If it needs to transcode playback is going to be rough, it can remux but I doubt you will need either if your going to use Kodi on a Windows machine. You might also consider emby theater.

 

Sent from my moto g(6) play using Tapatalk

Posted

Aight, you've been most helpful. Thanks a lot to you both.

Posted

 

This has nothing to do with that I asked, I can't get it to run at all.

I'm having trouble running emby on every distro I try, am I missing something?

The instructions are unclear.

I'm on raspbian now, after I download the deb file, and unpack, is there anything else I should do?

because I can't find emby-server service on htop, and connecting to localhost:8096 results in a connetion fail.

 

any dependencies I'm missing? any commands I didn't perform?

 

Thank you.

Posted

what do you mean by unpack? the instructions on our website are all you need to do.

Posted

This has nothing to do with that I asked, I can't get it to run at all.

I'm having trouble running emby on every distro I try, am I missing something?

The instructions are unclear.

I'm on raspbian now, after I download the deb file, and unpack, is there anything else I should do?

because I can't find emby-server service on htop, and connecting to localhost:8096 results in a connetion fail.

 

any dependencies I'm missing? any commands I didn't perform?

 

Thank you.

Did you get any errors when installing? The install should have been simply downloading the .deb package from emby and running sudo dpkg -i <file downloaded>

Posted

No errors, dpkg finished successfully, still connecting to localhost:8096 fails, and no emby-service appears on htop.

Any dependencies I'm missing? Mono? ffmpeg?

Posted

What happens when you try to run it manually?

Posted (edited)

No errors, dpkg finished successfully, still connecting to localhost:8096 fails, and no emby-service appears on htop.

Any dependencies I'm missing? Mono? ffmpeg?

the .deb package i believe has all the dependencies in it.. mono is no longer used and emby comes with ffmpeg now.

Just to check it out i fired up my pi, its running rasbien stretch. I uninstalled emby first. I then ran the following:

 wget https://github.com/MediaBrowser/Emby.Releases/releases/download/3.5.3.0/emby-server-deb_3.5.3.0_armhf.deb

then:

sudo dpkg -i emby-server-deb_3.5.3.0_armhf.deb

It took awhile but once completed it is running for me. Probably took 30 seconds or so for it to complete. I also dont see emby in top, but it is running and i can connect to it on 8096. A good way to see if emby is running is sudo service emby-server status. If its running there will be green text saying so.

Edited by tdiguy
Posted (edited)

the .deb package i believe has all the dependencies in it.. mono is no longer used and emby comes with ffmpeg now.

Just to check it out i fired up my pi, its running rasbien stretch. I uninstalled emby first. I then ran the following:

 wget https://github.com/MediaBrowser/Emby.Releases/releases/download/3.5.3.0/emby-server-deb_3.5.3.0_armhf.deb

then:

sudo dpkg -i emby-server-deb_3.5.3.0_armhf.deb

It took awhile but once completed it is running for me. Probably took 30 seconds or so for it to complete. I also dont see emby in top, but it is running and i can connect to it on 8096. A good way to see if emby is running is sudo service emby-server status. If its running there will be green text saying so.

 

Exactly what I did. Still, no luck connecting on 8096.

I'll try sudo service emby-server status and report back.

Thank you.

 

What happens when you try to run it manually?

 

Depends on what method I use. Using 'start' or 'restart' doesn't seem to help, but nor does it show any error.

Systemctl and the such actually asked for my root pass and so on, but still no luck connecting afterwards.

I'll try sudo service emby-server status and report back.

 

Thanks.

Edited by debianer
Posted

alright, after running status, this what I'm getting (the same as before)

 

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 Sat 2018-11-03 21:04:11 UTC; 2s ago
  Process: 574 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ILL)
 Main PID: 574 (code=killed, signal=ILL)

Nov 03 21:04:11 raspberrypi systemd[1]: Started Emby Server is a personal media server with apps on just about every device..
Nov 03 21:04:11 raspberrypi systemd[1]: emby-server.service: Main process exited, code=killed, status=4/ILL
Nov 03 21:04:11 raspberrypi systemd[1]: emby-server.service: Unit entered failed state.
Nov 03 21:04:11 raspberrypi systemd[1]: emby-server.service: Failed with result 'signal'.
 

and the same goes when I try to start again or restart, it fails and never loads again.

I'm on raspbian Stretch as mentioned.

Posted

What pi model and what architecture is it?

Posted

Some logs might also help. If they are in the default location it will be /var/lib/emby/logs they are all text files.

an easy way to get them onto your pc is to turn logging on in putty then ssh to the pi.

then use cat /var/lib/emby/logs/<log file name here>

then the contents of the log file will be in your putty log.

Posted

Some logs might also help. If they are in the default location it will be /var/lib/emby/logs they are all text files.

an easy way to get them onto your pc is to turn logging on in putty then ssh to the pi.

then use cat /var/lib/emby/logs/<log file name here>

then the contents of the log file will be in your putty log.

 

Unfortunately /var/lib/emby/ is empty. Not even a /logs folder

 

What pi model and what architecture is it?

 

Model B 1. Armv61

Posted

Ok so the problem is that is not armhf (armv7). Your model is just not supported at this time.

Posted

Ok so the problem is that is not armhf (armv7). Your model is just not supported at this time.

 

Oh I see. any old version that supports older arm's?

Posted

At this point we need .NET Core to support arm32 before we can move forward with armv6.

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