hassio-addons/addon-appdaemon

The AppDaemon addon fails to start without an internet connection

Closed this issue · 4 comments

Problem/Motivation

Appdaemon is vital for my HA setup, most automations depend on it. A fully functional system without internet connection is also vital (that's why we use HA and not a cloud solution).

The problem is that the AppDaemon addon (re-)installs all configured alpine/python packages on every restart. So, if internet goes down, and the HA server restarts for any reason, AppDaemon will fail to start, causing chaos.

Is there any workaround for this? (apart from not using alpine/python packages, not really a solution).

Proposed changes

I'm not sure how feasible this is given the way addons work, but packages should be installed only when the container is created (after an update), or when the list is modified, and not on every single restart.

Another possibility could be to cache all downloaded packages, but it should done in a way that allows fully reinstalling without an internet connection.

Duplicate of #212.

Sorry I missed it.

Does HA always recreate the docker container of all addons on every restart? Seems strange, cause the core HA container is only re-created on updates (manual changes are preserved until the next update).

If anyone wants to test, #237 addresses this issues by adding the option to cache packages.

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!