[Pkg-mpd-maintainers] Bug#887834: Bug#887834: mpd installation fails, cannot open /var/lib/mpd/tag_cache, /run/mpd/pid

Florian Schlichting fsfs at debian.org
Thu Nov 11 15:43:00 GMT 2021


On Thu, Nov 11, 2021 at 12:49:32AM +0100, Diederik de Haas wrote:
> I'm responding to this bug as commenting out the pid_file line was the solution
> for me too, but my 'symptoms' are (a bit) different.

...

> nov 10 23:30:21 soundserver systemd[1]: Failed to start Music Player Daemon.
> 
> I found https://github.com/MusicPlayerDaemon/MPD/issues/1299 which seem to
> indicate that the first exception is expected.
> I did a "mpc rescan" both as user (me) and as root, but got
> "MPD error: Connection refused", which indicates a premission issue. So I
> checked the /run/ directory and saw that there wasn't a 'mpd' subdir.

no, the connection is refused because the port is not open because MPD
isn't running as it failed to start. That's also the reason why there is
no /run/mpd directory, in 0.23.3 this gets removed by systemd when it
gives up on starting MPD.

> I'm _assuming_ that it's the same issue, but as my symptoms are somewhat
> different, I thought I'd mention mine.
> If this is actually a different issue which should be filed separately, let me
> know and I'll do that. If you want me to run (some) tests, I can do that too.

0.23.4. which I'm uploading to unstable just now should properly fix
this issue (even without the need to comment out pid_file).

Florian



More information about the Pkg-mpd-maintainers mailing list