Upgrading the firmware on a Mikrotik router is quick and easy, although it should be noted that testing that everything is working as expected afterwards is also highly recommended.
Current State
The Mikrotik RB5009 router is currently running RouterOS 7.21.5, which is a relatively stable long-term support (LTS) release which should give some consistency as I get the hang of RouterOS. This has now been retired due to Security vulnerablitly in Mikrotik RouterOS with an advisory to upgrade as soon as possible, even if the published weaknesses are not relevant and mitigations applied.
Desired State
The router is upgraded to Router 7.23.5 which is the new LTS release.
Upgrade Notification

WinBox has been advising an upgrade to the latest version has been available pretty much continuously since I bought the RB5009. It was supplied with RouterOS 7.19 which had already been superseded and I upgraded to 7.21.5 initially as its an LTS release and I wanted feature stability while getting to know RouterOS. The LTS versions are always a lower version number than the latest so this wasn't really much help.
I also have the WinBox app installed on an Android tablet, which I personally find is not as usable as the Desktop version, just 'cos it's tablet and I find a mouse and keyboard to be much more usable for most things. While it had also been advising an upgrade was available, it added a more urgent notification on the 6th September which is a huge improvement over the desktop edition and first alerted me that RouterOS had a potentially serious issue.
For what it's worth, you can also subscribe to a Mikrotik newsletter at https://mikrotik.com/notifications. I've done that since but not yet had any alerts, which I guess is a good thing.
RouterOS Upgrade
I upgraded from 7.19 to 7.21 during my first exploration and I generally check for and apply updates on a quarterly cycle. It's too early for me to tell how often I'll need to worry about RouterOS, to start with it'll probably be a monthly check if the management apps are only going to report on the very latest stable release and I stay on the LTS track.
The upgrade process is quite simple and doesn't do anything unusual compared to other products.
Backup
Upgrades are reverseable, but having a full configuration backup before making changes is always a good idea. RouterOS gives you two options for backing up your configuration
- Backup - a full system backup of everything as a binary file
- Export - system config as a text file, excluding credentials
For an upgrade I want a full backup of everything to go back onto the same host so I'm going to use the full backup option.
Go to Files > File > Actions : Backup
You will be prompted for a filename and an optional password. For full backups it's probably worth encrypting if there's any chance the backup could be leaked since the backup will contain your admin user credentials. And if that backup is going to be held on any sort of online storage the chances of leakage, while possibly extremely small, are greater than zero.
Once taken download the backup dump somewhere safe by selecting the backup file and then clicking on Actions : Download. You can leave the backup file on the device for easy restore or remove it once you're sure it's stored safely.
Manual download of upgrade package
RouterOS versions for the RB5009 can be downloaded from the Mikrotik website at https://mikrotik.com/download?architecture=arm64 which will give you a choice of long-term, stable or development editions with a few versions of each. There's also other architectures but loading the wrong one - if your router doesn't save you - is not going to end well. You get a choice of a System package (.npk) or install image (.iso) and hovering over them will give you the filename, size and an SHA256 checksum so you can validate the download.
For this upgrade I'm going to use the system package routeros-7.23.5-arm64.npk which is 13.25 MB and has a checksum of df1abd9c97b93d132393c839f3f80355facec43d8ada902e22f8eb949ce33162 which can also be saved as a file by the really low-tech option of right-clicking and selecting save page as... option. This lets you check the file integrity without having to manually compare a 64 digit number
#:> cd ~/Downloads
#:> sha256sum -c routeros-7.23.5-arm64.npk.sha256
routeros-7.23.5-arm64.npk: OK
The routeros-7.23.5-arm64.npk can then be uploaded to the router ready for upgrade by going to Files > File > Upload and selecting the .npk package from your downloads directory.
There's no explicit upgrade option, just reboot the router once it's uploaded and it'll apply the upgrade during startup.
Automated Upgrade
The other option is to use WinBox and go to System > Packages > Packages > Configuration : Check For Updates which will bring up a new Check for Updates panel.
Set the channel to which one you're using, which I'm going to keep as long term for now and it will then show you the current and latest versions and the option to download or download & install.
Click the download and install and then wait about 5 minutes while it completes. And yes, this will cause a brief outage.
Summary
Upgrades are really easy to apply and it only takes a few minutes.
The fun part is testing. While an organisation might be able to afford to have a dedicated test router and appropriate testing setup, this is not something most home or small office users will be able to do. Keeping a backup of the configuration and the previous version to revert back to should give you the abiltiy to roll back an upgrade if something interesting occurs.
One side effect of this upgrade is that WinBox appears to have accepted that I'm using the LTS versions and has stopped warning me about the latest stable updates.
Notes
This was article was written with reference to a Mikrotik RB5009 running RouterOS 7.21.5 (and 7.23.5 by the end) using WinBox 4.3. I expect this to be broadly similar for later versions but that cannot be guaranteed.