NEWS
Adapter Update läuft nicht nach Update nodejs
-
Hallo,
ich habe nach Anleitung:
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition
Upgedatet auf:
uname -m && which nodejs node npm && nodejs -v && node -v && npm -v :( x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0iobroker upgrade devices --debug This upgrade of "devices" will introduce the following changes: ========================================================================== -> 1.0.12: Allowed to work with devices behind reverse proxy Replaced the function icon -> 1.0.11: Updated some libraries ========================================================================== Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y Update devices from @1.0.10 to @1.0.12 NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/array.prototype.findindex npm ERR! dest /opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/array.prototype.findindex' -> '/opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_04_23_757Z-debug-0.log host.zotac Cannot install iobroker.devices@1.0.12: 217 -
Hallo,
ich habe nach Anleitung:
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition
Upgedatet auf:
uname -m && which nodejs node npm && nodejs -v && node -v && npm -v :( x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0iobroker upgrade devices --debug This upgrade of "devices" will introduce the following changes: ========================================================================== -> 1.0.12: Allowed to work with devices behind reverse proxy Replaced the function icon -> 1.0.11: Updated some libraries ========================================================================== Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y Update devices from @1.0.10 to @1.0.12 NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/array.prototype.findindex npm ERR! dest /opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/array.prototype.findindex' -> '/opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_04_23_757Z-debug-0.log host.zotac Cannot install iobroker.devices@1.0.12: 217@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
directory not empty, rename '/opt/iobroker/node_modules/array.prototype.findindex' -> '/opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR'
sudo -u iobroker mv /opt/iobroker/node_modules/array.prototype.findindex /opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR -
@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
directory not empty, rename '/opt/iobroker/node_modules/array.prototype.findindex' -> '/opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR'
sudo -u iobroker mv /opt/iobroker/node_modules/array.prototype.findindex /opt/iobroker/node_modules/.array.prototype.findindex-JX1jwpiR@glasfaser
Hi,
da kommen dann immer neue Dateien, die ich umbenennen soll.
Als letztes iobroker.devices
Dann sagt er das modul ist nicht installiert.Wenn ich das dann installieren möchte, kommt das
iobroker upgrade devices --debug This upgrade of "devices" will introduce the following changes: ========================================================================== -> 1.0.12: Allowed to work with devices behind reverse proxy Replaced the function icon -> 1.0.11: Updated some libraries ========================================================================== Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y Update devices from @1.0.10 to @1.0.12 NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.devices npm ERR! dest /opt/iobroker/node_modules/.iobroker.devices-1FmykokK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.devices' -> '/opt/iobroker/node_modules/.iobroker.devices-1FmykokK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_20_49_788Z-debug-0.log iobroker upgrade devices --debug Adapter "devices" is not installed. iobroker install devices --debug NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) 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-library-png-dWPxt8qG' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_22_27_327Z-debug-0.log host.zotac Cannot install iobroker.devices@1.0.12: 217 iobroker del devices :( Delete adapter "devices" host.zotac object devices deleted host.zotac object devices.admin deleted Error deleting adapter devices from disk: Cannot find module 'iobroker.devices/io-package.json' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js You might have to delete it yourself!Liegt das an der neuen nodejs Version?
Ich habe jetzt erstmal das Backup von heute morgen eingespielt.
Alle 3 zu updatenden Adapter laufen auf ähnliche Fehler. -
@glasfaser
Hi,
da kommen dann immer neue Dateien, die ich umbenennen soll.
Als letztes iobroker.devices
Dann sagt er das modul ist nicht installiert.Wenn ich das dann installieren möchte, kommt das
iobroker upgrade devices --debug This upgrade of "devices" will introduce the following changes: ========================================================================== -> 1.0.12: Allowed to work with devices behind reverse proxy Replaced the function icon -> 1.0.11: Updated some libraries ========================================================================== Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y Update devices from @1.0.10 to @1.0.12 NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.devices npm ERR! dest /opt/iobroker/node_modules/.iobroker.devices-1FmykokK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.devices' -> '/opt/iobroker/node_modules/.iobroker.devices-1FmykokK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_20_49_788Z-debug-0.log iobroker upgrade devices --debug Adapter "devices" is not installed. iobroker install devices --debug NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) 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-library-png-dWPxt8qG' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_22_27_327Z-debug-0.log host.zotac Cannot install iobroker.devices@1.0.12: 217 iobroker del devices :( Delete adapter "devices" host.zotac object devices deleted host.zotac object devices.admin deleted Error deleting adapter devices from disk: Cannot find module 'iobroker.devices/io-package.json' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js You might have to delete it yourself!Liegt das an der neuen nodejs Version?
Ich habe jetzt erstmal das Backup von heute morgen eingespielt.
Alle 3 zu updatenden Adapter laufen auf ähnliche Fehler.@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
Liegt das an der neuen nodejs Version?
Ja ... brauchst nur in deinem beigefügten Link alles dazu lesen , bzw. jeder 15 neu erstellter Beitrag hier im Forum handelt davon " ERROR 25 "
-
@glasfaser
Hi,
da kommen dann immer neue Dateien, die ich umbenennen soll.
Als letztes iobroker.devices
Dann sagt er das modul ist nicht installiert.Wenn ich das dann installieren möchte, kommt das
iobroker upgrade devices --debug This upgrade of "devices" will introduce the following changes: ========================================================================== -> 1.0.12: Allowed to work with devices behind reverse proxy Replaced the function icon -> 1.0.11: Updated some libraries ========================================================================== Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y Update devices from @1.0.10 to @1.0.12 NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.devices npm ERR! dest /opt/iobroker/node_modules/.iobroker.devices-1FmykokK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.devices' -> '/opt/iobroker/node_modules/.iobroker.devices-1FmykokK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_20_49_788Z-debug-0.log iobroker upgrade devices --debug Adapter "devices" is not installed. iobroker install devices --debug NPM version: 8.11.0 Installing iobroker.devices@1.0.12... (System call) 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-library-png-dWPxt8qG' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-27T20_22_27_327Z-debug-0.log host.zotac Cannot install iobroker.devices@1.0.12: 217 iobroker del devices :( Delete adapter "devices" host.zotac object devices deleted host.zotac object devices.admin deleted Error deleting adapter devices from disk: Cannot find module 'iobroker.devices/io-package.json' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js You might have to delete it yourself!Liegt das an der neuen nodejs Version?
Ich habe jetzt erstmal das Backup von heute morgen eingespielt.
Alle 3 zu updatenden Adapter laufen auf ähnliche Fehler.Fängt hier an ...
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition/359
und hier z.B. durchgehend...
https://forum.iobroker.net/topic/55683/kein-update-mehr-möglich-mit-node-js-16
-
Fängt hier an ...
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition/359
und hier z.B. durchgehend...
https://forum.iobroker.net/topic/55683/kein-update-mehr-möglich-mit-node-js-16
@glasfaser
Hi, danke das war der entscheidene Tipp:
Die iobroker.icons-open-icon-library-png@0.1.3 ist scheinbar die falsche Version. Da brauchte ich die iobroker.icons-open-icon-library-png@0.1.2Jetzt geht das Update wieder. (Wenn auch seeeeeeehr viel langsamer als früher)
npm ls | grep ERR :( npm ERR! code ELSPROBLEMS npm ERR! extraneous: acorn-walk@8.2.0 /opt/iobroker/node_modules/acorn-walk npm ERR! extraneous: acorn@8.7.0 /opt/iobroker/node_modules/acorn npm ERR! invalid: iobroker.icons-open-icon-library-png@0.1.3 /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png npm ERR! extraneous: jsonata@1.8.5 /opt/iobroker/node_modules/jsonata npm ERR! extraneous: vm2@3.9.5 /opt/iobroker/node_modules/vm2 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-27T21_00_11_904Z-debug-0.log # iobroker del iobroker.icons-open-icon-library-png Delete adapter "icons-open-icon-library-png" host.zotac Counted 1 instances of icons-open-icon-library-png host.zotac Counted 1 meta of icons-open-icon-library-png host.zotac Counted 1 adapter for icons-open-icon-library-png host.zotac Counted 1 states of system.adapter.icons-open-icon-library-png host.zotac file icons-open-icon-library-png deleted host.zotac file icons-open-icon-library-png.admin deleted host.zotac object icons-open-icon-library-png deleted host.zotac object icons-open-icon-library-png.admin deleted host.zotac Deleting 4 object(s). added 181 packages, removed 399 packages, and changed 1173 packages in 2m 126 packages are looking for funding run `npm fund` for details iobroker del iobroker.icons-open-icon-library-png 51,39s user 10,60s system 34% cpu 2:58,53 total # iobroker install iobroker.icons-open-icon-library-png -
@glasfaser
Hi, danke das war der entscheidene Tipp:
Die iobroker.icons-open-icon-library-png@0.1.3 ist scheinbar die falsche Version. Da brauchte ich die iobroker.icons-open-icon-library-png@0.1.2Jetzt geht das Update wieder. (Wenn auch seeeeeeehr viel langsamer als früher)
npm ls | grep ERR :( npm ERR! code ELSPROBLEMS npm ERR! extraneous: acorn-walk@8.2.0 /opt/iobroker/node_modules/acorn-walk npm ERR! extraneous: acorn@8.7.0 /opt/iobroker/node_modules/acorn npm ERR! invalid: iobroker.icons-open-icon-library-png@0.1.3 /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png npm ERR! extraneous: jsonata@1.8.5 /opt/iobroker/node_modules/jsonata npm ERR! extraneous: vm2@3.9.5 /opt/iobroker/node_modules/vm2 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-27T21_00_11_904Z-debug-0.log # iobroker del iobroker.icons-open-icon-library-png Delete adapter "icons-open-icon-library-png" host.zotac Counted 1 instances of icons-open-icon-library-png host.zotac Counted 1 meta of icons-open-icon-library-png host.zotac Counted 1 adapter for icons-open-icon-library-png host.zotac Counted 1 states of system.adapter.icons-open-icon-library-png host.zotac file icons-open-icon-library-png deleted host.zotac file icons-open-icon-library-png.admin deleted host.zotac object icons-open-icon-library-png deleted host.zotac object icons-open-icon-library-png.admin deleted host.zotac Deleting 4 object(s). added 181 packages, removed 399 packages, and changed 1173 packages in 2m 126 packages are looking for funding run `npm fund` for details iobroker del iobroker.icons-open-icon-library-png 51,39s user 10,60s system 34% cpu 2:58,53 total # iobroker install iobroker.icons-open-icon-library-png@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
/root/
-
@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
/root/
@thomas-braun sagte in Adapter Update läuft nicht nach Update nodejs:
@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
/root/
Hi,
ich weiss, läuft aber seit ca. 2013 so. Kein bock auf neues Einrichten ...
-
@thomas-braun sagte in Adapter Update läuft nicht nach Update nodejs:
@sissiwup sagte in Adapter Update läuft nicht nach Update nodejs:
/root/
Hi,
ich weiss, läuft aber seit ca. 2013 so. Kein bock auf neues Einrichten ...
Was musst du denn da neu einrichten?
Einfach einen User nutzen, ggf. noch sudo nachinstallieren. Wobei das installiert ist, der 'iobroker' läuft ja auch über sudo.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden