Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software Logitech Media Server update fails #6992

Closed
JRK0469 opened this issue Mar 29, 2024 · 13 comments
Closed

DietPi-Software Logitech Media Server update fails #6992

JRK0469 opened this issue Mar 29, 2024 · 13 comments
Labels
Solution available 🥂 Definite solution has been done Upstream change
Milestone

Comments

@JRK0469
Copy link

JRK0469 commented Mar 29, 2024

Details:

  • Date | Fri Mar 29 11:31:12 CET 2024
  • Bug report | 39b72d2f-a406-4122-9baf-93c9a4e358d6
  • DietPi version | v9.2.1 (MichaIng/master)
  • Image creator |
  • Pre-image |
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux Pi-Homeserver 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Distro | bookworm (ID=7,RASPBIAN=0)
  • Command | curl -sSfL https://downloads.slimdevices.com/nightly/logitechmediaserver_8.3.2~1702911674_arm.deb -o logitechmediaserver_8.3.2~1702911674_arm.deb
  • Exit code | 22
  • Software title | DietPi-Software

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

curl: (22) The requested URL returned error: 404

Extra details

@MichaIng MichaIng added this to the v9.3 milestone Mar 29, 2024
@MichaIng
Copy link
Owner

MichaIng commented Mar 29, 2024

Many thanks. We'll switch to the XML on GitHub, though the old link still works when allowing redirects (missing -L flag in our curl call), being redirected and should result in the very same LMS v8.5.1 download now: https://lyrion.org/lms-server-repository/stable.xml

Ah, I see it has been renamed to "Lyrion Music Server" indeed, so it is now detached from Logitech and maintained by an independent community? So we then need to rename it in our scripts as well, though probably giving it another month to settle.

MichaIng added a commit that referenced this issue Mar 29, 2024
- DietPi-Software | Logitech Media Server: Resolved an issue where the install failed due to a changed download URL. Many thanks to @JRK0469 for reporting this issue: #6992
@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label Mar 29, 2024
@MichaIng
Copy link
Owner

Fixed with: b97891f

@JRK0469
Copy link
Author

JRK0469 commented Mar 29, 2024

Fixed with: b97891f

I have adapted “dietpi-software” on my Raspi. Everything works as usual again. Thanks.

@MichaIng
Copy link
Owner

Great, thanks for testing.

@JRK0469
Copy link
Author

JRK0469 commented Mar 29, 2024

Ah, I see it has been renamed to "Lyrion Music Server" indeed, so it is now detached from Logitech and maintained by an independent community? So we then need to rename it in our scripts as well, though probably giving it another month to settle.

mysb.com closed on March 19th. Now it continues to run independently of Logitech. Hence the new name.

@Sabb0
Copy link

Sabb0 commented Apr 3, 2024

How can one install LMS at the moment, before 9.3 is released? I tried to change the command but I have limited knowledge!

@Joulinar
Copy link
Collaborator

Joulinar commented Apr 3, 2024

You would need to switch to dev branch.

@MichaIng
Copy link
Owner

MichaIng commented Apr 3, 2024

Try this:

sed -i '/fallback_url.*slimdevices/c\local fallback_url="https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1712473975_$arch.deb"' /boot/dietpi/dietpi-software

@Sabb0
Copy link

Sabb0 commented Apr 3, 2024 via email

@Joulinar
Copy link
Collaborator

Joulinar commented Apr 8, 2024

@MichaIng
Probably we need to recheck on the fallback URL. Seems not reliable.

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing Logitech Media Server: fka. SlimServer, SqueezeboxServer, SliMP3

[FAILED] DietPi-Software | Automatic latest Logitech Media Server download URL detection failed.
[FAILED] DietPi-Software | "https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1711624004_arm.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
[FAILED] DietPi-Software | curl -sSfL https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1711624004_arm.deb -o logitechmediaserver_8.5.1~1711624004_arm.deb

Name of nightly build changed.

https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1712473975_arm.deb
https://downloads.lms-community.org/nightly/logitechmediaserver_8.5.1~1711624004_arm.deb

@MichaIng
Copy link
Owner

MichaIng commented Apr 8, 2024

They seem to remove older builds immediately, then fallback URLs have no point. But why is the auto detection not working for you? It works fine here.

@Joulinar
Copy link
Collaborator

Joulinar commented Apr 8, 2024

It was not tested on Dev branch. I just checked the fallback

@MichaIng
Copy link
Owner

MichaIng commented Apr 8, 2024

Ah no I understand the purpose, since I shared a simple workaround using the fallback URL. I just updated the command to use the new URL. Let's hope it does not change again until DietPi release, else instead the Download_Install line needs to be changed 😄.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution available 🥂 Definite solution has been done Upstream change
Projects
None yet
Development

No branches or pull requests

4 participants