Luci-app-ttyd: Failed to set the 'innerHTML' property on 'Element' when using "Openwrt" theme

As the name suggests, Luci's Terminal page (the luci-app-ttyd package) fails to load when using the OpenWrt theme instead of the Bootstrap theme (the luci-theme-openwrt package).

This issue also occurs with other luci packages and is related to the HTML code (Cause br/).

Where can I find the file on my router to customize the HTML code?

What is the output of:

ubus call system board

(run this command within an ssh session)

root@OpenWrt23-pahalan-ib1:~# ubus call system board
{
"kernel": "5.15.167",
"hostname": "OpenWrt23-pahalan-ib1",
"system": "Qualcomm Atheros QCA9533 ver 2 rev 0",
"model": "MikroTik RouterBOARD 952Ui-5ac2nD (hAP ac lite)",
"board_name": "mikrotik,routerboard-952ui-5ac2nd",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.5",
"revision": "r24106-10cc5fcd00",
"target": "ath79/mikrotik",
"description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
}
}

Have you tried 24.10 to see if the problem still exists? And does this work with other themes?

23.05 is EOL and now unsupported, so unless it's simply a config file change, there will be no updates to fix the old version.

1 Like

Yes, I understand that the version is unsupported, but I know how to fix the problem. Where is the HTML code for Luci on my router to fix it for me? http://192.168.1.1/cgi-bin/luci/admin/services/ttyd/config

1 Like

you can find the code under /www/ on your router.

1 Like

The /www/ folder contains mostly *.js files and they do not contain HTML code

The /www/ folder mainly contains *.js files, and they do not contain HTML code.


The preferred language of the OpenWrt forums is English, as this helps maximize the number of people who can participate in the conversation. Accordingly, please be sure to post in English.

You may use an online translator, and you're welcome to also include your native language in addition to English.

Thank you.

The installation package for version 24.10 has the same problem

luci-app-ttyd_26.012.02584~e2228c0_all.ipk

Installing a theme package from a more recent version solves the issue, you can close it.

luci-theme-openwrt_26.018.63408~11ffeb0_all.ipk