---
title: The tracker isn't running
description: What to do when the dashboard says "Byte can't find the tracker", or setup says the tracker won't start.
sidebar:
  order: 1
---

## What you see

- A card on the dashboard that says **Byte can't find the tracker**, with "The Hindsight daemon isn't running, so nothing is being counted."
- **Tracker not running** under your name in the sidebar.
- In Settings > Setup, under This computer: "The tracker isn't running".
- During setup, "Starting the tracker…", and after 12 seconds, "Uh oh, the tracker won't start."

The tracker (`hindsight-daemon`) is the program that records your work and uploads it. The app is only a window onto it. While the tracker is down, nothing uploads and Hindsight can't watch whether you're at the keyboard. Agent hooks still write their events to the local database, and those upload when the tracker comes back.

## Why it happens

An installed Hindsight starts the tracker when the app starts, and starts it again if it stops. It won't try more than once every 30 seconds, so a tracker that can't start doesn't get relaunched in a loop. A few things stop it:

- Another program is using its port. The tracker listens on `127.0.0.1:5292` (or the port in `HINDSIGHT_PORT`). If something else has it, `daemon.log` ends with `error: binding 127.0.0.1:5292 (is another daemon already running?)`.
- Windows couldn't load it. The app turns the exit code into a sentence. "The tracker couldn't start: a file it needs is missing from Windows." is what you get when a runtime file such as `VCRUNTIME140.dll` is missing. "The tracker couldn't start: Windows couldn't load it." and "The tracker crashed." are the other two it can name.
- The app isn't running. Quitting from the tray menu closes the app but leaves the tracker going. If the tracker has also stopped, nothing restarts it until you open Hindsight again.
- The system refused to start the file. You'll see "Windows wouldn't start the tracker:" followed by the system's own reason.

## How to fix it

1. **Click the button**

    On the dashboard card, click **Start it now**. In setup, click **Try again**. Hindsight starts the tracker, waits a moment, and checks again.

2. **Read why it stopped**

    The card and the setup step show the reason when the app knows it. The full story is in `daemon.log` in the [data folder](/docs/troubleshooting#the-log-files). After a crash, the last lines read `hindsight-desktop: The tracker stopped with code 0x…`.

3. **Run it yourself to see the error**

    Quit Hindsight from the tray, then run the tracker in a terminal ([how to run it](/docs/getting-started/install#run-the-command-line-tool)):

    ```text
    hindsight-daemon run
    ```

    Any error prints right there.

If the port is the problem, find the other program and close it, or set `HINDSIGHT_PORT` to a free port before starting Hindsight. The app and the tracker both read that variable.

A tracker from before an update can still be running after the update. The app notices when the running tracker is older than itself, stops it and starts its own. You don't need to do anything.

:::note
Running from source or with `tauri dev`? A development build never starts the tracker for you, and the card shows the command to run: `hindsight-daemon run`.
:::
