Skip to content
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

openSUSE Leap 42.2 invalid OS error message #249

Closed
fid509 opened this issue Nov 20, 2016 · 6 comments
Closed

openSUSE Leap 42.2 invalid OS error message #249

fid509 opened this issue Nov 20, 2016 · 6 comments

Comments

@fid509
Copy link

fid509 commented Nov 20, 2016

I get this error when trying to authorize:

Linking device...
Error! Invalid os: does not exist.

This is the output of lsb-release -a:

LSB Version: n/a
Distributor ID: openSUSE project
Description: openSUSE Leap 42.2
Release: 42.2
Codename: n/a

@fid509 fid509 changed the title Cannot add openSUSE device openSUSE Leap 42.2 invalid OS error message Dec 3, 2016
@fid509
Copy link
Author

fid509 commented Feb 14, 2017

Still no news bout this after 3 months?

@fid509
Copy link
Author

fid509 commented Mar 3, 2017

Hello! Somebody here?

@javo
Copy link
Contributor

javo commented Mar 3, 2017

Hey! Sorry for the delay man, we already have openSUSE included in our distro list but for some reason is not working, we're checking that out now. I'll let you know when is ready.

@javo
Copy link
Contributor

javo commented Mar 8, 2017

hi @fid509, the case of OpenSUSE has been a little tricky. I need you to make a modification in the client code to make sure if it works. You need to go to usr/lib/prey/current/node_modules/linus/index.js, in that file in the line 54 you have this line of code: cb(null, name.toString().replace(' Linux', ''); I need you to add this: .replace(' project', ''). So, the line should be: cb(null, name.toString().replace(' Linux', '').replace(' project', ''));. Then save the file and run this command to reset the client: sudo pkill -f prx. That should work, please let me know if it's working or not or if you have any doubt.
Greetings.

@fid509
Copy link
Author

fid509 commented Mar 8, 2017

Hello javo. This solution works. My device has been added with success.
PS. the location on my system was /usr/share/prey/node_modules/linus/index.js

@javo
Copy link
Contributor

javo commented Mar 8, 2017

Awesome @fid509, I'm gonna add that fix in the next client release.
Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants