Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version 10.0.1 / master
- Distro version: trixie 1
- Kernel version: Linux DietPi 6.12.62+rpt-rpi-v6 #1 Raspbian 1:6.12.62-1+rpt1 (2025-12-18) armv6l GNU/Linux
- Architecture armhf
- SBC model: RPi B / RPi Zero W
- Power supply used: 5A USB
- SD card used: SanDisk 16 GB
Additional Information (if applicable)
- Software title: MPD + ympd
- Fresh install
- Can this issue be replicated on a fresh installation of DietPi? Yes
← If you sent a “dietpi-bugreport”, please paste the ID here → Bug report IDPull request mpd + ympd -- ympd web says 'not authorized' / ympd logs show fail to connect by k3ninho · Pull Request #7986 · MichaIng/DietPi · GitHub
Steps to reproduce
- Install fresh MPD and ympd
- Confirm MPD OK by playing music from any other MPD client
- Attempt to control MPD via ympd’s http://diept:1337/
Expected behaviour
- YMPD’s web tool says ‘connected’ and then shows MPD library and current play queue
Actual behaviour
- YMPD Web says ‘connected’ once, then all other actions have a status block ‘not authorized’
- YMPD’s log files show
`MPD connection: no such file or directory/MPD connection failed.
Extra details
- The MPD suite is socket-activated by
systemdbut theypmd.servicefile depends onympd.serviceand notympd.socket. Changing theympd.servicedependency so that ympd service runs only after systemd has created the required/run/mpd/socketfile allows ympd to connect and control the mpd service. - I’ve made a PR for this small change.
- Thanks to the community and to Micha for this great project.