NEWS
Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update
-
pi@raspberrypi:/opt/iobroker $ iobroker update -i Used repository: Stable (default) Adapter "accuweather" : 1.2.1 , installed 1.2.4 Adapter "admin" : 5.3.8 , installed 5.4.9 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.1.0 Adapter "ble" : 0.12.0 , installed 0.13.0 Adapter "cloud" : 4.1.1 , installed 4.1.1 Adapter "daswetter" : 3.1.2 , installed 3.1.3 Adapter "devices" : 1.0.12 , installed 1.0.12 Adapter "discovery" : 3.0.3 , installed 3.0.5 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "fahrplan" : 1.2.0 , installed 1.2.0 Adapter "fb-checkpresence": 1.1.14, installed 1.1.17 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzbox" : 0.2.1 , installed 0.5.0 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "history" : 1.11.1 , installed 2.1.4 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "ical" : 1.12.1 , installed 1.13.0 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.3 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.4 , installed 1.11.7 Adapter "iqontrol" : 2.0.0 , installed 2.0.1 Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "lovelace" : 2.2.0 , installed 2.0.6 [Updatable] Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "meteoalarm" : 2.1.3 , installed 2.1.5 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 3.4.2 , installed 3.4.2 Adapter "milight" : 0.3.6 , installed 0.3.6 Adapter "mqtt" : 3.0.6 , installed 4.0.6 Adapter "musiccast" : 0.1.5 , installed 0.2.2 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openweathermap": 0.2.4 , installed 0.2.5 Adapter "parser" : 1.1.7 , installed 1.1.7 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "plex" : 0.9.1 , installed 0.9.1 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "samsung" : 0.5.8 , installed 0.5.11 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 "simple-api" : 2.7.0 , installed 2.7.0 Adapter "smartcontrol" : 1.2.1 , installed 1.2.1 Adapter "smartgarden" : 2.0.0 , installed 2.0.0 Adapter "snmp" : 1.0.0 , installed 1.0.0 Adapter "socketio" : 4.2.0 , installed 6.1.7 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sonos" : 2.1.7 , installed 2.2.2 Adapter "synology" : 2.1.7 , installed 2.1.8 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "trashschedule": 2.0.2 , installed 2.0.3 Adapter "tuya" : 3.6.15 , installed 3.6.15 Adapter "tvprogram" : 1.1.2 , installed 1.1.2 Adapter "tvspielfilm" : 2.0.4 , installed 2.0.4 Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "uv-protect" : 0.3.4 , installed 0.3.5 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-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.2.0 , installed 1.2.0 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-map" : 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-timeandweather": 1.1.7, installed 1.1.7 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 5.2.3 Adapter "withings" : 0.0.7 , installed 0.0.7 Adapter "ws" : 1.3.0 , installed 2.1.2 Adapter "yamaha" : 0.5.2 , installed 0.5.3 Adapter "zigbee" : 1.7.5 , installed 1.6.18 [Updatable]
-
Ich war vorher schon auf beta unterwegs. Daher die unterschiedlichen Versionen. Bin nun wieder auf stable gegangen
VG Mathias
-
Dann zieh die beiden Adapter noch auf den aktuellen stable Stand.
-
@nhbischo sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Da es nicht funktionierte
steht ja auch drin
@nhbischo sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
-
Hallo ,
habe auch das Error 25 Problem.
Nach iob upgrade email --debug
kamen diese LogsThis upgrade of "email" will introduce the following changes: ========================================================================== -> 1.1.3: Make sure the STARTTLS configuration field is displayed -> 1.1.2: Fix mail.ee settings -> 1.1.1: Allow to use connections to port 25 unencrypted -> 1.1.0: Adjust default settings for web.de and 1und1 and add ionos Add "Always use STARTTLS" option for custom SMTP settings ========================================================================== Would you like to upgrade email from @1.0.10 to @1.1.3 now? [(y)es, (n)o]: y Update email from @1.0.10 to @1.1.3 NPM version: 8.11.0 Installing iobroker.email@1.1.3... (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 ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/define-properties npm ERR! dest /opt/iobroker/node_modules/.define-properties-gzFzeOn0 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/define-properties' -> '/opt/iobroker/node_modules/.define-properties-gzFzeOn0' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-28T04_51_01_894Z-debug-0.log host.IOBroker-Sted1 Cannot install iobroker.email@1.1.3: 217
Danach
mv /opt/iobroker/node_modules/define-properties /opt/iobroker/node_modules/.define-properties-gzFzeOn0
und Nach iob upgrade email --debug
dann diese logsThis upgrade of "email" will introduce the following changes: ========================================================================== -> 1.1.3: Make sure the STARTTLS configuration field is displayed -> 1.1.2: Fix mail.ee settings -> 1.1.1: Allow to use connections to port 25 unencrypted -> 1.1.0: Adjust default settings for web.de and 1und1 and add ionos Add "Always use STARTTLS" option for custom SMTP settings ========================================================================== Would you like to upgrade email from @1.0.10 to @1.1.3 now? [(y)es, (n)o]: y Update email from @1.0.10 to @1.1.3 NPM version: 8.11.0 Installing iobroker.email@1.1.3... (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 ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/follow-redirects npm ERR! dest /opt/iobroker/node_modules/.follow-redirects-vRGWWNjd npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/follow-redirects' -> '/opt/iobroker/node_modules/.follow-redirects-vRGWWNjd' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-28T04_53_25_440Z-debug-0.log host.IOBroker-Sted1 Cannot install iobroker.email@1.1.3: 217
Danach
mv /opt/iobroker/node_modules/follow-redirects /opt/iobroker/node_modules/.follow-redirects-vRGWWNjd
und wieder
iob upgrade email --debug
mit folgendem lognode:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'follow-redirects' Require stack: - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/adapters/http.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/defaults.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/transformData.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/axios.js - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/index.js - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/index.js - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js - /opt/iobroker/node_modules/@alcalzone/pak/build/index.js - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/adapters/http.js:9:18) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/adapters/http.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/defaults.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/transformData.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/axios.js', '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/index.js', '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/index.js', '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js', '/opt/iobroker/node_modules/@alcalzone/pak/build/index.js', '/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js', '/opt/iobroker/node_modules/@iobroker/js-controller-common/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
Die Instanzen der Adapter laufen, nach Neustart bleiben die im Stop.
armv7l
/usr/bin/nodejs
/usr/bin/node
/usr/bin/npm
v16.15.1
v16.15.1
8.11.0
Was lief da denn falsch.
Gruss paul -
@paul-honka Mach das letzte rename mal rückgängig .. du hast dasmit dem Axios eine Dep weggenommen.
Ich bin nicht sivher das das ausführen der Renames die er selbst tun will und nicht kann wirklich die Lösung ist.
Ich wäre eher dabei zu prüfen ob denn das ZIELVerzeichnis wohin er es renamen will vllt schon da ist und wenn ja dieses zu löschen.
Im letzten Fall also /opt/iobroker/node_modules/.follow-redirects-vRGWWNjd ... aber das ist jetzt bei dir irrelevant.Auch die Frage ist ob es hilt "Iob fix" vorher auszuführen
-
@apollon77 Habe das letzte mv wieder rückgangig gemacht und den iob fix gestartet.
Dann wieder iob upgrade email --debug
und diesmal kommt die folgende Meldung
npm ERR! path /opt/iobroker/node_modules/node-telegram-bot-api
npm ERR! dest /opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-telegram-bot-api' -> '/opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2'
Telegramm???
Ich glaub ich spiel mal ein Backup ein.
Gruss paul -
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Ich glaub ich spiel malt ein Backup ein.
Das wird dir vermutlich nichts bringen.
-
@thomas-braun
Wieso, Warum? Vor einer Woche konnte ich noch einige Adapter updaten?
Gruss paul -
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
v16.15.1
v16.15.1
8.11.0vor oder nach dem Update auf 16 !?
Zeige mal ( Ein/Ausgabe in Code-Tags setzen ) :
iobroker update -u sudo ln -s /usr/bin/node /usr/bin/nodejs 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
-
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Wieso, Warum? Vor einer Woche konnte ich noch einige Adapter updaten?
Das war auch bestimmt vor einem Upgrade auf nodejs16/npm8.
cd /opt/iobroker npm ls | grep -E 'ERR|github'
liefert?
-
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2
gibt es opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2 denn?
-
@thomas-braun mal ohne code tak, ok mit
npm ls | grep -E 'ERR|github' ├── iobroker.gartenbewaesserung@0.0.8 (git+ssh://git@github.com/TA2k/ioBroker.gartenbewaesserung.git#95bf9dcd60b595c7e59e2ed87b719bf564d9ba59) ├── iobroker.mihome-airpurifier@0.1.8 (git+ssh://git@github.com/JoJ123/ioBroker.mihome-airpurifier.git#33aac153e52610c4362089bcf12ac40ed97d82f5) npm ERR! code ELSPROBLEMS npm ERR! invalid: iobroker.telegram@1.13.0 /opt/iobroker/node_modules/iobroker.telegram npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-28T08_15_02_392Z-debug-0.log
Gruss paul
-
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
mal ohne code tak
Warum?
-
iobroker update -u Used repository: Stable (default) Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable] Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ cd /opt/iobroker pi@IOBroker-Sted1:/opt/iobroker $ npm ls | grep -E 'ERR|github' ├── iobroker.gartenbewaesserung@0.0.8 (git+ssh://git@github.com/TA2k/ioBroker.gartenbewaesserung.git#95bf9dcd60b595c7e59e2ed87b719bf564d9ba59) ├── iobroker.mihome-airpurifier@0.1.8 (git+ssh://git@github.com/JoJ123/ioBroker.mihome-airpurifier.git#33aac153e52610c4362089bcf12ac40ed97d82f5) npm ERR! code ELSPROBLEMS npm ERR! invalid: iobroker.telegram@1.13.0 /opt/iobroker/node_modules/iobroker.telegram npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-28T08_15_02_392Z-debug-0.log pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/opt/iobroker $ iobroker update -u Used repository: Stable (default) Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable] Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] pi@IOBroker-Sted1:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits pi@IOBroker-Sted1:/opt/iobroker $ pi@IOBroker-Sted1:/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 https://deb.nodesource.com/node_16.x buster 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
Gruss paul
-
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
@thomas-braun mal ohne code tak
Bitte in Code-Tags setzten und auch nicht die Aus/Eingabe kürzen !
-
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
iobroker update -u
Used repository: Stable (default)
Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable]
Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable]
Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable]
und wo ist der Rest .... kein Admin usw.
-
@glasfaser sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
und wo ist der Rest .... kein Admin usw.
-u = Der Rest ist aktuell...
-
@glasfaser
Das frage ich auch?
Gruss paul -
Soweit i. O.
Dann folge den Vorschlägen des Systems:rename '/opt/iobroker/node_modules/node-telegram-bot-api' -> '/opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2'