Well, before you reinstall the whole system, try a partial installation of samba first. I understood your situation that way that your samba service is still not starting anymore
- backup
/etc/samba/smb.conf, /etc/samba/smb-local.conf, /etc/samba/smb-shares.conf and /etc/samba/smb.conf.distributedsomewhere and delete these files sudo systemctl disable sambasudo rm -R /var/cache/sambasudo apt-get updatesudo apt-get remove sambaand confirm the removalsudo apt-get install samba smb-app-osmc- reboot
This should give you a virgin samba installation.