NEWS
Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest
-
@fogg Habe den Fehler wohl gefunden. war der der davor sitzt.
-
@Fogg
Der Adapter möchte ja ein Update ...
... die Aktualisierung läuft mit "Erfolgreich" durch ....
... aber es gibt ein paar Hinweise (die ich nicht einordnen kann)...$ ./iobroker upgrade sainlogic Update sainlogic from @0.6.4 to @0.6.6 NPM version: 6.14.11 npm install iobroker.sainlogic@0.6.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ETARGET npm ERR! notarget No matching version found for iobroker.sainlogic@0.6.6. npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-04-02T07_28_50_217Z-debug.log upload [5] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/tsconfig.json tsconfig.json application/json upload [3] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/style.css style.css text/css upload [2] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/sainlogic.png sainlogic.png image/png upload [1] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/index_m.html index_m.html text/html upload [0] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/admin.d.ts admin.d.ts video/mp2t Adapter "sainlogic" updated process exited with code 0
... und der Update-Hinweis bleibt bzw. die Version bei 0.6.4
Mache ich etwas falsch ?
-
iobroker update iobroker upgrade
-
@thomas-braun
Ich kann das Verhalten bestätigen, sowohl via GUI, als auch via Console, auch mittelsiobroker update iobroker upgrade
Update sainlogic from @0.6.4 to @0.6.6 NPM version: 7.5.2 npm install iobroker.sainlogic@0.6.6 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code ETARGET npm ERR! notarget No matching version found for iobroker.sainlogic@0.6.6. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-04-02T12_32_41_613Z-debug.log upload [5] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/tsconfig.json tsconfig.json application/json upload [3] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/style.css style.css text/css upload [2] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/sainlogic.png sainlogic.png image/png upload [1] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/index_m.html index_m.html text/html upload [0] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/admin.d.ts admin.d.ts video/mp2t Adapter "sainlogic" updated
Das Log sagt leider auch nicht wirklich Verwertbares:
0 verbose cli [ 0 verbose cli '/usr/local/bin/node', 0 verbose cli '/usr/local/bin/npm', 0 verbose cli 'install', 0 verbose cli 'iobroker.sainlogic@0.6.6', 0 verbose cli '--loglevel', 0 verbose cli 'error', 0 verbose cli '--prefix', 0 verbose cli '/opt/iobroker' 0 verbose cli ] 1 info using npm@7.5.2 2 info using node@v12.18.4 3 timing config:load:defaults Completed in 5ms 4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms 5 timing config:load:builtin Completed in 4ms 6 timing config:load:cli Completed in 5ms 7 timing config:load:env Completed in 0ms 8 timing config:load:file:/opt/iobroker/.npmrc Completed in 1ms 9 timing config:load:project Completed in 2ms 10 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms 11 timing config:load:user Completed in 1ms 12 timing config:load:file:/opt/iobroker/etc/npmrc Completed in 0ms 13 timing config:load:global Completed in 0ms 14 timing config:load:cafile Completed in 1ms 15 timing config:load:validate Completed in 0ms 16 timing config:load:setUserAgent Completed in 1ms 17 timing config:load:setEnvs Completed in 2ms 18 timing config:load Completed in 23ms 19 verbose npm-session 4fa8a9885f304fb0 20 timing npm:load Completed in 40ms 21 timing arborist:ctor Completed in 2ms 22 timing idealTree:init Completed in 2062ms 23 timing idealTree:userRequests Completed in 11ms 24 silly idealTree buildDeps 25 silly fetch manifest iobroker.sainlogic@0.6.6 26 http fetch GET 304 https://registry.npmjs.org/iobroker.sainlogic 3428ms (from cache) 27 silly placeDep ROOT iobroker.sainlogic@ REPLACE for: iobroker.inst@2.0.3 want: 0.6.6 28 timing idealTree:#root Completed in 3457ms 29 timing idealTree:node_modules/iobroker.sainlogic Completed in 0ms 30 timing idealTree:buildDeps Completed in 3460ms 31 timing idealTree:fixDepFlags Completed in 54ms 32 timing idealTree Completed in 5589ms 33 timing command:install Completed in 5599ms 34 verbose type version 35 verbose stack iobroker.sainlogic: No matching version found for iobroker.sainlogic@0.6.6. 35 verbose stack at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:207:23) 35 verbose stack at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:117:26 35 verbose stack at async Arborist.[nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:874:19) 35 verbose stack at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:824:11) 35 verbose stack at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:209:7) 35 verbose stack at async Promise.all (index 1) 35 verbose stack at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:127:5) 35 verbose stack at async install (/usr/local/lib/node_modules/npm/lib/install.js:38:3) 36 verbose cwd /opt/iobroker 37 verbose Linux 5.4.51-v7l+ 38 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.sainlogic@0.6.6" "--loglevel" "error" "--prefix" "/opt/iobroker" 39 verbose node v12.18.4 40 verbose npm v7.5.2 41 error code ETARGET 42 error notarget No matching version found for iobroker.sainlogic@0.6.6. 43 error notarget In most cases you or one of your dependencies are requesting 43 error notarget a package version that doesn't exist. 44 verbose exit 1
-
@sender sagte in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:
NPM version: 7.5.2
Die Version 7 von npm funktioniert nicht gut in Verbindung mit ioBroker und sollte nicht verwendet werden. Installier npm@6.
Grundsätzlich scheint deine nodeJS-Installation 'krumm' zu sein. Zieh das gerade, siehe Link in meiner Signatur. Der Rest von OS ist auch nicht aktuell.Bei sainlogic scheint aber auch die Versionslogik etwas durcheinander zu sein:
github: 0.7.0 latest: 0.6.1 for 10 months stable: 0.6.6
Die 0.6.1 lässt sich hier jedenfalls installieren.
Die 0.6.6 ist wohl zurückgezogen worden oder nicht richtig eingecheckt worden. Muss wohl @Fogg mal reinschauen. -
@thomas-braun
Danke für Deine Tipps!
Wird grad gehoben...Unabhängig davon, würde ich auch sagen, der Fehler beim Update hängt nicht an meiner "krummen" Installation, sondern an der Versionslogik.
-
@sender Das stimmt, deine chaotische Installation von nodeJS trägt aber auch nicht zu einem konstistenten System bei.
-
@thomas-braun nicht so schimpfen, ich bin doch sensibel...
Isses so besser?
/usr/bin/nodejs v14.16.0 /usr/bin/node v14.16.0 /usr/bin/npm 6.14.11 nodejs: Installiert: 14.16.0-1nodesource1 Installationskandidat: 14.16.0-1nodesource1 Versionstabelle: *** 14.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
@sender
Ja, passt.
Rest vom Fest auch aktuell?uname -a sudo apt update
-
@thomas-braun
Ja, nur geht jetzt mein Node-Red nicht mehr, installierte Paletten sind zwar installiert, aber trotzdem nicht da und lassen sich werder de- noch neu installieren - YEAH!!! -
@sender
Mal den kompletten Rechner sauber durchgestartet? -
@thomas-braun ja, klar...
-
@thomas-braun Dann mach einen neuen Thread dazu auf. Mit sainlogic hat das ja nix zu tun.
-
@thomas-braun said in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:
iobroker update iobroker upgrade
... geht auch nicht, also die Reaktion von @Fogg abwarten, richtig ?
-
@raspiuser
Ja, ich vermute da ist was falsch in den jeweiligen Repositories eingecheckt worden. In stable ist ja auch kein Datum drin, was normalerweise der Fall ist. -
@thomas-braun SO! läuft alles wieder...
node-red-contrib-smartmeter hat sich heftig gegen einen rebuild gewehrt, die node.js Version hatte sich ja geändert. -
@sender Sollte eigentlich automatisch im Hintergrund passieren.
Manchmal muss halt noch von Hand rebuildet werden.
Steht aber dann im Log drin. -
Nach Update des js-Controllers auf Version 3.3x wird nachfolgendes im Log angezeigt.
sainlogic.0 2021-04-30 21:20:28.098 warn (6166) State value to set for "sainlogic.0.weather.current.uvi" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 21:20:28.097 warn (6166) State value to set for "sainlogic.0.weather.current.winddir" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 21:20:28.097 warn (6166) State value to set for "sainlogic.0.weather.current.outdoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 21:20:28.096 warn (6166) State value to set for "sainlogic.0.weather.current.indoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 21:20:28.092 warn (6166) State "sainlogic.0.info.last_listener_update" has no existing object, this might lead to an error in future versions sainlogic.0 2021-04-30 19:19:27.095 warn (6166) State value to set for "sainlogic.0.weather.current.uvi" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:19:27.095 warn (6166) State value to set for "sainlogic.0.weather.current.winddir" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:19:27.095 warn (6166) State value to set for "sainlogic.0.weather.current.outdoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:19:27.094 warn (6166) State value to set for "sainlogic.0.weather.current.indoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:19:27.091 warn (6166) State "sainlogic.0.info.last_listener_update" has no existing object, this might lead to an error in future versions sainlogic.0 2021-04-30 19:18:26.098 warn (6166) State value to set for "sainlogic.0.weather.current.uvi" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:18:26.097 warn (6166) State value to set for "sainlogic.0.weather.current.winddir" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:18:26.097 warn (6166) State value to set for "sainlogic.0.weather.current.outdoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:18:26.095 warn (6166) State value to set for "sainlogic.0.weather.current.indoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:18:26.092 warn (6166) State "sainlogic.0.info.last_listener_update" has no existing object, this might lead to an error in future versions sainlogic.0 2021-04-30 19:17:25.098 warn (6166) State value to set for "sainlogic.0.weather.current.uvi" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:17:25.098 warn (6166) State value to set for "sainlogic.0.weather.current.winddir" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:17:25.097 warn (6166) State value to set for "sainlogic.0.weather.current.outdoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:17:25.097 warn (6166) State value to set for "sainlogic.0.weather.current.indoorhumidity" has wrong type "string" but has to be "number" sainlogic.0 2021-04-30 19:17:25.094 warn (6166) State "sainlogic.0.info.last_listener_update" has no existing object, this might lead to an error in future versions
https://forum.iobroker.net/topic/44624/js-controller-3-3-jetzt-im-latest/68
-
Mach am besten ein Issue dazu auf, falls noch nicht geschehen:
-