Allowlist_external_dirs: Integration not found

In Homeassistant started with docker I have a configuration.yaml:

# Loads default set of integrations. Do not remove.

# Load frontend themes from the themes folder
  themes: !include_dir_merge_named themes

  - platform: manual
# Bitcoin    
  - platform: bitcoin
    currency: CHF
      - exchangerate
      - trade_volume_btc
      - number_of_transactions
#      - miners_revenue_usd
#      - btc_mined
#      - hash_rate

# for access to store snapshots taken by Blink  
  - /share/appdata/HomeAssist/Snapshots

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

when starting HA the following error shows:

 ERROR (MainThread) [homeassistant.setup] Setup failed for 'allow_external_dirs': Integration not found.

Get almost crazy, what the heck is wrong?


with YAML the indentation is important, so you have to put the allowlist_external_dirs underneath the homeassistant configuration like here:

  • raspberrypi 5,
  • Core 2024.3.3
  • Supervisor 2024.03.0
  • Operating System 12.1
  • Frontend 20240307.0

I was having the same issues. I have a script:

alias: take snapshot

  • service: camera.snapshot
    metadata: {}
    filename: /config/reolink/photo/filename.jpg
    entity_id: camera.doorbell_snapshots_clear
    mode: single

Here are the steps I took to correct it.
see: Setup basic information - Home Assistant
but pay close attention to the NOTE in blue.

  1. add to my config.yaml
default_config: # already in file
    - "/config/reolink/photo"
    - "/config/reolink/video"
    - "/tmp"  
  1. In a terminal or ssh:
chmod 766 /config/reolink
chmod 766 /config/reolink/photo
chmod 766 /config/reolink/video

3: rebooted ( I rebooted the whole system)

after this, my script worked as planned.
After more investigation: I am changing the 777 to 766.
but I am still wondering if a change of permission is needed.

Read up on 777, highly unadvisable

I know the 777 gives full access to everyone, but everyone is just me. The only thing in the directory is a picture of the people standing at my front door. After working with it, I don’t think that step is needed. Now it is working I will remove the access and see what happens.