Jump to content

Updating to latest emby on CentOS 7


Recommended Posts

altramarine
Posted

Hi guys,

 

Emby has been running so pretty darn well, I've been neglecting to update it.

I am running:

 

Emby 3.3.1.0

CentOS 7.5.1804

 

Seeing that yum update no longer picks up the latest rpm, do I have to manually install it over my existing installation?

If so, any precautions I should be taking?

 

Many thanks!

altramarine
Posted

Thanks for the speedy reply and options Luke.

Cheers!

altramarine
Posted (edited)

It sounds like you're running our legacy install package. What you can do is follow this procedure here to update it:

 

https://emby.media/community/index.php?/topic/58613-question-about-my-32-bit-upgrade/?p=574032

 

You can also consider our new install package that we have on the website, but this will require a fresh installation, meaning, a full installation and purge of your current setup. thanks.

Luke, If I choose to go with a fresh install, would a backup plugin come into play for restoring all the settings? It'd be a mess re-creating everything from scratch.

Thanks

Edited by altramarine
  • 4 weeks later...
altramarine
Posted (edited)

Sorry to resurrect this once more @Luke

I opted to have the newest package installed instead of upgrade.

Is there a documented way to "uninstall" legacy emby properly? I cannot uninstall in CentOS I dont think.

 

 

Many many thanks!

Edited by altramarine
altramarine
Posted (edited)

Alright,

 

I removed the legacy package:

yum remove emby-server

removed the emby-server legacy folders:

/var/lib/emby-server
/opt/emby-server

Installed the latest package:

yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm

but received an error upon completion:

Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : emby-server-3.4.1.0-1.x86_64                                                                       1/1
usermod: no changes
chmod: cannot access ‘/var/lib/emby’: No such file or directory
chown: cannot access ‘/var/lib/emby’: No such file or directory
  Verifying  : emby-server-3.4.1.0-1.x86_64                                                                       1/1

Installed:
  emby-server.x86_64 0:3.4.1.0-1                                                                                      

Complete!

/var/lib does not have the emby folder there and clearly /etc/emby-server.conf is looking for that folder. How come it doesn't get created during package install?

 

What am I doing wrong?

 

Thanks,
 

Edited by altramarine
altramarine
Posted (edited)

an update,

 

I had to change ownership of the folder to emby user instead of root:

sudo chown -R emby:emby /opt/emby-server

I then was able to launch the emby server: ./emby-server in /opt/emby-server/bin which created the /var/lib/emby folder

 

I then had to change the owner of that folder as well to emby user

sudo chown -R emby:emby /var/lib/emby

Started the emby service with no errors this time:

sudo systemctl start emby-server

After that I was able to connect to http port 8096 on another client, install the backup plugin and restore to latest backup.

Most of the settings got restored minus the obvious cached art and plugins that I have to re-do.

 

Let's see how well it works.

Edited by altramarine
Posted

Thanks for the feedback !

  • Like 1
  • 1 month later...
altramarine
Posted (edited)

Sorry to revive this one more time.

yum update doesnt pick up the new version 3.5

Is the repo still valid?

[home_emby]
name=emby's Home Project (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/emby/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/emby/CentOS_7//repodata/repomd.xml.key
enabled=1
Update:As far as I understand Opensuse repo is now legacy and probably why yum update no longer works.Is it the intention to install it from the rpm manually from now on?
Edited by altramarine
Posted

yes that's correct.

  • Like 1
altramarine
Posted

Thanks Luke, as usual!

Posted

I think I have the very same issue (Centos 7, Emby 3.3.1 upgrade completes but won't start).

 

I will follow the process altramarine has outlined but I'm just wondering why I can't do this via 'yum  update' any more? It was a fairly regular part of my process and straightforward.

 

Which repos are no longer needed if 'yum' isn't managing the process any more?

 

Thanks.

Posted

I cant update . What do I need to do

Posted
 

Installed size: 21 M

Is this ok [y/d/N]: y

Downloading packages:

No Presto metadata available for home_emby
Posted (edited)

End Of Life?

Edited by Akilian
Posted

The fix after wget

 

rpm -ivh --replacepkgs emby-server-rpm_3.5.1.0_x86_64.rpm
Posted

I think I have the very same issue (Centos 7, Emby 3.3.1 upgrade completes but won't start).

 

I will follow the process altramarine has outlined but I'm just wondering why I can't do this via 'yum  update' any more? It was a fairly regular part of my process and straightforward.

 

Which repos are no longer needed if 'yum' isn't managing the process any more?

 

Thanks.

Hi, it looks like you've opened a separate topic, so we'll help you there. Thanks !

Posted

 

The fix after wget

 

rpm -ivh --replacepkgs emby-server-rpm_3.5.1.0_x86_64.rpm

 

 

Thanks for the info !

  • 1 month later...
Posted

Hi

is there a centos repo for beta and stable pkgs? I install/manage my hosts with spacewalk and it would be nice to get the last pkgs automaticly...

 

Greetz

Posted

Hi, not at this time but it's likely that we'll setup a repo in the future. Thanks.

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