NEWS
Adapter Aktualisierung klappt nicht
-
Would you like to upgrade lovelace from @2.1.4 to @2.2.0 now? [(y)es, (n)o]: y Update lovelace from @2.1.4 to @2.2.0 NPM version: 8.11.0 Installing iobroker.lovelace@2.2.0... (System call) npm ERR! code ENOVERSIONS npm ERR! No versions available for iobroker.iogo npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-06-24T20_29_57_521Z-debug-0.log upload [6] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/custom_m.html custom_m.html text/html upload [5] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/index_m.html index_m.html text/html upload [4] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/js-yaml.min.js js-yaml.min.js application/javascript upload [3] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/jsonCustom.json jsonCustom.json application/json upload [2] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/lovelace.png lovelace.png image/png upload [1] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/style.css style.css text/css upload [0] lovelace.admin /opt/iobroker/node_modules/iobroker.lovelace/admin/words.js words.js application/javascript
-
@thomas-braun sagte in Adapter Aktualisierung klappt nicht:
Dann deinstallieren.
siehe oben, der ist doch gar nicht installiert
-
Solange der npm tree nicht sauber ist geht da gar nix mehr.
-
@crunchip sagte in Adapter Aktualisierung klappt nicht:
siehe oben, der ist doch gar nicht installiert
Der ist im npm tree drin. Jede Wette...
-
@thomas-braun sagte in Adapter Aktualisierung klappt nicht:
cd /opt/iobroker
npm ls | grep iogoAusgabe:
├── iobroker.iogo@0.7.0 npm ERR! code ELSPROBLEMS npm ERR! extraneous: @google/maps@0.4.6 /opt/iobroker/node_modules/@google/maps npm ERR! extraneous: @types/caseless@0.12.1 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/form-data@2.2.1 /opt/iobroker/node_modules/@types/form-data npm extraneous: iobroker.siro@1.0.12 /opt/iobroker/node_modules/iobroker.siro npmERR! extraneous: @types/request@2.48.1 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@2.3.5 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: array-find@1.0.0 /opt/iobroker/node_modules/array-find npm ERR! extraneous: block-stream@0.0.9 /opt/iobroker/node_modules/block-stream npm ERR! extraneous: bluetooth-hci-socket@0.5.1 /opt/iobroker/node_modules/bluetooth-hci-socket npm ERR! extraneous: bplist-parser@0.0.6 /opt/iobroker/node_modules/bplist-parser npm ERR! extraneous: castv2-player@2.0.5 /opt/iobroker/node_modules/castv2-player npm ERR! extraneous: create-react-app@2.1.5 /opt/iobroker/node_modules/create-react-app npm ERR! extraneous: create-stream-server@0.1.1 /opt/iobroker/node_modules/create-stream-server npm ERR! extraneous: delay@4.3.0 /opt/iobroker/node_modules/delay npm ERR! extraneous: dev-null@0.1.1 /opt/iobroker/node_modules/dev-null npm ERR! extraneous: duplexer2@0.0.2 /opt/iobroker/node_modules/duplexer2 npm ERR! extraneous: envinfo@5.11.1 /opt/iobroker/node_modules/envinfo npm ERR! extraneous: express-fileupload@0.4.1 /opt/iobroker/node_modules/express-fileupload npm ERR! extraneous: fstream-ignore@1.0.5 /opt/iobroker/node_modules/fstream-ignore npm ERR! extraneous: fstream@1.0.11 /opt/iobroker/node_modules/fstream npm ERR! extraneous: geolib@2.0.24 /opt/iobroker/node_modules/geolib npm ERR! extraneous: hyperquest@2.1.3 /opt/iobroker/node_modules/hyperquest npm ERR! extraneous: icy@2.1.0 /opt/iobroker/node_modules/icy npm ERR! extraneous: iobroker.chromecast@2.3.1 /opt/iobroker/node_modules/iobroker.chromecast pm ERR! extraneous: iobroker.plexconnect@0.0.7 /opt/iobroker/node_modules/iobroker.plexconnect npm ERR! extraneous: iobroker.radar@1.1.3 /opt/iobroker/node_modules/iobroker.radar npm ERR! ERR! extraneous: iobroker.type-detector@0.1.0 /opt/iobroker/node_modules/iobroker.type-detector npm ERR! extraneous: iobroker.vis-fancyswitch@1.1.0 /opt/iobroker/node_modules/iobroker.vis-fancyswitch npm ERR! invalid: iobroker.vis-jqui-mfd@1.0.12 /opt/iobroker/node_modules/iobroker.vis-jqui-mfd npm ERR! extraneous: iobroker.vis-rgraph@0.0.2 /opt/iobroker/node_modules/iobroker.vis-rgraph npm ERR! extraneous: iobroker.vis-timeandweather@1.1.7 /opt/iobroker/node_modules/iobroker.vis-timeandweather npm ERR! extraneous: iobroker@1.3.1 /opt/iobroker/node_modules/iobroker npm ERR! extraneous: js-sha512@0.8.0 /opt/iobroker/node_modules/js-sha512 npm ERR! extraneous: libsodium-wrappers@0.7.4 /opt/iobroker/node_modules/libsodium-wrappers npm ERR! extraneous: libsodium@0.7.4 /opt/iobroker/node_modules/libsodium npm ERR! extraneous: md5@2.2.1 /opt/iobroker/node_modules/md5 npm ERR! extraneous: mqtt-connection@2.1.1 /opt/iobroker/node_modules/mqtt-connection npm ERR! extraneous: multer@1.4.1 /opt/iobroker/node_modules/multer npm ERR! extraneous: multicast-dns@7.2.0 /opt/iobroker/node_modules/multicast-dns npm ERR! extraneous: noble@1.9.1 /opt/iobroker/node_modules/noble npm ERR! extraneous: node-bluetooth@ /opt/iobroker/node_modules/node-bluetooth npm ERR! extraneous: node-hue-api@2.4.6 /opt/iobroker/node_modules/node-hue-api npm ERR! extraneous: node-telegram-bot-api@0.30.0 /opt/iobroker/node_modules/node-telegram-bot-api npm ERR! extraneous: onvif-snapshot@1.0.2 /opt/iobroker/node_modules/onvif-snapshot npm ERR! extraneous: onvif@0.6.0 /opt/iobroker/node_modules/onvif npm ERR! extraneous: playlist-parser@0.0.12 /opt/iobroker/node_modules/playlist-parser npm ERR! extraneous: reduplexer@1.1.0 /opt/iobroker/node_modules/reduplexer npm ERR! extraneous: rimraf@2.7.1 /opt/iobroker/node_modules/rimraf npm ERR! extraneous: server-destroy@1.0.0 /opt/iobroker/node_modules/server-destroy npm ERR! extraneous: sprintf-js@1.1.2 /opt/iobroker/node_modules/sprintf-js npm ERR! extraneous: stackback@0.0.2 /opt/iobroker/node_modules/stackback npm ERR! extraneous: stream-parser@0.3.1 /opt/iobroker/node_modules/stream-parser npm ERR! extraneous: streamifier@0.1.1 /opt/iobroker/node_modules/streamifier npm ERR! extraneous: suncalc@1.8.0 /opt/iobroker/node_modules/suncalc npm ERR! extraneous: systeminformation@4.1.5 /opt/iobroker/node_modules/systeminformation npm ERR! extraneous: tar-pack@3.4.1 /opt/iobroker/node_modules/tar-pack npm ERR! extraneous: thunky@1.0.3 /opt/iobroker/node_modules/thunky npm ERR! extraneous: traits@0.4.0 /opt/iobroker/node_modules/traits npm ERR! extraneous: util@0.11.1 /opt/iobroker/node_modules/util npm ERR! extraneous: vm2@3.6.10 /opt/iobroker/node_modules/vm2 npm ERR! extraneous: why-is-node-running@2.1.0 /opt/iobroker/node_modules/why-is-node-running npm ERR! extraneous: xmldom@0.1.16 /opt/iobroker/node_modules/xmldom npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-06-24T20_38_05_166Z-debug-0.log
-
@futurelook
Gleiches Problem hatte ich bis gestern auch
Abhilfe brachte bei mir:- Über admin Instanz iogo löschen
- Über admin Adapter iogo löschen
Problem tritt wohl bei den neuen admin Versionen auf sobald ein Adapter installiert ist und nicht unter iobroker update -i auftaucht.
Viel Erfolg und Gruß
LausiD -
@futurelook sagte in Adapter Aktualisierung klappt nicht:
Da hast du auch noch andere Themen.
Zum Beispiel mit
vis-jqui-mfd
Versuch mal:cd /opt/iobroker sudo -H -u iobroker npm uninstall iobroker.iogo iobroker upgrade vis-jqui-mfd@1.0.12
-
@lausid gerade bei mir nachgesehen, weil ich auch noch die alte iogo Version laufen habe, aber taucht tatsächlich nicht auf bei einem
iobroker update -i
-
@lausid sagte in Adapter Aktualisierung klappt nicht:
bei den neuen admin Versionen
Welche Admin Version meinst du !? ... ab Admin 6 !?
-
@glasfaser
Aktuell bin ich bei admin 6.1.5 aus beta.
Frag jetzt nicht mit welcher Version der Fehler aufgetreten ist, vermute mit 6.0.7 oder 6.0.8 -
@glasfaser
Gerade nochmal nachgedacht...muss nicht unbedingt am Admin Adapter liegen.
Habe auch noch von Node.js Aktualisierung von 14 auf 16 durchgeführt. -
@lausid kannste ausschliessen, hab noch v14
-
@lausid sagte in Adapter Aktualisierung klappt nicht:
Habe auch noch von Node.js Aktualisierung von 14 auf 16 durchgeführt.
Und damit npm8 inkl. des neuen Formats der package-locks
-
Hab bisher keine Lösung gefunden. Die Adapter die geupdatet werden können, aber nicht funktionieren werden natürlich immer mehr. Hab auch das Gefühl die Updates - auch wenn sie nicht funktionieren, dauern länger als früher.
-
Wo stehst du denn konkret?
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs iobroker update -i cd /opt/iobroker npm ls | grep -E 'github.com|ERR'
-
Das ist das Ergebnis:
sudo: unable to resolve host buanet-iobroker2: Name or service not known ln: failed to create symbolic link '/usr/bin/nodejs': File exists x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 sudo: unable to resolve host buanet-iobroker2: Name or service not known 8.11.0 root /opt/iobroker sudo: unable to resolve host buanet-iobroker2: Name or service not known Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 26 packages can be upgraded. Run 'apt list --upgradable' to see them. nodejs: Installed: 16.15.1-deb-1nodesource1 Candidate: 16.16.0-deb-1nodesource1 Version table: 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages *** 16.15.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages Used repository: Stable (default) Adapter "admin" : 5.3.8 , installed 5.3.8 Adapter "alarm" : 3.1.1 , installed 3.1.0 [Updatable] Adapter "alexa2" : 3.11.2 , installed 3.12.0 Adapter "backitup" : 2.4.9 , installed 2.4.9 Adapter "birthdays" : 2.0.0 , installed 2.0.0 Adapter "cloud" : 4.1.1 , installed 4.1.1 Adapter "daswetter" : 3.1.2 , installed 3.1.2 Adapter "deconz" : 1.3.21 , installed 1.3.21 Adapter "denon" : 1.13.4 , installed 1.13.4 Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "devices" : 1.0.12 , installed 1.0.10 [Updatable] Adapter "discovery" : 3.0.3 , installed 3.0.3 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "fb-checkpresence": 1.1.19, installed 1.1.14 [Updatable] Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "followthesun" : 0.3.9 , installed 0.3.9 Adapter "fritzbox" : 0.2.1 , installed 0.2.1 Adapter "frontier_silicon": 0.0.10, installed 0.0.10 Adapter "fullcalendar" : 1.2.0 , installed 1.2.0 Adapter "fullybrowser" : 2.1.2 , installed 2.1.2 Adapter "ham" : 4.0.2 , installed 4.0.2 Adapter "hass" : 1.1.2 , installed 1.1.2 Adapter "heos" : 1.10.0 , installed 1.10.0 Adapter "history" : 1.11.1 , installed 1.11.1 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "hue" : 3.7.0 , installed 3.6.5 [Updatable] Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "ical" : 1.12.1 , installed 1.12.1 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 2.6.3 , installed 2.6.3 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.4 , installed 1.11.4 Adapter "iqontrol" : 2.0.0 , installed 2.0.0 Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "kodi" : 2.0.8 , installed 2.0.8 Adapter "lgtv" : 1.1.10 , installed 1.1.10 Adapter "lovelace" : 2.2.0 , installed 2.1.4 [Updatable] Adapter "material" : 1.1.2 , installed 1.1.2 Adapter "meteoalarm" : 2.1.3 , installed 2.1.3 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 3.4.2 , installed 3.3.3 [Updatable] Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "node-red" : 3.3.1 , installed 3.3.0 [Updatable] Adapter "octoprint" : 4.0.0 , installed 4.0.0 Adapter "onvif" : 0.4.4 , installed 0.4.4 Adapter "openweathermap": 0.2.4 , installed 0.2.4 Adapter "parcel" : 0.0.18 , installed 0.0.15 [Updatable] Adapter "parser" : 1.1.7 , installed 1.1.5 [Updatable] Adapter "pegelalarm" : 1.2.5 , installed 1.2.7 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "places" : 1.1.2 , installed 1.1.2 Adapter "plex" : 0.9.1 , installed 0.9.1 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "pushover" : 3.0.2 , installed 2.1.0 [Updatable] Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "samsung" : 0.5.8 , installed 0.5.8 Adapter "sayit" : 1.12.3 , installed 1.12.6 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "shelly" : 5.3.2 , installed 5.3.2 Adapter "shuttercontrol": 1.4.12 , installed 1.4.12 Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] Adapter "smartcontrol" : 1.2.1 , installed 1.2.1 Adapter "smartthings" : 0.0.3 , installed 0.0.3 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "spotify-premium": 1.2.1 , installed 1.2.1 Adapter "synology" : 2.1.7 , installed 2.1.7 Adapter "tado" : 0.3.15 , installed 0.3.15 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.13.0 , installed 1.12.6 [Updatable] Adapter "terminal" : 0.2.6 , installed 0.2.5 [Updatable] Adapter "text2command" : 2.2.1 , installed 2.2.1 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "trashschedule": 2.0.2 , installed 2.0.2 Adapter "tvprogram" : 1.1.2 , installed 1.1.2 Adapter "unifi" : 0.5.10 , installed 0.5.10 Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.2.0 , installed 1.2.0 Adapter "vis-icontwo" : 0.87.0 , installed 0.87.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-lcars" : 1.0.4 , installed 1.0.4 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-weather" : 2.5.5 , installed 2.5.5 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "whatsapp-cmb" : 0.2.2 , installed 0.2.2 Adapter "windows-control": 0.1.5 , installed 0.1.5 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yeelight-2" : 1.1.2 , installed 1.2.1 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5 sudo: unable to resolve host buanet-iobroker2: Name or service not known ├── iobroker.vis-jqui-mfd@1.0.12 invalid: "https://github.com/ioBroker/ioBroker.vis-jqui-mfd/tarball/e949cc65600df553a4feaabc385919be1b50eaf1" from the root project npm ERR! code ELSPROBLEMS npm ERR! missing: iobroker.iogo@^0.7.0, required by iobroker.inst@1.3.1 npm ERR! invalid: iobroker.vis-jqui-mfd@1.0.12 /opt/iobroker/node_modules/iobroker.vis-jqui-mfd npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2022-07-17T20_53_49_716Z-debug-0.log
-
@futurelook sagte in Adapter Aktualisierung klappt nicht:
26 packages can be upgraded.
Pakete upgraden.
-
@futurelook sagte in Adapter Aktualisierung klappt nicht:
├── iobroker.vis-jqui-mfd@1.0.12 invalid: "https://github.com/ioBroker/ioBroker.vis-jqui-mfd/tarball/e949cc65600df553a4feaabc385919be1b50eaf1" from the root project
Den Adapter wieder auf ein Repo drücken:
iobroker update iobroker upgrade vis-jqui-mfd@1.0.12
-
Hat keine Verbesserung gebracht. Eher im Gegenteil: Admin Oberfläche lädt sehr langsam, Adapter lassen sich immer noch nicht updaten.
-
Also ich habe wenn diese Haufen Fehler kommen - wirklich die Radikallösung gemacht (vorher sollte man aber halt ein Image vom Gesamtsystem ziehen).
- Im /opt/iobroker Verzeichnis die package-lock.json gelöscht.
- das Ganze node_modules Verzeichnis mit allen Unterverzeichnissen gelöscht
- mit npm install den Baum wieder sauber neu aufgebaut.
Seit dem ist das alles sauber und super schnell.