Solved NFS is empty
#1
Hi,

I'm having troubles with Kodi's NFS connector.

If I mount manually the volume (through the terminal), I have no issue. I access files, rights are fine. Kodi can even scan and play them.
If I ask Kodi to mount it, it fails. My server is found (192.168.0.100) but is always empty. (loading, then nothing)

I'm using KODI on a raspberry pi 3. Tried ISOs from OSMC, LibreElec and RetroPi.
The server is a simple Fedora Server.

Why I'm not satisfied with the idea to mount manually ?
Because I think KODI would better manage disconnections. (never know, no need to reboot)
And I'm having lags, time to time. As if KODI did not cache enough, thinking the file is a local file. (just a guess, wanted to verify)

So, would anyone have an idea of why I can't access my NFS server through KODI ?

Regards,
LeNouveau
Reply
#2
Upload a link to a full debug log (wiki) that covers the period when you try to access your NFS share. Also post the contents of your /etc/exports file from your server.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#3
NFSv3 or NFSv4?  I believe libnfs (which K uses) only supports v3.  Are you able to access the NFS share mounted manually as root, your user, and an unprivileged user if kodi is running as one?
Need help programming a Streamzap remote?
Reply
#4
(2018-11-20, 23:01)graysky Wrote: NFSv3 or NFSv4?  I believe libnfs (which K uses) only supports v3.  Are you able to access the NFS share mounted manually as root, your user, and an unprivileged user if kodi is running as one?
 My Ubuntu based server is running NFSv4 and all of my Kodi instances work just fine with it.
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL
Reply
#5
Hi,

Thx @Milhouse for the link.
I was able to get some logs.
Useful part was :
logs:

19:41:55.029 T:1757160192   DEBUG: BUTTON [ 0 ] on "Wireless Controller" pressed
19:41:55.029 T:1757160192   DEBUG: FEATURE [ a ] on game.controller.default pressed
19:41:55.050 T:1911402496   ERROR: GetDirectory - Error getting nfs://192.168.0.100/
19:41:55.050 T:1911402496   ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.0.100/) failed
19:41:55.128 T:1757160192   DEBUG: BUTTON [ 0 ] on "Wireless Controller" released
19:41:55.128 T:1757160192   DEBUG: FEATURE [ a ] on game.controller.default released
19:41:55.259 T:1321882368   ERROR: Unable to lookup host: ''
19:41:55.551 T:1911402496   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:41:58.440 T:1911402496   DEBUG: ------ Window Deinit (DialogBusy.xml) ------

From what I understood, my problem is link to my server's firewall, blocking rpc requests.
Kodi and `mount` does not work the same way. No idea if it is linked to the NFS version, @graysky.

My `/etc/exports` is pretty simple :
Code:

/mnt/data/movies 192.168.0.0/24(ro)
/mnt/data/series 192.168.0.0/24(ro)

I'm running Fedora release 27 (Twenty Seven), with firewalld active.
I have to admit, I did not have time to look further, so my solution, for the moment, is :
bash:

# firewall-cmd --permanent --zone=trusted --add-source=192.168.0.0/24
success
# firewall-cmd --reload
success

Now, I'll watch movies, to check if I still have lags.

Thx all.
Reply

Logout Mark Read Team Forum Stats Members Help
NFS is empty0