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

Cannot add openSUSE device #119

Closed
johnsto opened this issue Apr 12, 2015 · 4 comments
Closed

Cannot add openSUSE device #119

johnsto opened this issue Apr 12, 2015 · 4 comments

Comments

@johnsto
Copy link

johnsto commented Apr 12, 2015

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 20150407 (Tumbleweed) (x86_64)
Release:    20150407
Codename:   n/a

Somewhat surprised openSUSE isn't supported already!

@mauricioschneider
Copy link
Contributor

We do support openSUSE, but apparently they changed the Distributor ID in their recent release. Thanks for your report.

@mauricioschneider mauricioschneider added this to the 1.4.2 milestone May 18, 2015
@mauricioschneider mauricioschneider self-assigned this May 18, 2015
@mauricioschneider mauricioschneider removed this from the 1.4.2 milestone Jul 14, 2015
@mauricioschneider
Copy link
Contributor

Hello @johnsto, sorry for the delay, we fixed the issue in our servers and it should be working now. Please let us know if the issue persists.

@andrewrembrandt
Copy link

Hi, this just occurred for me on the most recent openSUSE Tumbleweed update:

~> lsb-release -a
LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE Tumbleweed
Description:    openSUSE Tumbleweed
Release:        20170529
Codename:       n/a

screenshot_20170618_144949

Note that the release string is frequently updated

@javo
Copy link
Contributor

javo commented Jun 19, 2017

Hi @andrewrembrandt, The openSUSE is a little complicated, to fix this I need you to make a modification in the client code. 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(' Tumbleweed', ''). So, the line should be: cb(null, name.toString().replace(' Linux', '').replace(' Tumbleweed', ''));. 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.
Regards.

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

No branches or pull requests

4 participants