Hi, I’m new here and have a problem.
I’m probably just doing something wrong but cannot find out what.
It seems like the same problem as chowdarygm but i installed a MQTT and restarted the system and get the log below.
The original Samba share worked just fine.
Thank you in advance !
[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...
[15:58:22] INFO: Protection Mode is true
[15:58:22] WARNING: MoreDisk ignored because ADDON in Protected Mode!
[15:58:23] WARNING:
[15:58:23] WARNING: A recommended add-on configuration option is not set.
[15:58:23] WARNING:
[15:58:23] WARNING: The configuration key 'protected' seems to be empty.
[15:58:23] WARNING:
[15:58:23] WARNING:
[15:58:23] WARNING: Consider configuring this because:
[15:58:23] WARNING: moredisk only work when Protection mode is disabled
[15:58:23] WARNING: Check the add-on manual for more information.
[15:58:23] WARNING:
[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...
[15:58:27] INFO: Hostname: homeassistant
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user sjors.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.12.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[15:58:29] INFO: Starting the AVAHI daemon for homeassistant...
[15:58:29] INFO: Starting the MQTT daemon for disks info...
daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
Waiting for daemon ...
smbd version 4.12.7 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
[15:58:30] INFO: Sending MQTT autodiscovery...
df: /<PARTITION: can't find mount point
/usr/local/bin/mqtt_daemon.sh: line 42: fsdata[1]: unbound variable
Got SIGTERM: going down...
Got SIGTERM, quitting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] mqtt.sh: executing...
[15:58:33] INFO: MQTT cleanup.
homeassistant/sensor/sambanas/a_size/config {"name": "sambanas Size /config", "unit_of_measurement": "Kb","unique_id":"sambanas_size_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_used/config {"name": "sambanas Used /config", "unit_of_measurement": "Kb","unique_id":"sambanas_used_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_available/config {"name": "sambanas Available /config", "unit_of_measurement": "Kb","unique_id":"sambanas_available_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_use/config {"name": "sambanas Use% /config", "unit_of_measurement": "%","unique_id":"sambanas_use_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_size/config {"name": "sambanas Size /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_size_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_used/config {"name": "sambanas Used /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_used_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_available/config {"name": "sambanas Available /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_available_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_use/config {"name": "sambanas Use% /addons", "unit_of_measurement": "%","unique_id":"sambanas_use_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_size/config {"name": "sambanas Size /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_size_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_used/config {"name": "sambanas Used /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_used_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_available/config {"name": "sambanas Available /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_available_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_use/config {"name": "sambanas Use% /ssl", "unit_of_measurement": "%","unique_id":"sambanas_use_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_size/config {"name": "sambanas Size /share", "unit_of_measurement": "Kb","unique_id":"sambanas_size_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_used/config {"name": "sambanas Used /share", "unit_of_measurement": "Kb","unique_id":"sambanas_used_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_available/config {"name": "sambanas Available /share", "unit_of_measurement": "Kb","unique_id":"sambanas_available_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_use/config {"name": "sambanas Use% /share", "unit_of_measurement": "%","unique_id":"sambanas_use_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_size/config {"name": "sambanas Size /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_size_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_used/config {"name": "sambanas Used /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_used_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_available/config {"name": "sambanas Available /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_available_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_use/config {"name": "sambanas Use% /backup", "unit_of_measurement": "%","unique_id":"sambanas_use_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_size/config {"name": "sambanas Size /media", "unit_of_measurement": "Kb","unique_id":"sambanas_size_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_used/config {"name": "sambanas Used /media", "unit_of_measurement": "Kb","unique_id":"sambanas_used_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_available/config {"name": "sambanas Available /media", "unit_of_measurement": "Kb","unique_id":"sambanas_available_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_use/config {"name": "sambanas Use% /media", "unit_of_measurement": "%","unique_id":"sambanas_use_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_size/config {"name": "sambanas Size /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_size_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_used/config {"name": "sambanas Used /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_used_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_available/config {"name": "sambanas Available /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_available_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_use/config {"name": "sambanas Use% /<PARTITION", "unit_of_measurement": "%","unique_id":"sambanas_use_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_size/config {"name": "sambanas Size /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_size_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_used/config {"name": "sambanas Used /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_used_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_available/config {"name": "sambanas Available /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_available_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_use/config {"name": "sambanas Use% /LABEL>", "unit_of_measurement": "%","unique_id":"sambanas_use_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
s6-maximumtime: warning: unable to wait for child process: Operation timed out
[cont-finish.d] mqtt.sh: exited 99.
[cont-finish.d] umount.sh: executing...
[15:58:38] INFO: Unmount drivers.
umount: /dev: target is busy.
[cont-finish.d] umount.sh: exited 32.
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: unable to subscribe to events for /var/run/s6/services/mqtt-handler-service: Read-only file system
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
my configuration looks like this.
workgroup: WORKGROUP
username: sjors
password:
interface: eth0
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.178.220/16
- 'fe80::/10'
moredisks:
- <PARTITION LABEL>
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
compatibility_mode: true
autodiscovery: {}