Jump to content

cloneRepo: Error: runInstallProcess: undefined


SSalaun

Recommended Posts

Posted (edited)

I'm very new to the Polisy so forgive me if there is an obvious fix (not sure if this is even the right place for this post).

 

When I try to install anything from the NodeServer store it says it's installing in green but right under it I get this error:

cloneRepo: Error: runInstallProcess: undefined

Is there something I am doing wrong?

As an example I try to install the iAquaLink node server and it gives the above error but it also does show the node in the dashboard (with a status of disconnected) and the nodeserver in the ISY shows under nodeserver but from the documentation it seems it should also show up in the admin console where I can then click the discover devices button. It never gets to that point.

Attached is what the polisy has in it's logs for the install attempt.

Any help would be greatly appreciated, I'm pretty lost as to what to do next.

Regards,

Stephane

iaqualink error.jpg

Edited by SSalaun
added screen cap of the polisy log
Posted (edited)

Check out this thread https://forum.universal-devices.com/topic/31989-error-clonerepo-error-runinstallprocess-undefined/

I was told :

 

In 99% of the cases, this is related to Polisy not having access to the internet (perhaps you configured static IP and the gateway or DNS are incorrect). If that’s not the case,
and if your unit is from a long time ago, then you may need to upgrade the OS. If you know how to use ssh, then:

  1. ssh to Polisy
  2. login (default is admin/admin)
  3. at the prompt:

curl -s
https://pkg.isy.io/script/update121.sh | sudo bash

Edited by Ajax
Posted

Thanks for the quick reply Ajax.

I've used ssh sparingly prior to today but after a lot of googling and copying and pasting I'm getting much more familiar with it lol.

I have the polisy using DHCP with an IP reservation and DNS is set to using the router, which is is what my laptop is using and it looks like everything is okay....

Like I said, a lot of copy/paste in ssh going on. In the log I saw that the install.sh of the nodeserver I was trying to get to install had an error:

./install.sh: line 2: pip3: command not found

the line in install.sh was: pip3 install -r requirements.txt --user

I ran a bunch of things trying to get pip3 to install and when I ran pip3 install -r requirements.txt --user from the command line it looked like it was installing.

Now when I start the nodeserver for iAqaLink it says:

ModuleNotFoundError: No module named 'polyinterface'

I googled it but haven't come across anything that has resolved it.

It kinda feels like something isn't installed correctly on my polisy. I got it about a month ago so I don't think it's too old.

I run the curl command you suggested and rebooted but the node server still doesn't wanna start.

Thanks again for your help!

Stephane

 

 

iaqualink error 2.jpg

Posted

Even though you ran the pip3 command, you probably ran it as user "admin" and Polyglot is running as user "polyglot".  So when you ran it, it installed the modules but they were installed for user "admin" and when the node server, running as user "polyglot" starts, it still doesn't have access to the modules.

I think what you'll need to do is delete the iAquaLink node server (not uninstall, just delete).  And then do the Add Nodeserver again to re-add it.  That should re-run the install.sh script which will run pip3 again and, hopefully, install the modules so the node server runs.

If that doesn't work, then try deleting and uninstalling the node server.  If after that, you still have issues, best to open a ticket with UDI.

Posted

Hi bpwwer,

Thanks for the insight, didn't realize installing would only do it for admin and not the polyglot user.

I tried deleting that NS and re-adding it, but no dice. It still gives that polyinterface error.

I'll try opening the ticket, crossing my fingers....

Stephane

Posted

Hello all,

I logged into Stephane's system and the issue was that pip3 was pointing to py37 instead of py38. Somewhere along the line, our script that migrates all these links had a bug and didn't run. Trying to find the root cause. If you have this issue, all you need to do is:

sudo ln -s /usr/local/bin/pip-3.8 /usr/local/bin/pip3

With kind regards,
Michel

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...