Mikrotik-RouterOS-automatic-backup-and-update icon indicating copy to clipboard operation
Mikrotik-RouterOS-automatic-backup-and-update copied to clipboard

Failure since update to RouterOS 7.14.2

Open amp88759 opened this issue 1 year ago • 11 comments
trafficstars

Receive the error message in the email:

Mikrotik couldn't get any information about new RouterOS from server!

amp88759 avatar Apr 02 '24 12:04 amp88759

I have manually run the script and it appears to be fully functional now. I will wait for the automatic backup and update tomorrow morning to see if the script fails again.

amp88759 avatar Apr 02 '24 12:04 amp88759

Receive the error message in the email:

Mikrotik couldn't get any information about new RouterOS from server!

Same here but it happened just after 7.14.1. I can run it manually but the scheduled version is broken.

02:00:00 script,info Bkp&Upd: script "Mikrotik RouterOS automatic backup & update" started.
02:00:00 script,info Bkp&Upd: Script Mode: osupdate, forceBackup: false
02:00:01 fetch,info Download from ipv4.mikrotik.ovh FINISHED
02:00:01 script,info Bkp&Upd: Performing the first step.
02:00:01 script,info Bkp&Upd: Checking for new RouterOS version. Current version is: 7.14.2
02:00:11 script,warning Bkp&Upd: There is a problem getting information about new RouterOS from server.

Penticore avatar Apr 02 '24 13:04 Penticore

I checked the command from the code and the last one has an empty result:

/system package update check-for-updates
            channel: stable
  installed-version: 7.14.2
     latest-version: 7.14.2
             status: System is already up to date

/system package update get latest-version

Penticore avatar Apr 02 '24 13:04 Penticore

Here is the test from this evening:

02:00:00 script,info Bkp&Upd: script "Mikrotik RouterOS automatic backup & update" started.
02:00:00 script,info Bkp&Upd: Script Mode: osupdate, forceBackup: false
02:00:01 fetch,info Download from ipv4.mikrotik.ovh FINISHED
02:00:01 script,info Bkp&Upd: Performing the first step.
02:00:01 script,info Bkp&Upd: Checking for new RouterOS version. Current version is: 7.14.2
02:00:10 script,warning Bkp&Upd: There is a problem getting information about new RouterOS from server.
02:00:10 script,info Bkp&Upd: Checking If the script needs to create a backup.
02:00:10 script,info Bkp&Upd: There is no need to create a backup.
02:00:10 script,info Bkp&Upd: Sending email message, it will take around half a minute...
02:00:12 e-mail,info sent <Bkp&Upd: Device - azurea. Error: No data about new RouterOS!> to: asd@asd
02:00:41 script,info Bkp&Upd: script "Mikrotik RouterOS automatic backup & update" completed it's job.r
02:00:41 script,info 
02:01:05 script,info 
02:01:05 script,info Bkp&Upd: script "Mikrotik RouterOS automatic backup & update" started.
02:01:05 script,info Bkp&Upd: Script Mode: osupdate, forceBackup: false
02:01:06 fetch,info Download from ipv4.mikrotik.ovh FINISHED
02:01:06 script,info Bkp&Upd: Performing the first step.
02:01:06 script,info Bkp&Upd: Checking for new RouterOS version. Current version is: 7.14.2
02:01:13 script,info Bkp&Upd: System is already up to date.
02:01:13 script,info Bkp&Upd: Checking If the script needs to create a backup.
02:01:13 script,info Bkp&Upd: There is no need to create a backup.
02:01:13 script,info Bkp&Upd: script "Mikrotik RouterOS automatic backup & update" completed it's job.r

Penticore avatar Apr 03 '24 00:04 Penticore

The 02:00 one is the scheduled run. The 02:01 one is the manual try.

Penticore avatar Apr 03 '24 00:04 Penticore

note: The script works fine on the old switches (CRS125 - mipsbe), but not on the newer routers (RB4011 - arm and ccr1009 - tile).

Penticore avatar Apr 03 '24 00:04 Penticore

Same problem, sometimes works sometimes its not working but it always works if I run the script manually.

When the schedule runs I get "Bkp&Upd: There is a problem getting information about new RouterOS from server."

proteus88 avatar Apr 03 '24 06:04 proteus88

It's fixed. I have recreated the scrips on the routers from scratch and it's working well.

Penticore avatar Apr 03 '24 16:04 Penticore

I did put the updated script a few days ago because of this problem, its the same for me. I only added email and password.

Maybe smth on mikrotik side when its trying to check for updates.

proteus88 avatar Apr 03 '24 18:04 proteus88

Also, ensure that the script is not scheduled for on-the-hour times, such as 13:00 or 17:00, because MikroTik servers are highly loaded during those periods. It's preferable to schedule the script at random minutes, like 13:46, for example.

beeyev avatar Apr 03 '24 19:04 beeyev

Yep, it was the time schedule, changed to something else and its ok now... and 5:00AM GMT+2 is not a good time to auto update . 😄

proteus88 avatar Apr 05 '24 05:04 proteus88