OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: c-mu on February 11, 2020, 02:13:49 PM

Title: Scheduled Upgrade?
Post by: c-mu on February 11, 2020, 02:13:49 PM
Hi,
is it possible to schedule the upgrade from 19.7.10_1 to 20.1 via cronjob?

I want to do an unattended upgrade during the night.

Thank you!
Title: Re: Scheduled Upgrade?
Post by: franco on February 11, 2020, 03:01:07 PM
Hi Claas,

There's a firmware cron job to select, the super-secret and dangerous parameter to add in the respective field is:

ALLOW_RISKY_MAJOR_UPGRADE

We don't recommend it. ;)


Cheers,
Franco
Title: Re: Scheduled Upgrade?
Post by: c-mu on February 12, 2020, 09:44:53 AM
Worked well this night! Thank you very much.
Title: Re: Scheduled Upgrade?
Post by: franco on February 12, 2020, 03:20:01 PM
Ok, nice. Don't forget to disable this after use. :)


Cheers,
Franco
Title: Re: Scheduled Upgrade?
Post by: carrot on February 04, 2021, 01:39:19 PM
Good morning all,

Is there a way to make it force major risky via the API?

thanks

Title: Re: Scheduled Upgrade?
Post by: franco on February 05, 2021, 01:48:04 PM
Looks like these things have been answered here... https://forum.opnsense.org/index.php?topic=20807.0