FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
913 views 4 comments
by anonymous

Hi,

RUT240 upgraded from 0.1.13.3 to 0.1.14.0
After reboot Service - CLI seems irreversible broken.
This was working fine until upgrade. (Accessing cli is possible using Device CLI url)

No page is registered at '/admin/services/cli/cgi-bin/cli'.
If this url belongs to an extension, make sure it is properly installed.
If the extension was recently installed, try removing the /tmp/luci-indexcache file.


Did a factory reset, problems persists
Did a downgrade to previous version (1.13.3), problem persists
Did a factory reset on 1.13.3, problem persists
Did a downgrade to 1.12, problem persists

In all steps, the same error occured. Deleting /tmp/luci-indexcache did not solve the problem.

Checking if http status reveals a 404 when trying accessing the Services - CLI in webui

 


Please advise

Thanks in advance, Daniel

1 Answer

0 votes
by anonymous

Hi,

Could you try cleanly installing it through bootloader menu?

https://wiki.teltonika-networks.com/view/Bootloader_menu

I've updated my device to 01.14 and CLI and every function works properly.

Did you have any custom compiled firmware installed before?

If nothing works - please cleanly install 01.14 through bootloader menu again and try accessing CLI - after you've failed I would need you to download the troubleshoot file from System > Administration > Troubleshoot and next to "Troubleshoot file" click Download. Please note that doing these steps before downloading troubleshoot file is necessary to see any track of the issue in logs.

Sent that file to me via private message.

by anonymous
Hi and thanks for the reply,

The router is 340 miles away so entering the bootloader is not an option for the moment. :\
Only official Teltonika firmware has been installed.

File coming up ..
by anonymous

Can you check if you're using the right extension? It should be:

http://192.168.1.1/cgi-bin/luci/admin/services/cli

EB.

by anonymous

As the device is remote, I have to use RMS portal.
Here's what shows in the browser, after login and selecting Services - CLI
Checking the page loading in web developer tools reveals the 404 I posted above.


Unfortunately, logread doesn't output any errors from uhttpd
 

by anonymous
Ah, sorry, I finally understood what was the issue for you. CLI won't work inside WebUI when reaching out from RMS, that is the reason why there's a separate CLI connection method in RMS.

Please use the RMS CLI connection method instead of going Services > CLI when in remote WebUI.

EB.