Ansuel / tch-nginx-gui

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

Fix For Last Firmware 1.1.2 #278

Closed nclmrc closed 5 years ago

nclmrc commented 5 years ago

Ho aggiornato il firmware e mi escono questi errori dopo aver rimesso la GUI. Log: https://pastebin.com/fGFeAUbc

nclmrc commented 5 years ago

Mannaggia a Technicolor. Hanno aggiunto una c nella versione firmware. 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a

Ansuel commented 5 years ago

Dovrei aver fixato

Il Dom 14 Ott 2018, 11:27 Niccolò Marchi notifications@github.com ha scritto:

Mannaggia a Technicolor. Hanno aggiunto una c nella versione firmware. 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-429609743, or mute the thread https://github.com/notifications/unsubscribe-auth/ATWWQj6uN7Vo3xmgT_1XWet3QkHqoQsrks5ukwOZgaJpZM4XbCQq .

nclmrc commented 5 years ago

non va, non era quello, infatti nel firmware beta c'era già la c

nclmrc commented 5 years ago

@Ansuel Ti ho mandato una mail

nclmrc commented 5 years ago

Ora ho rimosso luci con lo script manualmente, settato la variabile luci in env a 0 e riavviato . Almeno la schermata di login della gui la vedo.

nclmrc commented 5 years ago

Ti sei fatto un idea di cosa possa essere?

Ansuel commented 5 years ago

Non è fixato ?

Il Lun 15 Ott 2018, 21:07 Niccolò Marchi notifications@github.com ha scritto:

Ti sei fatto un idea di cosa possa essere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-429976647, or mute the thread https://github.com/notifications/unsubscribe-auth/ATWWQl6CtI1-mB54jNl1ZsLT4TMxW40yks5ulNz3gaJpZM4XbCQq .

nclmrc commented 5 years ago

No

Il Lun 15 Ott 2018, 21:32 Ansuel Smith notifications@github.com ha scritto:

Non è fixato ?

Il Lun 15 Ott 2018, 21:07 Niccolò Marchi notifications@github.com ha scritto:

Ti sei fatto un idea di cosa possa essere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-429976647 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ATWWQl6CtI1-mB54jNl1ZsLT4TMxW40yks5ulNz3gaJpZM4XbCQq

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-429984208, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJFjztZNN64XU6JVa1z3Y0PPbXJK4ks5ulOLWgaJpZM4XbCQq .

nclmrc commented 5 years ago

Sempre quel errore mi esce

Ansuel commented 5 years ago

@nclmrc ho bisogno di questo comando

transformer-cli get uci.version.version.@version[0].mask

nclmrc commented 5 years ago

root@DGA4132:~# transformer-cli get uci.version.version.@version[0].mask uci.version.version.@version[0].mask [string] = 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0 root@DGA4132:~#

Ansuel commented 5 years ago

transformer-cli get uci.version.

Ansuel commented 5 years ago

@nclmrc

nclmrc commented 5 years ago
root@DGA4132:~# transformer-cli get uci.version.
uci.version.versionNumberOfEntries [unsignedInt] = 2
uci.version.version.@version[0].custo [string] = e42126873d3e0a02149d2c844b66c7706aa70f1c
uci.version.version.@version[0].package [string] =
uci.version.version.@version[0].mask [string] = 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0
uci.version.version.@version[0].kernel [string] = 413169f93c49fce9392f8a29ecf9149e13cca086
uci.version.version.@version[0].product [string] = vbnt-s
uci.version.version.@version[0].oid [string] = 5b9bb1a3c0f0e171f39b1e41
uci.version.version.@version[0].config [string] = d96cab359f20d67aef464859849f1d49123a7bf0
uci.version.version.@version[0].version [string] = 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0
uci.version.version.@version[0].marketing_version [string] = 17.3.c
uci.version.version.@version[0].technicolor [string] = 6957fbdcc09b3cd60bbb2061871c498fa30087d2
uci.version.version.@version[0].timestamp [string] = 17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0
uci.version.version.@version[0].marketing_name [string] = Cyan
uci.version.version.@version[0].openwrt [string] = cb16baf33312df1c3c94ad4347aa95cb662e3c5a
uci.version.version.@version[1].custo [string] = 62cb5bf0c6dd51e512a02f491c1c674570258759
uci.version.version.@version[1].package [string] =
uci.version.version.@version[1].mask [string] = 1681019
uci.version.version.@version[1].kernel [string] = 413169f93c49fce9392f8a29ecf9149e13cca086
uci.version.version.@version[1].product [string] = vbnt-s
uci.version.version.@version[1].oid [string] = 5ad78cd02e32ce7234ac0ec5
uci.version.version.@version[1].config [string] = 2b000d1f81ba522961071ab98383057683762dc6
uci.version.version.@version[1].version [string] = 17.3.0268-1681019-20180418202208-2b000d1f81ba522961071ab98383057683762dc6
uci.version.version.@version[1].marketing_version [string] = 17.3
uci.version.version.@version[1].technicolor [string] = 65644eeb87a4ce9c6e469c4c03c721a290ef8bb1
uci.version.version.@version[1].timestamp [string] = 20180418202208
uci.version.version.@version[1].marketing_name [string] = Cyan
uci.version.version.@version[1].openwrt [string] = 9994478e65e83f08b6a62e6edefa48bff72d3cf6
root@DGA4132:~#
Ansuel commented 5 years ago

