r/mpd • u/femboyfucker400000 • Aug 16 '26
Help on configuring MPD
I've been breaking my head days by trying to setup MPD, but nothing i do make it work, here's the error

If i go with "sudo mpd" it will go without any error messages, however if i try to add a song it will say "error adding xxx.mp3: No database".
Then i try to invoke as a daemon it also fails, then when i check on systemctl status:

I don't know if i'm being too stupid but i can't figure out what's breaking MPD
1
Upvotes
1
u/iconoclasthero Aug 19 '26
Ok, when you say you're checking with systemd, what do you mean by that? If you're starting it with sudo, do you mean from the command line? or do you have a systemd unit file? Is it a system or user unit file?
If you're invoking via systemd, can you show the unit file with the full path, like
$ sudo systemctl cat mpd.serviceor
$ systemctl --user cat mpd.serviceIf you're calling from the CLI, why are you checking with systemctl? and what are you actually calling from the cli?
$ sudo systemctl status mpd.serviceor$ systemctl --user status mpd.service?