Comments (7)
The tmpfs
disk is created automatically by global function $MkDir
, which is run from backup scripts.
Do you get any error messages when running a backup script?
from routeros-scripts.
For information this is CRS309-1G-8S+ router/switch. It is a brand new switch with minimal (i.e., IP Address, etc. to get updates and internet access). Running RouterOS 7.14.3
Executed /system/script/run backup-email; -- let it run for over 10 minutes with no output to the terminal, no creation of tmpfs or files created. The log in winbox from the CRS309 shows this 8 times over the 10 minutes (appears to execute twice every 3 minutes):
ntp settings changed by winbox-3.40/tcp-msg(winbox):[email protected]/terminal/script:backup-email (/system ntp client set enabled=no; /system ntp server set)
Executed /system/script/run backup-upload; -- let it run for over 10 minutes with no output to the terminal, no creation of tmpfs or files created. The log in winbox from the CRS309 shows this 8 times over the 10 minutes (appears to execute twice every 3 minutes):
ntp settings changed by winbox-3.40/tcp-msg(winbox):[email protected]/terminal/script:backup-upload (/system ntp client set enabled=no; /system ntp server set)
Executed /system/script/run check-routeros-update; -- let it run for over 10 minutes with no output to the terminal. The log in winbox from the CRS309 shows this 8 times over the 10 minutes (appears to execute twice every 3 minutes):
ntp settings changed by winbox-3.40/tcp-msg(winbox):[email protected]/terminal/script:check-routeros-update (/system ntp client set enabled=no; /system ntp server set)
For comparison on a working system (CRS317):
Executing /system/script/run backup-email; -- produced nothing to the terminal but executed within 10 seconds. The following entries were produced in the log:
new script scheduled by winbox-3.40/tcp-msg(winbox):[email protected]/terminal/script:backup-email (*18 = /system scheduler add comment="Queuing new mail..." interval=1s name=_FlushEmailQueue on-event=":global FlushEmailQueue; $FlushEmailQueue;" start-time=startup)
changed scheduled script settings by scheduler:_FlushEmailQueue/action:45577 (/system scheduler set _FlushEmailQueue comment="Doing initial checks..." interval=1m)
changed scheduled script settings by scheduler:_FlushEmailQueue/action:45578 (/system scheduler set _FlushEmailQueue comment=Sending... interval=1m)
sent <=?utf-8?Q?[sw0] =F0=9F=92=BE=EF=B8=8F=F0=9F=93=A8=EF=B8=8F Backup & Config?=> to: [email protected]
script removed from scheduler by scheduler:_FlushEmailQueue/action:45581 (/system scheduler remove *18)
Executed /system/script/run backup-upload; This script produced 2 groupings of status, uploaded, total, duration. Executed in under 10 seconds and produced much the same log entries as the email version (with some changes and specifics for upload).
Executed /system/script/run check-routeros-update; -- script produced a single line of output to the terminal: info: System is already up to date. It also produced a single log entry: check-routeros-update: System is already up to date.
The CRS317-1G-16S+ is running RouterOS 7.14.3.
Do I need to remove all of the scripts from the CRS309 and try installing again?
from routeros-scripts.
Can you please give the output of:
:put [ $IsTimeSync ];
from routeros-scripts.
Output is "false"
from routeros-scripts.
I guess your device has a ntp (time) server configured, but fails to sync the time. Thus the scripts wait for the time to be synced. Please check your ntp settings in /system/ntp/client/
...
from routeros-scripts.
Thanks - I will look into that ... strange it has NTP servers and is enabled, but status is waiting
from routeros-scripts.
The NTP Client was the issue. Even though configured it did not actually do the sync. I had disable, enable and reboot and it has now synced time and the scripts executed without issue.
Thanks
from routeros-scripts.
Related Issues (20)
- Feature Request: dhcp-to-dns - use domain from networks HOT 3
- SendTelegram can't be called inside the script HOT 3
- Manage system update - schedule reboot at night no longer working HOT 8
- dhcp-to-dns crashes with IP pool instead of address HOT 5
- DNS records for Openvpn pears HOT 3
- Allow to customize certificate name HOT 11
- DHCP-to-DNS script IPv6 support HOT 5
- DHCP-to-DNS script does not differentiate same MAC addresses on different network domains HOT 4
- 64k limit problem for "tool fetch url" HOT 1
- $ScriptInstallUpdate: Policies differ for script 'global-functions' and its scheduler 'global-scripts'! HOT 1
- netwatch + sendNotification HOT 2
- Add html support to notification telegram HOT 1
- log-forwarding: non expected messages are still forwarded HOT 2
- check-routeros-update and other similar scripts suggested scheduler time HOT 12
- ADD username/password auth for ntfy HOT 7
- Failed Telegram Notification HOT 9
- notification doesn't stat from netwatch HOT 3
- Feature request - optional backup-upload notification HOT 2
- How to write a script to obtain WiFi signals and snr? HOT 1
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 routeros-scripts.