NEWS
Admin nach JavaScript-Update nicht mehr erreichbar
-
@yunkie sagte in Admin nach JavaScript-Update nicht mehr erreichbar:
ist das Update nicht durchgelaufen.
woran machst du das fest?
-
@homoran
Entschuldigt, habe diesmal die "Adapter"-Seite nicht aktualisiert.
tatsächlich scheint das Update nun durchgelaufen zu sein.Vielen Dank!
-
@yunkie
Wäre schön wenn du alles hier reinkopieren würdest.Hast du zufällig den Adapter 'terminal' installiert?
-
entschuldige, was soll ich hier noch reinkopieren? Die ganze Ausgabe nach dem "upgrade" Befehl steht oben
Ja ich habe den Adapter Terminal installiert.
OT: Ich kann den "Ring"-Adapter nicht aktualisieren. Sollte ich dafür einen neuen Thread aufmachen?
Die Fehlermeldung sieht ähnlich aus wie bei der JavaScript Installation. Ich habe das Gefühl das diese Zeilen dafür interessant sind:make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam gyp ERR! node -v v12.22.7 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack /opt/iobroker/node_modules/fstream/lib/dir-reader.js:191 gyp ERR! stack " 'warn' gyp ERR! stack ^^^^^^^^^^^^ gyp ERR! stack gyp ERR! stack SyntaxError: Invalid or unexpected token gyp ERR! stack at wrapSafe (internal/modules/cjs/loader.js:915:16) gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:963:27) gyp ERR! stack at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) gyp ERR! stack at Module.load (internal/modules/cjs/loader.js:863:32) gyp ERR! stack at Function.Module._load (internal/modules/cjs/loader.js:708:14) gyp ERR! stack at Module.require (internal/modules/cjs/loader.js:887:19) gyp ERR! stack at require (internal/modules/cjs/helpers.js:74:18) gyp ERR! stack at Object.<anonymous> (/opt/iobroker/node_modules/fstream/fstream.js:11:11) gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:999:30) gyp ERR! stack at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate gyp ERR! node -v v12.22.7 gyp ERR! node-gyp -v v3.8.0 gyp ERR! This is a bug in `node-gyp`. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! <https://github.com/nodejs/node-gyp/issues> npm ERR! code ELIFECYCLE npm ERR! errno 7 npm ERR! utf-8-validate@5.0.7 install: `node-gyp-build` npm ERR! Exit status 7 npm ERR! npm ERR! Failed at the utf-8-validate@5.0.7 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-11-16T20_28_21_503Z-debug.log host.iobroker-pi Cannot install iobroker.ring@1.2.8: 7
-
Schmeiß den Terminals-Adapter raus.
-
Alles klar, ist raus. Fiel mir nicht besonders schwer, da ich ihn nicht wirklich gebraucht habe und alles per Putty mache.
Aber darf ich interessehalber noch fragen warum? -
-
iobroker@iobroker-pi:~ $ iobroker update -i Used repository: stable hash unchanged, use cached sources update done Adapter "admin" : 5.1.25 , installed 5.1.25 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "backitup" : 2.1.17 , installed 2.1.17 Adapter "bring" : 1.7.8 , installed 1.7.8 Adapter "cloud" : 4.1.0 , installed 4.1.0 Adapter "discovery" : 2.7.3 , installed 2.7.3 Adapter "ebus" : 2.3.2 , installed 2.3.2 Adapter "flot" : 1.10.7 , installed 1.10.7 Adapter "history" : 1.9.13 , installed 1.9.13 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.8 Adapter "javascript" : 5.2.13 , installed 5.2.13 Controller "js-controller" : 3.3.18 , installed 3.3.18 Adapter "knx" : 1.0.45 , installed 1.0.45 Adapter "mqtt" : 2.4.0 , installed 2.4.0 Adapter "octoprint" : 1.1.1 , installed 1.1.1 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "pushover" : 2.0.5 , installed 2.0.5 Adapter "ring" : 1.2.8 , installed 1.2.6 [Updateable] Adapter "samsung" : 0.2.9 , installed 0.2.9 Adapter "simple-api" : 2.6.1 , installed 2.6.1 Adapter "smartmeter" : 3.2.1 , installed 3.2.1 Adapter "snmp" : 0.5.0 , installed 0.5.0 Adapter "socketio" : 3.1.4 , installed 3.1.5 Adapter "sql" : 1.15.7 , installed 1.15.7 Adapter "vis" : 1.4.5 , installed 1.4.5 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets" : 1.1.7 , installed 1.1.7 Adapter "vis-material-advanced": 1.7.2 , installed 1.7.2 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vw-connect" : 0.0.45 , installed 0.0.45 Adapter "web" : 3.4.9 , installed 3.4.9
-
iobroker upgrade
-
liefert leider das:
iobroker@iobroker-pi:~ $ iobroker upgrade Would you like to upgrade ring from @1.2.6 to @1.2.8 now? [(y)es, (n)o]: y Update ring from @1.2.6 to @1.2.8 NPM version: 6.14.15 npm install iobroker.ring@1.2.8 --loglevel error --prefix "/opt/iobroker" (System call) gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack /opt/iobroker/node_modules/fstream/lib/dir-reader.js:192 gyp ERR! stack ].forEach(function!(evi { gyp ERR! stack ^ gyp ERR! stack gyp ERR! stack SyntaxError: Unexpected token '!' gyp ERR! stack at wrapSafe (internal/modules/cjs/loader.js:915:16) gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:963:27) gyp ERR! stack at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) gyp ERR! stack at Module.load (internal/modules/cjs/loader.js:863:32) gyp ERR! stack at Function.Module._load (internal/modules/cjs/loader.js:708:14) gyp ERR! stack at Module.require (internal/modules/cjs/loader.js:887:19) gyp ERR! stack at require (internal/modules/cjs/helpers.js:74:18) gyp ERR! stack at Object.<anonymous> (/opt/iobroker/node_modules/fstream/fstream.js:11:11) gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:999:30) gyp ERR! stack at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate gyp ERR! node -v v12.22.7 gyp ERR! node-gyp -v v3.8.0 gyp ERR! This is a bug in `node-gyp`. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! <https://github.com/nodejs/node-gyp/issues> npm ERR! code ELIFECYCLE npm ERR! errno 7 npm ERR! utf-8-validate@5.0.7 install: `node-gyp-build` npm ERR! Exit status 7 npm ERR! npm ERR! Failed at the utf-8-validate@5.0.7 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-11-16T21_07_26_795Z-debug.log host.iobroker-pi Cannot install iobroker.ring@1.2.8: 7
-
cd /opt/iobroker npm list utf-8-validate
-
@thomas-braun said in Admin nach JavaScript-Update nicht mehr erreichbar:
liefert dies:
iobroker@iobroker-pi:/opt/iobroker $ npm list utf-8-validate iobroker.inst@3.0.0 /opt/iobroker └─┬ UNMET DEPENDENCY iobroker.ring@1.2.6 └── UNMET DEPENDENCY utf-8-validate@5.0.5 npm ERR! missing: iobroker.ring@1.2.6, required by iobroker.inst@3.0.0 npm ERR! missing: utf-8-validate@5.0.5, required by iobroker.ring@1.2.6
-
@yunkie
Fällt mir nichts mehr zu ein. -
Verdammt... Schade! Trotzdem vielen Dank!
Ich werde mal versuchen den Adapter komplett neu zu installieren. -
Eine komplette Neuinstallation des Adapters war erfolgreich
Wollte nur das Ergebnis mitteilen