hassio-addons: FATAL: Cannot access share. Unknown reason.

Good afternoon. Approximately after updating to version 5, the addon stopped working. From Windows on \10.187.1.6\Backup\Home_Assistant is connected. Files are created and deleted. Message: FATAL: Cannot access share. reason. Tried:

  1. Remove and install again
  2. Used a different ‘target_dir’
  3. Tried another account

Config:

host: 10.187.1.6
share: Backup
target_dir: Home_Assistant
username: '!secret NAS_service_user'
password: '!secret NAS_service_pass'
keep_local: '1'
keep_remote: '7'
trigger_time: '02:00'
trigger_days:
  - Mon
  - Tue
  - Wed
  - Thu
  - Fri
  - Sat
  - Sun
exclude_addons: []
exclude_folders: []
log_level: debug
skip_precheck: false

Log:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
 Add-on: Samba Backup
 Create backups and store them on a Samba share
-----------------------------------------------------------
 Add-on version: 5.1.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.2  (amd64 / qemux86-64)
 Home Assistant Core: 2022.7.5
 Home Assistant Supervisor: 2022.07.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
Log level is set to DEBUG
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[22-07-18 08:21:27] INFO: ---------------------------------------------------
[22-07-18 08:21:27] INFO: Host/Share: 10.187.1.6/Backup
[22-07-18 08:21:27] INFO: Target directory: Home_Assistant
[22-07-18 08:21:27] INFO: Keep local/remote: 1/7
[22-07-18 08:21:27] INFO: Trigger time: 02:00
[22-07-18 08:21:27] INFO: Trigger days: Mon Tue Wed Thu Fri Sat Sun
[22-07-18 08:21:27] INFO: ---------------------------------------------------
[22-07-18 08:21:27] DEBUG: Backups local: 8
[22-07-18 08:21:27] DEBUG: Backups remote: 7
[22-07-18 08:21:27] DEBUG: Total backups succeeded: 6
[22-07-18 08:21:27] DEBUG: Total backups failed: 7
[22-07-18 08:21:27] DEBUG: Last backup: 2022-07-01 01:33
[22-07-18 08:21:27] DEBUG: API Status: 200
[22-07-18 08:21:27] DEBUG: API Response: {"entity_id":"sensor.samba_backup","state":"IDLE","attributes":{"friendly_name":"Samba Backup","backups_local":"8","backups_remote":"7","total_backups_succeeded":"6","total_backups_failed":"7","last_backup":"2022-07-01 01:33"},"last_changed":"2022-07-18T05:21:27.915134+00:00","last_updated":"2022-07-18T05:21:27.915134+00:00","context":{"id":"01G87W24VBBZB96ZQR1YY5ATN9","parent_id":null,"user_id":"f85227081176454cb8e245911bf09897"}}
[22-07-18 08:21:28] WARNING: 
[22-07-18 08:21:28] FATAL: Cannot access share. Unknown reason.
[22-07-18 08:21:28] DEBUG: API Status: 200
[22-07-18 08:21:28] DEBUG: API Response: {"entity_id":"sensor.samba_backup","state":"FAILED","attributes":{"friendly_name":"Samba Backup","backups_local":"8","backups_remote":"7","total_backups_succeeded":"6","total_backups_failed":"7","last_backup":"2022-07-01 01:33"},"last_changed":"2022-07-18T05:21:28.379625+00:00","last_updated":"2022-07-18T05:21:28.379625+00:00","context":{"id":"01G87W259VDKNWE5R69BMR81YM","parent_id":null,"user_id":"f85227081176454cb8e245911bf09897"}}
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 34 (3 by maintainers)

Most upvoted comments

Removing special caracters from the password solved it for me. Thanks for the tip @politician