NEWS
Update Javascript auf 5.2.21 - Fehler im Log
-
@namrenner sagte in Update Javascript auf 5.2.21 - Fehler im Log:
wir bekomme ich den Update v5.2.21 drauf, andere Updates gehen, nur dieser nicht?
Mit welchen Meldungen?
-
@thomas-braun ```
$ iobroker upgrade javascript@5.2.21Update javascript from @5.2.13 to @5.2.21
host.TV Adapter "system.adapter.javascript.0" is stopped.
NPM version: 6.14.16
Installing iobroker.javascript@5.2.21... (System call)
host.TV Cannot install iobroker.javascript@5.2.21: 4294963214
ERROR: Process exited with code 25
-
@thomas-braun bei mir:
host.iobroker59 2022-02-26 11:11:00.509 error iobroker (node:27388) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency(node:27388) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency(node:27388) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency host.iobroker59 2022-02-26 11:11:00.505 error iobroker (node:27388) Warning: Accessing non-existent property 'count' of module exports inside circular dependency(Use `node --trace-warnings ...` to show where the warning was created)
danach werden instanzen neugestartet
-
@liv-in-sky wie im Anderen thread. Gesagt. Mongodb lib ist buggy in alter Version und ab nodejs 14 wird das angemeckert. FAQ vom Controller 4 thread sagt was zu tun ist.
Aber nur wegen der Meldung sollte nichts neu starten. Die Meldungen nerven nur
-
@namrenner Windows oder Linux? Bitte mal das Upgrade Kommando an der Shell ausführen. Ich tippe das dann Fehlermeldungen kommen mit permissions.
Also wenn Linux dann „iob fix“ nutzen. Bei Windows bitte mal iobroker komplett beenden und update manuell machen. Auch schauen ob visentwo als Adapter installiert ist und latest updaten. Der hatte es kaputtes drin was auf Windows komische permission Effekte hatte
-
@namrenner gute Frage. Ja das liegt übrigens an der ssh2 Library die du bestimmt manuell als JavaScript Adapter Modul dabei hast.
Am Ende ggf mal hier durcharbeiten?? https://github.com/mscdex/cpu-features/issues/3
-
@apollon77 sagte in Update Javascript auf 5.2.21 - Fehler im Log:
angemeckert. FAQ vom Controller 4 thread
Warning: Accessing non-existent property '...' of module exports inside circular dependency
danke - habe ich gemacht
- javascript update läuft durch, wird aber nicht upgedatet - version in adapter tab:
$ iobroker upgrade javascript@5.2.21 Update javascript from @5.2.18 to @5.2.21 NPM version: 6.14.16Installing iobroker.javascript@5.2.21... (System call) upload [103] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/quote1.png google-blockly/media/quote1.png image/png upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/pt.js google-blockly/msg/js/pt.js application/javascript upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_time.js google-blockly/own/blocks_time.js application/javascript upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/fr.js google-blockly/own/msg/fr.js application/javascript upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/plugins/bundle.js plugins/bundle.js application/javascript upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/runtime-main.02a8da94.js static/js/runtime-main.02a8da94.js application/javascript upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/configure.js vs/configure.js application/javascript upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.css vs/editor/editor.main.css text/css upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.js vs/editor/editor.main.js application/javascript upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.de.js vs/editor/editor.main.nls.de.js application/javascript upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.es.js vs/editor/editor.main.nls.es.js application/javascript upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.fr.js vs/editor/editor.main.nls.fr.js application/javascript upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.it.js vs/editor/editor.main.nls.it.js application/javascript upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.ja.js vs/editor/editor.main.nls.ja.js application/javascript upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.js vs/editor/editor.main.nls.js application/javascript upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.ko.js vs/editor/editor.main.nls.ko.js application/javascript upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.ru.js vs/editor/editor.main.nls.ru.js application/javascript upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.zh-cn.js vs/editor/editor.main.nls.zh-cn.js application/javascript upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.zh-tw.js vs/editor/editor.main.nls.zh-tw.js application/javascript upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/html/htmlMode.js vs/language/html/htmlMode.js application/javascript upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/html/htmlWorker.js vs/language/html/htmlWorker.js application/javascript upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/json/jsonMode.js vs/language/json/jsonMode.js application/javascript upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/json/jsonWorker.js vs/language/json/jsonWorker.js application/javascript upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/typescript/tsMode.js vs/language/typescript/tsMode.js application/javascript upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/typescript/tsWorker.js vs/language/typescript/tsWorker.js application/javascript upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/loader.js vs/loader.js application/javascript upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/monaco.d.ts vs/monaco.d.ts video/mp2t Process exited with code 0
am ende steht wieder:
-
@liv-in-sky Reloade mal ... Es gab mal Refresh issues im Admin ... vllt ist da nich so eins? Also wenn Admin 5.3.1 dann bitte github issue im admin anlegen
-
D:\Iobroker\SmartHome>iobroker update D:\Iobroker\SmartHome>node node_modules/iobroker.js-controller/iobroker.js update Used repository: stable Adapter "admin" : 5.3.1 , installed 5.3.1 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "backitup" : 2.3.3 , installed 2.3.3 Adapter "chromecast" : 2.3.1 , installed 2.3.1 Adapter "countdown" : 1.2.5 , installed 1.2.5 Adapter "discovery" : 2.7.5 , installed 2.7.5 Adapter "echarts" : 1.0.3 , installed 1.0.3 Adapter "flot" : 1.10.7 , installed 1.10.7 Adapter "history" : 1.10.5 , installed 1.10.5 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-mfd-png": 1.0.2 , installed 1.0.2 Adapter "icons-mfd-svg": 1.0.2 , installed 1.0.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "info" : 1.9.8 , installed 1.9.18 Adapter "iot" : 1.8.24 , installed 1.8.24 Adapter "javascript" : 5.2.21 , installed 5.2.13 [Updatable] Controller "js-controller": 4.0.15 , installed 4.0.15 Adapter "material" : 1.1.2 , installed 1.1.2 Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "modbus" : 3.4.17 , installed 3.4.17 Adapter "mqtt" : 2.4.1 , installed 2.4.1 Adapter "musiccast" : 0.1.5 , installed 0.1.5 Adapter "net-tools" : 0.1.7 , installed 0.1.7 Adapter "node-red" : 2.4.2 , installed 2.4.2 Adapter "parser" : 1.0.7 , installed 1.0.7 Adapter "ping" : 1.5.0 , installed 1.5.0 Adapter "scenes" : 2.3.8 , installed 2.3.8 Adapter "simple-api" : 2.6.2 , installed 2.6.2 Adapter "smartmeter" : 3.2.1 , installed 3.2.1 Adapter "socketio" : 3.1.5 , installed 3.1.5 Adapter "sonoff" : 2.4.7 , installed 2.4.7 Adapter "telegram" : 1.11.1 , installed 1.11.1 Adapter "text2command" : 2.1.1 , installed 2.1.1 Adapter "vis" : 1.4.5 , installed 1.4.5 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.1.9 , installed 1.1.9 Adapter "vis-inventwo" : 3.2.8 , installed 3.2.8 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-metro" : 1.1.2 , installed 1.1.2 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "web" : 3.4.16 , installed 3.4.16
Would you like to upgrade javascript from @5.2.13 to @5.2.21 now? [(y)es, (n)o]: y Update javascript from @5.2.13 to @5.2.21 NPM version: 6.14.16 Installing iobroker.javascript@5.2.21... (System call) host.TV Cannot install iobroker.javascript@5.2.21: 4294963214
-
@namrenner naja dann machen wir mal
„iobroker upgrade javascript --debug“
Was sagt die Ausgabe? Und mal versuchen wenn iobroker komplett gestoppt ist.
Ps: und nochmal die Frage: hast du Vis-icontwo als Adapter installiert????
-
@apollon77
Vis-icontwo denke nicht, in der Liste habe es nicht, sehe Nachricht davor, dort sind alle Adapter aufgelistet, danke.Would you like to upgrade javascript from @5.2.13 to @5.2.21 now? [(y)es, (n)o]: y Update javascript from @5.2.13 to @5.2.21 host.TV Adapter "system.adapter.javascript.0" is stopped. NPM version: 6.14.16 Installing iobroker.javascript@5.2.21... (System call) npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. npm WARN rollback Rolling back iobroker.javascript@5.2.21 failed (this is probably harmless): EBUSY: resource busy or locked, rmdir 'D:\Iobroker\SmartHome\node_modules\iobroker.javascript' npm ERR! code EBUSY npm ERR! syscall rename npm ERR! path D:\Iobroker\SmartHome\node_modules\iobroker.javascript npm ERR! dest D:\Iobroker\SmartHome\node_modules\.iobroker.javascript.DELETE npm ERR! errno -4082 npm ERR! EBUSY: resource busy or locked, rename 'D:\Iobroker\SmartHome\node_modules\iobroker.javascript' -> 'D:\Iobroker\SmartHome\node_modules\.iobroker.javascript.DELETE' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Hans\AppData\Roaming\npm-cache\_logs\2022-02-26T13_36_10_444Z-debug.log host.TV Cannot install iobroker.javascript@5.2.21: 4294963214
-
@namrenner ebusy ist mal wieder so ne Windows Nummer. Bitte alles beenden und dann das Update machen. Scheinbar lockt Windows irgendwelche files die das Update Bzw npm dann nicht austauschen kann.
Wir stoppen zwar auf Windows seit Controller 4 immer die Instanzen des Adapters was das Update bekommt aber manchmal scheint das bei Windows nicht zu reichen
-
@apollon77 hatte iobroker gestoppt, habe nun ein restart in Windows gemacht, nun ging es, danke
-
@namrenner Gmrpf ... keine Ahnung was Windows da treibt
-
Nach dem Update auf die JavaScript Version 5.2.21 kommt bei mir folgende Fehlermeldung wenn ich den Adapter starte. Im laufenden Betrieb kommt die Meldung aber nicht mehr.
Ist diese Meldung wichtig oder eher unwichtig?Node.js v16.13.2 (Es gibt eine neuere Version: v16.14.0 - Empfohlene Version v14.19.0) NPM 8.1.2 JSController 3.3.22
2022-03-03 16:47:07.423 - error: javascript.0 (1423151) npm 2022-03-03 16:47:07.426 - error: javascript.0 (1423151) 2022-03-03 16:47:07.428 - error: javascript.0 (1423151) WARN 2022-03-03 16:47:07.430 - error: javascript.0 (1423151) deprecated har-validator@5.1.5: this library is no longer supported 2022-03-03 16:47:07.502 - error: javascript.0 (1423151) npm 2022-03-03 16:47:07.505 - error: javascript.0 (1423151) 2022-03-03 16:47:07.506 - error: javascript.0 (1423151) WARN 2022-03-03 16:47:07.509 - error: javascript.0 (1423151) deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. 2022-03-03 16:47:07.554 - error: javascript.0 (1423151) npm 2022-03-03 16:47:07.557 - error: javascript.0 (1423151) 2022-03-03 16:47:07.560 - error: javascript.0 (1423151) WARN 2022-03-03 16:47:07.562 - error: javascript.0 (1423151) deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2022-03-03 16:47:07.601 - error: javascript.0 (1423151) npm 2022-03-03 16:47:07.603 - error: javascript.0 (1423151) 2022-03-03 16:47:07.605 - error: javascript.0 (1423151) WARN 2022-03-03 16:47:07.607 - error: javascript.0 (1423151) 2022-03-03 16:47:07.609 - error: javascript.0 (1423151) deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 2022-03-03 16:47:07.648 - error: javascript.0 (1423151) npm 2022-03-03 16:47:07.651 - error: javascript.0 (1423151) 2022-03-03 16:47:07.652 - error: javascript.0 (1423151) WARN 2022-03-03 16:47:07.654 - error: javascript.0 (1423151) 2022-03-03 16:47:07.656 - error: javascript.0 (1423151) deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
-
Nicht so wichtig.
Du könntest aber beim Adapter ein Issue eröffnen und fragen, ob die Dependencies aktualisiert werden können. -
@basti97 Naja der JavaScript Adapter installiert beim Start die Pakete die du dort konfiguriert hast ... und das sind potentielle Ausgaben davon .. also von daher ...
-
@thomas-braun @apollon77 Danke also kann ich das vernachlässigen und brauche mir keine sorgen machen. Ich werde demnächst ein issuses aufmachen. Wenn ein anderer die Fehlermeldung hat das er weiß das alles ok ist. Muss ich das bei dem Javascript Adapter bei github stellen?
-
@basti97 Ein Issue wegen was willst du auf machen?
-
Bei mir ist leider der Javascript Adapter von meinen Slave kaputt gegangen. Ich glaube ich muss die SD Karte mal wechseln.
Welche Pakete muss ich nun nachinstallieren und wie?host.Media04 2022-03-04 18:48:34.078 error instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED) host.Media04 2022-03-04 18:48:34.077 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) host.Media04 2022-03-04 18:48:34.076 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.Media04 2022-03-04 18:48:34.077 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.Media04 2022-03-04 18:48:34.076 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.Media04 2022-03-04 18:48:34.074 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.Media04 2022-03-04 18:48:34.074 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.Media04 2022-03-04 18:48:34.073 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) host.Media04 2022-03-04 18:48:34.072 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.Media04 2022-03-04 18:48:34.073 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:73:5) host.Media04 2022-03-04 18:48:34.072 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.Media04 2022-03-04 18:48:34.071 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.Media04 2022-03-04 18:48:34.070 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.Media04 2022-03-04 18:48:34.071 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.Media04 2022-03-04 18:48:34.069 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:5:12) host.Media04 2022-03-04 18:48:34.068 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) host.Media04 2022-03-04 18:48:34.067 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.Media04 2022-03-04 18:48:34.067 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.Media04 2022-03-04 18:48:34.066 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.Media04 2022-03-04 18:48:34.065 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.Media04 2022-03-04 18:48:34.064 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1049:27) host.Media04 2022-03-04 18:48:34.063 error Caught by controller[0]: at wrapSafe (internal/modules/cjs/loader.js:1001:16) host.Media04 2022-03-04 18:48:34.062 error Caught by controller[0]: SyntaxError: Invalid or unexpected token host.Media04 2022-03-04 18:48:34.061 error Caught by controller[0]: