Ok, faut que tu arrête proprement HA ( arrêt systeme ). Tu débranche ta machine du secteur quelque seconde et rebranche.
Et rédémarre HA.
C'est un soucis qui existe depuis 2 ans presque et j'ai vu que ca été fixer sur le supervisor 2024.6.1 ( pas sortie , la 2024.6.2 est release mais pas déployer).
main ← addon-not-started-restore
ouvert 08:58PM - 28 May 24 UTC
## Proposed change
Full restore currently stops the docker events listener be… fore it begins as part of `shutdown`. It is not restarted afterwards leaving the addons in completely unknown states beyond that point. This PR fixes that issue, the docker monitor is no longer stopped.
It also fixes a minor possible issue where addons were not loaded prior to being restarted during a restore due to an exception. The first is the real cause of these "unknown state after restore" issues though.
## Type of change
- [ ] Dependency upgrade
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (which adds functionality to the supervisor)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Additional information
- This PR fixes or closes issue: fixes #
- This PR is related to issue:
- Link to documentation pull request:
- Link to cli pull request:
## Checklist
- [ ] The code change is tested and works locally.
- [ ] Local tests pass. **Your PR cannot be merged unless tests pass**
- [ ] There is no commented out code in this PR.
- [ ] I have followed the [development checklist][dev-checklist]
- [ ] The code has been formatted using Ruff (`ruff format supervisor tests`)
- [ ] Tests have been added to verify that the new code works.
If API endpoints of add-on configuration are added/changed:
- [ ] Documentation added/updated for [developers.home-assistant.io][docs-repository]
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[docs-repository]: https://github.com/home-assistant/developers.home-assistant
## Summary by CodeRabbit
- **Bug Fixes**
- Ensured add-ons are properly loaded before running by moving the check to a `finally` block.
- **Improvements**
- Improved system shutdown process by removing unnecessary stopping of docker monitoring.
- **Tests**
- Added tests to verify addon state monitoring after full and partial restore operations.
edit:
@anon21985933 , enfin c'est fixer
edit2:
le jour ou j'ai eu ce soucis. aout 2022