Addon folder structure changed - config folder not present in new HAOS-installation
Closed this issue · 2 comments
As documented here just 3 months ago, it seems like the addon-config-mounting-map has recently changed. Unfortunately, I couldn't find the correct commit changing the actual logic.
As a consequence, there seems to be no more "config" folder in newer installations of HAOS:
# pwd
/mnt/data/supervisor
# ls
addon_configs config.json mounts
addons dns multicast.json
addons.json dns.json observer.json
apparmor emergency services.json
audio homeassistant share
audio.json homeassistant.json ssl
backup ingress.json tmp
cli.json media updater.json
Instead, it is recommended to mount "addon_configs". For now I was able to work around this using the share folder and adjusting the addon configuration to search in /share/mqtt-io/config.yml. This could either be reflected as a preferred solution in the corresponding Documentation or probably better yet changed in the add-on config. I'm sorry there's no direct PR here, if I get around to it after solving the problem at hand I'd be happy to contribute.
Thanks for your work. I'll be happy to provide more info if necessary.
The path is relevant to the container, not the filesystem on disk. The default location on disk is within the addons/data folder which hasn't changed.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!