Mopidy can't start mpd unless run with sudo?


I just installed Mopidy on Raspbian Jessie. It seems to work ok, however when I just start it as the pi user, or start it as a service, I get this error:
ERROR Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno -2] Name or service not known

When I use ‘sudo mopidy’ to start it the error does not appear, and I can connect to mpd. Do I need to set some rights for mpd differently so the pi or mopidy users can start it?


This may be a bug? The solution was to set hostname = ::

1 Like