- DB lives under db/sql/<account>_<car>.db, not the repo root (was -maxdepth 1) - Pick the most recently modified DB (active account) instead of the first found, which was the stale TestUser_SubaruWRX.db - Query UPLOADED=0 instead of sent=0 (column was renamed long ago) - Use the venv Python's sqlite3 for queries — the sqlite3 CLI isn't installed on the Pi, so integrity/row-count checks were silently failing