Moode Forum
NFS issues - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: NFS issues (/showthread.php?tid=1392)



NFS issues - Bedlore - 05-16-2019

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


RE: NFS issues - Tim Curtis - 05-16-2019

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.


RE: NFS issues - TheOldPresbyope - 05-16-2019

(05-16-2019, 05:35 AM)Bedlore Wrote: 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

There's nothing special about exporting (aka sharing) more than one directory from a single NFS server or mounting more than one directory from one. I have a moOde player working off two NFS shares and two SMB shares from the same server just as a test of such things.

NFS can be a pain. My guess is you have a permissions problem. Let's see what Tim's suggestion turns up.

Regards,
Kent


RE: NFS issues - Bedlore - 05-31-2019

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?


RE: NFS issues - Tim Curtis - 05-31-2019

What does MPD log show?


RE: NFS issues - Bedlore - 06-22-2019

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?


RE: NFS issues - Tim Curtis - 06-22-2019

Do you mean you are unable to remove the entries from the NAS Config screen?
What version of moOde?


RE: NFS issues - Bedlore - 06-23-2019

(06-22-2019, 12:56 PM)Tim Curtis Wrote: Do you mean you are unable to remove the entries from the NAS Config screen?
What version of moOde?

Its running Kernel 4.19.49-v7+, Raspbian 9.6, moOde 5.3.1 2019-06-12 but not behaving well at all, I think I should probably burn a new image and start from scratch, something in its borked and I can't identify what.


RE: NFS issues - Bedlore - 06-26-2019

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?