After I’m running “mpc update” command showing “MPD error: No database” error message.
The output of systemctl status mpd, which is running:
Apr 23 06:42:10 nimendra systemd[1]: Starting Music Player Daemon...
Apr 23 06:42:21 nimendra mpd[636]: Ignoring the 'pid_file' setting in systemd mode
Apr 23 06:42:21 nimendra mpd[636]: decoder: Decoder plugin 'wildmidi' is unavailable: configurati>
Apr 23 06:42:21 nimendra mpd[636]: config: Found database setting without music_directory - disab>
Apr 23 06:42:21 nimendra mpd[636]: output: No 'audio_output' defined in config file
Apr 23 06:42:22 nimendra mpd[636]: output: Successfully detected a alsa audio device
Apr 23 06:42:22 nimendra mpd[636]: zeroconf: No global port, disabling zeroconf
Apr 23 06:42:22 nimendra systemd[1]: Started Music Player Daemon.
My mpd.conf
db_file "~/.config/mpd/database"
log_file "syslog"
music_directory "/home/nimendra/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/share/mpd/pid"
state_file "~/.config/share/mpd/state"
sticker_file "~/.config/share/mpd/sticker.sql"
auto_update "yes"
auto_update_depth "0"
bind_to_address "127.0.0.1"
#bind_to_address "~/.config/mpd/socket"
port "6600"
follow_inside_symlinks "yes"
restore_paused "yes"
audio_output {
type "pulse"
name "pulse audio"
}
I found the same issue here. But solution not explained.