SAMBA accessibility issue after reboot ( few mns )

  • Hello I have an issue with me samba connexion just after a reboot : I have several samba share available on libreelec, that are working correctly usually. But after a libreelec reboot, the share are not longer available during few minutes ( error message, invalide argument, then counld't connect to the network server.

    my tests :

    i've assigned a static @IP to libreelec in DHCP -> issue still there

    tried to ping the libreelec from samba during the few minutes when the issue is occuring. --> issue still there

    do you have any clue on what's happening?

  • Hello,

    Hereafter the kodi logs, when access to samba share is not working

    11:55:14.642 T:548298141696 DEBUG: Previous line repeats 1 times.

    11:55:14.642 T:548298141696 DEBUG: OnKey: return (0xf00d) pressed, action is Select

    11:55:14.642 T:548298141696 DEBUG: CGUIMediaWindow::GetDirectory (smb://DEBIAN/CLIPS/)

    11:55:14.643 T:548298141696 DEBUG: ParentPath = [sources://video/]

    11:55:14.703 T:547499274464 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@DEBIAN/CLIPS'

    unix_err:'16' error : 'Invalid argument'

    11:55:14.703 T:548298141696 DEBUG: ------ Window Init (DialogConfirm.xml) ------

    11:55:15.827 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    11:55:15.977 T:548298141696 DEBUG: OnKey: return (0xf00d) pressed, action is Select

    11:55:15.977 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    11:55:16.227 T:548298141696 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------

    11:55:16.227 T:548298141696 ERROR: GetDirectory - Error getting smb://DEBIAN/CLIPS/

    11:55:16.228 T:548298141696 ERROR: CGUIMediaWindow::GetDirectory(smb://DEBIAN/CLIPS/) failed

    11:55:16.228 T:548298141696 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)

    11:55:16.228 T:548298141696 DEBUG: ParentPath = []

    11:55:16.239 T:545997713632 DEBUG: Thread BackgroundLoader start, auto delete: false

    11:55:16.245 T:548298141696 DEBUG: ------ Window Init (DialogConfirm.xml) ------

    11:55:16.254 T:545997713632 DEBUG: Thread BackgroundLoader 545997713632 terminating

    11:55:17.112 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    11:55:17.310 T:548298141696 DEBUG: OnKey: return (0xf00d) pressed, action is Select

    11:55:17.310 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    11:55:17.560 T:548298141696 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------

    11:55:17.560 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0


    compared with the logs where all is working correctly few minutes after without touching anything

    12:03:20.576 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    12:03:20.626 T:548298141696 DEBUG: OnKey: return (0xf00d) pressed, screen saver/dpms woken up

    12:03:20.626 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    12:03:20.626 T:548298129632 DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc

    12:03:20.626 T:548298129632 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated

    12:03:21.526 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    12:03:21.659 T:548298141696 DEBUG: ------ Window Deinit () ------

    12:03:21.709 T:548298141696 DEBUG: OnKey: return (0xf00d) pressed, action is Select

    12:03:21.710 T:548298141696 DEBUG: CGUIMediaWindow::GetDirectory (smb://DEBIAN/CLIPS/)

    12:03:21.710 T:548298141696 DEBUG: ParentPath = [sources://video/]

    12:03:21.711 T:546546917600 DEBUG: Thread JobWorker start, auto delete: true

    12:03:22.211 T:548298141696 DEBUG: ------ Window Init (DialogBusy.xml) ------

    12:03:26.657 T:548298141696 DEBUG: Saving fileitems [smb://DEBIAN/CLIPS/]

    12:03:26.659 T:548298141696 DEBUG: -- items: 202, sort method: 0, ascending: true

    12:03:26.975 T:548298141696 DEBUG: RunQuery took 1 ms for 0 items query: select * from musicvideo_view WHERE c14=53

    12:03:26.979 T:548298141696 DEBUG: RunQuery took 4 ms for 623 items query: SELECT files.strFilename, files.playCount, bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files LEFT JOIN bookmark ON files.idFile = bookmark.idFile AND bookmark.type = 1 WHERE files.idPath=53

    12:03:27.024 T:547499274464 DEBUG: Thread BackgroundLoader start, auto delete: false

    12:03:27.053 T:548298141696 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

    12:03:27.074 T:548298141696 DEBUG: ------ Window Deinit (DialogBusy.xml) ------

    12:03:28.853 T:547499274464 DEBUG: Thread BackgroundLoader 547499274464 terminating


    what the USERNAME:PASSWORD string is doing there ?