Christina Ying Wang 3d3f659f16 Delete apps not in target from db by appUuid instead of appId
Resolve an issue in balenaMachine instances that were installed at <v14.1.0,
in which a Supervisor app with random UUID is kept in the target db due to its appId
being the same, even after the BM instance has upgraded to v14.1.0 which patches
the correct reserved Supervisor app UUIDs in. This results in two Supervisors running
on devices under the BM instance which persists after BM upgrade.

See: https://balena.fibery.io/search/T7ozi#Inputs/Pattern/Two-supervisors-are-running-on-device-3370
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-11-04 14:15:55 -08:00
..
2024-03-01 18:27:30 -03:00
2024-04-24 13:37:45 -07:00
2024-06-24 15:54:19 -04:00
2024-03-01 18:27:30 -03:00
2024-03-01 18:27:30 -03:00
2024-03-01 18:27:30 -03:00