Jump to content

Ubuntu 14.04 Emby Server Daemon Fail


Go to solution Solved by fc7,

Recommended Posts

Posted

All,

 

I have an Ubuntu 14.04 server, and about an hour ago, Emby was running just fine. I ran an update of the server "sudo apt-get update" and now emby will not start up. The Emby-server daemon fails on startup, and when i run "sudo service emby-server start" i receive this "emby-server start/running, process 2425", but i cannot get into emby from http://localhost:8096. The second time i try to start it i receive this "emby-server start/post-stop, process 2445". Did something update in Ubuntu 14.04 and cause Emby to fail?

 

Since this is a new server, I did a fresh install of Ubuntu 14.04 and reinstalled everything that I had before including Emby and still getting the same error. I do not have any new applications installed that weren't on when Emby was working, the only thing i can think of is it has something to do with the update. When the computer is starting up it says emby-server daemon [fail].

 

I am sort of new to Ubuntu, i am building a media server, so if this is something that i need to put on their forum i can do that.

 

I can post logs, but you will have to point me to where they are stored, because I am very much a beginner.

Posted

No need. This is a known issue with current Debian/Ubuntu packages that we are trying to solve. Sorry for the inconvenience. You can find more information in the forum.

 

 

Sent from my iPhone using Tapatalk

Posted

Thank you for your response. I'm sorry, but could you point to the forum that you are referring too via hyperlink, so that I may follow it?

Posted

amotto11, Check out my post

http://emby.media/community/index.php?/topic/24278-new-emby-initd-script-not-working/  for the "workaround".  Unfortunately you will have to start it manually for now, but there is a workaround that works.

I tried a couple of the "workarounds" that were listed, but none seemed to help me. I don't mean to be redundant, but could you post the exact code that you are using to start emby. I am fairly new to Ubuntu, so much of what they were talking about went right over my head.

  • Solution
Posted (edited)

From terminal run:

"sudo chmod +x /usr/lib/emby-server/emby-server.sh"

 

Then:

"/etc/init.d/emby-server start" or if it fails "sudo /etc/init.d/emby-server start"

 

Of course skip the quotes when typing the command in terminal.

Edited by fc7
  • Like 1
Posted

From terminal run: "/etc/init.d/emby-server start" or if it fails "sudo etc/init.d/emby-server start"

running with sudo worked. Thank you very much! I will start it like this from now on, until it is fixed.

curtisghanson
Posted

I just wanna throw one more thing out there. If your server reboots for whatever reason, such as a scheduled task, it will not reboot successfully. You may want to also edit the restart.sh script:

 

/usr/lib/emby-server/restart.sh

#!/bin/sh

#/usr/bin/sudo service emby-server restart
/usr/bin/sudo /etc/init.d/emby-server restart
 

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