Can't access Vero 4K/OSMC from Windows

Three observations:

The funny characters are just because the log is being rendered with the wrong characterset. Sould look like ->

I’m not sure the issue you link is the same - there are different error messages.

Samba seems to sprinkle conf files far and wide. Not clear which can be safely wiped without upsetting the samba client in kodi. Where’s @DBMandrake when you need him?

Care to expand on this?

  Process: 4232 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 4232 (code=exited, status=1/FAILURE)

Jan 18 08:19:59 Vero4K systemd[1]: Starting Samba SMB Daemon...
Jan 18 08:19:59 Vero4K systemd[1]: smbd.service: Main process exited, code=…LURE

I’m not disagreeing with you but FAILURE is also showing as …LURE in the same log. Which character set would exhibit this behaviour?

I’m also not saying that the linked issue is the same. Only similar.

Funny thread keeping so many people interested (and busy).

Coming back to the log in post #75.
We see that smbd crashed, right? Isn’t smbd logging to /var/log/samba/log.smbd ?

And what about letting @brifletch start smbd interactively using the parameters behind SMBDOPTIONS,bring out messages to stdout and perhaps use a debug level?

My bad. Strange - it applies only to smbd and nmbd and in the system journal this message is being generated from mediacenter. So maybe something funny in the AppStore python?

But the quote you gave is from systemd so corruption in the samba server itself?

It’s all very interesting but the pragmatic answer is to re-image and move on.

Evening guys,

Quite a lot to catch up on here, so here goes:

https://paste.osmc.tv/vudunizugi.coffee

https://paste.osmc.tv/yamehixoyi

https://paste.osmc.tv/gusososewi
https://paste.osmc.tv/uvemirixoc

I’ve got a backup of all my user and addon settings, so this hopefully wouldn’t be too big a deal. Do you think that’s the best solution?

I think I covered everything since my last visit … just let me know if there’s something else you want me to try.

Cheers guys, appreciate your time!

Well, several people in here have tried to replicate your issue and failed so chances are if you start from square one it will work.

Sorry, missed this one!

Still getting the ‘Failed to start Samba SMB Daemon’ error …

https://paste.osmc.tv/tixirebido.vhdl

Ok, seems logical. Won’t get chance to that tonight though. I’ll post back on progress asap. Thanks!

It didn’t. I reinstalled the December update image, restored from backup (but for some reason none of my addon settings have been restored, which is a PITA) and I reinstalled the SMB server from the Addon store.

Same error message when I try to connect to the osmc folder :frowning:

Well this is really confusing. I will do a fresh install this evening and test
Have you checked if the samba server is running?

I ran osmc@Vero4K:~$ smbclient -L localhost
-bash: smbclient: command not found

I’m going to try another reinstall of osmc and the SMB server, without any of my userdata and see what happens then

smbclient is not part of the Samba package sudo apt-get install smbclient

Thanks for keeping me right. It seems to have installed correctly. From Windows I can now see the osmc folder and a USB stick that is plugged in to the Vero 4K (previously, I was only seeing the osmc folder), but trying to connect is still giving me the same error.

https://paste.osmc.tv/uyebameziw.vhdl

I’ve just tested and successfully connected from the openelec device. And …

osmc@Vero4K:~$ smbclient -L localhost
Enter osmc's password:
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        osmc            Disk      OSMC Home Directory
        IPC$            IPC       IPC Service (Samba 4.5.12-Debian)
        FLETCH-32GB     Disk      Auto-mount Volume
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]

        Server               Comment
        ---------            -------
        OPENMEDIAVAULT       openmediavault server
        VERO4K               Samba 4.5.12-Debian

        Workgroup            Master
        ---------            -------
        WORKGROUP            OPENMEDIAVAULT

but still unable to connect from Windows.

Hi brifletch, in case the smbd is still dying: If you want you can also try the steps I suggested in this post Update fail due to samba, now samba is down - #2 by JimKnopf

Prefetching a similiar result if would be also fine to see what is in your cache directory

ls -al / paste-log
ls -al /var | paste-log
ls -al /var/cache | paste-log
ls -al /var/cache/samba | paste-log
ls -al /var/cache/samba/lck | paste -log

Thanks for the update. Still wondering if anything happen to your Win10 Client settings. As mentioned I will do a clean setup this evening to test.
Maybe you also want to try with a clean virtual machine of Win10 https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Thanks guys. I have a sleeping child on me at the moment so will have to get back to this later. FWIW I can connect to all my other networked machines via SMB from the PC. It’s just the Vero 4K that’s giving me a headache!

Ok, understand that while also important you can connect from openelec to it which means the fundamental samba server on the Vero works.
Just when you have time provide dmesg | paste-log output

Sorry, but Can't access Vero 4K/OSMC from Windows - #33 by brifletch told us this is also not working. In case this changed meanwhile, I’m out since there are too many changes in related circumstances to keep them up without repeated reading the whole story.