Error reinstalling Emby (to update)

Hi

I triede to reinstall Emby via dietpi-software reinstall 41

Got the following errors with a resulting broken install:

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing Emby: web interface media streaming server

[FAILED] DietPi-Software | Automatic latest Emby download URL detection failed.
[FAILED] DietPi-Software | "https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb" will be used as fallback, but a newer version might be available.
[FAILED] DietPi-Software | Please report this at: https://github.com/MichaIng/DietPi/issues
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb -o emby-server-deb_4.6.7.0_amd64.deb
[ INFO ] DietPi-Software | APT install for: ./emby-server-deb_4.6.7.0_amd64.deb, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
  emby-server
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
[FAILED] DietPi-Software | APT install for: ./emby-server-deb_4.6.7.0_amd64.deb
 - Command: apt-get -y --allow-change-held-packages install ./emby-server-deb_4.6.7.0_amd64.deb

#### Details:
- Date           | Sat Jun 18 23:17:21 WEST 2022
- DietPi version | v8.5.1 (MichaIng/master)
- Image creator  | DietPi Core Team
- Pre-image      | from scratch
- Hardware       | Virtual Machine (x86_64) (ID=20)
- Kernel version | `Linux PlexServer 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux`
- Distro         | bullseye (ID=6)
- Command        | `apt-get -y --allow-change-held-packages install ./emby-server-deb_4.6.7.0_amd64.deb`
- Exit code      | 100
- Software title | DietPi-Software
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
  emby-server
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.

ok looks like on latest release 4.7.3.0, Emby developer did not provide all install package for all platform as usual Release 4.7.3.0 · MediaBrowser/Emby.Releases · GitHub

Something we would need to wait on Emby developer to fix this.

Anyway, your installation was falling back to an older version. However this could not be installed as your installed version is already newer. Nothing to worry about. Juts wait until Emby guys will provide a new release will packages.

From our side we will update the fallback URL to point to latest packages available.

OK. As I’m running now as a VM on proxmox I just rolled back. Saved the /var/lib/emby folder before and after restore copied it back, so not to loose the play states.

usually there should be no change happen on your Emby installation as the package was not installed at all.

Yes but in this case the installation was left broken, i.e. Emby did no longer start…

usually we will stop all services before an installation happen. However, as the installation did not succeed, the service was not restarted. Did you tried to restart?

I did a reboot… Something was broken.

ok, but probably we will not find out anymore I guess.

Unfortunately not. VM rollback…
Couldn’t risk users getting angry :wink:

ok Emby guys created all packages now Release 4.7.3.0 · MediaBrowser/Emby.Releases · GitHub

PR to update fallback URL DietPi-Software | Emby by Joulinar · Pull Request #5568 · MichaIng/DietPi · GitHub

1 Like

Thx for the info. Did the update, finished without issues!