Jump to content

Reset ISY on Polisy


DirkM

Recommended Posts

Posted

I managed to break ISY on Polisy to the point where it's completely invisible. Not found anymore in ISY Launcher/Finder. Not via IP address. Not via Polisy. Polisy is fine though.

I tried resetting Polisy which removed all my nodes and reset the password but did not remove/reset ISY and ISY is still nowhere to be found.

Tried sudo service status isy but only get status does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable.

I'm a Linux Noob but based on this I would say ISY is installed:

[admin@polisy /]$ uname -a
FreeBSD polisy 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #13 releng/13.0-n244760-940681634ee: Wed Aug 25 16:44:58 UTC 2021     ec2-user@bsdev.isy.io:/usr/obj/usr/src/amd64.amd64/sys/POLISY  amd64
[admin@polisy /]$ pkg_info
-bash: pkg_info: command not found
[admin@polisy /]$ sudo pkg update
Password:
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating udi repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%  107 KiB 109.9kB/s    00:01    
Processing entries: 100%
udi repository update completed. 400 packages processed.
All repositories are up to date.
[admin@polisy /]$ sudo pkg upgrade
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
bash: 5.1.8 -> 5.1.12 [udi]
Number of packages to be upgraded: 1
1 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching bash-5.1.12.pkg: 100%    1 MiB   1.3MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Upgrading bash from 5.1.8 to 5.1.12...
[1/1] Extracting bash-5.1.12: 100%
[admin@polisy /]$ sudo service udx restart
Stopping udx.
Waiting for PIDS: 1097.
eval: cannot create /dev/speaker: Device busy
eval: cannot create /dev/speaker: Device busy
eval: cannot create /dev/speaker: Device busy
CURRENT OS 13.0.4
No need to upgrade the OS
libwebsockets already removed
flashrom already removed
net/avahi already removed
dns/nss_mdns already removed
pkg already installed
dbus already installed
ca_root_nss already installed
dual-dhclient already installed
bash already installed
mongodb36 already installed
p5-IO-Socket-SSL already installed
git already installed
sudo already installed
polyglot already installed
mosquitto already installed
powerdxx already installed
e2fsprogs-libuuid already installed
c-ares already installed
rapidjson already installed
mongo-c-driver already installed
npm already installed
isy already installed
tpm2-tools already installed
tpm2-abrmd already installed
python38 already installed
python3 already installed
py38-cryptography already installed
py38-netifaces already installed
py38-pip already installed
py38-pycryptodome already installed
py38-yaml already installed
py38-dateparser already installed
py38-holidays already installed
py38-certbot already installed
py38-aiohttp already installed
py38-zeep already installed
py38-sqlite3 already installed
py38-pillow already installed
Starting TPM security services
Starting udx.
[admin@polisy /]$ sudo service isy restart
Stopping isy.
Setting permissions for ISY directories/files
udx is running as pid 2222.
you can disable uftdi driver by adding isy_load_uftdi=NO in /etc/rc.conf
11    1 0xffffffff81d40000     8320 uftdi.ko
Starting isy.
[admin@polisy /]$

Is there a config file or directory that I can remove to reset ISY?

Posted (edited)
6 hours ago, DirkM said:

Tried sudo service status isy but only get status does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable.

While I can't answer you're question, I can tell you that "sudo service isy status" is what you want to run to see the status of the ISY service under FreeBSD which is the OS Polisy uses.

Also, trying running "sudo service pg3 status" to see the status of the Polyglot v3 service.

 

Edited by DaveStLou
Posted

Thanks, Dave,

I made some progress this morning. Resetting Polisy without PLM brought ISY back to life. Running sudo service isy status now returns isy is running as pid 1116. Running sudo service pg3 status returns pg3 does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable though.

After I was able to find ISY I reconnected the PLM and restarted Polisy and everything seems to be still working. I added some NodeServers and see them appearing in ISY and I was able to link an Insteon switch.

The only thing missing for now is ISY Portal. The portal thinks Polisy is offline, Help / manage Modules says everything is up to date but I don't see Portal Integration as product listed under About (was working before I messed everything up). I also don't have Portals under configuration anymore. Tried to remove and re-add Polisy from/to Portal but still the same.

Posted
34 minutes ago, DirkM said:

I don't see Portal Integration as product listed under About (was working before I messed everything up). I also don't have Portals under configuration anymore.

Try Help > Manage Modules

and/or

Configuration Tab > Portals may be waiting for you to accept.

 

  • Like 1
Posted

Thanks, MrBill, did both with no change. Manage Modules comes back with all up to date and Portal is missing ini the Configuration tab, so nothing to accept.

Posted

Michel fixed it on the server side (I suppose), after that Manage Modules prompted to install ISY Portal and it's all good again.

  • Like 1
  • 1 month later...
Posted (edited)
On 11/20/2021 at 4:32 PM, MrBill said:

Try Help > Manage Modules

and/or

Configuration Tab > Portals may be waiting for you to accept.

 

 

On 11/22/2021 at 12:03 PM, DirkM said:

Michel fixed it on the server side (I suppose), after that Manage Modules prompted to install ISY Portal and it's all good again.

I am also missing the Portals Tab and I get the Your Modules are up to date! message.  If I go to My Products on the Universal Device My Account web page and click the Modules button, it tell me it is Not a valid serial number.  @Michel Kohanim, open a Ticket?

 

Nevermind, I was using the wrong web site.

Edited by Whitehambone
My brain was not working...
  • 2 months later...
Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

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