ERROR: broken LATEST file

Brand-new MikroTik user here. I just purchased a new hEX RB750Gr3. WebFig v6.36.1 (stable). The only thing I’ve done so far is change the password.

I wanted to upgrade to the latest stable OS and Firmware if needed, but when I click on /System->Packages->Check_for_Upgrades, I get the following error: “ERROR: broken LATEST file”. I get the same error when I click on /Quick_set->Check_for_Updates.

So, where do I go from here? Is this a serious problem? How do I get around it?

PMark

Can you download this file from the same location? Do you have internet access without the need for proxy/hotspot/etc.?

http://download2.mikrotik.com/routeros/LATEST.6

Done. It’s sitting in my Dropbox folder. Now what?

What is inside :slight_smile: ?
It should contain the following:

6.40.5 1509455115

If it doesn’t RouterOS will say it’s invalid. You can also try to use Fetch from the RouterOS command line to see if contents match.

Four things:
1: I was able to access the file from a computer behind the RB750Gr3-5. So there should be no firewall/proxy problems with the router reading the file if that is what the router is attempting to do.
2: The file does indeed read “6.40.5 1509455115”
3: The error persists.
4: I can find no “fetch” command in the MikroTik RouterOS 6.36.1 CLI that I can access via /New_Terminal.

In fact, here are all the ‘F’ commands listed under help:


execute – run script as separate console job

file – Local router file storage.

find – Find items by value

for – executes command for a range of integer values

foreach – executes command for every element in a list

global – set value global variable

OK we are researching the issue.

Although it will probably make no difference, the fetch command is:

/tool fetch url="http://download2.mikrotik.com/routeros/LATEST.6" mode=http

As all things, this is described here: https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

Well, I fetched as you suggested. This is the result of a /file print:

NAME TYPE SIZE CREATION-TIME

0 flash disk dec/31/1969 18:00:01
1 LATEST.6 .6 file 11.5KiB nov/10/2017 06:08:16

What happens if you drag it from Winbox to your PC and open in Notepad?
11.5KB looks a bit too much

It looks like an HTML file. I have the original LATEST.6 file I downloaded from your first reply in my Dropbox. Should/could I drag it into WinBox without ill effect?

How interesting. Parsing through the HTML file, I find “If you have gotten this web page, your browser is misconfigured.”

Remember, I had no trouble downloading this file from my Firefox or Chrome browser, but when I attempted to “Fetch” it from the Mikrotik RouterOS CLI, I get this HTML file stating my browser is misconfigured.

It means there is something in your network, that interferes with RouterOS accessing the web. Paste the HTML file contents here please.

Or take it home to my home network and update the OS/Firmware there. Luckily the router is small enough that that’s an option.

Thanks for your help, Normis. I appreciate it.