Page 1 of 1

NFS mount

PostPosted: Tue Jun 16, 2020 6:49 pm
by mcyzyk
All,

I've mounted my music via NFS to:

/mnt/Music

From the command-line, I can see/browse my music just fine.

However, when I put /mnt/Music as my Media Folder in Subsonic, and click Save, I get an error message:

[quote]Folder not found[/quote]

Not sure why it's not seeing it. Advice please!

(I already tried and tried the Samba route, with no joy.)

Best regards,

Mark

Re: NFS mount

PostPosted: Tue Jun 16, 2020 9:52 pm
by G8DHE
It usually comes down to the wrong access rights for the account subsonic is running under!

Re: NFS mount

PostPosted: Wed Jun 17, 2020 2:36 pm
by mcyzyk
Oh I dream of a Land where "Folder Not Found" means the folder is not found, and where if the error is due to permissions the error message says something like: "Permissions error"!

In other news, should I not be able to connect to a Samba share in Subsonic like so?:

\\192.168.1.99\Music

Getting the same "Folder Not Found" error.

Best regards,

Mark

Re: NFS mount

PostPosted: Thu Jun 18, 2020 6:13 pm
by mcyzyk
Yep, was a Permissions Issue! Subsonic was running as Root. Changed it to "Pi" and now my NFS share is properly mounted.

FYI, here is my NFS /etc/exports file:

/home/username/Music *(ro,sync,all_squash,insecure,no_subtree_check)

And here is the /etc/fstab entry on my client machine:

192.168.1.99:/ /mnt/Music nfs4 noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0

Re: NFS mount

PostPosted: Thu Jun 18, 2020 9:41 pm
by G8DHE
:-)