Troubleshooting Prey on macOS Mojave

I too ran the command and received an 80. I read this thread further and also tried the command lines. Both times they required a password. I tried using the password to my account and it asked for the password again. My Prey screen looks like Roy Vela’s - two iOS devices but no laptop.

Result 80.
Tracking and locking works, but sending messages and the webcam does not.

Hi @macg4dave, this week we’re releasing a new version that covers those Mojave’s issues (alert and webcam photo).
I’ll let you know as soon is available.

Regards,
Javo

Yes I get 80 and the correct computer name. What next?

I got an 80 too. Please help. According to Prey, my laptop is unavailable and was last seen 4 days ago.

Hi,

It’d be useful to see your /var/log/prey.log file, you guys can attach it here or send me an email to javo@preyhq.com.
Or just try reinstalling prey.

Regards,
Javo

I reinstalled Prey and my device is still showing as unavailable. I clicked on “Update location” but after a while it timed out and I got a message saying that Prey was unable to get my device’s location on time. I just tried again to update my location and got a message saying that Prey was unable to reach my device.

PS My activity log for my laptop:

December 28, 2018 - 12:58 Data requested location
December 28, 2018 - 11:10 Data requested location
December 27, 2018 - 19:44 Data requested location
December 27, 2018 - 19:42 Data requested location
December 27, 2018 - 19:38 Data requested location
December 27, 2018 - 19:36 Data requested location
December 27, 2018 - 00:30 Data requested location
December 26, 2018 - 19:47 Data requested location
December 26, 2018 - 19:20 Data requested location
December 26, 2018 - 18:45 Data requested location
December 26, 2018 - 18:43 Data requested location
December 24, 2018 - 23:27 Device not seen
December 23, 2018 - 01:34 Stopped_charging
December 22, 2018 - 23:28 Stopped_charging
December 22, 2018 - 22:03 Started charging
December 22, 2018 - 21:14 Stopped_charging
December 22, 2018 - 18:13 Started charging

Hi Tom,

Sorry for the delay, I took a week off… I need to see your /var/log/prey.log file to check what’s wrong, could you attach it here?

Regards,
Javo

@javo Can you please let me know how I access this file?

you can open your Terminal and run this command:
cat /var/log/prey.log > ~/Desktop/prey.log

After that a prey.log file should appear on your Desktop

Thanks. This is what the log file says:

warn Mon, 07 Jan 2019 21:29:09 GMT [control-panel] Not configured. Waiting for user input...
 info Mon, 07 Jan 2019 21:29:19 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:29:29 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:29:39 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:29:50 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:00 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:10 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:20 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:30 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:40 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:30:50 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:00 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:10 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:20 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:30 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:40 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:31:50 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:32:00 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:32:11 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:32:21 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:32:31 GMT [control-panel] Reloading config...
 info Mon, 07 Jan 2019 21:32:41 GMT [control-panel] Reloading config...

Hi Tom,

Your device is not configured, you need to run one of these 2 commands:

sudo /usr/local/lib/prey/current/bin/prey config panel -f
or
sudo /usr/local/lib/prey/current/bin/prey config gui

And use your credentials

I tried the first command and after the browser window opened and I clicked on my account, I was taken to a screen that said “Connecting with Prey servers” and it has just remained on that screen with nothing else happening.

Then I tried the second command. A new window opened asking for my Prey log-in details, which I gave. I then got an error that said “Error! Account is valid, but no available slots are left.”

My device is still showing up as missing.

You can try deleting the device from the control panel and then try again with the commands, the device should be re-added.

I did that and re-added the device and it has now been “seen” by Prey just a minute ago but it can’t find my location.

ok, delete the prey.log file from your Desktop and run this again:
cat /var/log/prey.log > ~/Desktop/prey.log

then paste the file here the same way you did before

This is what the log file says:

PREY 1.8.2 spreads its wings!
Current time: Tue Jan 08 2019 15:26:15 GMT-0500 (EST)
Running with PID 64998 as prey over Node.js v4.5.0 on a x64 mac system (10.14.2)

 warn Tue, 08 Jan 2019 20:26:16 GMT [control-panel] Not configured. Waiting for user input...
 info Tue, 08 Jan 2019 20:26:27 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:26:37 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:26:47 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:26:57 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:07 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:17 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:27 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:37 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:47 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:27:57 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:07 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:17 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:27 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:37 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:48 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:28:58 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:08 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:18 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:28 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:38 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:48 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:29:58 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:08 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:18 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:28 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:38 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:48 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:30:58 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:31:09 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:31:19 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:31:29 GMT [control-panel] Reloading config...

critical Tue, 08 Jan 2019 20:31:29 GMT UNCAUGHT EXCEPTION: Not configured. Stopping.
info Tue, 08 Jan 2019 20:31:31 GMT Gracefully shutting down. Will self-destruct in 5 secs.
info Tue, 08 Jan 2019 20:31:31 GMT [hooks] Unregistering hooks.
info Tue, 08 Jan 2019 20:31:36 GMT Time’s up, shutdown forced. Have a jolly good day sir.

PS I just tried it again and got this:

PREY 1.8.2 spreads its wings!
Current time: Tue Jan 08 2019 15:38:48 GMT-0500 (EST)
Running with PID 65106 as prey over Node.js v4.5.0 on a x64 mac system (10.14.2)

 warn Tue, 08 Jan 2019 20:38:49 GMT [control-panel] Not configured. Waiting for user input...
 info Tue, 08 Jan 2019 20:38:59 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:39:09 GMT [control-panel] Reloading config...
 info Tue, 08 Jan 2019 20:39:19 GMT [control-panel] Reloading config...

Is that the complete file? Because is still saying that your device is not configured.

You can also send it to me through javo@preyhq.com