I am trying to bridge Cloudmqtt with my Mosquitto add-on but Mosquitto fails to even load the config file, giving the following error.
starting version 3.2.2
Error: Unable to open include_dir '/share/mosquitto'.
Error found at /etc/mosquitto.conf:19.
Error: Unable to open configuration file.
Can anyone suggest a reason why it can’t open the include directory?
I have searched the forums and it seems to work for others - it really must be something very simple.
Your screenshot looks like you’ve created a folder named share inside your config folder.
Using hass.io’s Samba add-on you can configure the mapping of share, making it available like you did it with config:
I believe this is the default as it was installed.
Now, I’ve just thought… Samba is (of course ) password protected. Does Mosquitto somehow need to know that password? (Sorry if that is a dumb question).
Let’s assume your hass.io’s ip is 192.168.0.111 making your config folder available using \\192.168.0.111\config. Now, instead of \config your have to use \share to connect to the correct place to put your mosquitto folder and config file(s) under…