uci show version

cat /etc/config/version

nclmrc commented 5 years ago
root@DGA4132:~# uci show version
version.@version[0]=version
version.@version[0].version='17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
version.@version[0].mask='17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
version.@version[0].timestamp='17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
version.@version[0].product='vbnt-s'
version.@version[0].marketing_name='Cyan'
version.@version[0].marketing_version='17.3.c'
version.@version[0].config='d96cab359f20d67aef464859849f1d49123a7bf0'
version.@version[0].openwrt='cb16baf33312df1c3c94ad4347aa95cb662e3c5a'
version.@version[0].kernel='413169f93c49fce9392f8a29ecf9149e13cca086'
version.@version[0].custo='e42126873d3e0a02149d2c844b66c7706aa70f1c'
version.@version[0].technicolor='6957fbdcc09b3cd60bbb2061871c498fa30087d2'
version.@version[0].lte='8fa387fa4c87540a79baa20e46012abee36ccfa6'
version.@version[0].routing='e5b651af0315a6b5a8e034e0e530270544f32428'
version.@version[0].packages='f161ea0e5ad061ae6af0024cf1d88b7a795010f6'
version.@version[0].oid='5b9bb1a3c0f0e171f39b1e41'
version.@version[1]=version
version.@version[1].version='17.3.0268-1681019-20180418202208-2b000d1f81ba522961071ab98383057683762dc6'
version.@version[1].mask='1681019'
version.@version[1].timestamp='20180418202208'
version.@version[1].product='vbnt-s'
version.@version[1].marketing_name='Cyan'
version.@version[1].marketing_version='17.3'
version.@version[1].config='2b000d1f81ba522961071ab98383057683762dc6'
version.@version[1].openwrt='9994478e65e83f08b6a62e6edefa48bff72d3cf6'
version.@version[1].kernel='413169f93c49fce9392f8a29ecf9149e13cca086'
version.@version[1].custo='62cb5bf0c6dd51e512a02f491c1c674570258759'
version.@version[1].packages='c858b7d53626e4a888cbf8839e93ed0e036304bc'
version.@version[1].routing='e5b651af0315a6b5a8e034e0e530270544f32428'
version.@version[1].lte='ba4efa592f7aab51ebbea41f737811889e0bd084'
version.@version[1].technicolor='65644eeb87a4ce9c6e469c4c03c721a290ef8bb1'
version.@version[1].oid='5ad78cd02e32ce7234ac0ec5'
root@DGA4132:~#
nclmrc commented 5 years ago
root@DGA4132:~# cat /etc/config/version
config version
        option version '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
        option mask '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
        option timestamp '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0'
        option product 'vbnt-s'
        option marketing_name 'Cyan'
        option marketing_version '17.3.c'
        option config 'd96cab359f20d67aef464859849f1d49123a7bf0'
        option openwrt 'cb16baf33312df1c3c94ad4347aa95cb662e3c5a'
        option kernel '413169f93c49fce9392f8a29ecf9149e13cca086'
        option custo 'e42126873d3e0a02149d2c844b66c7706aa70f1c'
        option technicolor '6957fbdcc09b3cd60bbb2061871c498fa30087d2'
        option lte '8fa387fa4c87540a79baa20e46012abee36ccfa6'
        option routing 'e5b651af0315a6b5a8e034e0e530270544f32428'
        option packages 'f161ea0e5ad061ae6af0024cf1d88b7a795010f6'
