Hass.io Mosquitto MQTT Configuration File

Hello,

I am having a problem trying to load a custom configuration into my mosquitto mqtt broker settings.

I am trying to add both insecure and secure connections as shown in the Home Assistant documentation here. All that is required is to add a file named insecure.conf to the directory share/mosquitto. I had to create the “share” directory and the “mosquitto” directory. see below:

image

The problem is that every time I start the broker, I am prompted with the following error:

image

I cannot understand why the broker is unable to read the configuration file. Is there something I am missing here? I feel stupid because this should be somewhat easy…

Thank you for the help

OK, found out my problem…

The mosquitto MQTT add-on will always reference the Samba share directory, not the hassio config directory…