Issue Playing Media from Remote NFS Source (21.0-Alpha1) - RESOLVED (User Error)
#1
As 21.0 is designated as an Alpha release, are there any know issues with the NFS Client in this release?

I am writing an addon that allows me to play recordings from an old Topfield PVR via NFS as well as getting programme metadata and converting it to a format that Kodi can read.

This addon works fine with Matrix 19.5.0 but appears to be broken with 21.0-Alpha1 (on Ubuntu 20.04.1).

When I attempt playback, I get an error in the log as follows:

error <general>: NFS: Failed to mount nfs share: /mnt/hd/DataFiles (mount_cb: RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13))

However, I can manually mount the share into my Ubuntu home directory and play recordings from there when I add that directory to my list of video sources.  The Ubuntu OS seems perfectly able to mount my old PVR and access its files.

Here is my manual mount command:
sudo mount -w -o rw,nolock,vers=3 -t nfs <PVR_IP>:<PVR_PATH>  <LOCAL_PATH>

The PVR must use NFS v3 and I have ensured that the Kodi NFS client is also set to v3 from the settings screen.
Reply
#2
i think you need insecure in your etc/exports

,insecure,

check against the wiki - https://kodi.wiki/view/NFS
Reply
#3
I just tried running Kodi as root and my addon works as expected.  This is obviously a permissioning issue on my end.
Reply
#4
(2023-03-14, 07:56)jepsizofye Wrote: i think you need insecure in your etc/exports

,insecure,

check against the wiki - https://kodi.wiki/view/NFS
Thank you for your help @jepsizofye that did the trick.

My Topfields always communicate among themselves as root and on LibreElec, Kodi 19.5 also run as root.

I should have done more troubleshooting before posting. Blush
Reply
#5
right on

no worries on asking, better to ask than suffer
Reply

Logout Mark Read Team Forum Stats Members Help
Issue Playing Media from Remote NFS Source (21.0-Alpha1) - RESOLVED (User Error)0