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

Error in Web GUI: 2023.01.20 #133

Closed
TheBlueJester opened this issue Jan 20, 2023 · 2 comments
Closed

Error in Web GUI: 2023.01.20 #133

TheBlueJester opened this issue Jan 20, 2023 · 2 comments

Comments

@TheBlueJester
Copy link

Howdy!

I've just tried out the new pre-release: 2023.01.20
Have a small issue to report: Web GUI Errors.

Hardware: DJA0230
Firmware: 20.3.c.0432-MR21-RA

Steps taken:
I overrode all the previous scripts in root with the new ones. Minus Xtras scripts.
Ran de-telstra, no changes to the config.
Then ran tch-gui-unhide.

I have an error message on screen when using the Web GUI, details below.

Troubleshooting:
I tried running tch-gui-unhide-cards.
Options v, then s, then a.
No change.
I did the same update procedure and steps on my other DJA0230 and there are no errors.

Extra Info:
The DJA0230 with the issues have the wireguard and samba Xtra scripts installed/running.

image

Error shown on screen:

/usr/lib/lua/web/taint.lua:280: bad argument #3 to 'format' (no value)
stack traceback:
[string "/gateway.lp"]:32: in function <[string "/gateway.lp"]:32>
[C]: in function 'format'
/usr/lib/lua/web/taint.lua:280: in function 's'
/www/lua/devicescard_helper.lua:21: in function 'getDevicesCardHTML'
[string "009_Devices.lp"]:4: in function 'content'
/usr/lib/lua/web/lp.lua:171: in function 'include'
[string "/gateway.lp"]:32: in function <[string "/gateway.lp"]:32>
[C]: in function 't'
[string "/gateway.lp"]:32: in function 'content'
/usr/lib/lua/web/web.lua:249: in function 'process'
content_by_lua(nginx.conf:132):4: in function

@seud0nym
Copy link
Owner

Oops! The change to show inactive devices on the card broke the WireGuard extras script.

Thanks for letting me know.

Please re-run:

./tch-gui-unhide -x wireguard

and that should fix it.

@TheBlueJester
Copy link
Author

Yep, that's solved it!
Thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants