NEWS
Update Javascript auf 5.2.21 - Fehler im Log
-
Systemdata Bitte Ausfüllen Hardwaresystem: Syno/Docker Habe heute JS aktualisiert von 5.2.13 auf 5.2.21 und habe folgende Fehler im Protokoll, aus denen ich aber (für mich) kein ToDo ableiten kann. Grundsätzlich scheint aber erstmal alles zu funktionieren.
javascript.0 2022-02-16 15:31:49.636 info (24753) received all objects javascript.0 2022-02-16 15:31:48.813 info (24753) received all states javascript.0 2022-02-16 15:31:45.905 info (24753) requesting all objects javascript.0 2022-02-16 15:31:45.904 info (24753) requesting all states javascript.0 2022-02-16 15:31:45.820 info (24753) found 0 vulnerabilities javascript.0 2022-02-16 15:31:45.819 info run `npm fund` for details javascript.0 2022-02-16 15:31:45.819 info 8 packages are looking for funding javascript.0 2022-02-16 15:31:45.819 info (24753) javascript.0 2022-02-16 15:31:45.680 info added 9 packages from 11 contributors and audited 78 packages in 12.587s javascript.0 2022-02-16 15:31:45.680 info (24753) + node-ssh@12.0.3 javascript.0 2022-02-16 15:31:45.676 error npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 javascript.0 2022-02-16 15:31:45.676 error npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 install: `node-gyp rebuild` javascript.0 2022-02-16 15:31:45.676 error (24753) WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 (node_modules/cpu-features): javascript.0 2022-02-16 15:31:45.675 error (24753) npm javascript.0 2022-02-16 15:31:45.362 info (24753) Succeeded in building optional crypto binding javascript.0 2022-02-16 15:31:45.343 info (24753) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build' javascript.0 2022-02-16 15:31:45.188 info (24753) COPY Release/sshcrypto.node javascript.0 2022-02-16 15:31:44.559 info (24753) SOLINK_MODULE(target) Release/obj.target/sshcrypto.node javascript.0 2022-02-16 15:31:41.390 error | ^~~~~~~~~~~ javascript.0 2022-02-16 15:31:41.390 error 2003 | NODE_MODULE(sshcrypto, init) javascript.0 2022-02-16 15:31:41.390 error ../src/binding.cc:2003:1: note: in expansion of macro ‘NODE_MODULE’ javascript.0 2022-02-16 15:31:41.390 error | ^~~~~~~~~~~~~ javascript.0 2022-02-16 15:31:41.390 error 770 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) javascript.0 2022-02-16 15:31:41.390 error /opt/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ javascript.0 2022-02-16 15:31:41.390 error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ javascript.0 2022-02-16 15:31:41.390 error 736 | (node::addon_register_func) (regfunc), \ javascript.0 2022-02-16 15:31:41.390 error /opt/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8:: javascript.0 2022-02-16 15:31:41.390 error (24753) In file included from ../src/binding.cc:6: javascript.0 2022-02-16 15:31:38.461 info (24753) CXX(target) Release/obj.target/sshcrypto/src/binding.o javascript.0 2022-02-16 15:31:38.460 info (24753) make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build' javascript.0 2022-02-16 15:31:37.370 info > node install.js javascript.0 2022-02-16 15:31:37.370 info > ssh2@1.6.0 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2 javascript.0 2022-02-16 15:31:37.370 info (24753) javascript.0 2022-02-16 15:31:37.347 error gyp ERR! not ok javascript.0 2022-02-16 15:31:37.347 error gyp ERR! node-gyp -v v5.1.0 javascript.0 2022-02-16 15:31:37.347 error gyp ERR! node -v v12.22.7 javascript.0 2022-02-16 15:31:37.347 error gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features javascript.0 2022-02-16 15:31:37.347 error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" javascript.0 2022-02-16 15:31:37.347 error (24753) gyp ERR! System Linux 4.4.59+ javascript.0 2022-02-16 15:31:37.345 error gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) javascript.0 2022-02-16 15:31:37.345 error gyp ERR! stack at ChildProcess.emit (events.js:314:20) javascript.0 2022-02-16 15:31:37.345 error gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) javascript.0 2022-02-16 15:31:37.345 error gyp ERR! stack Error: `make` failed with exit code: 2 javascript.0 2022-02-16 15:31:37.345 error (24753) gyp ERR! build error javascript.0 2022-02-16 15:31:37.343 info (24753) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/build' javascript.0 2022-02-16 15:31:37.342 error (24753) make: *** [config_deps.target.mk:13: /opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/deps/cpu_features/build/Makefile] Error 127 javascript.0 2022-02-16 15:31:37.341 error (24753) /bin/sh: 1: cmake: not found javascript.0 2022-02-16 15:31:37.334 info (24753) ACTION Configuring dependencies /opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/deps/cpu_features/build/Makefile javascript.0 2022-02-16 15:31:37.333 info (24753) make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/build' host.iobroker 2022-02-16 15:31:36.358 info iobroker exit 0 javascript.0 2022-02-16 15:31:36.037 info > node-gyp rebuild javascript.0 2022-02-16 15:31:36.037 info > cpu-features@0.0.2 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features javascript.0 2022-02-16 15:31:36.037 info (24753)
-
-
@thomas-braun
Danke für die schnelle Rückmeldung. Dann muss ich mir das unter Docker mal näher ansehen. Habe ich ehrlich gesagt (noch) keinen Plan wie. -
In nativen Debian-Umgebungen halt wie üblich:
sudo apt update sudo apt install cmake
Ob das eingedost anders gemacht werden muss hab ich keine Ahnung von.
-
@thomas-braun
Hallo,
bekomme leider diesen Fehler:D:\Iobroker\SmartHome>npm install "cmake" > cmake@0.0.4 install D:\Iobroker\SmartHome\node_modules\cmake > make Der Befehl "make" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cmake@0.0.4 install: `make` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cmake@0.0.4 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
-
@namrenner
Windows...
Hab ich keine Aktien drin. Vielleicht gibt es cmake nicht dafür. -
@thomas-braun ok, wir bekomme ich den Update v5.2.21 drauf, andere Updates gehen, nur dieser nicht?
-
EDIT: war falsch - kann ihn auch nicht installieren
-
@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