Samba warning message in SU logs

I have the getting the following warning message in my su logs for over a year:

22-04-16 05:44:33 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-04-16 05:44:33 WARNING (MainThread) [supervisor.addons.options] Option 'map' does not exist in the schema for Samba share (core_samba)

Samba has been working with no issue. Where do I look in my Samba setup to fix these warning messages?

Maybe my message is not clear. I understand how to configure Samba. I just do not understand the error message in the SU logs or how to fix it.
My config

workgroup: '1'
username: xxxx
password: xxxxsxx
allow_hosts:
  - 172.16.0.0/12
  - 192.168.1.0/24
  - fe80::/10
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: false
interface: eth0
map:
  config: true,
  addons: true,
  ssl: false,
  share: true,
  backup: true

I assume that interface is now changed and something is wrong on the map. I have not changed this setup for over three years.

Remove these two options from your config, they are no longer available:

Option 'interface' does not exist in the schema for Samba share
Option 'map' does not exist in the schema for Samba share

Make sure you read the changelog before updating addons. It tells you these things.

2 Likes

…but what if the interface is removed from the yaml config, and the error still shows up?

Home Assistant 2022.10.3
Supervisor 2022.10.0
Operating System 9.2
Frontend 20221010.0 - latest

Did you restart the addon after saving the changes to the config?

Indeed…and have even done a host reboot as well.

That… is very confusing. I truly don’t know, it shouldn’t do that. I guess try changing something and saving again to force it to remake the cached options file from the config and see if that clears out whatever got in there? Or uninstall and reinstall the addon with the same config?

1 Like

Did you sort this out one year later @mkammes ?

So glad I found this topic cause, well…

23-11-07 20:15:58 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:21:05 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:26:12 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:31:19 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:36:32 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:41:39 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:46:46 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:51:53 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 20:57:00 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:02:07 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:07:14 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:12:21 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:17:28 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:22:35 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:27:42 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:32:49 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:37:56 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:43:03 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:48:10 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:53:17 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 21:58:24 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
23-11-07 22:03:31 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)

Need to wait and monitor it a bit, but I think those messages are gone after removing the interface line from config and restarting the addon (twice).