Just started... and stuck

Greetings

Just created new flash with hassio, and got Raspberry Pi 4 HA up and running.
Some admins installed, everything just fine until this
“19-11-12 19:05:26 ERROR (MainThread) [hassio.addons.addon] Add-on core_samba have wrong options: Missing required option ‘password’. Got {‘workgroup’: ‘WORKGROUP’, ‘username’: ‘hassio’, ‘password’: None, ‘interface’: ‘’, ‘allow_hosts’: [‘10.0.0.0/8’, ‘172.16.0.0/12’, ‘192.168.0.0/16’], ‘veto_files’: [’._*’, ‘.DS_Store’, ‘Thumbs.db’, ‘icon?’, ‘.Trashes’]}”
Ok, need to edit this add-on configuration file, but how to reach that file?
I have four configurator add-on only, but it doesn’t show add-on folder

Click on Hass.io in the sidebar, then click on Samba share. Scroll down, the configuration is there.

1 Like

Damn… I did not scroll it down! :joy:
Thanks!

I’ve entered the correct (for my network) settings on the workgroup and yet my error log still reads as though the default config is loading. I cannot figure out how to clear this and Samba will not load on start. the button just stays on for a moment. I’ve actually started a fresh install from 64 t o 32 bit in case that was causing an issue and cannot sort this.

20-03-19 02:30:53 INFO (MainThread) [supervisor.addons] Add-on 'core_samba' successfully installed 20-03-19 02:30:56 ERROR (MainThread) [supervisor.addons.addon] Add-on core_samba have wrong options: Missing required option 'password'. Got {'workgroup': 'WORKGROUP', 'username': 'homeassistant', 'password': None, 'interface': '', 'allow_hosts': ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16'], 'veto *files': ['.* *', '.DS_Store', 'Thumbs.db', 'icon?', '.Trashes']}

I definitely changed the username and password.

without samba it’s rather painful to move files around outside the core config directory (icon sets) check certs etc

The error message clearly says that you have not set a password, which is a requirement for the addon to start.

Yes. I have though. I changed the username and password. my workgroup is called WORKGROUP. There are three PCs on it now which are all accessible to my system. I cannot get the settings in my config to take …

Here’s what I have in the file:

#samba
workgroup: WORKGROUP
username: jonathan
password: thisismypassword
interface: ''
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
veto_files:
  - "._*"
  - ".DS_Store"
  - Thumbs.db

tried staring the pi without samba on start and then manually loading it. still the same error. it’s just not seeing the info.

In what file?

Addon settings are set in the addon config page.

not configuration.yaml? if that’s it I’ve just been slamming my head in the wall …

I don’t have an addon config file listed in /config, but easy to create

No, go to the supervisor tab, click on the addon, set the options in the configuration section, press save, start the addon.

wait wait. actually on the file page itself?! OMFG.

Sorted? :man_shrugging:

Dude. yes. thank you!!

1 Like

No worries :+1:

1 Like