A few days ago I started the upgrade LE11 -> LE12. Everything went fine - but LE12 won't mount my samba share any more. I get this error message:
journalctl -xe
.....
May 27 17:52:50 LibreELEC systemd[1]: Mounting storage-ProLiant.mount...
May 27 17:52:50 LibreELEC mount[1958]: username specified with no parameter
May 27 17:52:50 LibreELEC systemd[1]: storage-ProLiant.mount: Mount process exited, code=exited, status=1/FAILURE
May 27 17:52:50 LibreELEC systemd[1]: storage-ProLiant.mount: Failed with result 'exit-code'.
May 27 17:52:50 LibreELEC systemd[1]: Failed to mount storage-ProLiant.mount.
.....
I double checked my mount definition file (storage-ProLiant.mount) but it is completely unchanged, and contains full username and password.
I disabled the "old" mountpoint, rebooted LE and enabled the mountpoint again: Still no connection to the share.
For info, here's my mount def file (credentials replaced by ****)
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.0.10/Media/PVR
Where=/storage/ProLiant
Options=username=******,password=***********,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
Did I make a mistake? How can I reconnect my Network share?
Display More
Try..Check kodi settings services smb client minimum 1,maximum 3,
Make sure folder on your PC is shared..
Check mount file for any errors from editing on windows
dos2unix /storage/.config/system.d/storage-test_mount.mount
This is working to mount an HDD from Windows 11 on LE12...looks same as yours to me..
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.0.10/D
Where=/storage/test_mount
Options=username=Mario,password=*****,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
systemd file name is storage-test_mount.mount