Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version | CORE=10, SUB=2, RC=3, branch=master
- Distro version |
TRIXIE - Kernel version | Linux DietPi 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64 GNU/Linux
- Architecture |
amd64 - SBC model | Native PC (x86 64)
- Power supply used | n/a
- SD card used | n/a
Additional Information (if applicable)
- Software title | mpd (controlled by Cantata v2.3.2 via network/ Win10 laptop
- issue began after deleting “/mnt/dietpi_userdata/.mpd_cache/db_file”
Steps to reproduce
- stop mpd
- rm /mnt/dietpi_userdata/.mpd_cache/db_file
- start mpd
Expected behaviour
- mpd should create a fresh db_file and rescan the entire music_directory defined in mpd.conf
Actual behaviour
- rescan begins (as seen by journalctl log entries), but hangs after some time
- new db_file is NOT created in /mnt/dietpi_userdata/.mpd_cache directory
Extra details
- curiously, Cantata will get mpd to play files that have been newly scanned (according to log output), but cannot play other “phantom” albums in the list (scanned from the previous network source library).
Q: where is mpd storing the results of the current ongoing rescan, such that it can retrieve this data for playback ?
mpc shows it is updating the database (and playing music)…
root@DietPi:~# mpc
Art Tatum (Zenph Studios) - Sophisticated Lady [Stereo Surround Version]
[playing] #4/27 2:07/3:20 (63%)
Updating DB (#1) ...
volume: n/a repeat: on random: off single: off consume: off
…yet the last “update: “ entry in the log was from hours ago…
root@DietPi:~# journalctl -u mpd --no-pager | grep 'update'
Apr 11 18:47:33 DietPi mpd[726]: update: added _WAV/Alan Parsons/Alan Parsons - Tales Of Mystery And Imagination D1 [1976.orig].wav
...
Apr 11 18:49:10 DietPi mpd[726]: update: added _WAV/City Boy/City Boy - Book Early [1978].wav
Apr 11 18:49:10 DietPi mpd[726]: update: added _WAV/FGTH/FGTH - Welcome To The Pleasuredome - custom (1984, cinram.CID-101).wav
Apr 11 18:49:10 DietPi mpd[726]: update: added _WAV/Harmonium/Harmonium - En Tournee D1 [1980_2006.JP.remaster].wav
Apr 11 18:49:11 DietPi mpd[726]: update: added _WAV/Harmonium/Harmonium - En Tournee D2 [1980_2006.JP.remaster].wav
root@DietPi:~#
More curiously, htop shows huge RAM usage compared to the usual consumption…
FYI: I am a rank newbie in understanding the finer points of the linux/dietpi environment. I have built this machine as a single purpose unit - to play 2-CH music files, in a HiFi listening room situation. It has worked amazingly well for 18 months.
Last week the file server died, and my attempt to substitute an alternate (subset) music source, over the network, has not yet been 100% successful (evidenced by this post for help
).
Any ideas/ directions would be greatly appreciated.
Thanks so much,
Grant


