Comments (11)
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.
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.
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.
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.
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.
The 02:00 one is the scheduled run. The 02:01 one is the manual try.
from mikrotik-routeros-automatic-backup-and-update.
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.
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.
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.
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.
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)
- sensitive information in ROS v7 HOT 5
- Not working on Mikrotik x86 HOT 17
- Comma in Identity
- execute doesn't passing local variable
- Mikrotik model name.
- Adding Public IP to email details HOT 3
- Subject to contain date HOT 4
- Invalid Body.......... HOT 4
- Suggestion: Missed schedule backup time HOT 1
- Suggestion: Disabling the "Auto backup before updating" feature.
- Change the date format for ROS 7.1 and early. HOT 1
- Telegram notification HOT 2
- Not updating firmware on second action! HOT 3
- Mikrotik 7.12 Breaking Changes HOT 4
- ROS 7.13 - invalid BODY error HOT 1
- Script error at email check for RouterOS 7.12.1 HOT 3
- How about an option/variable to extend the time waiting for export to complete HOT 1
- Script error for RouterOS 7.15 HOT 9
- Script does not work on a CloudHostetRouter HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mikrotik-routeros-automatic-backup-and-update.