Hi folks, looking for some community support since I’m running Mint 20; it’s an Ubuntu 20.04 derivative, so I’m optimistic, and Prey was working great on my old laptop (originally Mint 19, upgraded to Mint 20).
I’ve got Prey installed, and linked to my account. I’ve also run prey activate
after reading some of the threads here. Everything is looking good, there’s nothing in Prey’s log in the past four days. I keep getting emails telling me the machine hasn’t checked in, and if I visit the website, it can’t get a location for the machine. Previous machine, everything works great.
The installation might have failed at a post-install step, I’m not sure (I can’t find a prey.service
anywhere, assuming there’s supposed to be one); attempting to run the new Prey panel does nothing:
chrish@skelly$ sudo -u prey ./bin/prey config gui
[sudo] password for chrish:
Valid existing keys found. Proceeding anyway.
Firing up config GUI!
/usr/lib/prey/current
chrish@skelly$
Running the same command with --debug
still doesn’t display a GUI, but it does contact the servers and provide a location properly!
chrish@skelly$ sudo -u prey ./bin/prey --debug config gui
████████████████ ████████████████ ████████████████ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ████████████████ ██ ██
██ ██ ██ ██ ██ ██
████████████████ ██ ████████████████ ████████████████
██ ██
██ ████████████████
PREY 1.9.9 spreads its wings!
Current time: Tue Mar 23 2021 06:53:28 GMT-0400 (EDT)
Running with PID 36700 as prey over Node.js v8.9.1 on a x64 linux system (20.1)
info Tue, 23 Mar 2021 10:53:29 GMT Plugin loaded: control-panel
info Tue, 23 Mar 2021 10:53:29 GMT 1 plugins loaded with 0 errors.
info Tue, 23 Mar 2021 10:53:29 GMT Initialized.
info Tue, 23 Mar 2021 10:53:29 GMT [triggers] Watching: connection, control-zones, hostname, location, network, power, status
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: connection
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: connection
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: control-zones
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: control-zones
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: hostname
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: location
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: location
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: network
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: power
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Starting trigger: status
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: status
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: power
info Tue, 23 Mar 2021 10:53:29 GMT [hooks] Hook triggered: connected
notice Tue, 23 Mar 2021 10:53:29 GMT [control-panel] Updating value of location_aware to true
info Tue, 23 Mar 2021 10:53:29 GMT [actions] Running: network
info Tue, 23 Mar 2021 10:53:30 GMT [hooks] Hook triggered: geofencing_start
info Tue, 23 Mar 2021 10:53:30 GMT [actions] Running: hostname
info Tue, 23 Mar 2021 10:53:38 GMT [long-polling] Got 1 commands.
info Tue, 23 Mar 2021 10:53:38 GMT [hooks] Hook triggered: command
info Tue, 23 Mar 2021 10:53:38 GMT [hooks] Hook triggered: get_location
info Tue, 23 Mar 2021 10:53:43 GMT [hooks] Hook triggered: data
info Tue, 23 Mar 2021 10:53:43 GMT [control-panel] Posting data
info Tue, 23 Mar 2021 10:53:43 GMT [location] New location obtained! Making the Control Panel aware...
info Tue, 23 Mar 2021 10:53:43 GMT [hooks] Hook triggered: new_location
info Tue, 23 Mar 2021 10:53:51 GMT [control-panel] Got 200 response: OK