Geofencing automation not triggered until restart of samsung and homeassistant

Hello all

Over the past 6 months i had many issues with my set up
I am running on a dell r720 proxmox 8 and a home assistant vm. I also am using a a samsung S20 with the HA mobile app and owntracks

In home assistant i have an automation for leaving the zones and one for when i arrive.

In the past the automation were running fine,

For the last 3 months after a rebuild of HA. Thew geofencing automation are not working when i leave the zone.

Issues:

  1. List item when i power up the phone in the morning i get an error stating that this version of ownacks is not compatible with this version of android.

Solution: start owntracks after a second owntracks identifies the location and the error disappears until i restart the application

  1. when i leave the zone and after owntracks was restarted the automation is not triggered.

Solution: I restart the phone restart owntracks open the HA companion app go to settings go to nabucasa (nabucasa opens i do nothing) close HA companion app and now the geofencing gone automation is triggered and when i arrive in the zone *without doing anything) the arrive automation is properly triggered.

If i trigger (when I am away) manually the away automation works. If i then enter the zone in this case the home automation is not triggered.

I understand the the owntracks / android issue is a different menu. However when this is resolved (albeit manually) the automation should work

Once the reset of worntracks is done, what do i need to do to get the geofencing automations to work without having to restart the phone, HA and nabucasa?

Thank you for any help you provide in this case