Giter Club home page Giter Club logo

Comments (11)

amp88759 avatar amp88759 commented on July 28, 2024 2

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.

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024 1

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

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024

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.

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024

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

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024

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

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024

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

from mikrotik-routeros-automatic-backup-and-update.

Penticore avatar Penticore commented on July 28, 2024

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

from mikrotik-routeros-automatic-backup-and-update.

proteus88 avatar proteus88 commented on July 28, 2024

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."

from mikrotik-routeros-automatic-backup-and-update.

proteus88 avatar proteus88 commented on July 28, 2024

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.

from mikrotik-routeros-automatic-backup-and-update.

beeyev avatar beeyev commented on July 28, 2024

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.

from mikrotik-routeros-automatic-backup-and-update.

proteus88 avatar proteus88 commented on July 28, 2024

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 . 😄

from mikrotik-routeros-automatic-backup-and-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.