Repository navigation
v1.13.44 (2026-11-26)
-
Fix:
prey configcommands no longer crash with "SQLITE_MISUSE: Database is closed" or "Database handle is closed" when the local database opens slowly (for example, while an antivirus scans it). Each storage operation now uses its own database connection. This failure stopped the Windows service from reading the device key and could make an automatic upgrade fail; the agent kept running on the previous version and retried later. (SoraKenji) -
Fix: Errors reported from
prey configcommands now include the device key, read from the configuration or the local database, so they can be traced to the affected device. They also include the command that failed (for exampleconfig settings readorconfig upgrade 1.13.44), which was previously cut to justconfig. Flags and their values are never reported, so credentials stay out of the reports. (SoraKenji) -
Fix: The agent no longer stops working, while still appearing to run, after an error in a local database operation, and
prey configcommands no longer hang when reporting an error: every later database operation now runs, and error reports finish within 10 seconds. (SoraKenji) -
Fix: An error message containing quotes (for example
unknown option '--force') can no longer overwrite the configuration saved in the local database and make the agent restart repeatedly on every boot. If a saved value can't be read at startup, the agent now logs a warning and rebuilds it instead of crashing (configuration and permissions from their current values, and a new security key pair if the stored one is unreadable). (SoraKenji) -
Fix: When the configuration saved in the local database can't be read (for example on a device damaged by the issue above), the agent now rebuilds it from
prey.conf, keeping its keys, its control panel host and every other setting, instead of resetting it to the defaults. Before, a device pointed at another host or with custom settings lost them for good, since the defaults were later written overprey.conftoo. (SoraKenji) -
Fix: Rebuilding that configuration no longer links the device again as a new device.
prey.confonly gets the device key once the agent has run for 5 minutes after linking, so a device that kept restarting had none there; the agent now recovers it from the identification data saved when the device was linked. (SoraKenji)