NEWS
Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update
-
Moin !
Leider habe auch ich ein kleines Problem. Update nach
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition
Danach den berühmten Error 25 bei der Installation von Adaptern. Es geht weder ein Update noch eine Neuinstallation eines Adapters. Nun also hier die Meldung im Forum, da ich nun auch nicht mehr ohne Hilfe weiter komme.
Nach dem Durchlesen hier habe ich mal einige Snapshots gemacht und diese stelle ich hier mit ein. Da der Fehler in der Regel beim User sitzt .............. Es ist ja leider meist so.Wer mir da helfen kann ......... VG Mathias
-
@nhbischo sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Wer mir da helfen kann .
keine Screenshots von Text!
Diesen als Text in code-tags posten -
Keine krümeligen Screenshots aus der Konsole.
Als Text in CodeTags eingebettet hier rein. -
pi@raspberrypi:/opt/iobroker $ iobroker upgrade smartgarden --debug This upgrade of "smartgarden" will introduce the following changes: ========================================================================== -> 2.0.0: support for new login procedure to Gardena webservice; admin5 is necessary ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING C HANGES! Would you like to upgrade smartgarden from @1.0.6 to @2.0.0 now? [(y)es, (n)o]: y Update smartgarden from @1.0.6 to @2.0.0 NPM version: 8.11.0 Installing iobroker.smartgarden@2.0.0... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry . npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT +z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying again. npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT +z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying again. npm WARN old lockfile Error: sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== integrity checksum failed when using sha512: wan ted sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== but got sha512-ZH4lj95sM6IpZEL2H1HR0hXTo6GMqbUBPbQyylgdRd6TDEdU+fgohUVGW4 gPI0UnrAzqM/kx5+mozLqCVh2DCg==. (64751136 bytes) npm WARN old lockfile at IntegrityStream.[_onEnd] (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:118:19) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:88:19) npm WARN old lockfile at IntegrityStream.[maybeEmitEnd] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:370:12) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/minipass/index.js:434:29) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:90:18) npm WARN old lockfile at IntegrityStream.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:265:12) npm WARN old lockfile at IntegrityStream.resume (/usr/lib/node_modules/npm/node_modules/minipass/index.js:269:24) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/minipass-pipeline/index.js:105:19) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js:37:18) npm WARN old lockfile at CachingMinipassPipeline.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:259:10) npm WARN old lockfile Could not fetch metadata for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master Erro r: sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== integrity checksum failed when using sha512: wanted sha512-qGFFRFfv/uSaVT+ z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== but got sha512-ZH4lj95sM6IpZEL2H1HR0hXTo6GMqbUBPbQyylgdRd6TDEdU+fgohUVGW4gPI0UnrAzqM/kx5+mozLqCVh2D Cg==. (64751136 bytes) npm WARN old lockfile at IntegrityStream.[_onEnd] (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:118:19) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:88:19) npm WARN old lockfile at IntegrityStream.[maybeEmitEnd] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:370:12) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/minipass/index.js:434:29) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:90:18) npm WARN old lockfile at IntegrityStream.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:265:12) npm WARN old lockfile at IntegrityStream.resume (/usr/lib/node_modules/npm/node_modules/minipass/index.js:269:24) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/minipass-pipeline/index.js:105:19) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js:37:18) npm WARN old lockfile at CachingMinipassPipeline.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:259:10) { npm WARN old lockfile code: 'EINTEGRITY', npm WARN old lockfile found: Integrity { sha512: [ [Hash] ] }, npm WARN old lockfile expected: [ npm WARN old lockfile Hash { npm WARN old lockfile source: 'sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==', npm WARN old lockfile digest: 'qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==', npm WARN old lockfile algorithm: 'sha512', npm WARN old lockfile options: [] npm WARN old lockfile } npm WARN old lockfile ], npm WARN old lockfile algorithm: 'sha512', npm WARN old lockfile sri: Integrity { sha512: [ [Hash] ] } npm WARN old lockfile } npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png npm ERR! dest /opt/iobroker/node_modules/.iobroker.icons-open-icon-library-png-dWPxt8qG npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.icons-open-icon-library-png' -> '/opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-26T15_08_41_333Z-debug-0.log host.raspberrypi Cannot install iobroker.smartgarden@2.0.0: 217
pi@raspberrypi:/opt/iobroker $ npm ls canvas iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.echarts@1.0.10 extraneous │ ├── canvas@2.9.1 │ └─┬ jsdom@19.0.0 │ └── canvas@2.9.1 deduped ├─┬ iobroker.iot@1.11.7 │ └── canvas@2.9.1 deduped └─┬ iobroker.mihome-vacuum@3.4.1 └── canvas@2.9.1 deduped
pi@raspberrypi:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 pi /opt/iobroker OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 http://phoscon.de/apt/deconz buster InRelease OK:4 https://deb.nodesource.com/node_16.x buster InRelease OK:5 https://www.pivccu.de/piVCCU stable InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.15.1-deb-1nodesource1 Installationskandidat: 16.15.1-deb-1nodesource1 Versionstabelle: *** 16.15.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.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
pi@raspberrypi:/opt/iobroker $ iobroker status iobroker is running on this host. Objects type: jsonl States type: jsonl
pi@raspberrypi:/opt/iobroker $ iobroker list instances + system.adapter.accuweather.0 : accuweather : raspberrypi - enabled + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.birthdays.0 : birthdays : raspberrypi - enabled system.adapter.ble.0 : ble : raspberrypi - disabled system.adapter.calendar.0 : calendar : raspberrypi - disabled, port: 8095 + system.adapter.cloud.0 : cloud : raspberrypi - enabled + system.adapter.contact.0 : contact : raspberrypi - enabled, port: 8096 system.adapter.daswetter.0 : daswetter : raspberrypi - enabled system.adapter.devices.0 : devices : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.dwd.0 : dwd : raspberrypi - enabled + system.adapter.echarts.0 : echarts : raspberrypi - enabled + system.adapter.fahrplan.0 : fahrplan : raspberrypi - enabled + system.adapter.fb-checkpresence.0 : fb-checkpresence : raspberrypi - enabled system.adapter.feiertage.0 : feiertage : raspberrypi - enabled system.adapter.flot.0 : flot : raspberrypi - disabled + system.adapter.fritzbox.0 : fritzbox : raspberrypi - enabled system.adapter.gardena.0 : gardena : raspberrypi - disabled system.adapter.habpanel.0 : habpanel : raspberrypi - disabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.4 : hm-rpc : raspberrypi - enabled, port: 0 system.adapter.ical.1 : ical : raspberrypi - enabled system.adapter.ical.2 : ical : raspberrypi - enabled system.adapter.ical.3 : ical : raspberrypi - enabled system.adapter.ical.4 : ical : raspberrypi - enabled system.adapter.ical.5 : ical : raspberrypi - enabled system.adapter.ical.6 : ical : raspberrypi - enabled system.adapter.ical.7 : ical : raspberrypi - enabled system.adapter.ical.8 : ical : raspberrypi - enabled system.adapter.icons-fatcow-hosting.0 : icons-fatcow-hosting : raspberrypi - disabled system.adapter.icons-icons8.0 : icons-icons8 : raspberrypi - disabled system.adapter.icons-material-svg.0 : icons-material-svg : raspberrypi - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : raspberrypi - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: raspberrypi - disabled + system.adapter.info.0 : info : raspberrypi - enabled + system.adapter.iot.0 : iot : raspberrypi - enabled + system.adapter.iqontrol.0 : iqontrol : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.lovelace.0 : lovelace : raspberrypi - disabled, port: 8091, bind: 192.168.178.147, run as: admin system.adapter.luftdaten.0 : luftdaten : raspberrypi - enabled system.adapter.meteoalarm.0 : meteoalarm : raspberrypi - disabled + system.adapter.mihome-vacuum.0 : mihome-vacuum : raspberrypi - enabled, port: 54321 system.adapter.mihome.0 : mihome : raspberrypi - disabled, port: 9898, bind: 192.168.178.145 + system.adapter.milight.0 : milight : raspberrypi - enabled, port: 8899 system.adapter.mqtt.0 : mqtt : raspberrypi - disabled, port: 1883, bind: 0.0.0.0 + system.adapter.musiccast.0 : musiccast : raspberrypi - enabled + system.adapter.nina.0 : nina : raspberrypi - enabled system.adapter.openweathermap.0 : openweathermap : raspberrypi - enabled system.adapter.parser.0 : parser : raspberrypi - disabled + system.adapter.ping.0 : ping : raspberrypi - enabled + system.adapter.pollenflug.0 : pollenflug : raspberrypi - enabled system.adapter.radar2.0 : radar2 : raspberrypi - disabled + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled system.adapter.samsung.0 : samsung : raspberrypi - disabled system.adapter.samsung_tizen.0 : samsung_tizen : raspberrypi - disabled, port: 8002 system.adapter.samsung_tizen.1 : samsung_tizen : raspberrypi - disabled, port: 8002 + system.adapter.sayit.0 : sayit : raspberrypi - enabled, port: 0 system.adapter.scenes.0 : scenes : raspberrypi - disabled system.adapter.shelly.0 : shelly : raspberrypi - disabled, port: 1882, bind: 0.0.0.0 system.adapter.smartcontrol.0 : smartcontrol : raspberrypi - disabled + system.adapter.smartgarden.0 : smartgarden : raspberrypi - enabled + system.adapter.snmp.0 : snmp : raspberrypi - enabled system.adapter.sonoff.0 : sonoff : raspberrypi - disabled, port: 1883, bind: 192.168.178.147 + system.adapter.sonos.0 : sonos : raspberrypi - enabled system.adapter.synology.0 : synology : raspberrypi - disabled, port: 5000 + system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi - enabled + system.adapter.tr-064.0 : tr-064 : raspberrypi - enabled + system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled system.adapter.tuya.0 : tuya : raspberrypi - disabled + system.adapter.tvprogram.0 : tvprogram : raspberrypi - enabled system.adapter.tvspielfilm.0 : tvspielfilm : raspberrypi - enabled + system.adapter.upnp.0 : upnp : raspberrypi - enabled system.adapter.uv-protect.0 : uv-protect : raspberrypi - enabled system.adapter.vis-bars.0 : vis-bars : raspberrypi - enabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : raspberrypi - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : raspberrypi - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : raspberrypi - disabled system.adapter.vis-history.0 : vis-history : raspberrypi - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi - disabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : raspberrypi - disabled system.adapter.vis-map.0 : vis-map : raspberrypi - disabled system.adapter.vis-material-advanced.0 : vis-material-advanced : raspberrypi - disabled system.adapter.vis-material-webfont.0 : vis-material-webfont : raspberrypi - disabled system.adapter.vis-material.0 : vis-material : raspberrypi - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : raspberrypi - disabled system.adapter.vis-players.0 : vis-players : raspberrypi - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : raspberrypi - disabled system.adapter.vis.0 : vis : raspberrypi - enabled system.adapter.weatherunderground.0 : weatherunderground : raspberrypi - enabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.withings.0 : withings : raspberrypi - enabled + system.adapter.yamaha.0 : yamaha : raspberrypi - enabled + system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
-
Sorry. Hoffe nun in Ordnung
-
ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.icons-open-icon-library-png' -> '/opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG'
Mach das doch.
-
@nhbischo sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
old lockfile The package-lock.json file was created with an old version
-
@thomas-braun sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
rename '/opt/iobroker/node_modules/iobroker.icons-open-icon-library-png' -> '/opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG'
rename '/opt/iobroker/node_modules/iobroker.icons-open-icon-library-png' -> '/opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG' Unknown regexp modifier "/b" at (user-supplied code), at end of line Unknown regexp modifier "/r" at (user-supplied code), at end of line Unknown regexp modifier "/k" at (user-supplied code), at end of line Unknown regexp modifier "/e" at (user-supplied code), at end of line Unknown regexp modifier "/r" at (user-supplied code), at end of line
-
-
Ich hatte wie hier ja schon beschrieben wurde in /opt/iobroker die Datei 'package-lock.json' auch schon umbenannt und gespeíchert. Dann den Updateprozess neu angestossen. Dort erschien der gleiche Fehler wieder. In der Vorgehensweise etwas falsch gewesen ?
VG Mathias
-
Erst rename installiert. War nicht installiert. Dann das Kommando aufgerufen.
-
Verzeichnis umbenennen:
sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png /opt/iobroker/node_modules/.iobroker.icons-open-icon-library-png-dWPxt8qG
-
@thomas-braun sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png /opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG
pi@raspberrypi:/opt/iobroker $ sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png /opt/iobroker/node_modules/.iobroker.icons-open-icon-li brary-png-dWPxt8qG mv: das angegebene Ziel 'brary-png-dWPxt8qG' ist kein Verzeichnis
-
-
@nhbischo Leerzeichen entfernen, ist ein typo
-
@nhbischo sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Erst rename installiert. War nicht installiert. Dann das Kommando aufgerufen.
rename wird nicht installiert.
-
Sorry. Ich hatte rename über SSH aufgerufen und dort wurde gemeldet Rename ist nicht installiert
pi@raspberrypi:/opt/iobroker $ rename -bash: rename: Kommando nicht gefunden.
Daher hatte ich es installiert. Im Anschluss funktionierte der Aufruf.
-
Dateien und Verzeichnissse werden mit
mv
von der Quelle zum Ziel verschoben. -
Nun scheint der Adapter installiert worden zu sein. Ich hatte den Tip thomas-braun mit der Umbennung ausgeführt. Dann mit der alten existierenden package-lick.json die Installation versucht.
pi@raspberrypi:/opt/iobroker $ iobroker upgrade smartgarden --debug This upgrade of "smartgarden" will introduce the following changes: ========================================================================== -> 2.0.0: support for new login procedure to Gardena webservice; admin5 is necessary ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade smartgarden from @1.0.6 to @2.0.0 now? [(y)es, (n)o]: y Update smartgarden from @1.0.6 to @2.0.0 NPM version: 8.11.0 Installing iobroker.smartgarden@2.0.0... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying again. npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying again. npm WARN old lockfile Error: sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== integrity checksum failed when using sha512: wanted sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== but got sha512-ZH4lj95sM6IpZEL2H1HR0hXTo6GMqbUBPbQyylgdRd6TDEdU+fgohUVGW4gPI0UnrAzqM/kx5+mozLqCVh2DCg==. (64751136 bytes) npm WARN old lockfile at IntegrityStream.[_onEnd] (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:118:19) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:88:19) npm WARN old lockfile at IntegrityStream.[maybeEmitEnd] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:370:12) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/minipass/index.js:434:29) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:90:18) npm WARN old lockfile at IntegrityStream.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:265:12) npm WARN old lockfile at IntegrityStream.resume (/usr/lib/node_modules/npm/node_modules/minipass/index.js:269:24) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/minipass-pipeline/index.js:105:19) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js:37:18) npm WARN old lockfile at CachingMinipassPipeline.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:259:10) npm WARN old lockfile Could not fetch metadata for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master Error: sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== integrity checksum failed when using sha512: wanted sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== but got sha512-ZH4lj95sM6IpZEL2H1HR0hXTo6GMqbUBPbQyylgdRd6TDEdU+fgohUVGW4gPI0UnrAzqM/kx5+mozLqCVh2DCg==. (64751136 bytes) npm WARN old lockfile at IntegrityStream.[_onEnd] (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:118:19) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:88:19) npm WARN old lockfile at IntegrityStream.[maybeEmitEnd] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:370:12) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/minipass/index.js:434:29) npm WARN old lockfile at IntegrityStream.emit (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:90:18) npm WARN old lockfile at IntegrityStream.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:265:12) npm WARN old lockfile at IntegrityStream.resume (/usr/lib/node_modules/npm/node_modules/minipass/index.js:269:24) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/minipass-pipeline/index.js:105:19) npm WARN old lockfile at CachingMinipassPipeline.emit (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js:37:18) npm WARN old lockfile at CachingMinipassPipeline.[resume] (/usr/lib/node_modules/npm/node_modules/minipass/index.js:259:10) { npm WARN old lockfile code: 'EINTEGRITY', npm WARN old lockfile found: Integrity { sha512: [ [Hash] ] }, npm WARN old lockfile expected: [ npm WARN old lockfile Hash { npm WARN old lockfile source: 'sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==', npm WARN old lockfile digest: 'qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==', npm WARN old lockfile algorithm: 'sha512', npm WARN old lockfile options: [] npm WARN old lockfile } npm WARN old lockfile ], npm WARN old lockfile algorithm: 'sha512', npm WARN old lockfile sri: Integrity { sha512: [ [Hash] ] } npm WARN old lockfile } npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/acorn-walk npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/.acorn-walk-xHkEOJL1 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/acorn-walk' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/.acorn-walk-xHkEOJL1' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-26T16_56_31_988Z-debug-0.log host.raspberrypi Cannot install iobroker.smartgarden@2.0.0: 217
Da es nicht funktionierte hatte ich die Datei package-lock.json dann umbenannt. Dann den Updateprozess noch einmal angestossen und nun ist der Adapter installiert
pi@raspberrypi:/opt/iobroker $ iobroker upgrade smartgarden --debug This upgrade of "smartgarden" will introduce the following changes: ========================================================================== -> 2.0.0: support for new login procedure to Gardena webservice; admin5 is necessary ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade smartgarden from @1.0.6 to @2.0.0 now? [(y)es, (n)o]: y Update smartgarden from @1.0.6 to @2.0.0 NPM version: 8.11.0 Installing iobroker.smartgarden@2.0.0... (System call) npm WARN skipping integrity check for git dependency ssh://git@github.com/dahuby/iobroker.samsung_tizen.git npm WARN skipping integrity check for git dependency ssh://git@github.com/ciddi89/ioBroker.device-watcher.git added 9 packages, removed 174 packages, and changed 14 packages in 4m 104 packages are looking for funding run `npm fund` for details Update "system.adapter.smartgarden.0" upload [4] smartgarden.admin /opt/iobroker/node_modules/iobroker.smartgarden/admin/admin.d.ts admin.d.ts video/mp2t upload [3] smartgarden.admin /opt/iobroker/node_modules/iobroker.smartgarden/admin/index_m.html index_m.html text/html upload [2] smartgarden.admin /opt/iobroker/node_modules/iobroker.smartgarden/admin/jsonConfig.json jsonConfig.json application/json upload [1] smartgarden.admin /opt/iobroker/node_modules/iobroker.smartgarden/admin/smartgarden.png smartgarden.png image/png upload [0] smartgarden.admin /opt/iobroker/node_modules/iobroker.smartgarden/admin/tsconfig.json tsconfig.json application/json
-
Danke. Das werde ich mir nun mit Sicherheit merken. Und die Installation eines zweiten Updates eines Adapters hat nun auch funktionert. Ganz herzlichen Dank
VG Mathias