OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: gh0st on June 14, 2016, 07:07:57 pm

Title: Updates on dashboard ends up in no updates!
Post by: gh0st on June 14, 2016, 07:07:57 pm
Hi all!

When pressing Click to check for updates on dashboard and it tells you that there are updates available and you press Click to upgrade, that link ends up in no updates available and you are forced to re-run it to fetch the latest.

Is this a design by feature or a bug?
Title: Re: Updates on dashboard ends up in no updates!
Post by: gh0st on June 14, 2016, 07:12:34 pm
Like now, dashboard told me after I fetched the updates that I have 31 update and the other page told me; "Current status is unknown.".

Then I need to fetch updates again.

Running; OPNsense 16.1.15-amd64
Title: Re: Updates on dashboard ends up in no updates!
Post by: franco on June 21, 2016, 09:12:42 pm
Hi gh0st,

"Current status is unknown" is a backend race that can happen when jumping into the updates from the dashboard. Since there never was an easy error message associated and this doesn't disrupt actual operation in any way, we did not look into it.

Pulling the version info again is done intentionally, because the previous caching was done too eagerly and it seemed to want to upgrade again.

We also don't poll the updates in any way so all the data is user driven. So going from the dashboard to the firmware page wipes the box memory and the update info needs to be refreshed. The same goes for changing crypto flavour or mirror locations.

There are tickets in GitHub for these things, but meanwhile we have a few more important firmware updates pushed to -devel that are far more important to bring to the release like the firmware page refresh continue during mid-update. I expect a lot more tweaks for firmware post 16.7.


Cheers,
Franco