Community discussions

MikroTik App
 
homerouter
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Sun Dec 26, 2021 12:52 pm
Location: DK

Cant load a older rsc script after updating to 7.14.3.  [SOLVED]

Tue Apr 23, 2024 2:46 pm

Cant load a rsc script after updating to 7.14.3.

I use my test HEX router!

I have a running 7.13.5 with a lot config.
I made a normal firmware update to version 7.14.3.
All is ok.
Then i use system->resetconfig and point the "run after reset" to my version7 script file.
After pressing "reset config" it reboot but came up with errors and no config.

The error is only this: "error while running run-after-reset script: no such item"

EDIT-240424
The problem was this entry:
/port set 0 name=serial0

From the changelog v.7.14.0 i see this:
 port - removed bogus serial port on RB750Gr3, RB760iGS and RBM11G devices;

After i have removed the line all was running ok again.
Last edited by homerouter on Wed Apr 24, 2024 1:26 pm, edited 3 times in total.
 
User avatar
baragoon
Member
Member
Posts: 315
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Cant load a rsc script after updating to 7.14.3.

Tue Apr 23, 2024 3:55 pm

“Guess the error” game
Last edited by baragoon on Tue Apr 23, 2024 3:55 pm, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11746
Joined: Thu Mar 03, 2016 10:23 pm

Re: Cant load a rsc script after updating to 7.14.3.

Tue Apr 23, 2024 3:55 pm

Export scripts are not immutable between ROS versions. So there isn't necessarily anything wrong, it could be that there are some changes between both ROS versions which affect the way comands are executed.

To see what exactly is wrong, you'll have to debug things. One way would be to post actual error messages you're mentioning.

Another way is to apply config on 7.13.5 (which you're saying works fine), upgrade ROS to 7.14.3 and create export (the same way you did with currently used script). And then make a text diff on both versions to see where they differ.
 
homerouter
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Sun Dec 26, 2021 12:52 pm
Location: DK

Re: Cant load a rsc script after updating to 7.14.3.

Tue Apr 23, 2024 4:13 pm

...
Last edited by homerouter on Wed Apr 24, 2024 1:28 pm, edited 1 time in total.
 
homerouter
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Sun Dec 26, 2021 12:52 pm
Location: DK

Re: Cant load a rsc script after updating to 7.14.3.

Tue Apr 23, 2024 9:14 pm

...

Who is online

Users browsing this forum: jaclaz, MrVladman and 62 guests