Closed seth-hoisington closed 6 months ago
Who's the owner of /var/lib/snapserver/server.json
?
If you had previously installed snapcast from the official debian repo then it will use a different user as the packages provides in this repo. (user snapcast
vs snapcast_
).
You can apt purge snapserver
to not only uninstall snapserver, but also remove all configuration files and do a clean install after purging.
Who's the owner of
/var/lib/snapserver/server.json
? If you had previously installed snapcast from the official debian repo then it will use a different user as the packages provides in this repo. (usersnapcast
vssnapcast_
). You canapt purge snapserver
to not only uninstall snapserver, but also remove all configuration files and do a clean install after purging.
Thanks for the quick reply. This worked! Thank you for all the work you do!
Hello! I have been trying to install Snapserver on my Raspberry pi 400 for 3 days now. I am faced with the same problem every time. `× snapserver.service - Snapcast server Loaded: loaded (/lib/systemd/system/snapserver.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Mon 2024-07-08 17:02:41 BST; 13min ago Duration: 28ms Docs: man:snapserver(1) Process: 1865 ExecStart=/usr/bin/snapserver --logging.sink=system --server.datadir=${HOME} $SNAPSERVER_OPTS (code=exited, status=1/FAILURE) Main PID: 1865 (code=exited, status=1/FAILURE) CPU: 27ms
Jul 08 17:02:41 raspberrypi systemd[1]: snapserver.service: Scheduled restart job, restart counter is at 5. Jul 08 17:02:41 raspberrypi systemd[1]: Stopped snapserver.service - Snapcast server. Jul 08 17:02:41 raspberrypi systemd[1]: snapserver.service: Start request repeated too quickly. Jul 08 17:02:41 raspberrypi systemd[1]: snapserver.service: Failed with result 'exit-code'. Jul 08 17:02:41 raspberrypi systemd[1]: Failed to start snapserver.service - Snapcast server. ` I also reinstalled the system, but it didn't help. I installed mopids, pulse audio and the latest version of the server. Ultimately, I want to install snapclient on the same device so that it can connect to the Bluetooth speaker. Help, please...
Hi,
I am getting an error which causes the snapserver systemd service to crash. I am running Raspbian Bookworm (up to date as of 5/2/2024) on a Raspberry Pi 5. I have looked into past issues, but unlike those issues, it seems that my user/group permissions are correct. Snapserver works when I run
sudo snapserver
, but the service stubbornly refuses to afford me the same courtesy. Here are my logs:Systemctl status (
sudo systemctl status snapserver
):Error message in systemd journal (
sudo journalctl -u snapserver
):Systemd unit file:
Unit file permissions (
ls -l /var/lib/snapserver/server.json
):Configs:
/etc/default/snapserver
:/etc/snapserver.conf
: