When I connect an USB memory stick (128 GB ARCANITE) to my Raspberry Pi (Volumio 2.729 18/03/2020), quickly start the library update and after a while all the music titles are ready to be played.
If I leave the USB memory stick into the plug and I reboot the system, the music library is empty again! Furthermore, if I try to play anything else, for example a WEB Radio, the music doesn’t start.
I’ve to force a library update and then,only after the update has been finished, I can play something by the USB memory or some web radio.
I’ve already tryed with a fresh install, but I’m getting the same result.
Wondering if the problem could be related to the file system format of the USB drive (NTFS), I’ve tryed with another USB stick in FAT format, but the result is the same. The issue is still unresolved…
Yes, it works : when I click the SAVE button after a ten of seconds appears on top right of the window the message : “Configuration updated, the player has been restarted”, but I have to repeat that operation at every boot, because after the first time, at the next boot, the library seems ok, but I can’t start playing anything…
Is there a way to execute automatically that command (or another with the same result) via a bash script at boot?
Do you have by accident an RPi4 ? The problem started for me after I migrated from an RPi2 to an RPi4.
I was able to find a working ‘workaround’ (see below), but not yet a final solution.
Maybe this is something that Michelangelo could share some light on?
I noticed that:
Sometimes it boots OK and my NAS content is visible. But most of the time it is not.
NAS visible after boot --> mpd process runs as user ‘mpd’
NAS not visible after boot --> mpd process runs as user ‘root’
After manually restarting MPD (sudo systemctl restart mpd) --> mpd process runs as user ‘mpd’ --> NAS visible
My 'workaround’solution;
I changed; /etc/systemd/system/multi-user.target.wants/mpd.service, by adding a 60 seconds startup delay for mpd.
After delaying the startup of mpd: mpd is always running as user ‘mpd’ upon reboot and the NAS is always shown in the music library.
So there are clearly some ‘timing issues / race conditions’ in the startup of Volumio that becomes noticable on a RPI4.
I am a new user and installed Volumio 3 yesterday on a Raspberry Pi 3.
After a reboot , I experienced this issue today and following the instructions to save the audio output to trigger an mpd restart also fixed my issues with the library.
This is not a good start to a new product. I will probably go back to LibreElec if these kind of issues persist. I need to shut down and reopen my server on a daily basis. Not super impressed this is still an issue 2 years on.