hassio-addons: 🐛 [Emby NAS]
Description
Hi Alex,
Hope you are well.
I just updated my HA OS to version 12.0, and after the HA restart the add-on is not starting stating this:
[19:46:51] FATAL: Error, unable to mount //192.168.1.220/Camera to /mnt/Camera with username xxxxxxx, xxxxxxxxx. Please check your remote share path, username, password, domain, try putting 0 in UID and GID . . . SMB1 disabled – no workgroup available [19:46:51] FATAL: Error read : mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg), addon will stop in 1 min s6-rc: fatal: unable to take locks: No such file or directory s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111
Nothing changed here beside the HA OS upgrade.
Thanks in advance. Regards.
Reproduction steps
Emby NAS Add-on is at Current version: 4.9.0.5
It was working, updated HA OS to 12.0, and now is not.
Addon Logs
[19:46:51] FATAL: Error, unable to mount //192.168.1.220/Camera to /mnt/Camera with username xxxxxxxx, xxxxxxx. Please check your remote share path, username, password, domain, try putting 0 in UID and GID
.
.
.
SMB1 disabled -- no workgroup available
[19:46:51] FATAL: Error read : mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg), addon will stop in 1 min
s6-rc: fatal: unable to take locks: No such file or directory
s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111
Architecture
amd64
OS
HAos
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 26 (14 by maintainers)
Commits related to this issue
- Avoid cifs 3.1 https://github.com/alexbelgium/hassio-addons/issues/1271#issuecomment-1965208259 — committed to alexbelgium/hassio-addons by alexbelgium 4 months ago
- First Try without smb 3.1 https://github.com/alexbelgium/hassio-addons/issues/1271#issuecomment-1965208259 — committed to alexbelgium/hassio-addons by alexbelgium 4 months ago
- Second try with 3.11 https://github.com/alexbelgium/hassio-addons/issues/1271#issuecomment-1965208259 — committed to alexbelgium/hassio-addons by alexbelgium 4 months ago
- Use 3 https://github.com/alexbelgium/hassio-addons/issues/1271#issuecomment-1965319051 — committed to alexbelgium/hassio-addons by alexbelgium 4 months ago
- Update config.json https://github.com/alexbelgium/hassio-addons/issues/1271#issuecomment-1965349978 — committed to alexbelgium/hassio-addons by alexbelgium 4 months ago
Good-evening Alex,
Today after dinner, I came to play a bit with this, and I found that it is only giving that error when the shared folder is a OneDrive Synced folder on the Windows.
Then I went to one of my Ubuntu’s and tried to mount the same Windows OneDrive Synced Camera folder (that is giving the error in Emby), and success it is mounting, I can now see the Camera folder in my Ubuntu. Which leads me to think that this is definitely not a Windows share issue, I can mount it on Ubuntu through cifs. 👍
Meanwhile on that Ubuntu I shared, the now mounted Camera folder, through smbd/cifs and guess what? 😃 It mounted on Emby. Already test it and I can see again my photos in Emby. 💪😎
What could have changed on HA OS 12.0 to make Emby to be “mad” at those shares?.. 🤔
Have a nice weekend. Regards.
From my part, no worries and no stress Alex, pretty busy here also.
Let me know in anything I can help. Have a nice and no stressed week 😉
Because they all are in different physical disks. The Camera one i.e is from a folder replicated with OneDrive on an HDD mirrored, the Emby_Backups are in an USB SSD disk… All are shares from the Windows PC, I just Shared the different folders I wanted to see in Emby, and it was working perfectly until the HA OS upgrade… For now I removed from Emby the ones failing, and its working. One thing I noticed is that the Emby error message is exactly the same when the folder is Shared and when it is not Shared.
Let me know if you need anything more.
Meanwhile I just confirmed and my Windows 10 Pro, which is providing those smb shares, is with the smbv1 disabled.
Sure here it goes: Starting… /etc/cont-init.d/00-banner.sh: executing
Add-on: Emby NAS A free Software Media System that puts you in control of managing and streaming your media
Add-on version: 4.9.0.5 You are running the latest version of this add-on. System: Home Assistant OS 12.0 (amd64 / qemux86-64) Home Assistant Core: 2024.2.3 Home Assistant Supervisor: 2024.02.0
Please, share the above information when looking for help or support in, e.g., GitHub, forums
Provided by: https://github.com/alexbelgium/hassio-addons
Defining permissions for main user : User UID: 0 User GID : 0
/etc/cont-init.d/00-global_var.sh: executing PGID=‘0’ PUID=‘0’ cifsdomain=‘xxxxxxx’ cifspassword=‘xxxxxxx’ cifsusername=‘xxxxxx’ networkdisks=‘//192.168.1.220/Musica, //192.168.1.220/Videos, //192.168.1.220/Emby_Backups, //192.168.1.220/Camera, //192.168.1.220/MRMSG9, //192.168.1.220/Fotos_Eu’ silent=‘true’ smbv1=‘false’ Timezone set from Etc/UTC to Europe/Lisbon /etc/cont-init.d/00-local_mounts.sh: executing /etc/cont-init.d/00-smb_mounts.sh: executing Mounting smb share(s)… … using domain xxxxxxx … using PUID 0 and PGID 0 … mounting //192.168.1.220/Musica [20:23:17] INFO: … //192.168.1.220/Musica successfully mounted to /mnt/Musica with options rw,file_mode=0775,dir_mode=0775,username=xxxxxx,password=XXXXXXXXXX,nobrl,uid=0,gid=0,iocharset=utf8,domain=xxxxx … mounting //192.168.1.220/Videos [20:23:17] INFO: … //192.168.1.220/Videos successfully mounted to /mnt/Videos with options rw,file_mode=0775,dir_mode=0775,username=xxxxxx,password=XXXXXXXXXX,nobrl,uid=0,gid=0,iocharset=utf8,domain=xxxxx … mounting //192.168.1.220/Emby_Backups [20:23:18] INFO: … //192.168.1.220/Emby_Backups successfully mounted to /mnt/Emby_Backups with options rw,file_mode=0775,dir_mode=0775,username=xxxxxx,password=XXXXXXXXXX,nobrl,uid=0,gid=0,iocharset=utf8,domain=xxxxxx … mounting //192.168.1.220/Camera … 192.168.1.220 is confirmed reachable … credentials are valid … SMB version detected : 3.1 [20:23:20] FATAL: Error, unable to mount //192.168.1.220/Camera to /mnt/Camera with username xxxx, xxxxx. Please check your remote share path, username, password, domain, try putting 0 in UID and GID [20:23:20] FATAL: Here is some debugging info :
SMB1 disabled – no workgroup available [20:23:20] FATAL: Error read : mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg), addon will stop in 1 min s6-rc: fatal: unable to take locks: No such file or directory s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111
No I checked that the snbv1 switch is disabled, I even enable it, try it same error, disable it again, try it, same error.