Some add-ons have their own database. Is there a way to track this using file size integration? Unfortunately, I can’t enable addon_configs
in allowlist_external_dirs
.
Anyone have any ideas or have done this before?
Some add-ons have their own database. Is there a way to track this using file size integration? Unfortunately, I can’t enable addon_configs
in allowlist_external_dirs
.
Anyone have any ideas or have done this before?
Do you mean the File Editor add-on? If so, there’s an Enforce Basepath option in the configuration - which you can turn off, allowing you to see addon_configs
.
I mean the file size integration:
allowlist_external_dirs
Please provide the code you added to your configuration.yaml
An example
homeassistant:
allowlist_external_dirs:
- "/config" # Default configuration directory
You are trying to map a folder in the “/“ directory. That may not work with the file size integration it appears only certain folders are mappable with allowlist_external_dirs:
for example - "/tmp"
works but - "/addon_configs"
does not.
Yes that is my question is there a workaround or other option?
I don’t understand the limitation. Would be nice also to track the file size of add ons storage etc.
When you access the /addon_configs
folder, do yuo see the specific file you are trying to monitor? The format matters
From the integration info
File paths should be absolute paths. For example: /config/home-assistant_v2.db
to monitor the size of the default database.
Yes this is working:
homeassistant
allowlist_external_dirs:
- "/config" # Default configuration :directory
- "/root"
#- "/root/addon_configs"
#- "/addon_configs"
#- "/"
Example: /addon_configs/ca5234a0_paperless-ngx/data/db.sqlite3 is not working
Not tested, but
homeassistant
allowlist_external_dirs:
- "/config" # Default configuration :directory
- "/root"
- "/config/../addon_configs"
- "/config/../addon_configs/ca5234a0_paperless-ngx/data"
Nope. Tried a lot of combination always:
" Konfigurationsfehler
Invalid config for ‘homeassistant’ at configuration.yaml, line 54: Not a directory ‘allowlist_external_dirs->2’, got ‘/config/…/addon_configs/ca5234a0_paperless-ngx/data’"
etc.
Could only try
Thanks, any attempt is welcome. I’ve already tested a few things, but unfortunately, no success.
As I said, I don’t quite understand the restriction to config, why that is.
My VS Studio, etc., can also see the folders.