Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
I'm using moOde 5.2 2019-05-07 and I have three NFS List of configured NAS sources, specifically;
Lossless (192.168.1.64)
Pre-Staging (192.168.1.64)
Vetting (192.168.1.64)
Yet in my Library only Lossless appears.
Is this a known issue, let me know how I can help provide more info.
Cheers
Posts: 13,424
Threads: 304
Joined: Mar 2018
Reputation:
545
Are there any errors in moOde log or MPD log?
moodeutl -l
cat /var/log/mpd/log
Also try looking at the System info report for errors.
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
Sorry for the slow response, I didn't have email notifications enabled. I do now.
I think the issue might be they aren't actually 3 NFS shares, they are one NFS share and I'm trying to link sub-folders, eg. The share is actually just 192.168.1.64/Audio but there are many directores there I want to ignore, so I'm trying to link like so:
192.168.1.64/Audio/Lossless
192.168.1.64/Audio/Vetting
192.168.1.64/Audio/Pre-Staging
Any thoughts on this?
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
Okay, so continuing this. I found that actually I had made the Lossless one an SMB connection. The other two are NFS, when checking the logs there was nothing, but if I become a mpd user (sudo su mpd) then I found permission issues: see
$ ls -l /var/lib/mpd/music/NAS/Vetting/
ls: cannot open directory '/var/lib/mpd/music/NAS/Vetting/': Permission denied
$ ls -l /var/lib/mpd/music/NAS/
total 352
drwxrwxrwx 2 root root 0 Jun 14 22:34 Lossless
drwxrwx---+ 44 pi pi 4096 Jun 21 14:10 Pre-Staging
drwxrwx---+ 3883 pi pi 344064 Jun 21 14:10 Vetting
I am also unable to delete these from the Library, it says they are deleted but just doesn't and fails to reconnect without restarting services. Is there a way I can manually delete these entries?
Posts: 13,424
Threads: 304
Joined: Mar 2018
Reputation:
545
Do you mean you are unable to remove the entries from the NAS Config screen?
What version of moOde?
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
Okay, so an update. I installed a new image now and started fresh. I added the 3 audio links as NFS this time. When trying to index them I get the following:
$ tail -f /var/log/mpd/log
Jun 26 22:27 : exception: Failed to open /var/lib/mpd/music/NAS/Lossless: Permission denied
Jun 26 22:30 : exception: Failed to open /var/lib/mpd/music/NAS/Vetting: Permission denied
Jun 26 22:31 : exception: Failed to open /var/lib/mpd/music/NAS/Pre-Staging: Permission denied
pi@moode:~ $ ls -l /var/lib/mpd/music/
total 12
lrwxrwxrwx 1 root root 8 May 10 09:00 NAS -> /mnt/NAS
pi@moode:~ $ ls -l /var/lib/mpd/music/NAS/
total 472
drwxrwx---+ 2765 pi www-data 114688 Jun 14 22:34 Lossless
drwxrwx---+ 3 pi pi 4096 Jun 25 22:35 Pre-Staging
drwxrwx---+ 3883 pi pi 344064 Jun 21 14:10 Vetting
pi@moode:~ $ ls -l /var/lib/mpd/music/NAS/Lossless/Younee/My\ Piano/1-01\ Ausflug.flac
-rwxrwx---+ 1 pi www-data 26628460 Dec 25 2017 /var/lib/mpd/music/NAS/Lossless/Younee/My Piano/1-01 Ausflug.flac
If I try as www-data it fails,
pi@moode:~ $ sudo -uwww-data ls -l /var/lib/mpd/music/NAS/Vetting/
Any thoughts?