Initiating The Update Process New Version - MikroTik Script RouterOS
How To Initiating The Update Process New Version
We can now update our router with the following command:
/system package update download
Result:
[admin@MikroTik] > system package update download
channel: bugfix
current-version: 6.42.6
latest-version: 6.45.8
status: Downloaded, please reboot router to upgrade it
This process is usually fast. When it’s finished, we can see all downloaded packages:
/file print where name~".npk"
Result:
[admin@MikroTik] > file print where name~".npk"
# NAME TYPE SIZE CREATION-TIME
0 routeros-mipsbe-6.45.8.npk package 11.5MiB mar/09/2020 21:48:44
1 ntp-6.45.8-mipsbe.npk package 260.1KiB mar/09/2020 21:48:28
The update process will be finished after reboot. During the shutdown process, RouterOS will check for the new .npk files on the local disk and install them. To reboot the router from the command line, type the command:
/system reboot
[admin@MikroTik] > system reboot
Reboot, yes? [y/N]: y
System will reboot shortly
The update and reboot process lasts about minute. Just be patient.
Credit: https://mivilisnet.wordpress.com/2020/03/31/updating-mikrotik-router-from-the-command-line/