Kodi alpha 3 NFS browsing

Hi, does anyone has troubles browsing a NFS folder on alpha 3?
I can browse just till the second level (ie: nfs://ip/folder1/foleder2).
Thank you.

This is typically a permissions issue, have you checked them?

A debug log will help us work out what’s up here.

Sorry for not providing a debug log.
Anyway, as ActionA sayd, was a permissions issue related to my Synology NAS (I had no problem browsing the same NFS subforders in XBMC).

Maybe something changed on the latest Synology firmware update (DSM 5.1-5022 Update 1)…
For now, I solved changing “insecure_locks” to “insecure” in /etc/exports.

Thank you!

I’m having the same problem with my popcorn hour. I added the insure to the exports file on the popcorn hour but when I reboot it changes it back

You need to seek support from popcorn hour for this. It’s unfortunately not an issue of OSMC.

I’m just confused why it worked with my RASPbmc and all of the other systems can connect to it except OSMC.

Can you get us a log of the attempt to access a popcornhour share?

01:59:58 T:3024011264 DEBUG: OnKey: 167 (0xa7) pressed, action is Down
01:59:59 T:3024011264 DEBUG: LIRC: Update - NEW at 171271:6c 0 KEY_DOWN_UP devinput (KEY_DOWN_UP)
02:00:00 T:3024011264 DEBUG: LIRC: Update - NEW at 172346:160 0 KEY_OK devinput (KEY_OK)
02:00:00 T:3024011264 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
02:00:00 T:2830025760 DEBUG: NFS: Context for 192.168.1.78/opt/sybhttpd/localhost.drives/SATA_DISK_26acad82-f5f9-407b-adc2-f3de210c73c61 not open - get a new context.
02:00:00 T:2830025760 ERROR: NFS: Failed to mount nfs share: /opt/sybhttpd/localhost.drives/SATA_DISK_26acad82-f5f9-407b-adc2-f3de210c73c61 (mount/mnt call failed with “RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13)”)
02:00:00 T:3024011264 ERROR: GetDirectory - Error getting nfs://192.168.1.78/opt/sybhttpd/localhost.drives/SATA_DISK_26acad82-f5f9-407b-adc2-f3de210c73c61/
02:00:00 T:3024011264 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.1.78/opt/sybhttpd/localhost.drives/SATA_DISK_26acad82-f5f9-407b-adc2-f3de210c73c61/) failed
02:00:01 T:3024011264 DEBUG: LIRC: Update - NEW at 172940:160 0 KEY_OK_UP devinput (KEY_OK_UP)

I can’t see much here aside from a permissions issue, so I’d suggest that the issue does indeed lie with the device hosting the share. You mentioned it worked on Raspbmc so I’d advise checking:

  • If you’ve applied any IP filtering
  • That you’re definitely using the right username and password.

no ip filtering… but can you please tell me where I would enter the username and password on the OSMC box?

I had a problem with OSMC not being able to connect to my NFS shares, turns out it was because OSMC connects on high numbered ports.

I hit a snag when accessing the NFS shares from OSMC…

ERROR: NFS: Failed to mount nfs share: /export/Films (mount/mnt call failed with "RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13)")

Checked the syslog on NobKitten (my server),

NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41473 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41477 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41481 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41485 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41489 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41493
I had to set the “insecure” flag on the NFS share and that little problem was solved.

The reason for setting that flag is to allow clients to connect to the server using high port numbers.

This issue was not present with Raspbmc.

Thank you for this information.

This gives me somewhere to investigate. I’ll see what the problem may be

Sam

1 Like

Hi,

Yesterday I installed OSMC alpha 4 on RaPi 2. Same problem not abble to connect to NFS share. No permission issue for sure. I have to identical LG NAS one with admin acces and the other with nobody. Worked well with RASPBMC had issue before also with the first OSMC build I tried on the RaPi 1. Tries to change root id on

Read my post above, particularly the part about “insecure flag”