Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
340 stars 52 forks source link

TG588V2 - GUI issue #1090

Open roundaboutluke opened 3 years ago

roundaboutluke commented 3 years ago

Device Model/Firmware: TG588 V2 / MST TG588v v2 16.2.7064.2201001.rbi GUI Version: 9.6.65

Please go to Cards >> GUI Settings >> Debug Report and press the Generate button. Attach the debug file here: NA - I can't get anywhere in the GUI

Description of problem, HOW TO REPRODUCE, Media/Photos:

I have succesfully routed my type2 device and installed, the login page works but beyond that is blank on most browsers except firefox where I see the attached but nothing else will load up. Setup Wizard/Cards/and options under the username do not function.

image

Any help appreciated! I have a lot of these cheaper units to work with so can provide any kind of logging or dumps needed (from a fresh device if needed!)

roundaboutluke commented 3 years ago

Logread entries after accessing the gateway -

(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET / HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/"
Feb  5 21:10:51 dsldevice daemon.err nginx: 2017/02/05 21:10:51 [error] 5135#0: *21 lua entry thread aborted: runtime error: [string "001_gateway.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:       [C]: in function 'require'      [string "001_gateway.lp"]:2: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'      [string "stats.lp"]:8: in function 'n'  /usr/lib/lua/web/lp.lua:55: in function 'include'     [string "/gateway.lp"]:6: in function 'n'        /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET / HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/"
Feb  5 21:10:54 dsldevice daemon.err nginx: 2017/02/05 21:10:54 [error] 5135#0: *22 lua entry thread aborted: runtime error: [string "001_gateway.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:       [C]: in function 'require'      [string "001_gateway.lp"]:2: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'      [string "stats.lp"]:8: in function 'n'  /usr/lib/lua/web/lp.lua:55: in function 'include'     [string "/gateway.lp"]:6: in function 'n'        /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET / HTTP/1.1", host: "192.168.1.1"

Loading /cards.lp it half loads, but whilst populating then errors out with a 500.

Feb  5 21:22:47 dsldevice daemon.err nginx: 2017/02/05 21:22:47 [error] 5135#0: *116 lua entry thread aborted: runtime error: [string "012_printersharing.lp"]:9: bad argument #1 to 'ipairs' (table expected, got nil) stack traceback: coroutine 0:      [C]: in function 'ipairs'       [string "012_printersharing.lp"]:9: in function 'n'        /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/printersharing-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:47 dsldevice daemon.err nginx: 2017/02/05 21:22:47 [error] 5135#0: *114 lua entry thread aborted: runtime error: /usr/lib/lua/web/taint.lua:89: bad argument #2 to 'c' (string expected, got nil) stack traceback: coroutine 0:       [C]: in function 'c'    /usr/lib/lua/web/taint.lua:89: in function 'a'     [string "001_modgui.lp"]:13: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/modgui-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:47 dsldevice daemon.err nginx: 2017/02/05 21:22:47 [error] 5135#0: *115 lua entry thread aborted: runtime error: [string "003_internet_pppoe_routed.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:     [C]: in function 'require'      [string "003_internet_pppoe_routed.lp"]:2: in function 'n'         /usr/lib/lua/web/lp.lua:55: in function 'include'       [string "003_internet.lp"]:32: in function 'n'     /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'        content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/internet-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:47 dsldevice daemon.err nginx: 2017/02/05 21:22:47 [error] 5135#0: *119 lua entry thread aborted: runtime error: /usr/lib/lua/web/taint.lua:89: bad argument #2 to 'c' (string expected, got nil) stack traceback: coroutine 0:       [C]: in function 'c'    /usr/lib/lua/web/taint.lua:89: in function 'a'     [string "001_modgui.lp"]:13: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/modgui-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:47 dsldevice daemon.err nginx: 2017/02/05 21:22:47 [error] 5135#0: *120 lua entry thread aborted: runtime error: [string "003_internet_pppoe_routed.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:     [C]: in function 'require'      [string "003_internet_pppoe_routed.lp"]:2: in function 'n'         /usr/lib/lua/web/lp.lua:55: in function 'include'       [string "003_internet.lp"]:32: in function 'n'     /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'        content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/internet-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *121 lua entry thread aborted: runtime error: /usr/lib/lua/web/taint.lua:89: bad argument #2 to 'c' (string expected, got nil) stack traceback: coroutine 0:       [C]: in function 'c'    /usr/lib/lua/web/taint.lua:89: in function 'a'     [string "001_modgui.lp"]:13: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/modgui-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *118 lua entry thread aborted: runtime error: [string "003_internet_pppoe_routed.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:     [C]: in function 'require'      [string "003_internet_pppoe_routed.lp"]:2: in function 'n'         /usr/lib/lua/web/lp.lua:55: in function 'include'       [string "003_internet.lp"]:32: in function 'n'     /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'        content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/internet-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *122 lua entry thread aborted: runtime error: [string "002_broadband.lp"]:2: loop or previous error loading module 'web.dyntab_helper' stack traceback: coroutine 0:       [C]: in function 'require'      [string "002_broadband.lp"]:2: in function 'n'     /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n' /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/broadband-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *124 lua entry thread aborted: runtime error: /www/lua/wirelessSSID_helper.lua:9: bad argument #1 to 's' (table expected, got nil) stack traceback: coroutine 0:   [C]: in function 's'    /www/lua/wirelessSSID_helper.lua:9: in function 'getSSID'  [string "004_wireless.lp"]:8: in function 'n'   /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/wireless-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *125 lua entry thread aborted: runtime error: /usr/lib/lua/web/taint.lua:89: bad argument #2 to 'c' (string expected, got nil) stack traceback: coroutine 0:       [C]: in function 'c'    /usr/lib/lua/web/taint.lua:89: in function 'a'     [string "001_modgui.lp"]:13: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/modgui-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:57 dsldevice daemon.err nginx: 2017/02/05 21:22:57 [error] 5135#0: *117 open() "/www/docroot/img/gateway_MediaAccess TG588v v2.png" failed (2: No such file or directory), client: 192.168.1.169, server: localhost, request: "GET /img/gateway_MediaAccess%20TG588v%20v2.png HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:58 dsldevice daemon.err nginx: 2017/02/05 21:22:58 [error] 5135#0: *117 lua entry thread aborted: runtime error: [string "009_extensions.lp"]:3: attempt to index a nil value stack traceback: coroutine 0:   [string "009_extensions.lp"]:3: in function 'n'         /usr/lib/lua/web/lp.lua:55: in function 'include'  /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/applications-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:58 dsldevice daemon.err nginx: 2017/02/05 21:22:58 [error] 5135#0: *129 lua entry thread aborted: runtime error: [string "013_parental.lp"]:4: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:  [C]: in function 'require'      [string "013_parental.lp"]:4: in function 'n'      /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'        content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/parental-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:58 dsldevice daemon.err nginx: 2017/02/05 21:22:58 [error] 5135#0: *128 lua entry thread aborted: runtime error: [string "012_printersharing.lp"]:9: bad argument #1 to 'ipairs' (table expected, got nil) stack traceback: coroutine 0:      [C]: in function 'ipairs'       [string "012_printersharing.lp"]:9: in function 'n'        /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/printersharing-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:22:58 dsldevice daemon.err nginx: 2017/02/05 21:22:58 [error] 5135#0: *130 lua entry thread aborted: runtime error: /www/docroot/ajax/cpuload.lua:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:       [C]: in function 'require'      /www/docroot/ajax/cpuload.lua:2: in function 'n'   /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "POST /ajax/cpuload.lua?auto_update=true HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:23:00 dsldevice daemon.err nginx: 2017/02/05 21:23:00 [error] 5135#0: *132 lua entry thread aborted: runtime error: [string "003_internet_pppoe_routed.lp"]:2: loop or previous error loading module 'web.post_helper' stack traceback: coroutine 0:     [C]: in function 'require'      [string "003_internet_pppoe_routed.lp"]:2: in function 'n'         /usr/lib/lua/web/lp.lua:55: in function 'include'       [string "003_internet.lp"]:32: in function 'n'     /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'      /usr/lib/lua/web/web.lua:101: in function 'process'        content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/internet-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:23:00 dsldevice daemon.err nginx: 2017/02/05 21:23:00 [error] 5135#0: *126 lua entry thread aborted: runtime error: [string "012_printersharing.lp"]:9: bad argument #1 to 'ipairs' (table expected, got nil) stack traceback: coroutine 0:      [C]: in function 'ipairs'       [string "012_printersharing.lp"]:9: in function 'n'        /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/printersharing-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
Feb  5 21:23:00 dsldevice daemon.err nginx: 2017/02/05 21:23:00 [error] 5135#0: *134 lua entry thread aborted: runtime error: /usr/lib/lua/web/taint.lua:89: bad argument #2 to 'c' (string expected, got nil) stack traceback: coroutine 0:       [C]: in function 'c'    /usr/lib/lua/web/taint.lua:89: in function 'a'     [string "001_modgui.lp"]:13: in function 'n'    /usr/lib/lua/web/lp.lua:55: in function 'include'       /www/docroot/ajax/get_card.lua:11: in function 'n'         /usr/lib/lua/web/web.lua:101: in function 'process'     content_by_lua(nginx.conf:108):4: in function <content_by_lua(nginx.conf:108):1>, client: 192.168.1.169, server: localhost, request: "GET /ajax/get_card.lua?modal=/modals/modgui-modal.lp HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cards.lp"
root@dsldevice:/#
FrancYescO commented 3 years ago

during install any error showed up? give the same logread using latest dev version, but probably too much effort is required to backport on this device