This has been puzzling me for some time.
I’ve always used KODI in an openSUSE box with shares mounted on the box filesystem, so that for KODI the shared folders are seen as local. The server is another openSUSE box, serving both NFS and SMB shares.
Now, I’ve tried KODI 17 and 18 (32 bit Android) in a Fire TV stick, but KODI only see the parent folder of the NFS shares, and nothing at all of a SMB share in the same server.
At first I thought it was a problem with the stick, but I installed KODI on another openSUSE box the can mount the shares without problem, but still KODI won’t see the shares. And different from the fire TV stick, not even the parent folders.
Relevant part of KODI log is, after trying NFS and SMB:
2020-06-13 20:45:07.300 T:139760302135872 NOTICE: starting zeroconf publishing
2020-06-13 20:45:07.303 T:139758059628288 NOTICE: ES: Starting UDP Event server on port 9777
2020-06-13 20:45:07.303 T:139758059628288 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
2020-06-13 20:45:19.103 T:139760302135872 ERROR: GetDirectory - **Error getting nfs://**
2020-06-13 20:45:19.103 T:139760302135872 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://) failed
2020-06-13 20:45:25.758 T:139760302135872 ERROR: SMBDirectory->GetDirectory: **Unable to open directory : 'smb://' unix_err:'2' error : 'No such file or directory'**
2020-06-13 20:45:28.294 T:139760302135872 WARNING: CGUIWindowManager - HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2020-06-13 20:45:28.460 T:139760302135872 WARNING: Previous line repeats 1 times.
2020-06-13 20:45:28.460 T:139760302135872 ERROR: GetDirectory - **Error getting smb://**
2020-06-13 20:45:28.460 T:139760302135872 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://) failed
2020-06-13 20:45:39.898 T:139760302135872 NOTICE: Stopping player
2020-06-13 20:45:39.898 T:139760302135872 NOTICE: Storing total System Uptime
2020-06-13 20:45:39.898 T:139760302135872 NOTICE: Saving settings
2020-06-13 20:45:39.900 T:139760302135872 NOTICE: Saving skin settings
2020-06-13 20:45:39.901 T:139760302135872 NOTICE: Stopping all
However, I have KODI 16 in a W10 box, and it can access the NFS share without issues, although not the SMB due, I think, to authorization (but I’m not concerned about SMB ATM).
Some posts say it’s a problem with version 18, and 17 should be OK, so I tried both version 17 and 18 on W10 and they also work. Both version on the stick, however, didn’t work.
The SMB shares are accessible OK from VLC on android tablets and smartphones, as well as on the fire TV stick.
I’ve also temporarily tried the insecure mount option from https://forum.odroid.com/viewtopic.php?t=19359#p129286 but to no avail.
Shares have these parameters in etc/exports:
/home/blimmer/Gravados *(ro,root_squash,sync,no_subtree_check)
Most similar problems are related to NAS when switching routers with DHCP, but all devices here use fixed IP addresses, and all can ping each other and access the internet.
So, summarizing:
KODI 16/17/18 can access NFS shares from Windows.
KODI 18 can’t access NFS shares from openSUSE (this is from packman package, there is no earlier version).
KODI 17/18 can’t access NFS nor SMB shares from the stick (32 bit android packages).
KODI shows the parent directories in the stick, but not in openSUSE.
Any ideas on how the access NFS from KODI?
Thanks,
Bruno