So, Volumio was working great for me up until the last update. The first problem I encountered is the CIFS mount version defaulting to 3.0, and my NAS not having that version enabled. I finally fixed that by enabling 3.0 on my NAS, and I can now mount my network file share.
The next problem I have is that it will not scan my whole library. I only have about 7K songs, and the scan process starts, but never finishes. It will start, I will see things start to appear in my library, but then after a while during the scan process, my library will go blank. Also, during the scan process in my music settings, I will see the numbers of artists/albums/songs gradually tick upwards, then everything will report zero and stay at zero.
Once the blank/zero problem happens, my library will be empty. I am also unable to browse anything, as Browse/Music Library just shows a blank page.
For fun, I decided to try putting my music library on a thumb-drive, to see if it was a problem with my network. I have exactly the same problem… it will start scanning my music on USB, then crash, report zero, and show a blank library.
I can still play muisc via the media server on my NAS, but I cannot get Volumio to build a library. I have tried re-imaging my MicroSD card and starting fresh a couple time, and always the same result.
OK, I ran journalctl via an SSH session while it happened, this is what the output shows when it fails:
...
Apr 09 23:00:07 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
Apr 09 23:00:08 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: networkfs , listShares
Apr 09 23:00:11 volumio systemd[1]: mpd.service: main process exited, code=killed, status=11/SEGV
Apr 09 23:00:11 volumio systemd[1]: Unit mpd.service entered failed state.
Apr 09 23:00:11 volumio volumio[869]: error: Upnp client error: Error: This socket has been ended by the other party
Apr 09 23:00:11 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
Apr 09 23:00:11 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:11 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:11 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:15 volumio kernel: Voltage normalised (0x00000000)
Apr 09 23:00:15 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
Apr 09 23:00:15 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:15 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:15 volumio volumio[869]: error: MPD error: Error: This socket has been ended by the other party
Apr 09 23:00:16 volumio systemd[1]: Starting Music Player Daemon...
Apr 09 23:00:19 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
Apr 09 23:00:21 volumio kernel: Under-voltage detected! (0x00050005)
Apr 09 23:00:23 volumio volumio[869]: info: CoreCommandRouter::executeOnPlugin: mpd , getMyCollectionStats
Apr 09 23:00:25 volumio kernel: Voltage normalised (0x00000000)
Apr 09 23:00:38 volumio systemd[1]: Started Music Player Daemon.
...
I am not familiar enough with Raspberry Pi, are those voltage messages normal? Part of the problem?
OK, I have done some more troubleshooting. I replaced the power supply, I am no longer getting the low voltage error. I also turned-off the media server on my NAS to eliminate that as a variable (I thought it might be trying to scan the media server, which is why it was getting socket errors?)
I am getting the problem consistently, and it is happening when it gets to the 81st artist in my NAS collection. Could there be a file issue, that is causing mpd to crash? Here is another log message from journalctl, with a little more info:
Since upgrade to 2.389 , I have a similar trouble that I am unable to reach music on the USB drive ( plugged since 1,5 year on my RPi3 where I put all my music) .
As well : I changed PSU and plug it in another place in home and got the same.
I also tested with another USB and test on other USB ports : no progress
I also tested the USB disk on other devices ( TV, PC, Xbox,… ) : no issue