Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mikrotik 7.12 Breaking Changes #44

Closed
amp88759 opened this issue Nov 11, 2023 · 4 comments
Closed

Mikrotik 7.12 Breaking Changes #44

amp88759 opened this issue Nov 11, 2023 · 4 comments

Comments

@amp88759
Copy link

I think this script is great.

When the script updates 7.11.2 to 7.12 the script becomes broken because one of the commands has been renamed.

Looking at this https://forum.mikrotik.com/viewtopic.php?t=201345

It states:
email - rename "address" property to "server"

Therefore to fix the script find the section of script below

#Check proper email config
:if ([:len $emailAddress] = 0 or [:len [/tool e-mail get address]] = 0 or [:len [/tool e-mail get from]] = 0) do={
    :log error ("$SMP Email configuration is not correct, please check Tools -> Email. Script stopped.");
    :error "$SMP bye!";

change the word address (after get) to server

Apply the script.

When updating from 7.11.2 to 7.12 the script failed. The routerOS was updated but the routerboard firmware was not.

I hope this helps someone!

@beeyev
Copy link
Owner

beeyev commented Nov 11, 2023

Thanks for finding the solution, I really appreciate it.
I will make a fix asap.

@amp88759
Copy link
Author

amp88759 commented Nov 11, 2023 via email

@beeyev
Copy link
Owner

beeyev commented Nov 11, 2023

Fixed, thanks for your help, mate!

@beeyev beeyev closed this as completed Nov 11, 2023
@amp88759
Copy link
Author

amp88759 commented Nov 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants