NEWS
(Gelöst) admin Adapter Upgrade schlägt fehl
-
Hallo.
Ich habe leider noch eine alte Windows Installation. Nachdem ich nun keine Verbindung mehr zu meine Homematic bekommen habe, da einige Adapter nicht mehr starten wollten, war es an der Zeit erst mal das System etwas zu erneuern. Ein iobroker update iobroker upgrade self konnte Java nicht updaten. Wenn ich das richtig verstanden habe war Node.js zu alt. ich habe dann mit iobroker upgrade iobroker.js-controller --production wohl wieder eine alte installiert. Danach lies sich das Webintervace wieder öffnen. nachdem ich Node.js von Hand aktualisiert habe (Gut das es hier so alte Postings gibt.) Konnte ich per Webinterface den Adapter Admin updaten. Leider schlug das fehl. Das Webinterface ist nicht mehr erreichbar.Ich habe nun von Hand versucht den Admin Adapter zu aktualisieren.
Mit iobroker upgrade iobroker.admin. Nun kann er die npm Version nicht erkennen.
Mir ist das alles zu hoch. Ich bin ein dummer Windows user. Die Befehle welche am Ende vorgeschlagen werden funktionieren auf Windows nicht. Was kann ich machen damit Admin wieder läuft ?C:\Program Files\iobroker\SmartHome>iobroker upgrade iobroker.admin This upgrade of "admin" will at least introduce the following changes: ========================================================================== -> 6.10.1: fixed `between` function for showing news if date string is not parseable show the original string instead of `Invalid Date` updated socket classes to not crash on invalid patterns -> 6.10.0: various minor improvements fixed problem with discovery dialog object browser now validates setting state of type number allow to specify unique columns for tables fix crash on invalid states, which are missing the property `common.role` -> 6.9.2: show info, if server time differs from client time remove confusion with different names for state (datapoint and state) fixed link on 404-page being opened inside child view fixed issue if non-text default values are provided to a text jsonConfig component implemented del key shortcut to delete a selected object -> 6.9.1: allow resizing of all columns in objects tab without expert mode users are only allowed to edit objects in `0_userdata.0` and `alias.0` namespace fixed keyboard navigation fixed problem with showing controller upgrade instructions if no UI upgrade is supported -> 6.9.0: Added possibility to change log direction JSON config: Added possibility to filter out internal IP addresses JSON config: Added _changed flag for formula in JSON config -> 6.8.3: added description to adapter rating dialog Extended the select component with grouping Allowed the sorting of adapters by name and not only by title Allowed the set state JSON config component -> 6.8.0: try to find correct IP for controller UI multihost slave upgrade admin is now showing update information, while it is stopped during upgrade required nodejs version is 16 as 14 is End-Of-Life fix downloading folders recursive ========================================================================== Would you like to upgrade admin from @6.3.5 to @6.10.1 now? [(y)es, (n)o]: y Update admin from @6.3.5 to @6.10.1 C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\es6\validate-engines.js:31 throw err ^ TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\fs-minipass\lib\index.js:136:4) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\cacache\lib\content\read.js:4:13) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) Node.js v18.18.0 C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\es6\validate-engines.js:31 throw err ^ TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\fs-minipass\lib\index.js:136:4) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\cacache\lib\content\read.js:4:13) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) Node.js v18.18.0 Error trying to check npm version: Command failed: npm -v C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\es6\validate-engines.js:31 throw err ^ TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\fs-minipass\lib\index.js:136:4) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\cacache\lib\content\read.js:4:13) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) Node.js v18.18.0 C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\es6\validate-engines.js:31 throw err ^ TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\fs-minipass\lib\index.js:136:4) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\cacache\lib\content\read.js:4:13) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) Node.js v18.18.0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Aborting install because the npm version could not be checked! Please check that npm is installed correctly. Use "npm install -g npm@4" or "npm install -g npm@latest" to install a supported version. You need to make sure to repeat this step after installing an update to NodeJS and/or npm !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
https://forum.iobroker.net/topic/63610/test-iobroker-unter-windows-installieren-2023-edition
Stoppe iob, sichere iobroker-data auf einen externen Medium - starte den Installer - benenne den Host anders als den Alten und belasse das vorgegeben Verzeichnis.!
-
@sigi234 Oh ich hatte nicht damit gerechnet das noch mal ein Windows installer kommt. Danke.
Probiere ich heut Abend aus. -
@sigi234 Vielen Dank noch mal.
Die Installation bricht zwar ab, aber ich denke das Log ist besser im entsprechendem Thema aufgehoben.
Da eine so alte Installation wie meine zu retten wenig Sin macht, denke ich ist dieses Thema hier gelöst. -
Stell auf Linux um. Ist einfacher.