Community discussions

MikroTik App
 
wale
just joined
Topic Author
Posts: 12
Joined: Thu Jun 28, 2018 2:46 pm

aid for reboot for firmware and version upgrade

Mon Aug 13, 2018 7:30 pm

Hello Guys,
I really need assistance with respect to reboot of mikrotik devices.
If i update the router os version, it needs reboot for it to take effect. Also, if i upgrade the firmware, i have to reboot again for it to take effect.
Is there a command to do the reboot once and for all instead of doing it twice.
I look forward to contributions from all as I am open to learning.

Thank you.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13326
Joined: Thu Mar 03, 2016 10:23 pm

Re: aid for reboot for firmware and version upgrade

Mon Aug 13, 2018 9:18 pm

This issue was being brought forward again and again. Official Mikrotik stanza is that firmware update can be done only after updated Router OS is already running. Many users around here have hard time to believe it can't be done in one step.
Possible workaround (still to be implemented by MT) would be "auto firmware upgrade" in a way that after first new ROS boot, but before any interface initialization, FW is upgraded and device rebooted. This way it would seem like a prolonged reboot time but essentially two reboots would happen.
We're all waiting to see if MT will do something about this.

Several users came up with some scripts that automate FW upgrade. Essential problem is detection of availability of new version of FW and a completely fail-safe method is yet to be presented. Another drawback is that custom scripts are run after devices are configured and running and another reboot means another service interruption - some consider one longer interruption to be better than two shorter ones.
 
UpRunTech
Member Candidate
Member Candidate
Posts: 238
Joined: Fri Jul 27, 2012 12:11 pm

Re: aid for reboot for firmware and version upgrade

Tue Aug 14, 2018 5:35 am

Yeah, it's in 6.42.6 (maybe earlier) available from the command line.
system routerboard settings set auto-upgrade=yes
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13326
Joined: Thu Mar 03, 2016 10:23 pm

Re: aid for reboot for firmware and version upgrade

Tue Aug 14, 2018 5:01 pm

Yeah, it's in 6.42.6 (maybe earlier) available from the command line.
system routerboard settings set auto-upgrade=yes
Never tried myself, but I seem to remember discussion on this forum where some forum members claimed that setting above indeed upgrades firmware (as if /system routerboard upgrade was executed), but does not perform reboot. I'd be interested if someone could test it and report back (all of my RBs are at newest FW so I can't test right now ... will wait for next "current" version of ROS to get available).
 
Rian
just joined
Posts: 7
Joined: Wed Feb 24, 2016 5:19 pm

Re: aid for reboot for firmware and version upgrade

Tue Aug 14, 2018 6:10 pm

Yeah, it's in 6.42.6 (maybe earlier) available from the command line.
system routerboard settings set auto-upgrade=yes
Never tried myself, but I seem to remember discussion on this forum where some forum members claimed that setting above indeed upgrades firmware (as if /system routerboard upgrade was executed), but does not perform reboot. I'd be interested if someone could test it and report back (all of my RBs are at newest FW so I can't test right now ... will wait for next "current" version of ROS to get available).
With this you could safe the step to click on System>Routerboard>Upgrade after you did an reboot to install your new ROS Package - You still have to initiate another reboot for the additional Firmware-Upgrade.
-
Tested on a hAP lite (from ROS 6.42.4 to 6.42.6).
 
schadom
Member Candidate
Member Candidate
Posts: 156
Joined: Sun Jun 25, 2017 2:47 am

Re: aid for reboot for firmware and version upgrade

Thu Aug 23, 2018 10:48 pm

While two reboots might be no problem for a home router or AP, in fact it is a HUGE PROBLEM for core routers having lots BGP sessions. In combination with the still very poor BGP convergence time on all the CCR models, the current situation is very unsatisfactory.

Mikrotik please finally fix the update/upgrade process to be a single click/command including automatic reboots. If the software update & routerboard firmware upgrade process does require two reboots, skipping the interface and routing engine initialization for the second reboot could at least make the whole process much faster than now. Just as an idea.