-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Empty or outdated config file. Please run ‘config activate’ and retry" while upgrading on OS X El Capitan #161
Comments
Performing a complete uninstall won't solve the issue.
|
my install path seems different: /usr/local/lib/prey/versions/1.4.2/bin/prey however I have the exact same issue here. have scrubbed off old install with help of prey support, error still occuring |
@markdrayton247 Can you check if there's any content under |
there is none. |
In that case, could you please run the following commands and see if you can complete the configuration process?
|
yes that works, thanks |
Thanks, I fixed my previous comment. What is the |
nothing, empty |
What about If the previous command returns nothing, then try the following: |
/Library/LaunchDaemons/com.prey.agent.plist: No such file or directory |
Ok, so let's try running the post_install hooks: Thanks for your patience, by the way. |
Running "config activate" as preyError running command: spawn EACCES-- This is probably because the new plist still no such file... thanks for helping |
Ok, so let's ensure the
and then re-run the |
Running "config activate" as preyError running command: spawn EACCES-- This is probably because the new |
That's really weird. I'll have to give it a closer look and get back to you later. |
@markdrayton247 In a brief moment of brightness I came up with an idea. Could you please try running this? |
ls: /usr/local/lib/prey: Permission denied (yes I did sudo) On 17 November 2015 at 16:17, Mauricio Schneider [email protected]
|
Ok, that was the intended output. Could you please try running these:
|
ends with: Running "config activate" as prey Error running command: spawn EACCES -- This is probably because the new -- read and exec access to the full path: Error! Command failed: On 17 November 2015 at 17:21, Mauricio Schneider [email protected]
|
Does it end with error this time? If not, could you check if there's a .plist now?
|
yes, no plist exists. error is : Error running command: spawn EACCES-- This is probably because the new |
Perhaps it's a problem with the Prey user, what happens if you run this:
|
Also, could you please re-check what are the permissions for the following folders:
|
the create_user script gives: prey already seems to have impersonation privileges. Skipping...drwxr-xr-x 8 markdrayton admin 272 4 Nov 11:46 local |
Could you please run |
now we're getting somewhere : Running post_activate hooks... Voila! All good. Installing init scripts. Sweet! Please run Voila! All good. On 17 November 2015 at 19:36, Mauricio Schneider [email protected]
|
ran the gui, all seems cool now, preyproject can connect to this machine. I'm not sure how I got into such a mess, but you are a patient and very On 17 November 2015 at 19:46, Mark Drayton [email protected] wrote:
|
On the contrary; you sir are the hero, thank you. This helped me identify an edge case which caused this issue. Now I'll be able to fix it in our next release. |
Just wanted to say that I had this problem also with 1.4.2 on El Capitan, installing Prey for the first time ever. I followed your instructions in the last few posts and it fixed my problems. Thanks! |
Hi everyone, Could it possible for one of you to do "beginner" tutorial for that operation ? I'm also on El Capitan, I've got the same problem, but I'm lost with these instructions, even if I understood that all of that are commands to input in Terminal. Thank you all |
Hello @Monochrome001, I'll be releasing 1.5.0 on Wednesday and the OS X installer will include the extra permissions instruction needed for El Capitan. |
Thank you ! |
This issue is fixed in the Prey v1.5.0 Mac OS X installer being released in a few minutes. |
It would be great if this could be fixed, I am NOT entering sudo commands on my machine. But if this can ever be fixed by uninstalling and reinstalling let us know. Thx. |
I am having the same issue and need some clearer instructions too please. I was able to install on my macbook OK: Yosemite 10.10.1 Installed prey-mac-1.6.1-x86.pkg |
followup: There was a permission issue for sudo so that Prey could not write to the system files. I couldn't fix the sudo permission problem so I upgraded to El Capitan and then the install worked fine. |
For the record being on El Capitan doesn't necessarily solve this problem. It's a serious open issue and in my case is happening on El Capitan Therefore the laptop I use the most and pay for is not protected by Prey. I hope this can be fixed in an updated release soon. Thanks. |
Nice discovery @tonsequitur, prey user should have permission to access the config file once the installation ends. |
Hello @tonsequitur and @jonwreed Thanks! |
it is impossible to install EL CAPITAN mac on prey, it sais outdated config file all time. Anyone a solution? |
Hello @escapone, |
GREAT! Works like a charm! THX |
Just to confirm that I have had the same probem on 1.6.1 and lemavri's/javo's fix (I assume the chmod) fixed it for me. Many thanks. |
Is the 1.6.2 release where this issue is fixed out yet? If not, any idea of timeframe? Thank you. |
Hi @deeplypuzzled and @jonwreed, Thanks for your comments, the new release with the fix for this issue is gonna be released this week. We're gonna let you know as soon as it's available. |
The new release 1.6.2 is now available with the fix to this issue :) |
Thanks - the new release solved the issue for me. Took a while but appreciate you handling this, very happy my most important laptop now back online. Thx. |
Problem
The installer fails when upgrading from Prey 1.4.1 or older. The title is the actual problem.
When running the
config activate
command you get this output,How it was detected
Tons of user feedback.
Suggested solution
Fix the upgrading process.
More info
The text was updated successfully, but these errors were encountered: