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

/export does not work ROUTEROS7 #106

Closed
Lilleri opened this issue Oct 5, 2023 · 3 comments
Closed

/export does not work ROUTEROS7 #106

Lilleri opened this issue Oct 5, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Lilleri
Copy link
Contributor

Lilleri commented Oct 5, 2023

Version of RouterOS
7.11.2

To Reproduce
use the function export() or perform a query with the endpoint /export

Expected behavior
i expect to output the configuration of the mikrotik

In summary when i use export() or perform the query /export instead of receiving the configuration i receive this error
bad command name bash (line 1 column 1)
i saw that this error is caused by this parameter bash -se when it tries to connect to the SSH to retrieve the configuration,
if i remove that i receive with success the configuration

@Lilleri Lilleri added the bug Something isn't working label Oct 5, 2023
@EvilFreelancer
Copy link
Owner

Hi, thanks for your report! Can you create a PR with your fix?

@Lilleri
Copy link
Contributor Author

Lilleri commented Oct 9, 2023

hello, i just made the PR, i cannot test if this works in the previous RouterOS versions too.

@EvilFreelancer
Copy link
Owner

@Lilleri hi! Your fix was merged, thanks!

You may try update to 1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants