Traccar does not automatically send the location

Orbis 9 days ago

Hello, I installed Traccar on my Proxmox server using the Proxmox Helper script. I downloaded the Traccar app from the Play Store on my Samsung S24+. I granted the app unrestricted battery access and allowed all permissions. I have Family Link on my phone to limit my Instagram usage, but Traccar has permission in Family Link to always allow me to use it. I'm using Traccar with a VPN (tailscale with a route to my home network). The address is 192.168.1.120:5055, and when I manually tap "Send Location," the server receives my location. I've tried enabling Stationary Heartbeat and Wake Lock, but that doesn't help. The problem is that my phone doesn't automatically send my location to the server, regardless of whether it's offline and then connected to my home Wi-Fi, connected to the VPN, or when I'm moving around :/

Here's the log:
https://pastebin.com/5WYzs7SM

Anton Tananaev 9 days ago

I only see 5 minutes of logs.

Orbis 9 days ago

The app only displays this. How can I get more log data?

Anton Tananaev 9 days ago

If it doesn't show more, it probably means the app was not running. Which probably means the OS killed it.

Samsung is notoriously bad: https://dontkillmyapp.com/

Orbis 9 days ago

Thank you. I read through it a bit and did what I could, I think. But I don't think it helped. However, new things appeared in the log.
https://pastebin.com/rDLchpLP

Anton Tananaev 8 days ago

It seems like you had a heartbeat event.