Jump to content

Issues installing 3.3.1.0/2 on Ubuntu 17.10 Artful


mpearon
Go to solution Solved by mpearon,

Recommended Posts

mpearon

Hello everyone!
     I'm new to Linux, so please forgive me if I've made a stupid mistake - but I'm having an awful time getting the latest versions of Emby to install on Ubuntu 17.10 Artful.

 

Here is what happened:

     I had Emby running on 16.04 LTS, and attempted to perform an upgrade, and it went south.  I didn't pay much attention to the error, and purged the installation, and started from scratch.  That failed as well.  I then started with a fresh 17.10 image on the same hardware.  I received an error (I'll give details in a bit).  I re-installed 16.04, and ran into the same error.

Now I'm on different hardware, running into the same error.

 

1. Download X64 package from emby.media/downloads

2. Launch terminal

3. cd /home/emby/Downloads

3. sudo su

4. dpkg -i emby-server-deb_3.3.1.0_amd64.deb

 

Note: Below is actually from when I attempted to install Beta - but the results are the same.

(Reading database ... 131063 files and directories currently installed.)
Preparing to unpack emby-server-deb_3.3.1.2_amd64.deb ...
Failed to stop emby-server.service: Unit emby-server.service not loaded.
Unpacking emby-server (3.3.1.2) over (3.3.1.0) ...
Setting up emby-server (3.3.1.2) ...
usermod: user emby is currently used by process 912
dpkg: error processing package emby-server (--install):
 subprocess installed post-installation script returned error exit status 8
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-20) ...
Errors were encountered while processing:
 emby-server

That's all it gives me.  Any assistance would be greatly appreciated!

Edited by mpearon
Link to comment
Share on other sites

mastrmind11

did you stop the service and purge?  that snippet implies the old server is still running.  have you tried rebooting after the purge and installing again?

Link to comment
Share on other sites

mpearon

@@mastrmind11 - The first try was actually with a fresh image, and had the same outcome.  I accidentally copied the error from the second attempt. :|
​I'm spinning up a fresh image now, and will post the response.

Edited by mpearon
Link to comment
Share on other sites

mpearon

@@mastrmind11 - Here are my results from two fresh images of each OS version:

16.04 LTS

Issued: 

sudo su
dpkg -I emby-server-deb_3.3.1.0_amd64.deb

Return:

(Reading database ... 177255 files and directories currently installed.)
Preparing to unpack emby-server-deb_3.3.1.0_amd64.deb ...
Unpacking emby-server (3.3.1.0) ...
Setting up emby-server (3.3.1.0) ...
usermod: user emby is currently used by process 1171
dpkg: error processing package emby-server (--install):
 subprocess installed post-installation script returned error exit status 8
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 emby-server

17.10

Issued: 

sudo su
dpkg -I emby-server-deb_3.3.1.0_amd64.deb

Return:

Selecting previously unselected package emby-server.
(Reading database ... 126622 files and directories currently installed.)
Preparing to unpack emby-server-deb_3.3.1.0_amd64.deb ...
Unpacking emby-server (3.3.1.0) ...
Setting up emby-server (3.3.1.0) ...
usermod: user emby is currently used by process 969
dpkg: error processing package emby-server (--install):
 subprocess installed post-installation script returned error exit status 8
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-20) ...
Errors were encountered while processing:
 emby-server
Link to comment
Share on other sites

  • Solution
mpearon

@@mastrmind11 - Rest easy - I got it sorted. :)  As it turns out, I should have taken my hint from this bit of the return:

usermod: user emby is currently used by process 969

On a whim, I decided to change the account I logged into my machine as embysa instead of emby, then retried the installation - and it took right off.

 

​@@ebr - Maybe that is worth mentioning in the installation instructions? It appears that you can't install Emby under a user named Emby. I've found this to be true on two different versions of Ubuntu - but only with the latest releases that I've tried to install (3.3.1.0/2).

Link to comment
Share on other sites

mastrmind11

Ha, that was going to be my next question.  I wonder if this applies only to VMs or across the board.

Link to comment
Share on other sites

mpearon

@@mastrmind11 - This was originally happening on physical hardware (prompting me to spin up the virtual machines), so I don’t think it’s limited to VMs.

On the up-shot, this forced me to finally get my Hyper-V Core box sorted...so, a good day. ;)

  • Like 1
Link to comment
Share on other sites

dcrdev

On my system emby isnt even a user i can log in as, its basically a system account.

 

As it should be... the user should be created with the "r" switch, giving it a uid under 1000 i.e. system account.

 

Also the OP is then going on to run "sudo su" to install the package - so logging in as root anyway. There's literally no need to have logged in as the emby user, in the example above.

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