Disappearing Child Apps

I have someone using one of my app reporting that some of the child apps keep disappearing within about 48 hours of their creation. They work when first installed via the endpoint but later reports that the app does not exist.

It seems that the Hubitat database is purging these entries from some unknown reason. Anyone have any suggestions.

Did the user ever hit “Install” (appears where “Done” normally if app is in non-installed state) or you use installOnOpen: true to make sure it gets installed in the first place? You can add and configure an app without doing either, but it will be cleaned up at some point periodically if not installed.

1 Like

The app does use InstallOnOpen: true If they don’t hit Done after they configure the app via its interface would this be the outcome? Is there a setting that needs to be present in the app to confirm it’s installed state?

No, that should be good if you see “Done” already (but you could check/log app.installationState if you want to be sure) — that was just a guess as to a likely cause!