NEWS
Adapter Installation und Update nicht möglich
-
@glasfaser Nein, sudo würde ich jetzt weglassen, ist noch von vor ein paar Tagen.
Hatte nicht bestätigt……… ioBroker upgrade info……
Muss ich ioBroker vorab stoppen um die Ausgabe zu erhalten?Bin umgezogen, da ist das ab und zu mal passiert…… muss in Portainer und den ioBroker Docker starten……
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Nein, sudo würde ich jetzt weglassen, ist noch von vor ein paar Tagen.
Bitte nichts altes Posten das verwirrt nur !!!!!!!
Hatte nicht bestätigt………
Was hast du nicht bestätigt !?
Muss ich ioBroker vorab stoppen um die Ausgabe zu erhalten?
Nein du brauchst nicht stoppen , einfach in der Konsole das eingeben
iobroker upgrade info --debug
und
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Bin umgezogen, da ist das ab und zu mal passiert…
Lege dir ein USV zu .... wenn das so weiter geht ... ist noch mehr Schrott !
… muss in Portainer und den ioBroker Docker starten……
@glasfaser sagte in Adapter Installation und Update nicht möglich:
Was heißt startet nicht mehr ... was machst du dann !?.... also ist der Container aus ... oder startest du über die Konsole den Admin oder ...
Bitte genaue Angabe ...
bis jetzt bin ich kein Stück weiter bei dir .. nur immer neu Sachen kommen dazu
die eigentlich im Startbeitrag geöhren ! -
@glasfaser Hoffentlich verwirre ich dich nicht ganz
, gebe mir Mühe….
Zum Neustart: ich muss nur den Iobroker Container im Portainer starten, über die Console muss ich nichts machen…..
Nach Eingabe von „iobroker upgrade …. debug“ erscheint doch dann:
Would you like to upgrade info from 01.9.19 to 01.9.26 now
hier meinte ich das bestätigen mit „y“
Für den Info Adapter hatte ich das vorhin schon mal gemacht und dieser scheint sich über den Weg aktualisiert zu haben:
root@Iobroker:/opt/iobroker# jobroker upgrade info --debug Adapter "info" is up to date.
Ich habe das jetzt mit dem backitup noch mal gemacht:
root@Iobroker:/opt/iobroker# jobroker upgrade backitup --debug This upgrade of "backitup" will introduce the following Chargers: -> 2.6.19: small fix for js-controller 5 -> 2.6.18: dependencies updated small Sentry fixes Error notifications optimized 2.6.17: Fix delete InfluDB tmp dir small Sentry fixes Would you like to upgrade backitup from 02.6.16 to 02.6.19 now? [ (y)es, (n)o]: y Update backitup from 02.6.16 to 02.6.19 host. Iobroker Adapter NPM version: 9.5.1 "system.adapter.backitup.O" is stopped. Installing jobroker.backitup@2.6.19... (System call) npm WARN deprecated gram@1.0.1: pm is holding this package for security reasons. As it's a core N ode module, we will not transfer it over to other users. You may safely remove the package from you r dependencies. mpm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node mod ule. If you've depended on crypto, you should switch to the one that's built-in. mpm WARN deprecated @types/b1@5.1.0: This is a stub types definition. b1 provides its own type defi nitions, so you do not need this installed. pm WARN deprecated node-xmpp-tis-connect@1.0.l: this package is deprecated please use https://gith ub.com/xmppjs/xmpp. js mpm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated becaus e it extends the now deprecated request package, see https: //github.com/request/request/issues/3142 pm WARN deprecated har-validator@5.1.5: this library is no longer supported pm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends he now deprecated request package, see https: //github.com/request/request/issues/3142 pm WARN deprecated node-xmpp-core@5.0.9: this package is deprecated please use https://github.com/ xmppjs/xmpp. js pm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 hpm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should us le the URLSearchParams API instead. mpm WARN deprecated node-xmpp-stanza@1.1.1: use @xmpp/xmI package <https://www.npmjs.com/package/ex mpp/xm1> 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. mpm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || Dos regression when used in a Node.js environment. >=4 <4.3.1 have a low-severity Re It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) mpm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity Re Dos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) mpm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 11 >=4 <4.3.1 have a low-severity Re Dos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) mpm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should us le the URLSearchParams API instead. hpm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should us le the URLSearchParams API instead. hpm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. h.random() in certain circumstances, which is known to be problematic. older versions may use Mat See https:/ /v8.dev/blog/mat h-random for details. mpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/reg uest/issues/3142 mpm WARN deprecated node-xmpp-client@3.2.0: this package is deprecated please use https: //www.npmjs .com/package/@xmpp/client
Auch der Adapter hat sich jetzt aktualisiert
-
ich habe dieses dir mittgeteilt
@glasfaser sagte in Adapter Installation und Update nicht möglich:
@svenh75 sagte in Adapter Installation und Update nicht möglich:
nstallieren (Fehler 25) und updaten.
die Suche hat mich leider nicht weitergebracht.
Bitte keine Screenshots !
Das kann man so nicht lesen !hier zu deinem ... Fehler
du hast danach geantwortet :
@svenh75 sagte in Adapter Installation und Update nicht möglich:
@glasfaser okay, sorry, das hat leider nicht funktioniert oder ich hab etwas falsch gemacht…..
Was hat nicht funktioniert ...
Nach diesem Befehl in dem angegeben Thread passsiert nur etwas im Hintergrund ,
es erfolgt keine Ausgabe dazu .ich denke mal dieses ist dann durchgelaufen ,
denn du schreibst jetzt :
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Für den Info Adapter hatte ich das vorhin schon mal gemacht und dieser scheint sich über den Weg aktualisiert zu haben:
ich habe das jetzt mit dem backitup noch mal gemacht:
Auch der Adapter hat sich jetzt aktualisiert
dann war alles schon damit erledigt ... mit meiner Antwort / Angabe am Anfang !
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
hier meinte ich das bestätigen mit „y“
Für den Info Adapter hatte ich das vorhin schon mal gemacht und dieser scheint sich über den Weg aktualisiert zu haben:Das --debug hat kein Einfluss auf etwas ... es zeigt nur wie der Name sagt " debug" eine aufgeschlüsselte Ausgabe vom upgrade , damit kann mehr sehen was passiert / nicht passiert !
-
@glasfaser ja mit dem „—debug“ wusste ich…..
Soll ich jetzt nochmal versuchen die js.controller zu aktualisieren?
Habe jetzt über die Konsole mit „iobroker del“ versucht die Adapter die noch nicht richtig gelöscht sind (hatte ich bei den Instanzen bisher immer gelöscht) zu löschen. Dabei passiert verschiedenes, vielleicht hilft dir das auch was zu sehen:
› _ Execute Exec into container as default user using command bash Disconnect A new version is available aportainer.io 2.11.0 root@Iobroker:/opt/iobroker# iobroker del fritzbox node:internal/modules/cjs/loader: 1078 throw err; Error: Cannot find module ' /opt/iobroker/node modules/iobroker.js-controller/iobroker.js at Module. resolveFilename (node:internal/modules/cjs/loader: 1075:15) at Module. load (node:internal/modules/cjs/loader: 920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run main: 81:12) at node:internal/main/run main module: 23:47 { code: 'MODULE_NOT_FOUND requireStack Node.js v18.16.0 root@Iobroker:/opt/ iobroker# iobroker del ham --debug Delete adapter "ham" host. Iobroker object ham deleted host. Iobroker object ham.admin deleted Error deleting adapter ham from disk: host.Iobroker: Cannot uninstall jobroker.ham: 217 You might have to delete it yourself! root@Iobroker:/opt/iobroker# root@Iobroker:/opt/ iobroker# iobroker del ping --debug Delete adapter "ping" host. Iobroker Counted 1 meta of ping host.Iobroker Counted 1 adapter for ping host. Iobroker Counted 1 states of system.adapter.ping host. Iobroker Counted 1 states (system.adapter.ping.*) from states host. Iobroker file ping.admin deleted host.Iobroker object ping deleted host. Iobroker object ping.admin deleted host.Iobroker Deleting 3 object(s). host. Iobroker Deleting 1 state(s).
Weis nur nicht ob das wichtig ist?
Jetzt erst einmal den js..?
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Jetzt erst einmal den js..?
Ja versuch mal ...
Ausgabe hier Posten
-
@glasfaser mache ich sofort. Hatte jetzt erst dem Miele Adapter über den iobroker versucht zu aktualisieren
Da kommt folgende Ausgabe:
$ iobroker upgrade mielecloudservice@6.5.4 --debug Update mielecloudservice from @6.4.0 to @6.5.4 Installing iobroker.mielecloudservice@6.5.4... (System call) npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in. npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed. npm WARN deprecated node-xmpp-tls-connect@1.0.1: this package is deprecated please use https://github.com/xmppjs/xmpp.js npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated node-xmpp-core@5.0.9: this package is deprecated please use https://github.com/xmppjs/xmpp.js npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm WARN deprecated node-xmpp-stanza@1.1.1: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml> 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 deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated node-xmpp-client@3.2.0: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client
Steht schon 5 Min. so da……
-
@glasfaser jetzt doch fertig, Schein geklappt zu haben
https://www.npmjs.com/package/@xmpp/client 139 packages are looking for funding run `npm fund` for details upload [0] mielecloudservice.admin /opt/iobroker/node_modules/iobroker.mielecloudservice/admin/words.js words.js application/javascript Process exited with code 0
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Steht schon 5 Min. so da……
Sind nur Verkaufsangebote .
Process exited with code 0
alles gut
-
@glasfaser Mist…..
root@Iobroker: /opt / iobroker# pkill iob root@Iobroker: /opt/iobroker# iobroker update Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data /objects. jsonI"! root@Iobroker: /opt / iobroker#
-
Was machst du da , habe ich alles nicht geschrieben !??
pkill iob gibt es nicht
so
pkill -u iobroker
lese doch bitte :
https://docs.buanet.de/iobroker-docker-image/docs/#updates-upgrades
den Link habe ich schon oben dir gegeben !!!!
-
@glasfaser Sorry, hab die alten Aufzeichnungen schon gelöscht…..
Nach dem Befehl „iobroker upgrade“ wenn die Installation durchgelaufen ist, hab ich noch folgendes:
node node_modules/iobroker.js-/controllercontroller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
Ist das noch notwendig einzugeben bzw. aktuell?
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
@glasfaser Sorry, hab die alten Aufzeichnungen schon gelöscht…..
Welche Aufzeichnung ... habe keine Ahnung was du jetzt meinst .
Nach dem Befehl „iobroker upgrade“ wenn die Installation durchgelaufen ist, hab ich noch folgendes:
node node_modules/iobroker.js-/controllercontroller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
Ist das noch notwendig einzugeben bzw. aktuell?
Wo steht was .. !?
Da braucht nichts per Befehl mehr gemacht werden
Bitte nur ganze Logs zeigen .. das kann jetzt alles sein !
-
@glasfaser Nein, das war nur der Befehl….. lösche ich also auch in den meinen Aufzeichnungen .
Js hat geklappt, ist jetzt aktuell…..
Hab nur zwei Fehlermeldungen im Protokoll:
javascript.0 2023-05-09 21:23:04.166 error WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 javascript.0 2023-05-09 21:23:04.164 error npm
wichtig?
Muss dann leider erst mal Schluss machen für heute, erst mal tausend Dank und ich verspreche nur noch die korrekten Befehle zu nutzen.
Werde morgen mal Versuchen einen Adapter zu installieren. Muss wegen den Fehlern beim Deinstallieren der Adapter noch etwas gemacht werden? Soll ich den fixer morgen noch mal laufen lassen?
VG und Danke
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Hab nur zwei Fehlermeldungen im Protokoll:
Dazu :
https://forum.iobroker.net/topic/64513/warn-deprecated-npm-bitte-um-hilfe
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Werde morgen mal Versuchen einen Adapter zu installieren. Muss wegen den Fehlern beim Deinstallieren der Adapter noch etwas gemacht werden? Soll ich den fixer morgen noch mal laufen lassen?
Deinstalliere über die Admin Konsole ,
wenn es nicht geht , dann mache ein upload bzw. installiere den Adapter neu , dann deinstallieren . -
@glasfaser ok, Warnmeldungen sind also nix wildes……..
Wenn die gelöscht Adapter aus den Instanzen sind ist das also ausreichend, hatte sie ja bisher auch immer über die Admin Konsole gelöscht……..
Dann probiere ich morgen eine Neuinstallation eines Adapters und gebe noch mal Rückmeldung…….
Die USV besorge ich….. müsste der ioBroker Container von alleine starten oder ist das normal das man das manuell erledigen muss? Ich denke aber, dass das in der Vergangenheit funktioniert hat….weiß es aber nicht genau, da ich schon mal eine USV dran hatte………
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
müsste der ioBroker Container von alleine starten oder ist das normal das man das manuell erledigen muss?
Ich kenne deine Einstellungen nicht , wie du den Container erstellt hast
so sollte es sein :
Schau hier Portainer :
oder hier Syn Docker :