NEWS
Adapter Installation und Update nicht möglich
-
@glasfaser Hallo, die Reihnfolge merke ich mir jetzt, versprochen, immer erst js.Controller bevor ich in Portainer den iobroker Docker aktualisiere, richtig?
Die Ausgabe war vom 6.Mai, hab ich abfotografiert um es hier einzustellen, bin ja noch unterwegs …..
Den Admin Adapter hatte ich vor langer Zeit mal zusätzlich installiert, ging damals glaube irgendetwas mit der anderen Instanz nicht.
Ausgabe iobroker upgrade Info —debug:
root@Iobroker:/opt/iobroker# iobroker upgrade info --debug This upgrade of "info" will at least introduce the following changes: 999333:::93:::95:5595:5395:5535:::393:::933:3533:3533:3335333353333559: 1.9.26: Corrected widget -> 1.9.25: Updated dependencies -> 1.9.24: downgrade axios package -> 1.9.23: Packages were updated -> 1.9.22: Corrected widget -> 1.9.21: Fix Adapter Title -> 1.9.20: Design Fix Fix Adapter Title Update dependencies Would you like to upgrade info from 01.9.19 to 01.9.26 now
Es lässt sich kein Adapter mehr updaten oder neu installieren. iobroker startet auch nicht mehr selbstständig bei Stromausfall.
Hier noch mal die Ausgabe vom fixer:
root@Iobroker: /opt/iobroker# iob start Starting iobroker controller daemon... lobroker controller daemon started. PID: 4138 root@Iobroker: /opt/iobroker# pkill iob root@Iobroker:/opt/iobroker# iob fix library: loaded Library version=2022-12-09 Welcome to the loBroker installation fixer! Script version: 2023-04-02 ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー Installing prerequisites (1/5) Get: 1 http://deb.debian.org/debian bullseye InRelease (116 kB] Get: 2 http: //deb.debian.org/debian-security bullseye-security InRelease [48,4 k B1 Get:3 http: //deb.debian.org/debian bullseye-updates InRelease [44,1 kB] Get:4 https: //deb.nodesource.com/node 18.× bullseye InRelease [4.586 B] Get: 5 http: //deb.debian.org/debian builseye/main amd64 Packages [8.183 kBj Get: 6 https://deb.nodesource.com/node_18. bullseye/main amd64 Packages [776 B] Get: 7 http: //deb.debian.org/debian-security bullseye-security/main amd64 Packag es [239 kB] Get: 8 http: / /deb.debian.org/debian bullseye-updates/main amd64 Packages [14,6 k B] Fetched 8.650 kB in 3s (2.861 kB/s) Reading package lists.. Done Installed gcc-c++ Failed to set capabilities on file */usr/bin/node' (Operation not supported) The value of the capability argument is not permitted for a file. Or the file i s not a regular (non-symlink) file Docker detected! If you have any adapters that need the CAP_ NET_ ADMIN capability, you need to start the docker container with the option --cap-add=NET_ADMIN and manually add that capability to node ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー Checking loBroker user and directory permissions (2/5) Created /etc/sudoers.d/iobroker Fixing directory permissions... This system does not support setting default permissions. DO not use npm to manually install adapters unless you know what you are doing! ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー Check and cleanup npm temporary directories (3/5) Done Database maintenance (4/5) Check and cleanup pm temporary directories (3/5) Done Database maintenance (4/5) Checking for uncompressed JSONL databases. Compressing /opt/iobroker/iobroker-data/states.json1 Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done This might take a while Checking autostart (5/5) Unsupported init system, cannot enable autostart! Your installation was fixed successfully Run iobroker start to start ioBroker again! root@Iobroker: /opt/ iobroker#
Der Versuch js.Controller Update:
root@Iobroker: /opt/ iobroker# sudo iobroker upgrade self Update js-controller from @4.0.23 to 04.0.24 Stopped Objects DB Stopped States DB PM version: 9.5.1 Installing jobroker.js-controller@4.0.24... (System call) root@Iobroker:/opt/iobroker# sudo iobroker upgrade self--debug Adapter "self--debug" is not installed. root@Iobroker:/opt/iobroker# Update js-controller sudo iobroker upgrade self from @4.0.23 to 04.0.24 --debug Stopped Objects DB Stopped States DB PM version: 9.5.1 Installing jobroker.js-controller@4.0.24... (System call) npm ERR! code EBADENGINE nom ERR! engine Unsupported engine rpm ERR! engine Not compatible with your version of node/pm: @homebridge/ciao@ 1.1.6 hpm ERR! notsup Not compatible with your version of node/pm: @homebridge/ciao@ 1.1.6 ppm ERR! notsup Required: npm ERR! notsup Actual: { "node" :"^14"3 { "npm" "9.5.1", "node": "v18.16.0"} ppm ERR! A complete log of this run can be found in: mpm ERR! /opt/iobroker/.npm/_logs/2023-05-0518_32_02_4182-debug-0.log root@Iobroker:/opt/iobroker#
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
Ausgabe iobroker upgrade Info —debug:
Would you like to upgrade info from 01.9.19 to 01.9.26 now
und wo ist der Rest von diesem >Log
Der Versuch js.Controller Update:
root@Iobroker: /opt/ iobroker# sudo iobroker upgrade self
ist das gerade Aktuell ... zu sudo habe ich dir schon etwas geschrieben !!
-
@svenh75 sagte in Adapter Installation und Update nicht möglich:
iobroker startet auch nicht mehr selbstständig bei Stromausfall.
Wie oft hast du Stromausfall !?
Was heißt startet nicht mehr ... was machst du dann !? -
@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