Nope! It keeps crashing! It cannot complete a full scan.
Suggest to enable debug logs and upload them (see below)
I would assume that it must be a problem with certain files in the shared library.
Alternative if it is just a network/access issue you could try to use kernel mount instead.
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
-
enable debug logging at settings->system->logging
-
reboot the OSMC device twice(!)
-
reproduce the issue
-
upload the log set (all configs and logs!) either using the
Log Uploader
method within the My OSMC menu in the GUI or thessh
method invoking commandgrab-logs -A
-
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
OSMC skin screenshot:
We need to see logs. This could be caused by a corrupt file.
I doubt it’s that – it wouldn’t cause crashes, just a lack of connectivity.
I also have(had) this issue. It was some kind of WMA file if I remember correctly. I fixed it by moving all my media libraries to NFS share
Probably out of memory IMHO
I use this snipplet to install all samba required stuff on Vero or any Raspberry (with catia mappings for incompatible Windows characters). It defaults to read-only for guests. No workgroup required.
I use Dolphin too, but on Debian with KDE, a bit older (until Debian 11 later this year) but perhaps more stable. Hope it helps.
sudo apt-get install debconf-utils <&-
echo -e "samba-common samba-common/workgroup string $HOSTNAME
samba-common samba-common/dhcp boolean true
samba-common samba-common/do_debconf boolean true\n" > autoprefs
sudo debconf-set-selections < autoprefs
rm autoprefs
sudo apt-get install -y expect samba vlc-plugin-samba isc-dhcp-client libcups2 samba samba-common cups samba-client cifs-utils samba-vfs-modules <&-
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
sudo sed -i -e "s/workgroup = .*$/workgroup = $HOSTNAME/g" /etc/samba/smb.conf
sudo sed -i -e "s/valid users = %S/valid users = windows$USER/g" /etc/samba/smb.conf
sudo sed -i -e "s/^\[global\]/[global]\n allow insecure wide links = yes\n unix extensions = no\n follow symlinks = yes\n wide links = yes/g" /etc/samba/smb.conf
echo -e "[Muh Shared Stuff]\n path = /media/SMBSHAREDDISK\n comment = shared folder\n read only = yes\n writeable = no\n follow symlinks = yes\n browseable = yes\n wide links = yes\n guest ok = no\nmangled names = no\n catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0x2236,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6\n vfs objects = catia\n valid users = $USER, tvguest\n" | sudo tee -a /etc/samba/smb.conf >> /dev/null
# catia:mappings
# " --> ¨
# * --> ¤
# / --> ø
# : --> ∶
# < --> «
# > --> »
# ? --> ¿
# \ --> ÿ
# | --> ¦
sudo useradd -m -c "tvguest" tvguest --shell /bin/bash
passwordosmcsmb=r224f24f24f2343f344545t45t4
passwordtvguestsmb=1234
sudo expect -c "
spawn sudo smbpasswd -a $USER
expect {
-re \"^.*New SMB password:.*\" {send -- \"$passwordosmcsmb\r\"; exp_continue}
-re \"^.*Retype new SMB password:.*\" {send -- \"$passwordosmcsmb\r\"; exp_continue}
eof { exit }
}
exit"
sudo expect -c "
spawn sudo smbpasswd -a tvguest
expect {
-re \"^.*New SMB password:.*\" {send -- \"$passwordtvguestsmb\r\"; exp_continue}
-re \"^.*Retype new SMB password:.*\" {send -- \"$passwordtvguestsmb\r\"; exp_continue}
eof { exit }
}
exit"
# sudo pdbedit -w -L # list existing samba users
sudo chmod a+r -R "/media/SMBSHAREDDISK/"
sudo service smbd restart
sudo systemctl restart smbd nmbd
So your samba share will be ‘Muh Shared Stuff’, user ‘tvguest’ and password ‘1234’.
Assuming the IP of your Vero as ‘192.168.1.VERO_IP’, you can log in in KDE via Dolphin with
smb://192.168.1.VERO_IP/Muh Shared Stuff
and on Windows with
\192.168.1.VERO_IP\Muh Shared Stuff
furthermore on Android a good free app with samba support is Cx File Explorer
Suggest switching to NFS (v3) for sharing with the Vero instead of SMB (Samba) when running 'nix on your file server. Much simpler and I believe it performs better. At the least it will also assist in troubleshooting the crashing problem.
I went to use the samba connection again and this time it would not work. I noticed my samba share labelled osmc had gone back to the default WORKGROUP. Why would it do this?
This prompted me to check MyOSMC app store to see if Samba Server was still installed - except there is no MyOSMC app store anymore!! What happened to this?? Argh!
How do I get the store back and how do I get the system to keep settings?
That is very Odd. Is there no App Store under MyOSMC anymore or you lost MyOSMC Programs Addon?
Did you change Skins? That would explain why you might have lost MyOSMC.
I switched to the Estuary skin and MyOSMC is present there. Samba Server is installed.
There is no MyOSMC directory.
Yes, I have been using Aeon NOx silvo.
MyOSMC is a Progam Addon. So you will find it under Program Addons on other skins. The OSMC and Estuary skins are designed to show it as a separate menu item.
Maybe that has reset the guisettings.xml which also includes the Samba settings.
Ok, thank you. I am wanting to use Aeon NOx silvo so I will try to find the program addon.
Previously, I briefly had a look at NFS which I am I not familiar with but could not find much information for this in realation to KDE Plasma. I will have to investigate further. I would rather not use Microsoft Samba, especially when there are better alternatives.
Thanks,
Setting up NFS shares has nothing to do with your desktop environment. It’s basic linux stuff. Once you have your NFS server installed, you just add the shares to /etc/export.
basic linux stuff? To me basic would be a gui solution.
re: just add the shares -I have no export file or folder in /etc/!
Apparently in Dolphin I should be able to connect with my kodi ip address as such- nfs://192.168.0.2
This does not work.
In Kodi if I go to 'browse for new share - Network File System (NFS) - and click this, it does nothing other than the twwss sound.
All else I can find talks about NAS storage and messing around with the fstab file - ugh!
That’s not the linux way. While modern linux distros have GUIs for a lot of the administrative tasks, some things, like setting up a NFS server still require you to manually edit some files. Do a little searching for how to setup nfs on linux and you will find tons of info for various distributions.
A very simple /etc/exports would be:
/media/TheCreature *(rw,no_subtree_check,sync)
That will share the directory /media/TheCreature to all systems on your local network.
Of course, before doing that, you have to install the nfs server. You can’t do that via MyOSMC, you have to do it via command line.
sudo apt install nfs-kernel-server
Hello again!
Could you please clarify a few things here?
I installed the nfs server on my laptop.
re: /etc/exports
I have added:
/Music *(rw,no_subtree_check,sync)
Looking at another post I see the * is replaced by an ip address. Do I need to replace the * with the ip address of my laptop 192.168.0.10? - or leave the asterix as is?
re: you have to install the nfs server.
This sounds like I need to install the nfs server onto OSMC (as well as my laptop) -yes?
“You can’t do that via MyOSMC” - meaning, unlike Samba, I cannot download it from MyOSMC - correct? [I cannot see it in there anyway]
I however cannot find a built-in terminal in OSMC or see one available in addons. How can I install a terminal in OSMC in order to run the command: sudo apt install nfs-kernel-server
Is this what I need to do?
Thanks - hopefully you can get my basic linux skills up to speed! : )
nb I just tried ssh-ing in to run the command but:
ssh osmc@192.168.0.2
ssh: connect to host 192.168.0.2 port 22: Connection refused
anarcho@LuNoHo:~$sudo ssh osmc@192.168.0.2
[sudo] password for anarcho:
ssh: connect to host 192.168.0.2 port 22: Connection refused
anarcho@LuNoHo:~$
According to MyOSMC ssh server and FTP are both installed.
UPDATE: In MyOSMC SSH was not running under settings section.
I have now installed nfs kernel server!