Did you mount the drive with those permissions? Or did you randomly set those permissions on the mountpoint? Does the drive format support unix file permissions? Mopidy’ as a service run as the user mopidy
and needs to be able to read the contents of the directory you have asked it to scan. I don’t want to debug how to correctly mount a drive in Linux, can you please make sure the mopidy
user can access all the files, A really simple test of that would be:
sudo -su mopidy ls /media/pi/cc92a1a1-8050-46a9-a53e-86407efe3058/
I have modified the entry in ~/.config/user-dirs.dirs XDG_MUSIC_DIR=“/media/pi/cc92a1a1-8050-46a9-a53e-86407efe3058”
OK, but this won’t help when running Mopidy as a service.
[local]
media_dir = /media/pi/cc92a1a1-8050-46a9-a53e-86407efe3058
This looks fine.
[file]
media_dirs = ??? ← I would put in $XDG_MUSIC_DIR do I need |Music and ~/|Home
I wouldn’t. If I was already using the Local backend I wouldn’t also use the File backend for the same music. What benefit would that provide? If I did want to do that for some reason then I would set
media_dirs = /media/pi/cc92a1a1-8050-46a9-a53e-86407efe3058
You did? Where? Why? That error suggests the mopidy
user does not have permission to read the files on your mounted drive. You need to fix that as already mentioned above.
That command is for when you are not running Mopidy as a service. You could read about that here Running in a terminal — Mopidy 3.4.2 documentation