OPNsense Forum

English Forums => General Discussion => Topic started by: perryflynn on March 11, 2023, 01:43:44 PM

Title: opnsense update vs bootstrap
Post by: perryflynn on March 11, 2023, 01:43:44 PM
Hi,

last week I've upgraded a unused OPNSense box from 22.1 to 23.1 and got stuck in the process upgrading from 22.7.11 (if I remember correct) to 23.1. When extracting the kernel some folder didn't exist and it was not able to put a library into the correct location. SSH Login broke, UI was half broken as well.

(Sorry, I've forgot to save the exact error message)

Rescue was the opnsense-bootstrap tool. After that I just needed to install the plugins again and everything was up and running again.

Now my question: When I have the situation that I need to do 3-10 upgrades to reach the up-to-date state again, can I just use opnsense-bootstrap instead of the normal upgrade path?

Are there any disadvantages in addition to the plugins?

Thanks.

Regards
Christian
Title: Re: opnsense update vs bootstrap
Post by: franco on March 11, 2023, 01:51:40 PM
opnsense-bootstrap is an excessive procedure (both in download and disk activity) and only recommended in recovery scenarios which includes reinstalling package repository information. opnsense-update is only a tool handling package updates themselves but shouldn't be run manually unless strictly necessary.


Cheers,
Franco
Title: Re: opnsense update vs bootstrap
Post by: perryflynn on March 11, 2023, 08:38:39 PM
Thank you for clarifying. 👍