NEWS
Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update
-
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'
-
@thomas-braun sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
@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...
Mähh , habe -i mit -u vertauscht .... immer diese Autokorrektur
-
/opt/iobroker $ iobroker update -i Used repository: Stable (default) Adapter "admin" : 5.3.8 , installed 5.3.8 Adapter "backitup" : 2.4.9 , installed 2.4.9 Adapter "ble" : 0.12.0 , installed 0.12.0 Adapter "cloud" : 4.1.1 , installed 4.1.1 Adapter "discovery" : 3.0.3 , installed 3.0.3 Adapter "echarts" : 1.0.7 , installed 1.0.7 Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable] Adapter "fb-checkpresence": 1.1.14, installed 1.1.14 Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] 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 "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-material-png": 0.1.0, installed 0.1.0 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 "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.4 , installed 1.11.4 Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "pushover" : 2.1.0 , installed 2.1.0 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sql" : 1.16.2 , installed 1.16.2 Adapter "telegram" : 1.13.0 , installed 1.13.0 Adapter "text2command" : 2.2.1 , installed 2.2.1 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-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.3 , installed 1.0.3 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-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 "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5
Gruss paul
-
@thomas-braun
gemachtmv /opt/iobroker/node_modules/node-telegram-bot-api /opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2 /opt/iobroker $ iob upgrade email --debug This 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/regexp.prototype.flags npm ERR! dest /opt/iobroker/node_modules/.regexp.prototype.flags-omxNhUlX npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/regexp.prototype.flags' -> '/opt/iobroker/node_modules/.regexp.prototype.flags-omxNhUlX' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-28T08_35_21_368Z-debug-0.log host.IOBroker-Sted1 Cannot install iobroker.email@1.1.3: 217
Drehen wir uns im Kreis ?
Steht wieder ein rename drin? Immer weiter umbenennen?
Gruss paul -
@paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
Immer weiter umbenennen?
Ja.