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

When installing over LMS, Lyrion does not delete /etc/logrotate.d/logitechmediaserver #1333

Open
oreillymj opened this issue Feb 19, 2025 · 3 comments

Comments

@oreillymj
Copy link

oreillymj commented Feb 19, 2025

I did an in place upgrade from LMS to Lyrion on a headless server.
I had issues with the CPU hitting 100% causing SSH login to fail. On connecting a monitor and rebooting I saw a message saying that logroate service was failing. journalctl told me it was due to duplicate entries in lyrionmusicserver
I had to manually delete /etc/logrotate.d/logitechmediaserver to fix. Would be nice if the installer deleted this file if present to replace it lyrionmusicserver,

``
history | grep logrotate
514 sudo systemctl status logrotate
515 sudo systemctl start logrotate
516 sudo journalctl -xeu logrotate.service
517 ls -la /etc/logrotate.d/
518 rm -rf /etc/logrotate.d/logitechmediaserver
519 sudo rm -rf /etc/logrotate.d/logitechmediaserver
520 sudo systemctl start logrotate
521 sudo systemctl status logrotate
633 history | grep logrotate
slim@slimpc:~$ ls -la /etc/logrotate.d/
total 76
drwxr-xr-x 2 root root 4096 Feb 15 12:19 .
drwxr-xr-x 122 root root 12288 Feb 16 06:30 ..
-rw-r--r-- 1 root root 120 Feb 5 2024 alternatives
-rw-r--r-- 1 root root 126 Apr 22 2022 apport
-rw-r--r-- 1 root root 173 Mar 22 2024 apt
-rw-r--r-- 1 root root 91 Jan 4 2024 bootlog
-rw-r--r-- 1 root root 130 Aug 27 15:26 btmp
-rw-r--r-- 1 root root 144 Jun 5 2024 cloud-init
-rw-r--r-- 1 root root 112 Feb 5 2024 dpkg
-rw-r--r-- 1 root root 347 Dec 2 03:01 lyrionmusicserver
-rw-r--r-- 1 root root 329 Nov 30 2023 nginx
-rw-r--r-- 1 root root 248 Aug 27 15:26 rsyslog
-rw-r--r-- 1 root root 270 Aug 27 15:26 ubuntu-pro-client
-rw-r--r-- 1 root root 209 Aug 27 15:26 ufw
-rw-r--r-- 1 root root 235 Feb 12 2024 unattended-upgrades
-rw-r--r-- 1 root root 126 Feb 23 2022 vsftpd
-rw-r--r-- 1 root root 145 Aug 27 15:26 wtmp

``

System info

Lyrion Music Server Version: 9.0.1 - 1733955451 @ Thu Dec 12 03:49:16 UTC 2024
on
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-52-generic x86_64)

@michaelherger
Copy link
Member

What OS are you using? And what exact LMS version? This kind of rings a bell, and I'm wondering whether it hasn't been fixed in one of the nightlies.

@oreillymj
Copy link
Author

Added system info to the original issue description.

@michaelherger
Copy link
Member

You might get better info asking on forums.lyrion.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants