Erreur debian 12

Bonjour

Je viens de basculer en debian 12 sur une vm sous proxmox.
J’ai ce message qui revient régulièrement dans les logs :

Erreur sur lgthinq2::update() : Cannot access offset of type string on string

Bonjour.
Et log http.error.
Ca donnera la ligne.

Je viens de regarder je vois pas d’erreur lié au plugin

Rectif j’ai trouvé des erreurs quelques temps avant le message du plugin si ça peut aider :

Tue Nov 26 22:48:20.986823 2024] [php:error] [pid 286507:tid 286507] [client 192.168.0.163:45650] PHP Fatal error:  Uncaught TypeError: array_replace_recursive(): Argument #1 ($array) must be of type array, bool given in /var/www/html/plugins/lgthinq2/core/class/lgthinq2.class.php:1605\nStack trace:\n#0 /var/www/html/plugins/lgthinq2/core/class/lgthinq2.class.php(1605): array_replace_recursive()\n#1 /var/www/html/plugins/lgthinq2/core/class/lgthinq2.class.php(996): lgthinq2->createCmdFromModelAndLangFiles()\n#2 /var/www/html/plugins/lgthinq2/core/class/lgthinq2.class.php(1087): lgthinq2::getDevices()\n#3 /var/www/html/plugins/lgthinq2/core/ajax/lgthinq2.ajax.php(49): lgthinq2::synchronize()\n#4 {main}\n  thrown in /var/www/html/plugins/lgthinq2/core/class/lgthinq2.class.php on line 1605, referer: http://192.168.0.20/index.php?v=d&m=lgthinq2&p=lgthinq2&id=lgthinq2
0073|kill: failed to parse argument: '?'
0074|kill: failed to parse argument: '?'
0075|kill: failed to parse argument: '?'
0076|kill: failed to parse argument: '?'
0077|kill: failed to parse argument: '?'
0078|kill: failed to parse argument: '?'
0079|kill: failed to parse argument: '?'
0080|kill: failed to parse argument: '?'
0081|[Tue Nov 26 23:29:25.992480 2024] [access_compat:error] [pid 344195:tid 344195] [client 45.148.10.172:0] AH01797: client denied by server configuration: /var/www/html/.env
0082|kill: failed to parse argument: '?'
0083|kill: failed 

1 « J'aime »

Tu es sur la stable du plugin, à ce que je vois.
Je viens de pousser toutes les modifs de la beta dans la stable.
Dis-moi si ça corrige ça.

Yes je test merci

Bon non j’ai toujours le message :

Dans le fichier http.error mais est-ce en rapport avec le plugin… Au vue des horaires… :

0237|kill: failed to parse argument: '?'
0238|kill: failed to parse argument: '?'
0239|kill: failed to parse argument: '?'
0240|kill: failed to parse argument: '?'
0241|[Wed Nov 27 14:00:44.972478 2024] [access_compat:error] [pid 236144:tid 236144] [client 45.148.10.206:0] AH01797: client denied by server configuration: /var/www/html/.git

Je regarde ca.

Un problème avec l’arrêt d’un démon, on dirait.
Pas de plugin specifié.

J’ai pas plus d’informations… J’ai activé le mode debug si besoin dis moi.
L’erreur revient toutes les heures plus au moins
Regarde l’horaire ;

Non, je te parlais de l’autre question.

 failed to parse argument: '?'

Ca me semble être un problème avec l’arrêt d’un démon qui n’est pas bien réalisé.
Pas de timestamp, donc impossible de dire avec plus de précision.

Pour la ligne 0241|[Wed , c’est une tentative d’accès à un dossier par l’ip 45.148.10.206

J’ai poussé la correction pour ça à l’instant.

Merci mise à jour installée, je te tiens informé

Et mince je viens d’avoir l’erreur :disappointed: :

Je remet des logs en debug à l’horaire du message d’erreur :

21829|[2024-11-27 19:29:03] DEBUG  : update fin
21830|[2024-11-27 19:30:06] DEBUG  : update début
21831|[2024-11-27 19:30:06] DEBUG  : getTokenIsExpired refresh_token à jour, il expire dans 2 secondes
21832|[2024-11-27 19:30:06] DEBUG  : refresh début
21833|[2024-11-27 19:30:06] DEBUG  : getDevicesStatus début répète :
21834|[2024-11-27 19:30:06] DEBUG  : getTokenIsExpired refresh_token à jour, il expire dans 2 secondes
21835|[2024-11-27 19:30:06] DEBUG  : getDevicesStatus getDEVICES HEADERS : ["Accept: application\/json","Accept-Encoding: gzip, deflate, br","Accept-Language: fr-FR;q=1.0","Content-Type: application\/json;charset=UTF-8","User-Agent: LG ThinQ\/5.0.25141 (iPhone; iOS 17.5.1; Scale\/3.00)","x-api-key: xxxxx: 5.0.25141","x-client-id: f807319149f259343fd9388e2332213a4e4d356be25d55f68d95896ee5973812","x-country-code: FR","x-emp-token: 2377b47e770225e535962229d7699acb39b981e5d3955d3bfa9f312e36c101ea58901e51aa0ac47e38cb7eb7c336d582","x-language-code: fr-FR","x-message-id: bdbeace7051346f1a0eed79ac282fb79696a94c760d6","x-model-name: iPhone SE(2nd Gen)","x-origin: app-native","x-os-version: 17.5.1","x-service-code: SVC202","x-service-phase: OP","x-thinq-app-logintype: LGE","x-thinq-app-level: PRD","x-thinq-app-os: IOS","x-thinq-app-type: NUTS","x-thinq-app-ver: 5.0.2400","x-user-no: FR2411080249112"]
21836|[2024-11-27 19:30:06] DEBUG  : cron5 début
21837|[2024-11-27 19:30:06] DEBUG  : getEndpointQuery début
21838|[2024-11-27 19:30:06] DEBUG  : getEndpointQuery URL : https://eic-service.lgthinq.com:46030/v1/service/laundry/b3230667-71a2-1659-9f80-44274555a31b/energy-history?type=period&period=day&startDate=2024-11-01&endDate=2024-11-30&washerType=M&twinYn=N
21839|[2024-11-27 19:30:06] DEBUG  : getEndpointQuery getDEVICES HEADERS : ["x-thinq-app-os: IOS","x-country-code: FR","sec-fetch-mode: cors","cache-control: no-cache","user-agent: LG ThinQ\/5.0.25141 (iPhone; iOS 17.5.1; Scale\/3.00)","x-thinq-app-ver: 5.0.2400","x-thinq-app-type: NUTS","x-language-code: fr-FR","x-thinq-app-logintype: LGE","sec-fetch-dest: empty","x-client-id: f807319149f259343fd9388e2332213a4e4d356be25d55f68d95896ee5973812","x-thinq-app-level: PRD","sec-fetch-site: cross-site","x-user-no: FR2411080249112","x-service-code: SVC202","accept-language: fr-FR,fr;q=0.9","x-message-id: 6e761fc411a37c10cd189519d540d792dd29ed05bdfa","x-emp-token: 2377b47e770225e535962229d7699acb39b981e5d3955d3bfa9f312e36c101ea58901e51aa0ac47e38cb7eb7c336d582","x-origin: app-web-IOS","accept: application\/json","accept-encoding: gzip, deflate, br","content-type: application\/json;charset=UTF-8","x-thinq-app-pageid: GWM_ENM01_Main\/201","x-api-key: xxxxxxxxx: OP"]
21840|[2024-11-27 19:30:06] DEBUG  : getDevicesStatus getDEVICES : {"resultCode":"0102","result":""}
21841|[2024-11-27 19:30:06] DEBUG  : getDevices appareil
21842|[2024-11-27 19:30:06] DEBUG  : getTokenIsExpired refresh_token à jour, il expire dans 2 secondes
21843|[2024-11-27 19:30:06] DEBUG  : getDevices getDEVICES HEADERS : ["Accept: application\/json","Accept-Encoding: gzip, deflate, br","Accept-Language: fr-FR;q=1.0","Content-Type: application\/json;charset=UTF-8","User-Agent: LG ThinQ\/5.0.25141 (iPhone; iOS 17.5.1; Scale\/3.00)","x-api-key: xxxxxxx: 5.0.25141","x-client-id: f807319149f259343fd9388e2332213a4e4d356be25d55f68d95896ee5973812","x-country-code: FR","x-emp-token: 2377b47e770225e535962229d7699acb39b981e5d3955d3bfa9f312e36c101ea58901e51aa0ac47e38cb7eb7c336d582","x-language-code: fr-FR","x-message-id: 840ae577d01245bf5cd94e6ffed1fd0dad5d6cbf5fee","x-model-name: iPhone SE(2nd Gen)","x-origin: app-native","x-os-version: 17.5.1","x-service-code: SVC202","x-service-phase: OP","x-thinq-app-logintype: LGE","x-thinq-app-level: PRD","x-thinq-app-os: IOS","x-thinq-app-type: NUTS","x-thinq-app-ver: 5.0.2400","x-user-no: FR2411080249112"]
21844|[2024-11-27 19:30:06] DEBUG  : getEndpointQuery response : {"resultCode":"0102","result":""}
21845|[2024-11-27 19:30:06] DEBUG  : login debut
21846|[2024-11-27 19:30:06] DEBUG  : login  : ÉTAPE 0
21847|[2024-11-27 19:30:06] DEBUG  : getDevices getDEVICES : {"resultCode":"0102","result":""}
21848|[2024-11-27 19:30:06] ERROR  : Erreur sur lgthinq2::update() : Cannot access offset of type string on string
21849|[2024-11-27 19:30:06] DEBUG  : step0 Étape 0 {"resultCode":"0000","result":{"countryCode":"FR","languageCode":"fr-FR","thinq1Uri":"https:\/\/eic.lgthinq.com:46030\/api","thinq2Uri":"https:\/\/eic-service.lgthinq.com:46030\/v1","empUri":"https:\/\/fr.m.lgaccount.com","empSpxUri":"https:\/\/fr.m.lgaccount.com\/spx","rtiUri":"eic.lgthinq.com:47878","mediaUri":"eic-media.lgthinq.com:47800","appLatestVer":"5.0.37140","appUpdateYn":"N","appLink":"https:\/\/itunes.apple.com\/app\/id993504342","nestSupportAppVer":"","uuidLoginYn":"N","lineLoginYn":"N","lineChannelId":"","cicTel":"3220","cicUri":"","isSupportVideoYn":"N","countryLangDescription":"France\/fran\u00e7ais","empTermsUri":"https:\/\/fr.emp.lgsmartplatform.com","googleAssistantUri":"https:\/\/assistant.google.com\/services\/invoke\/uid\/000000d26892b8a3","smartWorldUri":"","racUri":"fr.rac.lgeapi.com","cssUri":"https:\/\/eic-common.lgthinq.com","cssWebUri":"http:\/\/s3-an2-op-t20-css-web-resource.s3-website.ap-northeast-2.amazonaws.com","iotssUri":"https:\/\/eic-iotservice.lgthinq.com","chatBotUri":"","autoOrderSetUri":"","autoOrderManageUri":"","aiShoppingUri":"","onestopCall":"","onestopEngineerUri":"","hdssUri":"","amazonDrsYn":"N","features":{"wifiScanDelay":"3000","supportTvIoTServerYn":"Y","betaFeedbackCode":"3PF6Wq9VqPt1tpQUFxBX4A==-SfCIE42h19P1GeQzHU4ofQ==-MTY5OTQ0NzU3NA==","nonProductThemes":"GIF,FOM","recipeWidgetYn":"Y","nonWifiQrSupportYn":"Y","matter12YN":"Y","shareAccountYn":"Y","androidAutoYn":"Y","newFrontReEULAYn":"Y","searchYn":"Y","googleAssistantYn":"Y","thinqFaq":"Y","thinqQuickguide":"N","multiProfile":"Y","eventAutoScrollYn":"Y","supportBleYn":"Y","tvWidgetYn":"Y","empFrontLoginYn":"Y","checkWhiteListYn":"Y","pccWarrantyProd2":"101,102,103,104,105,106,201,202,203,204,206,222,223,301,302,303,304,401,402,403,405,406,407,408,409,410,501,504,601,603,10000,20408,30101,30102,50402,90000","pccPushProd":"101,201,202,204,301,401","thinqCss":"Y","darkThemeYn":"Y","pccRegisterProd":"101,102,103,104,105,106,201,202,203,204,222,223,301,302,303,304,401,402,403,405,406,407,408,409,410,501,504,601,603,20408,30101,30102","eventCardYn":"Y","mixPanelCrashEnableYn":"Y","tvRcmdContentYn":"Y","deviceSuggestionLevel":"3","teaserYn":"Y","awhpWidgetFeatureYn":"Y","isModemFotaCountryYn":"Y","pccMyPageYn":"Y","tvFeatureYn":"Y","thinqNotice":"Y","googleMenuYn":"Y","inAppReviewYn":"Y","pccNoticeAgreement":"N","cicSupport":"Y","pccReceiptRegister":"Y","regiHapticfeedback":"Y","qrRegisterYn":"Y","easySetupYn":"Y","tvCastYn":"Y","bleConfirmYn":"Y","personalSettingImprovementYn":"Y","onlyQrNearConfirmYn":"Y","serviceWidgetYn":"Y","awhpWidgetYn":"N","qnaSatisYn":"Y","shortcutPromotionYn":"Y","applehomekitYn":"Y","betaFeedbackMailId":"duSZ+kSxKYSsQVelIO83CCroFTQF6PbSC8y1EGp7OdQ=-IzgGcIHCKGPYLgywfyvqDw==-MTY5OTQ0NzU3NA==","updateTermsTimeout":"10000","matterYn":"Y","groupControlYn":"Y","supportQRPlaceGuideYn":"Y","wifiInfoFeature":"Y","pccWarrantyProd":"101,102,103,104,105,106,201,202,203,204,222,223,301,302,303,304,401,402,403,405,406,407,408,409,410,501,504,601,603,20408,30101,30102","takeATourSupport":"Y","voiceAssistantYn":"Y","empFrontProfileYn":"Y","disableWeatherCard":"N","pccRegAPIVer":"2","fotaYn":"N","pccModelCategory":"N","supportProductManualYn":"N","apiServerTimeoutSeconds":"60","pccPush":"Y","pccRegisterProd2":"101,102,103,104,105,106,201,202,203,204,206,222,223,301,302,303,304,401,402,403,405,406,407,408,409,410,501,504,601,603,10000,20408,30101,30102,50402,90000","clientDbYn":"Y","pccWarranty":"Y","analyticsCookieYn":"Y","availableTPM":"registration,onboard,search,homeSetting,pushList,pushSetting,productMove","wifiScanPolicyForSoftAp":"default","energyUsageSection":"0,5,10,15,25,35,50,100,300","dmpCollectingYn":"N","uxUpdatePopupYn":"N","smartScanWineHelpYn":"Y","pccWarrantyPeriodType":"M","lockDownModeCheckYn":"Y","closeAppDelayTimeSec":"1"},"serviceCards":[],"uris":{"ItssUri":"https:\/\/eic-it-service.lgthinq.com","empOauthBaseUri":"https:\/\/fr.lgeapi.com","amazonAlexaLearnMoreUri":"https:\/\/www.amazon.fr\/b?node=26248385031","takeATourUri":"https:\/\/s3-eu1-op-t20-css-contents.s3-eu-west-1.amazonaws.com\/workexperience\/index.html","globalObsUrl":"https:\/\/www.lg.com\/fr?utm_source=thinqapp&utm_medium=outlink&utm_campaign=2022HQ-SmartTV_FR","empBackendBaseUri":"https:\/\/fr.emp.lgsmartplatform.com\/","onboardUri":"https:\/\/thinq-onboard-dashboard.lgthinq.com","faqProductLinkUrl":"https:\/\/www.lg.com\/common\/index","lmpOAuthUri":"https:\/\/fr.thinq.lid.lge.com","serviceDownloadUri":"https:\/\/service-download.lgthinq.com","careSdsUri":"https:\/\/eic-hcss.lgthinq.com:47040","empFrontBaseUri2":"https:\/\/fr.lgemembers.com\/lgacc\/service\/v1\/","gscsUri":"https:\/\/gscs-eu.lge.com","empFrontBaseUri":"","amazonDartUri":"https:\/\/shs.lgthinq.com"}}}
21850|[2024-11-27 19:30:06] DEBUG  : step0 Étape 0 a result
21851|[2024-11-27 19:30:06] DEBUG  : login  : ÉTAPE 1
21852|[2024-11-27 19:30:06] DEBUG  : login : EncryptedPw = {"encrypted_pw":"KN7/L+€xxxxWuRHKRWr4YJk","signature":"UynUpPx/xGAGTOxc0WY7NzbCPaA9b3BM4+sWUP3f9rA=","tStamp":"1732732206"}
21853|[2024-11-27 19:30:06] DEBUG  : login  : ÉTAPE 2

Et dans http.error, il devrait y avoir la ligne.

Je vois pas grand chose de plus et j’ai pas les horaires exact :

0251|kill: (830463): No such process
0252|kill: (830465): No such process
0253|kill: (830506): No such process
0254|kill: (830508): No such process
0255|kill: failed to parse argument: '?'
0256|kill: failed to parse argument: '?'
0257|kill: failed to parse argument: '?'
0258|kill: failed to parse argument: '?'
0259|kill: failed to parse argument: '?'
0260|kill: failed to parse argument: '?'

J’ai vu un petit truc, j’ai poussé une correction.

1 « J'aime »

Mise à jour installée, je reviens dans la journée pour t’informer.
Merci

Idem

Tu peux partager ton/tes appareils avec mon compte LG sur l’app ?

1 « J'aime »

Bien je pense que la dernière modification que tu as envoyé est la bonne :wink:.
Depuis 17h30 plus de message d’erreur…

Je peux couper ton accès du coup ou on attend demain matin ?
Merci