Jump to content

Ubuntu


Luke

Recommended Posts

For anyone on Debian and/or ubuntu maybe with a broken install after the update, I went to /var/lib/dpkg/info and did a "sudo mv emby-server.prerm ~" then I did "sudo dpkg -i /var/cache/apt/archives/emby-server_3.0.7000-69.1_all.deb" which let me roll back and fix the now broken install.  Haven't tried upgrading since moving the file.  Will wait until the Dev's unbrick it.

Link to comment
Share on other sites

hurricanehrndz

For anyone on Debian and/or ubuntu maybe with a broken install after the update, I went to /var/lib/dpkg/info and did a "sudo mv emby-server.prerm ~" then I did "sudo dpkg -i /var/cache/apt/archives/emby-server_3.0.7000-69.1_all.deb" which let me roll back and fix the now broken install. Haven't tried upgrading since moving the file. Will wait until the Dev's unbrick it.

Thank you.

 

Sent from my ONE E1005 using Tapatalk

Link to comment
Share on other sites

hurricanehrndz

I will try and fix the script soon. Unfortunately I'm away at a wedding this weekend

 

Sent from my ONE E1005 using Tapatalk

Link to comment
Share on other sites

for anyone else seeing this another post has the resolution:

 

In /var/lib/dpkg/info/emby-server.prerm, line 26 reads:

 

deb-systemd-invoke stop ${NAME}.service > 2>&1 /dev/null

 

when it should be:

 

deb-systemd-invoke stop ${NAME}.service 2>&1 /dev/null

 

After making these changes I am able to upgrade.

 
Link to comment
Share on other sites

Emby crashing constantly after .7100 update, journalctl has no logs for emby-server.service. How can I track down the cause of the crashes?

 

EDIT: from systemctl status emby-server

 

● emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; enabled; vendor preset
   Active: failed (Result: exit-code) since Fri 2016-09-16 18:28:45 MDT; 9min ago
  Process: 17978 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SU
  Process: 17851 ExecStart=/usr/bin/emby-server start (code=exited, status=134)
 Main PID: 17851 (code=exited, status=134
Edited by Delphi
Link to comment
Share on other sites

 

Emby crashing constantly after .7100 update, journalctl has no logs for emby-server.service. How can I track down the cause of the crashes?

 

EDIT: from systemctl status emby-server

 

● emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; enabled; vendor preset
   Active: failed (Result: exit-code) since Fri 2016-09-16 18:28:45 MDT; 9min ago
  Process: 17978 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SU
  Process: 17851 ExecStart=/usr/bin/emby-server start (code=exited, status=134)
 Main PID: 17851 (code=exited, status=134

 

 

How far are you getting? How long does it stay up?

Link to comment
Share on other sites

Can you offer any more detail besides that? Perhaps some sort of discussion of what you are seeing, not seeing, what you're able to do, not able to do, etc. Thanks.

Link to comment
Share on other sites

  • 3 weeks later...
jant90

Is there an issue with the Ubuntu repo or something? I can't update Emby via apt anymore.

 

I'm running Emby Server 3.0.7200.0 on Ubuntu Server 16.04 and my server dashboard reports that a new version is available (7300) but apt won't upgrade Emby. After running apt update I tried to install the latest Emby server:

~$ sudo apt install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
emby-server is already the newest version (3.1.6106.19259~dev-76.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Why is apt reporting such a strange version? And how do I fix this properly?

 

I also tried simulating a reinstall but I don't know if that will reset all Emby's settings but that fails as well:

~$ sudo apt -s --reinstall install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of emby-server is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Link to comment
Share on other sites

hurricanehrndz

There was probably an issue with tagging. I will try an reissue a release thank you.

 

Sent from my ONEPLUS A3000 using Tapatalk

Link to comment
Share on other sites

hurricanehrndz

 

Is there an issue with the Ubuntu repo or something? I can't update Emby via apt anymore.

 

I'm running Emby Server 3.0.7200.0 on Ubuntu Server 16.04 and my server dashboard reports that a new version is available (7300) but apt won't upgrade Emby. After running apt update I tried to install the latest Emby server:

~$ sudo apt install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
emby-server is already the newest version (3.1.6106.19259~dev-76.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Why is apt reporting such a strange version? And how do I fix this properly?

 

I also tried simulating a reinstall but I don't know if that will reset all Emby's settings but that fails as well:

~$ sudo apt -s --reinstall install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of emby-server is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

It seems like you somehow installed a dev version, there was an issue with tagging earlier on in the month. Please look at the following in order to downgrade the version:

http://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get

  • Like 1
Link to comment
Share on other sites

jant90

So I am running version 7200 but it was incorrectly tagged as a dev version?

 

This shows up in the logs for example:

Version: 3.0.7200.0
Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
Operating system: Unix 4.4.0.38
Processor count: 8
64-Bit OS: True
64-Bit Process: True
Program data path: /var/lib/emby-server
Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:43:57 UTC 2016)
Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe

And the dashboard shows me this:

57f381d5c1c24_Emby.png

 

Can I fix this by running:

$ sudo apt -s install emby-server=3.0.7300-79.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
  emby-server
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Inst emby-server [3.1.6106.19259~dev-76.1] (3.0.7300-79.1 home:emby:download.opensuse.org [all])
Conf emby-server (3.0.7300-79.1 home:emby:download.opensuse.org [all])

I've never used the package manager like this and I just want to make sure I won't lose any settings or anything.

Link to comment
Share on other sites

hurricanehrndz

Version 3.1.6106 was accidentally tagged as stable on github. Technically yes, I'm not sure about the database. @@Luke will know the answer to that.

 

Sent from my ONEPLUS A3000 using Tapatalk

Edited by hurricanehrndz
Link to comment
Share on other sites

Guest plexman

 

So I am running version 7200 but it was incorrectly tagged as a dev version?

 

This shows up in the logs for example:

Version: 3.0.7200.0
Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
Operating system: Unix 4.4.0.38
Processor count: 8
64-Bit OS: True
64-Bit Process: True
Program data path: /var/lib/emby-server
Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:43:57 UTC 2016)
Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe

And the dashboard shows me this:

57f381d5c1c24_Emby.png

 

Can I fix this by running:

$ sudo apt -s install emby-server=3.0.7300-79.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
  emby-server
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Inst emby-server [3.1.6106.19259~dev-76.1] (3.0.7300-79.1 home:emby:download.opensuse.org [all])
Conf emby-server (3.0.7300-79.1 home:emby:download.opensuse.org [all])

I've never used the package manager like this and I just want to make sure I won't lose any settings or anything.

 

I did it and nothing happened, just upgraded my server without any problem.

Link to comment
Share on other sites

hurricanehrndz

You were running a dev version of 7200. Not actually 7200

 

Sent from my ONEPLUS A3000 using Tapatalk

Link to comment
Share on other sites

jant90

To be honest I'm confused now.

 

Can @@Luke please confirm that I can install 7300 over my current version without database issues?

 

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...
johnnyzee99

Hi All, Enby noob and just purchased yearly subscription.

 

I'm running Ubuntu 16.04 and for the life of me I cannot upgrade the server from3.0.7200.0. I have tried all the steps and it seems not to upgrade? Is there an easy command I can try to fix this issue? Please keep me posted!

 

John

Link to comment
Share on other sites

johnnyzee99

The steps listed on the site...

 

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install emby-server

 

and I did this...

 

wget http://download.opensuse.org/repositories/home:emby/xUbuntu_16.04/Release.key
sudo apt-key add - < Release.key
sudo apt-get update
 
Link to comment
Share on other sites

hurricanehrndz

Update, updates the apt caches, it doesn't update packages. Try upgrade

 

Sent from my ONEPLUS A3000 using Tapatalk

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