Android [Android TV] unable to add sources: error 2:share not available
#1
I have been using Kodi for about 5 years. At the beginning in a R-pi. About 6 months ago I changed to a Phillips Android TV. I installed Kodi from the play store, set it up and was running smoothly... until few days ago. I was going to reproduce a movie and it said it could'nt find the file. I start checking and Kodi was'nt beeing able to browse through the library. I have my media files in a Netgear NAS and usualy connects to it via SMB. I tried reconnecting them but didn'nt work. I checked if something changed in the NAS but everything is the same, the files are there and I can browse to them from my windows PC and my mobile.

I uninstalled Kodi from the TV and started a new instalation, but still im getting the same error when trying to get the sources. When I choose "Windows network (SMB)" i can see the volume and the first folders, when I browse inside it asks for user and password and then I get the error "Error 2:share not available" I'm sure the user and password are ok as they are the same I use from computer.

from the log files I can only see this:

Code:
OS Android 6.0.1 Api 23 Kernel 3.10.79
Kodi 17.4 aug 22/2017

16:54:16.174 T:18446744072052013360   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://NASPLANETON/Videos'
                                            unix_err:'d' error : 'Permission denied'
16:54:16.176 T:18446744072334121264   DEBUG: ------ Window Init (DialogSettings.xml) ------
16:54:16.176 T:18446744072334121264    INFO: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
16:54:16.192 T:18446744072334121264   DEBUG: CSettingsManager: requested setting (user.name) was not found.
16:54:16.192 T:18446744072334121264   DEBUG: CSettingsManager: requested setting (user.password) was not found.
16:54:16.192 T:18446744072334121264   DEBUG: CSettingsManager: requested setting (user.rememberpassword) was not found.

16:56:13.051 T:18446744071900231984   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USER:PASSWORD@NASPLANETON/Videos'
                                            unix_err:'2' error : 'No such file or directory'
16:56:13.051 T:18446744072334121264   DEBUG: ------ Window Init (DialogConfirm.xml) ------
16:56:13.051 T:18446744072334121264    INFO: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
16:56:17.429 T:18446744072334121264   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
16:56:17.631 T:18446744072334121264   DEBUG: OnKey: return (0xf00d) pressed, action is Select
16:56:17.632 T:18446744072334121264   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
16:56:17.870 T:18446744072334121264   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
16:56:17.882 T:18446744072334121264   ERROR: GetDirectory - Error getting smb://NASPLANETON/Videos/
16:56:17.882 T:18446744072334121264   ERROR: CGUIDialogFileBrowser::GetDirectory(smb://NASPLANETON/Videos/) failed
16:56:18.383 T:18446744072334121264   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:56:18.569 T:18446744072334121264   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
16:56:18.715 T:18446744072334121264   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
16:56:20.256 T:18446744072334121264   DEBUG: Keyboard: scancode: 0x04, sym: 0x0008, unicode: 0x0000, modifier: 0x0
16:56:20.459 T:18446744072334121264   DEBUG: OnKey: backspace (0xf008) pressed, action is Back
16:56:20.961 T:18446744072334121264   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:56:23.264 T:18446744072334121264   DEBUG: Keyboard: scancode: 0x04, sym: 0x0008, unicode: 0x0000, modifier: 0x0
16:56:23.264 T:18446744072334121264   DEBUG: OnKey: backspace (0xf008) pressed, action is Back
16:56:23.283 T:18446744072334121264   ERROR: GetDirectory - Error getting smb://
16:56:23.283 T:18446744072334121264   ERROR: CGUIDialogFileBrowser::GetDirectory(smb://) failed

In the log of the NAS im getting this:

Code:
Sep 03 16:56:09 NASPlanetON smbd[7564]: [2017/09/03 16:56:09.490832,  0] ../lib/util/modules.c:48(load_module)
Sep 03 16:56:09 NASPlanetON smbd[7564]:   Error loading module '/usr/lib/arm-linux-gnueabi/samba//vfs/aio_linux.so': /usr/lib/arm-linux-gnueabi/samba//vfs/aio_linux.so: cannot open shared object file: No such file or directory
Sep 03 16:56:09 NASPlanetON smbd[7564]: [2017/09/03 16:56:09.494901,  0] ../source3/smbd/vfs.c:184(vfs_init_custom)
Sep 03 16:56:09 NASPlanetON smbd[7564]:   error probing vfs module 'aio_linux': NT_STATUS_UNSUCCESSFUL
Sep 03 16:56:09 NASPlanetON smbd[7564]: [2017/09/03 16:56:09.495302,  0] ../source3/smbd/vfs.c:349(smbd_vfs_init)
Sep 03 16:56:09 NASPlanetON smbd[7564]:   smbd_vfs_init: vfs_init_custom failed for aio_linux
Sep 03 16:56:09 NASPlanetON smbd[7564]: [2017/09/03 16:56:09.495480,  0] ../source3/smbd/service.c:565(make_connection_snum)
Sep 03 16:56:09 NASPlanetON smbd[7564]:   vfs_init failed for service Videos
[/quote]
Reply
#2
Apparently this is a problem of the last OS of the Netgear NAS. I reverted to the previous version and everything is working. I hope thy fix it.
Reply

Logout Mark Read Team Forum Stats Members Help
[Android TV] unable to add sources: error 2:share not available0