Reply
Thread Tools
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#11
Yes, it works again!

At the end of the installation I got a message that I should fire up a GUI. I lost the exact message, but nothing was fired up when I ran the command. So I got it working with:
Code:
prey config settings update api_key aa9999999999
prey config account setup
The API-key is found on the Settings page on the Prey website, left bottom corner.

In the meantime I tried the PreyGUI from Warehouse, but that did not do the trick. So I uninstalled it again.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it

Last edited by rob_kouw; 2015-09-14 at 15:17.
 
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#12
Not everything is configurated now, it seems. Looking up the location from the Prey website provides the following log:
Code:
   notice Mon, 14 Sep 2015 15:22:36 GMT [control-panel] Got valid push request!
     warn Mon, 14 Sep 2015 15:22:38 GMT [control-panel] Got 1 commands.
     info Mon, 14 Sep 2015 15:22:45 GMT [reports] Gathering status report.
    error Mon, 14 Sep 2015 15:22:45 GMT [reports] Unable to get battery_status: Unable to read battery info.
    error Mon, 14 Sep 2015 15:22:45 GMT [reports] Unable to get logged_user: No logged user detected.
     info Mon, 14 Sep 2015 15:22:52 GMT [reports] Report gathered: status
     info Mon, 14 Sep 2015 15:22:52 GMT [control-panel] Posting data
     info Mon, 14 Sep 2015 15:22:53 GMT [control-panel] Got 200 response: OK
So the user is not detected or registered? I'm also puzzled by the following:
Code:
[root@Jolla nemo]# prey config check
Checking installation.
Installation seems to be clean as a bean. Good job!
Voila! All good.
[root@Jolla nemo]# prey config activate
Error! This command should be run as the prey user.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#13
install sudo
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#14
Originally Posted by coderus View Post
install sudo
I did. Followed the instructions by nieldk.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#15
Originally Posted by rob_kouw View Post
I did. Followed the instructions by nieldk.
Well, not completely folloew instructions

I suggest you follow them.

Better to start with removing prey, removing any registered device in control panel (prey site)

Then, start from beginning on 1st post

Btw. No. There is no GUI, yet. Except prey website.
 

The Following User Says Thank You to nieldk For This Useful Post:
Eminem's Avatar
Posts: 212 | Thanked: 184 times | Joined on May 2010 @ Sweden
#16
Got this when trying to install Prey on Sailfish OS 2.0.0.10.


Code:
[root@Jolla Downloads]# devel-su                                                Password:
[root@Jolla Downloads]# npm install -g prey
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/tomas/node-campfire.git /root/.npm/_git-remotes/git-github-com-tomas-node-campfire-git-82e0df35: undefined
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/tomas/node-campfire.git /root/.npm/_git-remotes/git-github-com-tomas-node-campfire-git-82e0df35: undefined
npm ERR! Linux 3.4.108.20150901.1
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "prey"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ENOGIT

npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

> prey@1.3.9 preuninstall /usr/lib/node_modules/prey
> ./bin/prey config hooks pre_uninstall

module.js:338
    throw err;
          ^
Error: Cannot find module 'commander'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/lib/node_modules/prey/lib/common.js:12:27)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
npm WARN continuing anyway prey@1.3.9 preuninstall: `./bin/prey config hooks pre_uninstall`
npm WARN continuing anyway Exit status 1

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nemo/Downloads/npm-debug.log
[root@Jolla Downloads]# [root@Jolla Downloads]# devel-su                                                Password:
bash: [root@Jolla: command not found
[root@Jolla Downloads]# [root@Jolla Downloads]# npm install -g prey
bash: [root@Jolla: command not found
[root@Jolla Downloads]# npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/tomas/node-campfire.git /root/.npm/_git-remotes/git-github-com-tomas-node-campfire-git-82e0df35: undefined
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
npm WARN continuing anyway prey@1.3.9 preuninstall: `./bin/prey config hooks pre_uninstall`
npm WARN continuing anyway Exit status 1

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nemo/Downloads/npm-debug.log
[root@Jolla Downloads]#
__________________
And the natural balance is restored to the universe
 
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#17
Originally Posted by Eminem View Post
Got this when trying to install Prey on Sailfish OS 2.0.0.10.

Code:
npm ERR! Please check if you have git installed and in your PATH.
Solution in your terminal session
 

The Following 2 Users Say Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#18
Originally Posted by nieldk View Post
Solution in your terminal session
OMG! If you think i need to read all these output AND understand it - you REALLY wrong here!! You need to make it work for everybody and without any problems! And i do not need to understand how it works, i just need to click INSTALL button and everything should be done automatically! You should fix it ASAP!
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#19
Originally Posted by coderus View Post
OMG! If you think i need to read all these output AND understand it - you REALLY wrong here!! You need to make it work for everybody and without any problems! And i do not need to understand how it works, i just need to click INSTALL button and everything should be done automatically! You should fix it ASAP!
I will add a preinstall script that will prevent installation if you don't entré the correct last 4 ciphers of pi.
 

The Following 3 Users Say Thank You to nieldk For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#20
Originally Posted by nieldk View Post
I will add a preinstall script that will prevent installation if you don't entré the correct last 4 ciphers of pi.
THAT has made me ROTFLMAO. Thanks for giving my day a good start!
 

The Following User Says Thank You to pichlo For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:46.