Upgrade Emby on Asus Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
desidivo
Posts: 2
Joined: Thu May 02, 2019 2:40 pm

Upgrade Emby on Asus

Post by desidivo »

I am longtime raspberry pi user (have a nice cluster with 5 pi's doing everything from VPN to pinhole) and tried DietPi a few months ago for Emby. I was blown away with DietPi and how well it worked (even got a few family members to use it instead). I am in the process of moving all my raspian Pi's to DietPi.

After looking at the hardware options, I decided to try the ASUS tinker board (micro center had one at the local store) for its faster network and higher performance. I install Emby (using DietPi-Software to install and everything is working well. Today I saw that a new version of Emby server 4.1.1.0 is available. I did dietpi-update but it did not update Emby server software.

Before I go and try to manually update, I have a few questions.

1) How often or when is optimized software updated?
2) What is the best way to update optimized software?
3) Is there a correct way to manually update optimized software?

Thanks for the help and keep up the great work.
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Upgrade Emby on Asus

Post by MichaIng »

DietPi-Update usually does not update software titles. Of course APT upgrade is done, so all software that was installed via APT is updated by this. In rare cases, when we do relevant changes to certain software titles, important fixes or upgrades, we force a dietpi-software reinstall <ID1> <ID2> ... for them. E.g. DietPi v6.23 will upgrade all PHP versions to PHP7.3 (ownCloud users to PHP7.2). But this is very rare for one specific title. All software titles that offer an internal updater (e.g. ownCloud, Nextcloud, phpBB and some others), are never updated but skipped even by dietpi-software reinstall, but only some targeted configurations are done in case. This is important as in this cases the internal updater does relevant backups and migrates databases to a new scheme and such. When radically overriding old code with new one, it could break functionality if the database scheme is not migrated accordingly. In other cases new code is downloaded, python pip is run or such to update the code. In case of Emby Server we install it via the official deb packages. dietpi-software reinstall 41 will redo this so upgrade to Emby 4.1. Or you download the related package manually (https://github.com/MediaBrowser/Emby.Releases/releases) and install it via: dpkg -i

Generally you can always update software manually. As said in case an internal updater is available you even should use it! dietpi-software reinstall will upgrade most titles as well, but since dependencies are reinstalled as well, it might be an overkill/overhead. And in some cases you might need to revert custom settings changes, although settings file backups are always done.

A general always true method does not exist due to the vast differences in how different software titles need to be installed: APT, manual DPKG, Git clone, manual download if code, Python pip, official installer scripts and and and ;).
desidivo
Posts: 2
Joined: Thu May 02, 2019 2:40 pm

Re: Upgrade Emby on Asus

Post by desidivo »

Thanks. I did the reinstall and it worked great.

You guys rock.
Post Reply