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

Script error for RouterOS 7.15 #53

Closed
lc1ferr opened this issue Jun 3, 2024 · 9 comments
Closed

Script error for RouterOS 7.15 #53

lc1ferr opened this issue Jun 3, 2024 · 9 comments

Comments

@lc1ferr
Copy link

lc1ferr commented Jun 3, 2024

There was an error while running the script. The log shows: 'executing script BackupAndUpdate from winbox failed, please check it manually"

@beeyev
Copy link
Owner

beeyev commented Jun 3, 2024

Yes, you need to execute the script manually and you will see the actual error.

@lc1ferr
Copy link
Author

lc1ferr commented Jun 3, 2024

Thank you for your response. I have manually run the script, but the log still shows: 'Executing script BackupAndUpdate from Winbox failed. Please check it manually.' There are no additional log entries.

@beeyev
Copy link
Owner

beeyev commented Jun 3, 2024

Please provide a screenshot of what the console is showing after you execute this command:

/system script run BackupAndUpdate;

@lc1ferr
Copy link
Author

lc1ferr commented Jun 3, 2024

bad command name routerboard (line 236 column 42)

@beeyev
Copy link
Owner

beeyev commented Jun 3, 2024

Provide the details about your device

@lc1ferr
Copy link
Author

lc1ferr commented Jun 3, 2024

Device information:
Identity: MikroTik
Model: CloudHostedRouter
Serial number: --
Current RouterOS: 7.15 (stable)

The command '/system resource get board-name' executed in the console did not return any content. Therefore, on line 217, the 'do={
isSoftBased true;}' command was not executed.

@beeyev
Copy link
Owner

beeyev commented Jun 3, 2024

Could you please execute this command in your console, and tell me what it returns:

:put [/system resource get board-name]

Repository owner deleted a comment from lc1ferr Jun 3, 2024
@beeyev
Copy link
Owner

beeyev commented Jun 3, 2024

I created a bugfix, but could you please check if it works first.

Here is the new version of the script:
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/blob/beeyev-patch-1/BackupAndUpdate.rsc

This is the PR with changes

@lc1ferr
Copy link
Author

lc1ferr commented Jun 4, 2024

The script is now working correctly. Thank you very much!

@lc1ferr lc1ferr closed this as completed Jun 4, 2024
beeyev added a commit that referenced this issue Jun 4, 2024
bugfix - cloud based detection #53
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