I was using it with your Plex add-on, but, as you said, it works better on the host (I had some issues with external drive). Thank you @Lucio_Tarantino & @alexbelgium!
Is it now possible to add these nas drives as media folders in HassOS?
homeassistant:
media_dirs:
media: /config/www/media/
media: /nas0/
media: /nas1/
When I try to add the two drives to the configuration.yaml and check the config it gives the following error:
Not a directory for dictionary value @ data['media_dirs']['media']
They are accesible over the network and the logs show no errors.
Here is my addon configuration.
I use Hassos and searched simply for PARTNAME inside the Hardware list.
It is enough to add hassos-data to access the interesting hidden files & folders e.g. addons folder or json files.
Maybe it will help some one:
workgroup: WORKGROUP
username: '!secret samba_username'
password: '!secret samba_password'
interface: ''
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 'fe80::/10'
moredisks:
- hassos-data
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
compatibility_mode: false
autodiscovery: {}
I connected a USB drive and testing this addon for video recording from cctv camera. Apparently, recording is being saved on the USB drive but addon log is full of following errors. I am using Home Assistant on Pi4 with core-2021.2.3 and supervisor-2021.02.11. Appreciate any clue.
receive_smb_raw_talloc failed for client ipv4: xxx.xx.xx.xx:60203 read error = NT_STATUS_CONNECTION_RESET.
I have some issues regarding folder creation / modification / deletion : Error 0x80070032: not permitted.
(i have the default config)
have you any idea?
Your external drive + folders arenât write protected, right?
In my case, i dont think write protection because the recording is being written on the disk by camera successfully
i created an FUSE exfat 1.3.0 disk formatted etc⌠empty specially for samba NAS usage. Itâs totally empty.
I tried to create folder on the root of the disk : it worked : ânew folderâ appear, but no way to rename/delete. Same for files in the folder.
i turn the disk to ext4 and now everything work.
can we have 2 disks and one to be used for backup the first?
After installing your samba share, windows side show system error 67 has occurred, the network name cannot be found. If I use the old samba share, the network share is ok. Please help.
Can you share your config and addon logs?
I suggest to open a issue in the project GitHub repository. Is a better place to track and resolve issues.
L
Hi Lucio,
Please see below.
workgroup: WORKGROUP
username: homeassistant
password: xxxxxxxx
interface: ââ
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.2.0/24
- âfe80::/10â
moredisks: - /1111
veto_files: - ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
compatibility_mode: false
autodiscovery: {}
[s6-init] making user provided files available at /var/run/s6/etcâŚexited 0.
[s6-init] ensuring user provided files have correct permsâŚexited 0.
[fix-attrs.d] applying ownership & permissions fixesâŚ
[fix-attrs.d] done.
[cont-init.d] executing container initialization scriptsâŚ
[cont-init.d] automount.sh: executingâŚ
[20:35:18] INFO: Protection Mode is false
[20:35:18] WARNING: MoreDisk option found!
[20:35:18] INFO: More Disks mounting⌠/1111
[20:35:18] INFO: Mount /1111
[20:35:21] INFO: Success!
[cont-init.d] automount.sh: exited 0.
[cont-init.d] mqtt.sh: executingâŚ
[cont-init.d] mqtt.sh: exited 0.
[cont-init.d] samba.sh: executingâŚ
[20:35:22] INFO: Hostname: debian
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user homeassistant.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
daemon_ready: daemon ânmbdâ finished starting up and ready to serve connections
[20:35:22] INFO: Starting the MQTT daemon for disks infoâŚ
[20:35:22] INFO: Starting the AVAHI daemon for debianâŚ
Server version: avahi 0.7; Host name: debian.local
smbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
INFO: Profiling support unavailable in this build.
daemon_ready: daemon âsmbdâ finished starting up and ready to serve connections
[20:35:22] INFO: Sending MQTT autodiscoveryâŚ
Established under name âdebianâ
Samba name server DEBIAN is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1
Samba name server DEBIAN is now a local master browser for workgroup WORKGROUP on subnet 172.30.32.1
any hints for me ?
Please format your code. Also, given by that you shouldâve been given a warning about that, you should probably read How to help us help you - or How to ask a good question.
You are at on Debian non on ha operating system right? I suggest you to donât use the NAS addon to expose disk and use the native host system.
If you need mount the disk from nas addon need to mount its from network via cifs protocol. I donât know if you can in trasmission addon.
L
How did you manage to write files on your USB drive?
When I try it from my windows 10 computer it says that I donât have the permissions.
Edit: I fix it by formatting the disk drive on the format ext4.
What error?
Hello, thanks for your great work.
I am running into something when i try to update the configuration of the plex app you created.
When i want to update the config and press save, the changed settings are deleted and the default config is back.
I run on Rapsberyy PI 3b ⌠the Samba share app is working. Can you help me?
If you do not save the configurations there is probably an error and they are invalid. You should have the description on screen.
Can you post the configuration you are trying to save?