As it may sound funny, but I found myself in several occasions stumbled because Mikrotik upgrade does not go. Mikrotik does not report anything, jsut restarts staying at the same version.
After lots of messing aroud I finally realize that I am using upgrade package for wrong platform.
It would be nice if Mikrotik would notify that wrong platform packages are found before it reboots avoiding update.
I’m pretty sure it says in the logs that it was the wrong package type. Did you check the logs after a botched upgrade?
Until you reboot it’s just files like any other to the router, so it can’t know until you’ve rebooted.
Though it might be nice to have a new “system package verify-files” command you run manually before rebooting that could figure out package type and could also run file verification so you know the file isn’t broken.
Nope, I could not check in log as it dislays lots of information and scrolls out fast. Also I think, this occasion issue strongly candidate for warning in console so it is easily visible and obvious.
And I second your idea of being able to check validity of packages before upgrade as I also had several situations where some packages were not uploaded correctly through Winbox drag&drop. Hopefully, I noticed that before rebooting so I was able to fix it.
Updating happens outside of RouterOS. When the router is running there are just files in the file system. When the router reboots right after the boot loader the router checks for those files and tries to install them, and them boots into the OS.
You could take a lab unit and figure out what topics the upgrade stuff gets logged to and them shift that into a special log action so your other logs don’t overwhelm it. Though in my opinion if your log buffer is filling up that quick you’re either logging too much or there’s something seriously wrong. What’s the point of an internal log buffer that fills up so quick you can’t even check on it? This might make sense if you’re logging to an external server where you can easily filter, but in memory where stuff scrolls off it makes logging pointless.
it does report wrong package type. you have too many logs, like fewi said. the only time when the package stays there, and log is empty, if you put the files into a subfolder, where upgrader doesn’t see them.
for somebody else, some different log is more important. this is why RouterOS is fully customizable. decide which log type this is, and configure a different action
if you are using auto-update feature, then you upload files to the router where they are redistributed to other routers. These other routers can be from other architecture. As result of your suggestion, if you use this system you would get a lot of warnings on every reboot that there are wrong packets available.
I’ve done upgrades numerous times and yes, upgrade packages get deleted, even if they are wrong type. Sometimes it misses and does not delete all but leaves one or two files.
Look, I am not talking about this because I am bored, but because this is a real issue. I see no reason why it is so hard for you to put simle sigle line notice in console when upgrade procedure finds wrong type package and aborts upgrade.
But, ok that is a Mikrotik way we saw numerous times before.