Traccar does not automatically send the location

Orbis a month 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 a month ago

I only see 5 minutes of logs.

Orbis a month ago

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

Anton Tananaev a month 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 a month 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 a month ago

It seems like you had a heartbeat event.

Orbis 17 days ago

It only works when I manually click "send location." Does anyone else have the same problem with Samsung? I have searched and haven't found a solution.