config version
        option version '17.3.0268-1681019-20180418202208-2b000d1f81ba522961071ab98383057683762dc6'
        option mask '1681019'
        option timestamp '20180418202208'
        option product 'vbnt-s'
        option marketing_name 'Cyan'
        option marketing_version '17.3'
        option config '2b000d1f81ba522961071ab98383057683762dc6'
        option openwrt '9994478e65e83f08b6a62e6edefa48bff72d3cf6'
        option kernel '413169f93c49fce9392f8a29ecf9149e13cca086'
        option custo '62cb5bf0c6dd51e512a02f491c1c674570258759'
        option packages 'c858b7d53626e4a888cbf8839e93ed0e036304bc'
        option routing 'e5b651af0315a6b5a8e034e0e530270544f32428'
        option lte 'ba4efa592f7aab51ebbea41f737811889e0bd084'
        option technicolor '65644eeb87a4ce9c6e469c4c03c721a290ef8bb1'
        option oid '5ad78cd02e32ce7234ac0ec5'
root@DGA4132:~#
Ansuel commented 5 years ago

strano qualcosa si è fregato nell'aggiornamento o.o hai due versioni

nclmrc commented 5 years ago

Quali sarebbero?

Il Lun 15 Ott 2018, 23:31 Ansuel Smith notifications@github.com ha scritto:

strano qualcosa si è fregato nell'aggiornamento o.o hai due versioni

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430021073, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJDbDBjcfYmz7_zJgndvghT35DnFYks5ulP67gaJpZM4XbCQq .

Ansuel commented 5 years ago

nel senso nel file che mostra le versioni ce ne sono due e non so se è un bug telecom ma la mask non dovrebbe contenere la versione intera ma solo un numero

nclmrc commented 5 years ago

Secondo me è successo casino quando ho ripristinato la vecchia cartella config.

Il Lun 15 Ott 2018, 23:34 Ansuel Smith notifications@github.com ha scritto:

nel senso nel file che mostra le versioni ce ne sono due e non so se è un bug telecom ma la mask non dovrebbe contenere la versione intera ma solo un numero

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430021796, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJB9nD5H04zeFWA36A2pppZGUnxXLks5ulP9KgaJpZM4XbCQq .

nclmrc commented 5 years ago

Ripristinato i file version da rom (version e versioncusto)

nclmrc commented 5 years ago

Riavviato, vediamo che succede

Ansuel commented 5 years ago

i file? quali !

nclmrc commented 5 years ago

Quelli presenti in /rom/etc/config/

Il Lun 15 Ott 2018, 23:46 Ansuel Smith notifications@github.com ha scritto:

i file? quali !

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430025922, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJPddXOcik5f5MzfQ5Pf8v3kAhRswks5ulQIvgaJpZM4XbCQq .

Ansuel commented 5 years ago

......... mai farlo .....

quelle sono configurazioni vuote non configurazioni di default...

bastava ripristinare il file version ma comunque non avevo detto di farlo...

nclmrc commented 5 years ago

Nel file version avevo due versioni

Ansuel commented 5 years ago

potevi semplicemente eliminare la prima sezione...

nclmrc commented 5 years ago

Mi sono assicurato che il file version in rom fosse presente in parte anche nella configurazione attiva

nclmrc commented 5 years ago

Per il file versioncusto devo modificare qualcosa, tipo modificare 1.1.1 con 1.1.2?

Ansuel commented 5 years ago

nha non serve

Ansuel commented 5 years ago

anzi la 1.1.2 è diventata stabile? spero di no...

nclmrc commented 5 years ago

root@DGA4132:/etc/config# logread -f Tue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25 [error] 4187#0: 11 lua entry thread aborted: runtime error: /usr/lib/lua/web/web.lua:337: attempt to perform arithmetic on a nil value stack traceback: coroutine 0: /usr/lib/lua/web/web.lua:337: in function 'isDemoBuild' [string "header.lp"]:112: in function 'content' /usr/lib/lua/web/lp.lua:171: in function 'include' [string "/gateway.lp"]:32: in function 'content' /usr/lib/lua/web/web.lua:249: in function 'process' content_by_lua(nginxTue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25 [error] 4187#0: 12 lua entry thread aborted: runtime error: /usr/lib/lua/web/web.lua:337: attempt to perform arithmetic on a nil value stack traceback: coroutine 0: /usr/lib/lua/web/web.lua:337: in function 'isDemoBuild' [string "header.lp"]:112: in function 'content' /usr/lib/lua/web/lp.lua:171: in function 'include' [string "/gateway.lp"]:32: in function 'content' /usr/lib/lua/web/web.lua:249: in function 'process' content_by_lua(nginxTue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25 [error] 4187#0: 13 lua entry thread aborted: runtime error: /usr/lib/lua/web/web.lua:337: attempt to perform arithmetic on a nil value stack traceback: coroutine 0: /usr/lib/lua/web/web.lua:337: in function 'isDemoBuild' [string "header.lp"]:112: in function 'content' /usr/lib/lua/web/lp.lua:171: in function 'include' [string "/gateway.lp"]:32: in function 'content' /usr/lib/lua/web/web.lua:249: in function 'process' content_by_lua(nginxTue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25 [error] 4187#0: 14 lua entry thread aborted: runtime error: /usr/lib/lua/web/web.lua:337: attempt to perform arithmetic on a nil value stack traceback: coroutine 0: /usr/lib/lua/web/web.lua:337: in function 'isDemoBuild' [string "header.lp"]:112: in function 'content' /usr/lib/lua/web/lp.lua:171: in function 'include' [string "/gateway.lp"]:32: in function 'content' /usr/lib/lua/web/web.lua:249: in function 'process' content_by_lua(nginxTue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25 [error] 4187#0: *15 lua entry thread aborted: runtime error: /usr/lib/lua/web/web.lua:337: attempt to perform arithmetic on a nil value stack traceback: coroutine 0: /usr/lib/lua/web/web.lua:337: in function 'isDemoBuild' [string "header.lp"]:112: in function 'content' /usr/lib/lua/web/lp.lua:171: in function 'include' [string "/gateway.lp"]:32: in function 'content' /usr/lib/lua/web/web.lua:249: in function 'process' content_by_lua(nginxTue Oct 16 00:04:25 2018 daemon.err nginx: 2018/10/16 00:04:25

