OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: myksto on January 24, 2019, 04:39:09 pm

Title: Can't complete update from 18.7.9 to 18.7.10_3
Post by: myksto on January 24, 2019, 04:39:09 pm
I have several machine around the world and one by one I updated them to the latest release 18.7.10_3.
Well, I have a Dell server machine, identical to 3 others that I manage that can't complete the update process.
All packages and plugins have been updated apart from "base" and "kernel" packages.
I tried to reboot the server after an incomplete update process but with no luck. Dashboard says it's version 18.7.10_3 but if I check for updates I found that "base" and "kernel" need to be updated. I click on update button again but it starts to try to updated with no result.
I attached screen of the dashboard, the update process page,and the list of packages to be updated.
How can I overcome this strange situation?

Thanks and cheers,
Michele.
Title: Re: Can't complete update from 18.7.9 to 18.7.10_3
Post by: myksto on January 25, 2019, 08:31:38 am
I reply to myself because I solved my problem. Hope it can be useful to share this.
I found an old post [https://forum.opnsense.org/index.php?topic=7253.0] where a user had problems to upgrade from an earlier version.
In console I used these commands:
# opnsense-update -sn "18.7\/latest"
# pkg bootstrap -f
then typed "y"

As far I could understand all packages and plugins have beeen reinstalled, I saw no errors.
After that I went to the gui and tried again to update "base" and "kernel" packages. At that time updates succeded, firewall rebooted and voilĂ , everything is ok now.

It would be nice to know why I encountered this kind of problem, I have several machine like the on which I had this problem, same hardware, same all.

Best regards,
Michele.
Title: Re: Can't complete update from 18.7.9 to 18.7.10_3
Post by: franco on January 25, 2019, 11:07:14 pm
Hi Michele,

From the screenshots it's hard to tell. It wants to apply the updates for base and kernel, but it ultimately can't.

Was there an error at the end of the firmware upgrade procedure or even a reboot?


Cheers,
Franco
Title: Re: Can't complete update from 18.7.9 to 18.7.10_3
Post by: myksto on January 28, 2019, 08:52:57 am
Hello Franco and thanks for reply.
Unfortunately there was no error at the end of the firmware upgrade simply because there was no end of that process. What I saw on the gui were the dots on the screen that kept on increasing until I forced the firewall to reboot.
Maybe some packages failed to install and the commands:
# opnsense-update -sn "18.7\/latest"
# pkg bootstrap -f

fixed someting, I don't know.

Cheers,
Michele.
Title: Re: Can't complete update from 18.7.9 to 18.7.10_3
Post by: franco on January 30, 2019, 12:53:46 pm
That seems weird, it only reinstalls "pkg" package but maybe it was defunct for one reason or another.


Cheers,
Franco