Help: can't get rid of AppArmor for my App/Addon

Hi

Tried to add an AppArmor.txt to my addon. Waste of time, as I only got failed to load profile errors in the supervisor log, without any clue what is the issue.

But, worse. I gave up and removed apparmor.txt form the archive. The error in supervisor log persists!!!:

Removed my repository, disabled AppArmor in the config.json file. restarted HA, and added my repository again. It all doesn’t help

Thanks for any help how to fix this

Eric

Try restart in fail-save mode

Doesn’t help, thx
Found a very dirty way to solve it:

  • used Advanced SSH & Web Terminal to enter the supervisor app (docker exec -it hassio_supervisor bash)
  • removed the lingering profile (folder data/apparmor)
  • Exit the supervisor app.
  • rebooted the whole system

Edit: rebooting the whole system is not needed. Restarting the supervisor is enough (SSH web terminal: ha supervisor restart)