Jump to content

CentOS 7 : Upgrade from 3.3 to 3.4


Go to solution Solved by Guest Arg,

Recommended Posts

Posted (edited)

Hi,

 

I have just upgraded my emby server but it doesn't start anymore.

 

I noticed it wasn't updating automatically to the new version, so I did :

$ yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.4.1.0/emby-server-rpm_3.4.1.0_x86_64.rpm
Loaded plugins: fastestmirror
emby-server-rpm_3.4.1.0_x86_64.rpm                                                                                                           |  55 MB  00:00:03     
Examining /var/tmp/yum-root-xC7bY2/emby-server-rpm_3.4.1.0_x86_64.rpm: emby-server-3.4.1.0-1.x86_64
Marking /var/tmp/yum-root-xC7bY2/emby-server-rpm_3.4.1.0_x86_64.rpm as an update to emby-server-3.3.1.0-68.1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package emby-server.x86_64 0:3.3.1.0-68.1 will be updated
---> Package emby-server.x86_64 0:3.4.1.0-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================
 Package                             Arch                           Version                           Repository                                               Size
====================================================================================================================================================================
Updating:
 emby-server                         x86_64                         3.4.1.0-1                         /emby-server-rpm_3.4.1.0_x86_64                         179 M

Transaction Summary
====================================================================================================================================================================
Upgrade  1 Package

Total size: 179 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : emby-server-3.4.1.0-1.x86_64                                                                                                                     1/2 
Warning: emby-server.service changed on disk. Run 'systemctl daemon-reload' to reload units.
  Cleanup    : emby-server-3.3.1.0-68.1.x86_64                                                                                                                  2/2 
usermod: cannot rename directory /var/lib/emby-server to /var/lib/emby
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/2 
  Verifying  : emby-server-3.3.1.0-68.1.x86_64                                                                                                                  2/2 

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

These error messages didn't look good. It seems that some directories changed of name. I restarted emby-server, but nothing happened...

 

After having a look at the forum, I tried symlinking the /var/lib/emby-server to /var/lib/emby but it didn't solve the issue

$ sudo  ln -s /var/lib/emby /var/lib/emby-server
$ sudo service emby-server restart
$ ps -e | grep emby

But it's still not running ...

 

EDIT : I have done a yum downgrade to the 3.3 and it works again

Edited by Arg
  • 2 weeks later...
Posted (edited)

Please see posts #3 and #4 here for instructions on how to manually update:

 

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

 

Sorry, I don't get it...

 

There is no such thing as purge on CentOS. I removed the old version of Emby, installed the new one : same problem. Should I delete manually the /var/lib/emby-server before the installation then ?

 

Or do you mean I shouldn't use that rpm from my example ? But a tarball ? Where could I find this new installer ?

Edited by Arg
Posted

Sorry, I don't get it...

 

There is no such thing as purge on CentOS. I removed the old version of Emby, installed the new one : same problem. Should I delete manually the /var/lib/emby-server before the installation then ?

 

Or do you mean I shouldn't use that rpm from my example ? But a tarball ? Where could I find this new installer ?

 

The link i have you is a manual update. You won't need to purge or uninstall anything. Does this help?

Posted (edited)

The link i have you is a manual update. You won't need to purge or uninstall anything. Does this help?

 

Well, the link you gave me is about some Debian user who has some issues with CoverArt.

 

He mentions how he updated mono manually and gives the link of a debian repo for Emby called Debian_Next

 

I still don't understand how to do the manual upgrade on CentOS... Is it a tar.gz that I should download somewhere on this Debian_Next repo ?

 

EDIT : OK what I thought to be a .tar.gz with Mono is in fact Emby Server.

Edited by Arg
Posted

You used the emby.mono.zip file right?

  • 1 month later...
  • Solution
Posted (edited)

I've done :

yum remove emby-server
ln -s /var/lib/emby-server /var/lib/emby
yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.5.0.0/emby-server-rpm_3.5.0.0_x86_64.rpm

EDIT : It seems emby is unable to scan the library anymore and I've lost all the manually downloaded covers.

 

EDIT 2 : That was because I moved the emby-server folder instead of symlinking it. Now it works but I hope the next updates will be easier to manage.

Edited by Arg

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