NEWS
Update Javascript auf 5.2.21 - Fehler im Log
-
-
@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
-
@apollon77 hatte iobroker gestoppt, habe nun ein restart in Windows gemacht, nun ging es, danke