Jump to content

Can't install on Ubuntu 16.04


IamMrZ

Recommended Posts

From searching the forums, it seems like I'm not the only one having trouble getting emby to install on Ubuntu. 

 

I'm one of them. System is  Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64)

 

Using 

sudo curl -f -s https://raw.githubusercontent.com/MediaBrowser/Emby.Releases/master/Server/setup.sh | sh

Get the auto-abort error discussed here: https://emby.media/community/index.php?/topic/52273-cannot-install-on-ubuntu-1710/

 

Running:

sudo apt-get -f install

Seems to complete the install. However, emby-server won't start:

XXXXXXXXXXXXX:~$ sudo service emby-server 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: enabled)
   Active: inactive (dead) (Result: core-dump) since Sat 2017-10-28 12:36:52 EDT; 18s ago
  Process: 5680 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
 Main PID: 5680 (code=dumped, signal=ABRT)

Oct 28 12:36:51 ubuntu systemd[1]: emby-server.service: Unit entered failed state.
Oct 28 12:36:51 ubuntu systemd[1]: emby-server.service: Failed with result 'core-dump'.
Oct 28 12:36:52 ubuntu systemd[1]: emby-server.service: Service hold-off time over, scheduling restart.
Oct 28 12:36:52 ubuntu systemd[1]: Stopped Emby Server is a personal media server with apps on just about every device..
Oct 28 12:36:52 ubuntu systemd[1]: emby-server.service: Start request repeated too quickly.
Oct 28 12:36:52 ubuntu systemd[1]: Failed to start Emby Server is a personal media server with apps on just about every device..

Does not appear to create any log files (I can't find any), or even a settings directory.

 

Problem persists after reboot.

 

Remove everything and try the package posted by alucryd in the thread linked to above:

sudo wget https://raw.githubusercontent.com/MediaBrowser/Emby.Releases/master/Server/setup.sh && sh setup.sh

Same problem:

● 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: inactive (dead) (Result: core-dump) since Sat 2017-10-28 12:47:36 EDT; 4s ago
  Process: 5256 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
 Main PID: 5256 (code=dumped, signal=ABRT)

Oct 28 12:47:36 ubuntu systemd[1]: emby-server.service: Unit entered failed state.
Oct 28 12:47:36 ubuntu systemd[1]: emby-server.service: Failed with result 'core-dump'.
Oct 28 12:47:36 ubuntu systemd[1]: emby-server.service: Service hold-off time over, scheduling restart.
Oct 28 12:47:36 ubuntu systemd[1]: Stopped Emby Server is a personal media server with apps on just about every device..
Oct 28 12:47:36 ubuntu systemd[1]: emby-server.service: Start request repeated too quickly.
Oct 28 12:47:36 ubuntu systemd[1]: Failed to start Emby Server is a personal media server with apps on just about every device..

Still doesn't seem to create any log files:

root@ubuntu:~# find / -name emby
/opt/emby-server/licenses/emby

root@ubuntu:~#

Now what?

Link to comment
Share on other sites

Stupid me. 

sudo apt-get remove --purge emby-server

then

sudo -s

[omitted]

curl -f -s https://raw.githubusercontent.com/MediaBrowser/Emby.Releases/master/Server/setup.sh | sh





Worked.

Link to comment
Share on other sites

mastrmind11

No worries, the sh hack really needs to be moved into a legitimate package manager.  At least before it's officially labeled stable.

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