After the latest update, the service failed because it is configured to run as lyrionms, but that system user did not exist:
Failed to determine credentials for user 'lyrionms'
status=217/USER
Creating the user and group fixed the first issue:
sudo groupadd --system lyrionms
sudo useradd --system \
--gid lyrionms \
--home-dir /opt/lyrionmusicserver-git \
--no-create-home \
--shell /usr/bin/nologin \
lyrionms
The service then failed because several directories were still owned by the previous lyrionmusicserver user. Changing ownership resolved this:
sudo chown -R lyrionms:lyrionms \
/opt/lyrionmusicserver-git/Logs \
/opt/lyrionmusicserver-git/cache \
/opt/lyrionmusicserver-git/prefs \
/opt/lyrionmusicserver-git/CPAN \
/opt/lyrionmusicserver-git/Plugins
After restarting the service, it started successfully and remained stable:
sudo systemctl restart lyrionmusicserver-git
systemctl is-active lyrionmusicserver-git
This appears to be an incomplete migration of the service account and directory ownership to lyrionms.
Pinned Comments
FabioLolix commented on 2025-08-11 13:25 (UTC)
The pkgbuild is maintained at https://github.com/FabioLolix/PKGBUILD
FabioLolix commented on 2025-08-11 13:25 (UTC)
Currently broken https://github.com/LMS-Community/Audio-Scan/issues/8