eworm-de / routeros-scripts

a collection of scripts for MikroTik RouterOS
GNU General Public License v3.0
1.27k stars 285 forks source link

Manage system update - schedule reboot at night no longer working #42

Closed neverchained closed 1 year ago

neverchained commented 1 year ago

When running /system/script/run packages-update; I can no longer schedule a reboot over night.

Output of Terminal:

/system/script/run packages-update;
info: Package file routeros already exists.
info: Running backup script backup-cloud before update.
  status: finished

info: Rebooting for update.
Reboot, yes? [y/N]: 
N
action cancelled

RouterOS Version 7.9

eworm-de commented 1 year ago

Yes, this is a known issue with RouterOS 7.9 and later. The detection whether or not a script is run from terminal is broken. I've opened an issue with Mikrotik, but that is not yet resolved.

Actually I have opened several issues to enhance the situation even more... But non of this has been implemented yet.

Do you have an account in MikroTik support portal? I could share the issues with you if interested...

neverchained commented 1 year ago

Do you have an account in MikroTik support portal? I could share the issues with you if interested...

If Support Portal = https://help.mikrotik.com/, please share the issue! Thank you!

eworm-de commented 1 year ago

What is your account's mail address?

neverchained commented 1 year ago

I just emailed you the address.

eworm-de commented 1 year ago

Received an internal build (RouterOS 7.10alpha250) that fixes the issue. Stay tuned for this to land in an official version...

eworm-de commented 1 year ago

Looks like the change did not make it into RouterOS 7.10rc1... Let's hope we will see it before 7.10 final release.

eworm-de commented 1 year ago

The fix is in 7.11beta2...

eworm-de commented 1 year ago

Finally available in stable release 7.11.