Jump to content

100 Packages to Update?


JTsao

Recommended Posts

Posted

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?

Posted

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.

2022-03-16_09-43-55.jpg.c35f3fdc378fb24af14aa0265e1c5767.jpg

Posted (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 by vbphil
Added list of upgrades.
Posted (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 by JTsao
Posted

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.

Posted

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).

Posted
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. 

Posted
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.

Posted
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.

1636601135_Screenshot_20220317-114556_SamsungInternet.thumb.png.cf057eda2680267b63962d8b592d5ff3.png

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)

Posted
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:

image.png

 

Mine shows 3.0.45 after updates.

I have reboot entire polisy also.

 

 

  • Like 1
Posted
49 minutes ago, jfai said:

Open the Dashboard from the Polisy webserver, e.g. https://192.168.0.18/dashboard.

1636601135_Screenshot_20220317-114556_SamsungInternet.thumb.png.cf057eda2680267b63962d8b592d5ff3.png

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................

1.jpg

2.jpg

Posted
1 minute ago, asbril said:

I don't have these options at all................

1.jpg

2.jpg

Now I understand.... I have these options in PG2 but not in PG3.

Posted
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.

Posted
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. 

 

Posted
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.

  • Thanks 1
Posted

@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]$

 

Posted (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 by brians
  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...