nclmrc commented 5 years ago

Il file version: root@DGA4132:/etc/config# cat version config version option version '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0' option mask '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0' option timestamp '17.3.c.0337-8041027-20180914150331-d96cab359f20d67aef464859849f1d49123a7bf0' option product 'vbnt-s' option marketing_name 'Cyan' option marketing_version '17.3.c' option config 'd96cab359f20d67aef464859849f1d49123a7bf0' option openwrt 'cb16baf33312df1c3c94ad4347aa95cb662e3c5a' option kernel '413169f93c49fce9392f8a29ecf9149e13cca086' option custo 'e42126873d3e0a02149d2c844b66c7706aa70f1c' option technicolor '6957fbdcc09b3cd60bbb2061871c498fa30087d2' option lte '8fa387fa4c87540a79baa20e46012abee36ccfa6' option routing 'e5b651af0315a6b5a8e034e0e530270544f32428' option packages 'f161ea0e5ad061ae6af0024cf1d88b7a795010f6' root@DGA4132:/etc/config#

Il valore mask è cambiato

nclmrc commented 5 years ago

Si è stabile per questo ho aggiornato 😀

Il Mar 16 Ott 2018, 00:02 Ansuel Smith notifications@github.com ha scritto:

anzi la 1.1.2 è diventata stabile? spero di no...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430030078, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJMIXhWruz6nvT0yrbhGHcU0YNJLJks5ulQX0gaJpZM4XbCQq .

Ansuel commented 5 years ago

merd.... finita la pacchia... vabbè...

nclmrc commented 5 years ago

Ho visto però che dall'ultima beta la versione è rimasta la stessa. Io sono passato da 1.1.1 a 1.1.2

Il Mar 16 Ott 2018, 00:11 Ansuel Smith notifications@github.com ha scritto:

merd.... finita la pacchia... vabbè...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430032285, or mute the thread https://github.com/notifications/unsubscribe-auth/AkzjJD14roYCrh3YwLCNnNyStLmlCAb4ks5ulQgIgaJpZM4XbCQq .

nclmrc commented 5 years ago

Ora va era la mask. Strano che con le beta non avesse dato problemi.

nclmrc commented 5 years ago

Appena messo Luci mi va di default sulla 80. È cambiato qualcosa nell' ultima versione 1.1.2, prima non faceva così.

nclmrc commented 5 years ago

Per completezza ti giro anche il file versioncusto aggiornato. root@DGA4132:/etc/config# cat versioncusto

config override 'override' option fwversionprefix 'AGTHP' option fwversion_suffix '' option fwversion_override_real '1.1.2' option fwversion_override '1.1.2'

root@DGA4132:/etc/config#

Ansuel commented 5 years ago

Come installi luci?

Il Mar 16 Ott 2018, 00:35 Niccolò Marchi notifications@github.com ha scritto:

Appena messo Luci mi va di default sulla 80. È cambiato qualcosa nell' ultima versione 1.1.2, prima non faceva così.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/278#issuecomment-430037574, or mute the thread https://github.com/notifications/unsubscribe-auth/ATWWQvcAC85uW4uNvENnuFqU_WJxJzZGks5ulQ2UgaJpZM4XbCQq .

nclmrc commented 5 years ago

Provato sia da gui sia da script

Ansuel commented 5 years ago

apri altra issue