JTsao Posted March 16, 2022 Posted March 16, 2022 I have been checking almost daily for Polisy updates via the System->Check for Polisy Updates menu and have been appyling the updates as they come out. There's been a lot of updates recently, but I don't think any of them have caused any problems for me yet. I just checked and now it says 100 packages available for update. Is anyone else seeing this many? I have never seen anything close to that amount and am concerned that something might break. Has anyone actually applied these updates?
vbPhil Posted March 16, 2022 Posted March 16, 2022 I'm running 3.0.45 and there is no Check for Polisy Updates in my System menu. Strange. I've been using SSH to do updates, so I rarely check for that menu.
vbPhil Posted March 16, 2022 Posted March 16, 2022 (edited) I just checked with SSH and I get 123 packages to update. Quote Number of packages to be upgraded: 123 The process will require 12 MiB more space. 168 MiB to be downloaded. Proceed with this action? [y/N]: Here's a partial list minus the FreeBSD upgrades: ca_root_nss: 3.75 -> 3.76 [udi] expat: 2.4.4 -> 2.4.7 [udi] harfbuzz: 4.0.0 -> 4.0.1 [udi] isy: 5.4.1_1 -> 5.4.1_2 [udi] jpeg-turbo: 2.1.1_1 -> 2.1.3 [udi] libedit: 3.1.20210216,1 -> 3.1.20210910,1 [udi] libraqm: 0.8.0 -> 0.9.0 [udi] pg3: 3.0.45 -> 3.0.46 [udi] python38: 3.8.12_1 -> 3.8.12_2 [udi] udx: 2.6.0_7 -> 2.6.0_8 [udi] Edited March 16, 2022 by vbphil Added list of upgrades.
mjrush Posted March 16, 2022 Posted March 16, 2022 I did a sudo pkg update, sudo pkg upgrade this morning and there was a big FreeBSD update.
Geddy Posted March 16, 2022 Posted March 16, 2022 Looks like PG3 was updated. Usually @bpwwer will make an update in the PG3 Release status thread. I had 115 packages to update when went through SSH update/upgrade process. PG3 is now version 3.0.46. Lots up the updates were to FreeBSD packages. PG3 web interface now shows:
JTsao Posted March 17, 2022 Author Posted March 17, 2022 (edited) Updated and everything seems OK. Question - how do we know if the Polisy requires a re-boot after updating? I have been rebooting after updating in the past, but now with IoP running, I don't really want to reboot unless it is needed. Is it better to update via SSH + "sudo pkg update sudo pkg upgrade" vs. the web page? (because there is more feedback via the SSH terminal about the update vs. just a couple of beeps). If you type "pkg info | grep -i ISY" before and after the update and see that the ISY, PG3, Polyglot2 and udx versions have not changed, does that imply that each of those things does not have to be restarted? Edited March 17, 2022 by JTsao
jfai Posted March 17, 2022 Posted March 17, 2022 If your Polisy has fairly recent FreeBSD and udx versions (less than 9 months old or so), my experience is that the "Update Polisy" menu entry in the Polisy UI is working well. The update script will do a reboot as necessary, otherwise only the updated services are restarted. If you want to know what's going on during the update, you can follow the system log. SSH into Polisy, then: tail -n 50 -f /var/log/messages Note: The SSH connection will be terminated when the Polisy is rebooted.
asbril Posted March 17, 2022 Posted March 17, 2022 I am probably confused, but I don't see an option in Polisy to update. I once (I think)m did an update from within the AC, but now no longer see that option. Yesterday I performed a SSH update and I believe that I saw 400 updates. After that update, at first none of my 11 Zwave devices showed connected in IoP and all but 2 came back after two reboots. I had to include the other two again (after exclude).
lilyoyo1 Posted March 17, 2022 Posted March 17, 2022 6 minutes ago, asbril said: I am probably confused, but I don't see an option in Polisy to update. I once (I think)m did an update from within the AC, but now no longer see that option. Yesterday I performed a SSH update and I believe that I saw 400 updates. After that update, at first none of my 11 Zwave devices showed connected in IoP and all but 2 came back after two reboots. I had to include the other two again (after exclude). Mine showed blank as well until I triggered them. All of mine came back though at least.
asbril Posted March 17, 2022 Posted March 17, 2022 9 minutes ago, lilyoyo1 said: Mine showed blank as well until I triggered them I tried that first, but I got most back after 2 reboots.
jfai Posted March 17, 2022 Posted March 17, 2022 13 minutes ago, asbril said: I am probably confused, but I don't see an option in Polisy to update. I once (I think)m did an update from within the AC, but now no longer see that option. Yesterday I performed a SSH update and I believe that I saw 400 updates. Open the Dashboard from the Polisy webserver, e.g. https://192.168.0.18/dashboard. Then select System > Update Polisy. This works with all major web browsers (well, I haven't tested all of them, but I know it works with Edge and Samsung Internet. The U/I was implemented with Angular, so it should work with all major web browsers)
brians Posted March 17, 2022 Posted March 17, 2022 On 3/16/2022 at 9:01 AM, Geddy said: Looks like PG3 was updated. Usually @bpwwer will make an update in the PG3 Release status thread. I had 115 packages to update when went through SSH update/upgrade process. PG3 is now version 3.0.46. Lots up the updates were to FreeBSD packages. PG3 web interface now shows: Mine shows 3.0.45 after updates. I have reboot entire polisy also. 1
asbril Posted March 17, 2022 Posted March 17, 2022 49 minutes ago, jfai said: Open the Dashboard from the Polisy webserver, e.g. https://192.168.0.18/dashboard. Then select System > Update Polisy. This works with all major web browsers (well, I haven't tested all of them, but I know it works with Edge and Samsung Internet. The U/I was implemented with Angular, so it should work with all major web browsers) I don't have these options at all................
asbril Posted March 17, 2022 Posted March 17, 2022 1 minute ago, asbril said: I don't have these options at all................ Now I understand.... I have these options in PG2 but not in PG3.
jfai Posted March 17, 2022 Posted March 17, 2022 I see ... you're running Polyglot version 3 (alpha). My comments apply to version 2.
asbril Posted March 17, 2022 Posted March 17, 2022 7 minutes ago, jfai said: I see ... you're running Polyglot version 3 (alpha). My comments apply to version 2. I run both and I am wondering why these options are not in PG3.
Geddy Posted March 17, 2022 Posted March 17, 2022 53 minutes ago, brians said: Mine shows 3.0.45 after updates. What process did you use to update? If SSH then log back in and try pkg version Check for PG3 version in the list. If still showing 3.0.45 then run the commands in the post @bpwwer made for PG3 announcements. sudo pkg update sudo pkg upgrade sudo service pg3 restart I think the other option would be to follow the wiki instructions of pressing the multi function button on the front once. https://wiki.universal-devices.com/index.php?title=Polisy:User_Guide#Update_and_Upgrade_All_the_Packages I did not reboot the device after updates. I figure if it needs to be rebooted somebody will say reboot. I don't know enough about FreeBSD stuff or *nix to know when to reboot or not, but always remember the computer geeks I know bragging about never having to reboot their *nix machines just stopping and restarting processes seemed to be the same as a Windows reboot. So I try not to reboot or power cycle the Polisy if I don't necessarily have to. That's just personal preference.
MrBill Posted March 17, 2022 Posted March 17, 2022 54 minutes ago, Geddy said: If still showing 3.0.45 then run the commands in the post @bpwwer made for PG3 announcements. sudo pkg update sudo pkg upgrade sudo service pg3 restart I think the other option would be to follow the wiki instructions of pressing the multi function button on the front once. One issue is that upgrade and update, bring all packages up to date.... but the changes don't take effect until the service is restarted. The other day Michel's announcement included an isy restart, but in reality PG3 had updated also. so... either check version numbers to see what needs to be restarted... OR... reboot polisy. 1
brians Posted March 17, 2022 Posted March 17, 2022 @GeddyI had already tried the ssh method and currently there are no updates. I just tried again... [admin@polisy /var/polyglot/pg3/ns]$ pkg version|grep pg3 pg3-3.0.45 ? [admin@polisy /var/polyglot/pg3/ns]$ sudo pkg update 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. [admin@polisy /var/polyglot/pg3/ns]$ 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 (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. [admin@polisy /var/polyglot/pg3/ns]$ pkg version|grep pg3 pg3-3.0.45 ? [admin@polisy /var/polyglot/pg3/ns]$
Geddy Posted March 18, 2022 Posted March 18, 2022 @brians You didn’t do the restart command. At least doesn’t show above. sudo service pg3 restart
brians Posted March 18, 2022 Posted March 18, 2022 (edited) 1 hour ago, Geddy said: @brians You didn’t do the restart command. At least doesn’t show above. sudo service pg3 restart I did that, I had edited my above message earlier to show but I guess I didn't save. Just notice one more update and now am at 3.0.47 Edited March 18, 2022 by brians 1
Recommended Posts