rancid script stop collecting config after upgrade to 6.49

rancid (expect) debug (before 6.49)


send: sending “system package print detail without-paging\r” to { exp5 }
expect: does “system package print detail without-paging\r\n”
6.49.png

rancid (expect) debug (after 6.49)

send: sending “system package print detail without-paging\r” to { exp5 }
expect: does "[rancid@sihome-mt] > s\u001b[Ky\r[rancid@sihome-mt] > sy\u001b[Ks\r[rancid@sihome-mt] > sys\u001b[Kt\r[rancid@sihome-mt] > syst\u001b[Ke\r[rancid@sihome-mt] > syste\u001b[Km\r[rancid@sihome-mt] > system\u001b[K \r[rancid@sihome-mt] > …
6.46.png

Rancid is not a MikroTik product.

Ask the authors of Rancid.

yes, but rancid only get response from mikrotik and output from router look curiously. pls check my post carefully, thanks.

Like all software on the world, MikroTik can change something on his product, and are the other software producers than must align his own product.

Your post is confusing, and I don’t understand anything about it.

It assumes someone uses Rancid and knows what you’re talking about.

You must ask the question in an intelligent and intelligible way by those who must not use Rancid to know what you are talking about.

check and compare "send: sending" and "expect: does" for both version

"send: sending" - command was send over ssh connection
"expect: does" - response received from router

Of course MikroTik can(even must) change something on his product.
We just wanna know what changed - nothing in CHANGELOG about it.
Knowledge will help us to understand how to solve the issue.
Might be enough to do some small changes in mrancid - thats all.
But you, instead to help us, silencing everyone about the problem.

rejecting, offer - that is the point.

There is no other convenient product for saving backup versions.

in my opinion the problem is described sufficiently … for delevopers not for plain users

[quote=rextended post_id=887965 time=1635432574 user_id=68609]
[quote=andrey0001 post_id=887671 time=1635293046 user_id=192456]
But you, instead to help us, silencing everyone about the problem.
[/quote]

You have just subscribed to write your own what?

I do not silenced anyone, also because I’m only an user, not an administrator or moderator.

I only ask the OP to write the question “in an intelligent and intelligible way by those who must not use Rancid to know what you are talking about”.



If the OP can not do that, are only OP’s problems,

and also you do not add absolutly nothing of value, only sht.
[/quote]

Hi
the solution : add +cte to the username in the login config.
something like that :

add user * rancid+cte

I’m also having the exact same issue with Rancid after updating to 6.49

Thanks a lot .. it works!

This does work indeed, could you point us to documentation describing why this is needed ? I do not see it explained in the docs on the dev’s site.

I found the options after the username on https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface, however we have used this for years without the +cte and there is no mention in the changelogs on 6.49 that this may have changed.

Thank you.

Solution that worked for me:
https://github.com/haussli/rancid/commit/fef0b6ec166ae2892e8fc6e6a3d0f2de82379c29

At some point in v7 this has started to work again without the +cte hack