Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js für ioBroker richtig updaten

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

[How-to] Node.js für ioBroker richtig updaten

[How-to] Node.js für ioBroker richtig updaten

Scheduled Pinned Locked Moved ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Posts 106 Posters 737.8k Views 112 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • crunchipC crunchip

    @Diginix nein läuft unter Debian

    J Offline
    J Offline
    Jan1
    wrote on last edited by
    #88

    @crunchip
    Dann ist es noch seltsamer, da ich auch Debian laufen habe. Mit 9 und jetzt 10 keine Warnung zur Version.

    1 Reply Last reply
    0
    • StabilostickS Stabilostick

      MOD-EDIT: Dieser Thread und insbesondere diese Anleitung ist von 2019 und somit veraltet

      aktuell ist
      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian


      Update März 2023: Die aktuelle Anleitung findet ihr hier : https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18

      1. Einleitung

      Node.js ist die Laufzeitumgebung der Programmiersprache JavaScript, in der ioBroker geschrieben ist. Ohne Node.js funktioniert ioBroker nicht.

      Wie bei vielen Open-Source-Technologien üblich, entwickelt sich Node.js schnell weiter. Kleinere Updates, die die Stabilität und Sicherheit steigern oder gar neue Funktionen hinzufügen, erscheinen fast wöchentlich.

      Node.js-Versionen mit gerader Hauptversionsnummer werden als LTS-Versionen (Long Term Support) bezeichnet und einige Jahre gepflegt (z.B. 8.x). In 2017 war das Node.js 8, 2018 kam Node.js 10, dann 12.x hinzu und im Oktober 2021 wird Node.js 14 den LTS-Status erhalten.

      Im gleichem Zug erreichen frühere LTS-Versionen ihr Lebensende (EOL, End of Life). So hat Node.js 6 im April 2019 den EOL-Status erhalten und bekommt damit keine Updates mehr, Nodejs 8.x ist seit November 2019 raus.

      Alle Node.js-Versionen mit ungeraden Versionsnummern sind Entwicklungsversionen und sollten nicht produktiv genutzt werden.

      Auch ioBroker wird stetig weiterentwickelt und nutzt die neuen Funktionen aktueller Node.js-Versionen. Obwohl der ioBroker js-controller mit Versionen 1.4.x bzw. 1.5.x noch Node.js 4 unterstützt, fordern neue Adapter immer häufiger mindestens Node.js 8 als Grundvoraussetzung.

      Ab der Version 2.0 des js-controllers (das Freigabedatum ist noch nicht bekannt) sind die Anpassungen so tiefgreifend, dass die Node.js-Versionen 4 und 6 nicht mehr unterstützt werden können.

      Ab Version 3.0/3.1 vom Controller, der gerade (Stand 24.4.2020) im Latest Repository ist, wird Nodejs 10.x Minimum sein.

      Alle paar Jahre steht also für eine ioBroker-Installation ein Update von Node.js an. Dieser Artikel soll zusammenfassen wir man dazu am besten vorgeht.

      2. Wer sollte updaten?

      Aktuell empfehlen wir, bei ioBroker-Neuinstallationen mindestens Node.js 10, besser noch 12.x. zu verwenden. Es sind wenige Adapter bekannt, die nicht mit Node 10/12 funktionieren: Details dazu in https://forum.iobroker.net/topic/30561/status-iobroker-und-node-js-12-x

      Windows-Anwendern empfehlen wir, auf jeden Fall am Test des neuen Windows-Installers teilzunehmen: https://forum.iobroker.net/post/266623
      Der zukünftige Windows-Installer für ioBroker wird eine Funktion erhalten, bestehende Installationen automatisch auf aktuelle js-controller- und Node.js-Versionen zu migrieren, ohne dass man die Kommandozeile bemühen muss.

      Bevor man beginnt, sollte man in der Befehlszeile mit dem Befehl

      node -v
      

      überprüfen, welche Version von Node.js gerade installiert ist. Eine gute Idee ist es, diese Versionsangabe auch mit der Node.js-Version im Übersichts-Fenster des ioBroker-Admins für diesen Host zu vergleichen. Sollten sich die Versionen unterscheiden, sind mehrere Node.js-Varianten installiert, was zu Problemen führen kann.

      Grundsätzlich gilt: Sollte das ioBroker-System stabil laufen, muss Node.js auch nicht auf Gedeih und Verderb upgedated werden. Wenn aber die Installation bestimmter Adapter fehlschlägt (wohlmöglich sogar mit entsprechender Fehlermeldung) oder eine Node-Version < 4 für einen js-controller > Version 1.4.x eingesetzt wird, sollte über ein Node.js-Update nachgedacht werden. Es sind auch Probleme für die Node.js-Versionen 8.0 - 8.12 mit volllaufendem RAM bekannt, so dass wir auch hier ein Update empfehlen.

      Wie bereits gesagt: Sollte das ioBroker-System stabil laufen und ist die Installation technisch nicht gefordert, muss Node.js auch nicht auf Gedeih und Verderb upgedated werden.

      3. Was sollte ich vor dem Update tun?

      Hinweis: Falls die Version des js-controllers <= 1.5.12 ist, muss VOR dem Update in den Einstellungen der Admin-Instanz "Verschlüsselung (https) benutzen" ausgeschaltet werden. Das in ioBroker bis dahin integrierte Zertifikat kann zu Problemen beim Starten des Admin bei Node.js-Versionen >= 10 führen.

      Damit es nach dem Update zu keinen Inkompatibilitäten oder Probleme kommt sollte man alle Adapter prüfen und aktualisieren. Vor allem Adapter mit nativen Bestandteilen, wie alles mit Serialport oder Bluetooth können Probleme bereiten. Hier am besten die Adapter-Readme's per Admin oder im GitHub prüfen, ob neue Versionen zur Verfügung stehen die die geplante Node.js Version explizit erst unterstützen. Auch wenn diese Versionen ggf. noch im "Latest" Repository sind muss man diese vorher aktualisieren. Alternativ wartet man mit der ganzen Update-Aktion bis die neuen Versionen im "Stable" Repository sind, schreibt den Entwickler dazu an oder fragt im Forum nach.

      Wenn man diesen Schritt nicht durchführt kann es zu unnötigen Problemen beim update der Adapter kommen!

      4. Step-by-step-Anleitung für Unix-Systeme

      • Zuerst muss natürlich unbedingt ein Backup erstellt werden. Dazu kann z.B. der BackItUp-Adapter genutzt oder der Kommandozeilenbefehl

        cd /opt/iobroker
        iobroker backup
        

        ausgeführt werden. Das Backup sollte aktuell sein, damit möglichst keine Daten verloren gehen.

      • Anschließend ioBroker stoppen, damit Updates keine Nebeneffekte oder Abstürze verursachen.

        iobroker stop
        

        Bitte anschließend im Webbrowser prüfen, dass der ioBroker-Admin danach wirklich nicht mehr startet. Sollte er weiterhin aufrufbar sein, dann den Rechner neu starten und nochmals „iobroker stop“ ausführen und erneut testen. Für die Techniker unter uns: Man kann auch mit einem Tool wie "top" prüfen, ob noch Prozesse existieren, die mit "io." beginnen. Die dann mit einem beherzten "sudo kill -9 <ProzessID>" zwangsbeenden.

      • Jetzt aktualisiert man Node.js auf die gewünschte neue Version.

        Unter Linux reicht es, dazu den Nodesource-Installationsbefehl für das jeweilige Betriebssystem auszuführen. Verschiedene Varianten sind unter https://github.com/nodesource/distributions#debinstall gelistet.

        Zum Beispiel lauten die Befehle für einen Raspberry Pi der ein Debian bzw. Raspbian-Image verwendet wie folgt, wenn man nicht als root-User (z.B. richtig mit dem User "pi") angemeldet ist:

        curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
        sudo apt-get install -y nodejs
        

      Für nodejs 12 einfach in der URL oben anstelle der 10 eine 12 reinpacken.

      Für macOS gibt einen Installer auf https://nodejs.org/en/download/ , den man einfach ausführt.

      Ob die Aktualisierung geklappt hat, kann man wieder mit dem Befehl

      node -v
      

      überprüfen.

      • Da die Installation von Node.js einige Einstellungen am System verändert haben kann, ist es jetzt ratsam, den ioBroker-Installationsfixer aufzurufen. Das geschieht mit dem Befehl

        curl -sL https://iobroker.net/fix.sh | bash -
        

        Er stellt unter anderem die für den Betrieb von ioBroker notwendigen Sicherheitseinstellungen wieder her.

      • Bei einer Aktualisierung von Node.js müssen bereits installierte JavaScript- Module im ioBroker-Ordner aktualisiert werden, da sonst Fehler bei deren Ausführung auftreten.

        Um diese zu aktualisieren gibt es mehrere Möglichkeiten:

        a) ab js-controller 3.0: Automatischer Rebuild
        ioBroker versucht seit dem js-controller 3.0 automatisch Adapter zu erkennen die nicht starten weil Sie aktualisiert werden müssen. Dies funktioniert so das die typischen Fehlermeldungen erkannt werden und ioBroker dann die Aktualisierung versucht. Zuerst wird ein "rebuild" des betroffenen Adapters ausgeführt, falls das nicht hilft werden die Adapter-Abhängigkeiten aktualisiert. Daher kann es sein das der Adapter mehrfach ersucht wird neu zu starten. Hier bitte Geduld haben!
        Bei einigen Adaptern (zB iot die optionale native Abhängigkeiten haben) funktioniert die automatische Erkennung nicht und das rebuild muss manuell angestoßen werden. Hier zu gibt es iobroker rebuild adaptername und falls das nicht reicht iobroker rebuild adaptername --install. Das einfach manuell ausführen. Damit sollte alles idealerweise automatisiert erledigt sein. Falls hie rirgendetwas gar nicht geht dann helfen die weiteren Optionen.

        b) npm rebuild
        Der erste Versuch sollte immer mit dem Befehl "npm rebuild" im ioBroker Verzeichnis stattfinden, weil dies am saubersten funktioniert und direkt von der Paketverwaltung ausgeführt wird. Im Idealfall dauert das ein paar Minuten und es könnten ein paar Warnungen gelistet werden.
        Falls es aber Fehler gibt, werden wir zusammen versuchen im nächsten Post alle bekannten Fälle mit Ihren Lösungsansätzen zu sammeln. Wenn das funktioniert ist dies der schnellste und sauberste Weg.

        c) reinstall-Skript
        Sollte das nicht klappen, beinhaltet der js-Controller ein reinstall-Skript ("reinstall.sh" bzw. ab js-controller 1.5.x "reinstall.js"). Dieses Skript erkennt alle installierten ioBroker-Adapter, löscht diese dann aus dem node_modules-Verzeichnis und installiert sie neu. Dieser Ansatz ist etwas aufwändiger als "npm rebuild", erfüllt aber den gleichen Zweck. Das funktioniert generell gut, man sollte den Prozess aber nicht abbrechen. Falls es doch passiert oder es Probleme beim Starten nach dieser Prozedur gibt, dann am besten den Weg im nächsten Punkt wählen.
        Das reinstall.sh-Skript welches im js-controller 1.4 mitgeliefert wurde hat ein Formatierungsproblem und muss vorher noch für Linux mit den Befehlen

        cd /opt/iobroker
        sudo mv reinstall.sh reinstall.dos
        sudo tr -d '\r' < reinstall.dos > reinstall.sh
        sudo chmod +x reinstall.sh
        

        korrigiert werden, damit es funktioniert.

        d) Reset aller Module in node_modules
        Eine weitere Variante, die gründlich ist, aber etwas Zeit kostet, ist der Ansatz einfach alles Alte unter Beibehaltung der Daten und Einstellungen neu zu installieren. Wichtig ist, das iobroker-data Verzeichnis nicht zu verändern. Häufig können mit dieser Vorgehensweise auch andere (verborgene) Installationsfehler repariert werden.

        Dazu löscht man zuerst das gesamte node_modules Verzeichnis im ioBroker-Verzeichnis.

        cd /opt/iobroker
        sudo rm -r node_modules/ 
        

        Nachdem der Befehl abgesetzt wurde, fragt das Programm, ob in den Ordner "hinabgestiegen" werden soll (sofern es ein tieferer Unterordner ist) und ob der (schreibgeschützte) Ordner wirklich gelöscht werden soll - beides bestätigt man mit "Ja" (j) oder "Yes" (y).

        Danach installiert man den Controller in der relevanten Version (hier z.B. 2.2.8 der zum Zeitpunkt des Schreibens die aktuelle "Stable"-Version ist):

        npm install iobroker.js-controller@2.2.8 --production
        

        Anschließend startet man ioBroker.

        iobroker start
        

        ioBroker wird korrekterweise feststellen, dass die Adapter, die er starten will, nicht installiert sind - und diese einfach automatisch nachinstallieren. Je nach System kann dies einige Zeit dauern - gern auch ein paar Stunden (oder bei langsamen SD-Karten die ganze Nacht). Aber danach ist alles aktualisiert. Der Installationsfortschritt ist im Admin im Log-Fenster zu sehen.

        Zu beachten ist, dass Adapter, die man manuell von GitHub installiert hat, den Fehler Can not parse null/io-package.json:Error: ENOENT: no suche file or directory ... im ioBroker-Log erzeugen.
        Diese Adapter nach Abschluss der automatischen Installationssequenz wie gehabt über das Adapterfenster manuell von GitHub nachinstallieren und nach der Installation die bestehende diesbezügliche Instanz von Hand starten.

        Ratsam ist es auch, im Log nach der Installation nach dem Wort yourself zu suchen. Hier werden ggf. npm-Module angezeigt, die nicht automatisch installiert wurden. Sie können/sollten manuell über die Kommandozeile mit npm i <Packetname>@<version>, ausgeführt im iobroker-Ordner, nachinstalliert werden. Dazu zuerst den ioBroker stoppen, npm ausführen und dann den ioBroker wieder starten.

        Wenn man dabei npm als root-User per Hand in der Kommandozeile ausgeführt hat, schlage ich zur Korrektur eventueller Berechtigungsfehler vor, vor dem Start von ioBroker das Fixerscript laufen zu lassen.

        cd /opt/iobroker
        iobroker stop
        npm i <Packetname>@<version>
        curl -sL https://iobroker.net/fix.sh | bash -
        iobroker start
        

        e) Neuinstallation mit Restore
        Eine kleine Abwandlung der letzten Variante ist eine Neuinstallation. Hierbei sichert man das "iobroker-data" Verzeichnis (oder nutzt das Backup von oben). Dann löscht man das gesamte ioBroker-Verzeichnis und nutzt den Installer.

        cp -r /opt/iobroker/iobroker-data <Pfad_zum_sicheren_Ort> 
        sudo rm -r /opt/iobroker/ 
        sudo mkdir /opt/iobroker
        cd /opt/iobroker
        curl -sL https://iobroker.net/install.sh | bash -
        

        Direkt danach stoppt man ioBroker wieder (der ja nach der Installation automatisch gestartet wird).

        iobroker stop
        

        Dann löscht man den neu erstellen „iobroker-data“- Ordner und kopiert anschließend das gesicherte alte „iobroker-data“-Verzeichnis mit den darin enthaltenen Datenbanken und Dateien dorthin zurück.

        rm -r /opt/iobroker/iobroker-data
        cp -r <Pfad_zum_sicheren_Ort> /opt/iobroker/iobroker-data  
        

        Anschließend wieder ioBroker starten. Der Rest läuft dann wie bei c) und dauert seine Zeit.

      5. Zu guter Letzt

      Bitte gebt euer Feedback, was bei euch wie gut funktioniert, was ihr immer nutzt und was die Probleme und eure Lösungen sind.

      Viele Grüße,
      apollon77
      stabilostick

      L Offline
      L Offline
      lonsimbt
      wrote on last edited by
      #89

      Update von node 8 auf node 10 hat mit Variante 4c problemlos funktioniert.

      Gruß Marco

      iobroker im Container (debian Bullseye) unter proxmox 7.1
      debmatic in VM (debian Buster) unter proxmox 7.1 mit HB-RF-USB und RPI-RF-MOD
      40 HomeMatic Geräte, Phillips Hue, Ikea Tradfri, Logitech Harmony Hub, Botvac Connected, Robonect

      1 Reply Last reply
      0
      • StabilostickS Stabilostick

        @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

        @apollon77 ich werd es hoffentlich heute noch herausfinden, ob es geht oder nicht.

        So, wir haben es herausgefunden. 😉
        (Installation war 42 Adapter, weitere ca. 60 passive Module z.B. Visualierungselemente)

        Hier einige Hinweise:

        @crunchip ud ich haben seinen ioBroker genau nach Anleitung und Variante "d) Neuinstallation mit Restore" neu aufgesetzt. Node.js-Update. ioBroker Neuinstallation mit curl und dem Shellscript. Nach dem Stoppen des leeren ioBrokers das iobroker-data-Verzeichnis aus der alten Installation übernommen. Wie dokumentiert fängt der ioBroker an, die fehlenden Adapter nachzuinstallieren.

        Zu beachten ist, dass Adapter, die man manuell von GitHub installiert hat, den Fehler Can not parse null/io-package.json:Error: ENOENT: no suche file or directory ... im ioBroker-Log erzeugen.
        Diese Adapter nach Abschluss der automatischen Installationssequenz wie gehabt über das Adapterfenster manuell von GitHub nachinstallieren und nach der Installation die bestehende diesbezügliche Instanz von Hand starten.

        Ratsam ist es auch, im Log nach der Installation nach dem Wort yourself zu suchen. Hier werden ggf. npm-Module angezeigt, die nicht automatisch installiert wurden. Sie können/sollten manuell über die Kommandozeile mit npm i <Packetname>@<version>, ausgeführt im iobroker-Ordner, nachinstalliert werden. Dazu zuerst den ioBroker stoppen, npm ausführen und dann den ioBroker wieder starten.

        Wenn man dabei npm als root-User per Hand in der Kommandozeile ausgeführt hat, schlage ich zur Korrektur eventueller Berechtigungsfehler vor, vor dem Start von ioBroker das Fixerscript laufen zu lassen.

        cd /opt/iobroker
        iobroker stop
        npm i <Packetname>@<version>
        curl -sL https://iobroker.net/fix.sh | bash -
        iobroker start
        

        @crunchip & alle - Viel Spaß noch mit ioBroker!

        crunchipC Away
        crunchipC Away
        crunchip
        Forum Testing Most Active
        wrote on last edited by crunchip
        #90

        @Stabilostick @apollon77 und nun kommen die ersten gravierenden Probleme!
        Iobroker ist nun 4 Tage gelaufen, nun musste ich IoBroker mal neu starten, nachdem ich Proxmox ein update verpasst habe.
        Jedoch nur noch Störungen seit dem Start.
        Alexa, iogo, iot, pollenflug, telegram, tankerkönig, dwd, ical, skripte, vis lizenz,
        js-controller 1.5.12
        Node.js 10.16, immer noch mit dieser Meldung21f77938-888b-4de5-a299-8a839d5befd8-image.png
        NPM 6.9.0
        Auszug vom log,
        hab aber nur die Warnungen/Errors zusammengetragen

        2019-06-08 00:31:03.319 - error: vis.0 Cannot check license: Error: getaddrinfo EAI_AGAIN iobroker.net iobroker.net:443
        2019-06-08 00:31:08.129 - warn: host.IoBroker warning: Cannot read "http://download.iobroker.net/sources-dist-latest.json"
        2019-06-08 00:31:08.129 - warn: host.IoBroker warning: empty repo received!
        2019-06-08 00:31:24.998 - warn: javascript.0 script.js.Visualisierung.Wegezeit_Arbeit_Landstraße: (Error: getaddrinfo EAI_AGAIN maps.googleapis.com maps.googleapis.com:443) ERROR bei Abfrage von: https://maps.googleapis.com/maps/api/directions/json?...
        2019-06-08 00:31:24.999 - warn: javascript.0 script.js.Visualisierung.Wegezeit_Arbeit_Landstraße: Fehler beim Auslesen des JSON. Keine Daten erhalten.
        2019-06-08 00:31:36.041 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:31:39.851 - error: tankerkoenig.0 Spritpreise einlesen (gezielte Stationen via ID) - Fehler: Error: getaddrinfo EAI_AGAIN creativecommons.tankerkoenig.de creativecommons.tankerkoenig.de:443
        2019-06-08 00:31:44.665 - error: alexa2.0 Error:
        2019-06-08 00:31:44.666 - error: alexa2.0 Error: You can try to get the cookie manually by opening http://192.168.178.90:40433/ with your browser.
        2019-06-08 00:32:06.998 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:10.032 - error: javascript.0 script.js.Visualisierung.Wetterwarnung_UWZ: TypeError: Cannot read property 'request' of undefined
        2019-06-08 00:32:10.033 - error: javascript.0 at Request._callback (script.js.Visualisierung.Wetterwarnung_UWZ:223:57)
        2019-06-08 00:32:10.034 - error: javascript.0 at self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
        2019-06-08 00:32:10.035 - error: javascript.0 at Request.emit (events.js:198:13)
        2019-06-08 00:32:10.036 - error: javascript.0 at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:852:16)
        2019-06-08 00:32:10.036 - error: javascript.0 at ontimeout (timers.js:436:11)
        2019-06-08 00:32:10.036 - error: javascript.0 at tryOnTimeout (timers.js:300:5)
        2019-06-08 00:32:10.036 - error: javascript.0 at listOnTimeout (timers.js:263:5)
        2019-06-08 00:32:10.036 - error: javascript.0 at Timer.processTimers (timers.js:223:10)
        2019-06-08 00:32:13.600 - error: telegram.0 Cannot send message [chatId - 572229857]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:17.316 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:27.637 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:37.955 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:48.273 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:32:58.592 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:33:19.603 - error: info.0 Error: getaddrinfo EAI_AGAIN raw.githubusercontent.com raw.githubusercontent.com:443
        2019-06-08 00:33:39.374 - error: dwd.0 Empty or invalid JSON: Cannot read JSON file: Error: getaddrinfo EAI_AGAIN www.dwd.de www.dwd.de:80
        2019-06-08 00:33:46.927 - warn: ical.0 Error reading from URL "https://calendar.google.com/calendar/ical/de.german%23holiday%40group.v.calendar.google.com/public/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
        2019-06-08 00:33:46.929 - warn: ical.0 Error reading "https://calendar.google.com/calendar/ical/de.german%23holiday%40group.v.calendar.google.com/public/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
        2019-06-08 00:33:46.933 - warn: ical.0 Error reading from URL "https://calendar.google.com/calendar/ical/xxxxxxxxxxxxgmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
        2019-06-08 00:33:46.933 - warn: ical.0 Error reading "https://calendar.google.com/calendar/ical/xxxxxxxxxxxgmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
        2019-06-08 00:33:58.721 - error: iot.0 getaddrinfo EAI_AGAIN xxxxxxxxx.iot.eu-west-1.amazonaws.com xxxxxxxxxx.iot.eu-west-1.amazonaws.com:8883
        2019-06-08 00:33:59.611 - error: iot.0 [GHOME] Cannot report device state: Error: getaddrinfo EAI_AGAIN gstatus.iobroker.in gstatus.iobroker.in:443
        2019-06-08 00:34:10.023 - error: javascript.0 script.js.Visualisierung.Wetterwarnung_UWZ: TypeError: Cannot read property 'request' of undefined
        2019-06-08 00:34:10.023 - error: javascript.0 at Request._callback (script.js.Visualisierung.Wetterwarnung_UWZ:223:57)
        2019-06-08 00:34:10.023 - error: javascript.0 at self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
        2019-06-08 00:34:10.023 - error: javascript.0 at Request.emit (events.js:198:13)
        2019-06-08 00:34:10.023 - error: javascript.0 at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:852:16)
        2019-06-08 00:34:10.024 - error: javascript.0 at ontimeout (timers.js:436:11)
        2019-06-08 00:34:10.024 - error: javascript.0 at tryOnTimeout (timers.js:300:5)
        2019-06-08 00:34:10.024 - error: javascript.0 at listOnTimeout (timers.js:263:5)
        2019-06-08 00:34:10.024 - error: javascript.0 at Timer.processTimers (timers.js:223:10)
        2019-06-08 00:34:10.815 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:34:17.020 - error: statistics.0 : message handler implemented, but messagebox not enabled. Define common.messagebox in io-package.json for adapter or delete message handler.
        2019-06-08 00:34:25.047 - warn: iogo.0 You are not logged in
        2019-06-08 00:34:32.100 - error: iogo.0 Authentication: auth/network-request-failed # A network error (such as timeout, interrupted connection or unreachable host) has occurred.
        2019-06-08 00:34:58.394 - error: pollenflug.0 Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
        2019-06-08 00:34:58.395 - error: pollenflug.0 Error reading pollen risk index.
        2019-06-08 00:40:12.314 - error: weatherunderground.0 uncaught exception: Cannot read property 'statusCode' of undefined
        2019-06-08 00:40:12.316 - error: weatherunderground.0 TypeError: Cannot read property 'statusCode' of undefined
        2019-06-08 00:42:33.481 - error: pollenflug.0 Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
        2019-06-08 00:44:12.145 - error: telegram.0 Cannot send message [user - undefined]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:44:22.153 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        2019-06-08 00:44:22.156 - error: telegram.0 Cannot send message [chatId - 123456789]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
        

        auch ein manuelles cookie holen zwecks alexa, endet in ein

        Proxy-Error: Error: getaddrinfo EAI_AGAIN www.amazon.com www.amazon.com:443
        

        EDIT: Fehler Gefunden
        nach langem suchen habe ich bemerkt, das resolv.conf überschrieben war.

        umgestiegen von Proxmox auf Unraid

        crunchipC 1 Reply Last reply
        0
        • crunchipC crunchip

          @Stabilostick @apollon77 und nun kommen die ersten gravierenden Probleme!
          Iobroker ist nun 4 Tage gelaufen, nun musste ich IoBroker mal neu starten, nachdem ich Proxmox ein update verpasst habe.
          Jedoch nur noch Störungen seit dem Start.
          Alexa, iogo, iot, pollenflug, telegram, tankerkönig, dwd, ical, skripte, vis lizenz,
          js-controller 1.5.12
          Node.js 10.16, immer noch mit dieser Meldung21f77938-888b-4de5-a299-8a839d5befd8-image.png
          NPM 6.9.0
          Auszug vom log,
          hab aber nur die Warnungen/Errors zusammengetragen

          2019-06-08 00:31:03.319 - error: vis.0 Cannot check license: Error: getaddrinfo EAI_AGAIN iobroker.net iobroker.net:443
          2019-06-08 00:31:08.129 - warn: host.IoBroker warning: Cannot read "http://download.iobroker.net/sources-dist-latest.json"
          2019-06-08 00:31:08.129 - warn: host.IoBroker warning: empty repo received!
          2019-06-08 00:31:24.998 - warn: javascript.0 script.js.Visualisierung.Wegezeit_Arbeit_Landstraße: (Error: getaddrinfo EAI_AGAIN maps.googleapis.com maps.googleapis.com:443) ERROR bei Abfrage von: https://maps.googleapis.com/maps/api/directions/json?...
          2019-06-08 00:31:24.999 - warn: javascript.0 script.js.Visualisierung.Wegezeit_Arbeit_Landstraße: Fehler beim Auslesen des JSON. Keine Daten erhalten.
          2019-06-08 00:31:36.041 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:31:39.851 - error: tankerkoenig.0 Spritpreise einlesen (gezielte Stationen via ID) - Fehler: Error: getaddrinfo EAI_AGAIN creativecommons.tankerkoenig.de creativecommons.tankerkoenig.de:443
          2019-06-08 00:31:44.665 - error: alexa2.0 Error:
          2019-06-08 00:31:44.666 - error: alexa2.0 Error: You can try to get the cookie manually by opening http://192.168.178.90:40433/ with your browser.
          2019-06-08 00:32:06.998 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:10.032 - error: javascript.0 script.js.Visualisierung.Wetterwarnung_UWZ: TypeError: Cannot read property 'request' of undefined
          2019-06-08 00:32:10.033 - error: javascript.0 at Request._callback (script.js.Visualisierung.Wetterwarnung_UWZ:223:57)
          2019-06-08 00:32:10.034 - error: javascript.0 at self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
          2019-06-08 00:32:10.035 - error: javascript.0 at Request.emit (events.js:198:13)
          2019-06-08 00:32:10.036 - error: javascript.0 at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:852:16)
          2019-06-08 00:32:10.036 - error: javascript.0 at ontimeout (timers.js:436:11)
          2019-06-08 00:32:10.036 - error: javascript.0 at tryOnTimeout (timers.js:300:5)
          2019-06-08 00:32:10.036 - error: javascript.0 at listOnTimeout (timers.js:263:5)
          2019-06-08 00:32:10.036 - error: javascript.0 at Timer.processTimers (timers.js:223:10)
          2019-06-08 00:32:13.600 - error: telegram.0 Cannot send message [chatId - 572229857]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:17.316 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:27.637 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:37.955 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:48.273 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:32:58.592 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:33:19.603 - error: info.0 Error: getaddrinfo EAI_AGAIN raw.githubusercontent.com raw.githubusercontent.com:443
          2019-06-08 00:33:39.374 - error: dwd.0 Empty or invalid JSON: Cannot read JSON file: Error: getaddrinfo EAI_AGAIN www.dwd.de www.dwd.de:80
          2019-06-08 00:33:46.927 - warn: ical.0 Error reading from URL "https://calendar.google.com/calendar/ical/de.german%23holiday%40group.v.calendar.google.com/public/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
          2019-06-08 00:33:46.929 - warn: ical.0 Error reading "https://calendar.google.com/calendar/ical/de.german%23holiday%40group.v.calendar.google.com/public/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
          2019-06-08 00:33:46.933 - warn: ical.0 Error reading from URL "https://calendar.google.com/calendar/ical/xxxxxxxxxxxxgmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
          2019-06-08 00:33:46.933 - warn: ical.0 Error reading "https://calendar.google.com/calendar/ical/xxxxxxxxxxxgmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics": Error: getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
          2019-06-08 00:33:58.721 - error: iot.0 getaddrinfo EAI_AGAIN xxxxxxxxx.iot.eu-west-1.amazonaws.com xxxxxxxxxx.iot.eu-west-1.amazonaws.com:8883
          2019-06-08 00:33:59.611 - error: iot.0 [GHOME] Cannot report device state: Error: getaddrinfo EAI_AGAIN gstatus.iobroker.in gstatus.iobroker.in:443
          2019-06-08 00:34:10.023 - error: javascript.0 script.js.Visualisierung.Wetterwarnung_UWZ: TypeError: Cannot read property 'request' of undefined
          2019-06-08 00:34:10.023 - error: javascript.0 at Request._callback (script.js.Visualisierung.Wetterwarnung_UWZ:223:57)
          2019-06-08 00:34:10.023 - error: javascript.0 at self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
          2019-06-08 00:34:10.023 - error: javascript.0 at Request.emit (events.js:198:13)
          2019-06-08 00:34:10.023 - error: javascript.0 at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:852:16)
          2019-06-08 00:34:10.024 - error: javascript.0 at ontimeout (timers.js:436:11)
          2019-06-08 00:34:10.024 - error: javascript.0 at tryOnTimeout (timers.js:300:5)
          2019-06-08 00:34:10.024 - error: javascript.0 at listOnTimeout (timers.js:263:5)
          2019-06-08 00:34:10.024 - error: javascript.0 at Timer.processTimers (timers.js:223:10)
          2019-06-08 00:34:10.815 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:34:17.020 - error: statistics.0 : message handler implemented, but messagebox not enabled. Define common.messagebox in io-package.json for adapter or delete message handler.
          2019-06-08 00:34:25.047 - warn: iogo.0 You are not logged in
          2019-06-08 00:34:32.100 - error: iogo.0 Authentication: auth/network-request-failed # A network error (such as timeout, interrupted connection or unreachable host) has occurred.
          2019-06-08 00:34:58.394 - error: pollenflug.0 Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
          2019-06-08 00:34:58.395 - error: pollenflug.0 Error reading pollen risk index.
          2019-06-08 00:40:12.314 - error: weatherunderground.0 uncaught exception: Cannot read property 'statusCode' of undefined
          2019-06-08 00:40:12.316 - error: weatherunderground.0 TypeError: Cannot read property 'statusCode' of undefined
          2019-06-08 00:42:33.481 - error: pollenflug.0 Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
          2019-06-08 00:44:12.145 - error: telegram.0 Cannot send message [user - undefined]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:44:22.153 - error: telegram.0 polling_error:EFATAL, EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          2019-06-08 00:44:22.156 - error: telegram.0 Cannot send message [chatId - 123456789]: Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org api.telegram.org:443
          

          auch ein manuelles cookie holen zwecks alexa, endet in ein

          Proxy-Error: Error: getaddrinfo EAI_AGAIN www.amazon.com www.amazon.com:443
          

          EDIT: Fehler Gefunden
          nach langem suchen habe ich bemerkt, das resolv.conf überschrieben war.

          crunchipC Away
          crunchipC Away
          crunchip
          Forum Testing Most Active
          wrote on last edited by
          #91

          @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

          Node.js 10.16, immer noch mit dieser Meldung

          habe ich mal erneut ein

          curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
          sudo apt-get install -y nodejs
          

          ausgeführt, mit einem anschließenden

          npm rebuild
          

          ist auch alles durchgelaufen, bis auf ein paar kleineren Warnungen und der letzte Teil, mit Error

          > epoll@0.1.22 install /opt/iobroker/node_modules/epoll
          > node-gyp rebuild
          
          make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
            CXX(target) Release/obj.target/epoll/src/epoll.o
          In file included from ../node_modules/nan/nan.h:192:0,
                           from ../src/epoll.cc:15:
          ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
          ../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
             return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                         ^~~~~~~~
          In file included from ../src/epoll.cc:15:0:
          ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
          ../node_modules/nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                   v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                      ^
          In file included from ../src/epoll.cc:12:0:
          /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^
          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
               __attribute__((deprecated(message))) declarator
                                                    ^~~~~~~~~~
          In file included from ../src/epoll.cc:15:0:
          ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
          ../node_modules/nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                   v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                        ^
          In file included from ../src/epoll.cc:12:0:
          /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^
          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
               __attribute__((deprecated(message))) declarator
                                                    ^~~~~~~~~~
          In file included from ../src/epoll.cc:15:0:
          ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
          ../node_modules/nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                   v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                        ^
          In file included from ../src/epoll.cc:12:0:
          /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^
          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
               __attribute__((deprecated(message))) declarator
                                                    ^~~~~~~~~~
          In file included from ../src/epoll.cc:15:0:
          ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
          ../node_modules/nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               ));
               ^
          In file included from ../src/epoll.cc:12:0:
          /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^
          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
               __attribute__((deprecated(message))) declarator
                                                    ^~~~~~~~~~
          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
          ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                      ^
          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from ../src/epoll.cc:11:
          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                        ^
          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                             ^
          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from ../src/epoll.cc:11:
          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                        ^
          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
          ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                         ^
          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from ../src/epoll.cc:11:
          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                        ^
          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                ^
          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from ../src/epoll.cc:11:
          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                        ^
          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
          ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int err = epoll->Remove(info[0]->Int32Value());
                                                         ^
          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from ../src/epoll.cc:11:
          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                        ^
          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
          make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
          make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.9.0-9-amd64
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/epoll
          gyp ERR! node -v v10.16.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! epoll@0.1.22 install: `node-gyp rebuild`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the epoll@0.1.22 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /root/.npm/_logs/2019-06-08T16_27_52_442Z-debug.log
          root@IoBroker:/opt/iobroker#
          
          

          was müsste ich da noch machen?

          umgestiegen von Proxmox auf Unraid

          crunchipC StabilostickS 2 Replies Last reply
          0
          • crunchipC crunchip

            @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

            Node.js 10.16, immer noch mit dieser Meldung

            habe ich mal erneut ein

            curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
            sudo apt-get install -y nodejs
            

            ausgeführt, mit einem anschließenden

            npm rebuild
            

            ist auch alles durchgelaufen, bis auf ein paar kleineren Warnungen und der letzte Teil, mit Error

            > epoll@0.1.22 install /opt/iobroker/node_modules/epoll
            > node-gyp rebuild
            
            make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
              CXX(target) Release/obj.target/epoll/src/epoll.o
            In file included from ../node_modules/nan/nan.h:192:0,
                             from ../src/epoll.cc:15:
            ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
            ../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
               return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                           ^~~~~~~~
            In file included from ../src/epoll.cc:15:0:
            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
            ../node_modules/nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                     v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                        ^
            In file included from ../src/epoll.cc:12:0:
            /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                              ^
            /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                 __attribute__((deprecated(message))) declarator
                                                      ^~~~~~~~~~
            In file included from ../src/epoll.cc:15:0:
            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
            ../node_modules/nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                     v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                          ^
            In file included from ../src/epoll.cc:12:0:
            /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                              ^
            /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                 __attribute__((deprecated(message))) declarator
                                                      ^~~~~~~~~~
            In file included from ../src/epoll.cc:15:0:
            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
            ../node_modules/nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                     v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                          ^
            In file included from ../src/epoll.cc:12:0:
            /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                              ^
            /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                 __attribute__((deprecated(message))) declarator
                                                      ^~~~~~~~~~
            In file included from ../src/epoll.cc:15:0:
            ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
            ../node_modules/nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                 ));
                 ^
            In file included from ../src/epoll.cc:12:0:
            /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                              ^
            /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                 __attribute__((deprecated(message))) declarator
                                                      ^~~~~~~~~~
            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                        ^
            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                             from ../src/epoll.cc:11:
            /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                               ^
            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                             from ../src/epoll.cc:11:
            /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                           ^
            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                             from ../src/epoll.cc:11:
            /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                  ^
            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                             from ../src/epoll.cc:11:
            /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               int err = epoll->Remove(info[0]->Int32Value());
                                                           ^
            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                             from ../src/epoll.cc:11:
            /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
            make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
            make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
            gyp ERR! build error
            gyp ERR! stack Error: `make` failed with exit code: 2
            gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
            gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
            gyp ERR! System Linux 4.9.0-9-amd64
            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
            gyp ERR! cwd /opt/iobroker/node_modules/epoll
            gyp ERR! node -v v10.16.0
            gyp ERR! node-gyp -v v3.8.0
            gyp ERR! not ok
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! epoll@0.1.22 install: `node-gyp rebuild`
            npm ERR! Exit status 1
            npm ERR!
            npm ERR! Failed at the epoll@0.1.22 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /root/.npm/_logs/2019-06-08T16_27_52_442Z-debug.log
            root@IoBroker:/opt/iobroker#
            
            

            was müsste ich da noch machen?

            crunchipC Away
            crunchipC Away
            crunchip
            Forum Testing Most Active
            wrote on last edited by crunchip
            #92

            Eine Frage hätte ich noch.
            Mir ist folgendes aufgefallen

            Die Markierung ist der Zeitpunkt, des Update´s von Node.js 8 auf 10 , mittels (Variante D- Neuinstallation mit Restore) und Fixer Skript.
            Kann mir jemand sagen, warum sich der Netzwerk-Traffic so verändert hat bzw. woher das kommt?
            Die Grafik bezieht sich rein auf die IoBroker VM
            4fa51b02-8565-46c6-959f-cc29c288c98d-image.png

            umgestiegen von Proxmox auf Unraid

            StabilostickS 1 Reply Last reply
            0
            • crunchipC crunchip

              @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

              Node.js 10.16, immer noch mit dieser Meldung

              habe ich mal erneut ein

              curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
              sudo apt-get install -y nodejs
              

              ausgeführt, mit einem anschließenden

              npm rebuild
              

              ist auch alles durchgelaufen, bis auf ein paar kleineren Warnungen und der letzte Teil, mit Error

              > epoll@0.1.22 install /opt/iobroker/node_modules/epoll
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
                CXX(target) Release/obj.target/epoll/src/epoll.o
              In file included from ../node_modules/nan/nan.h:192:0,
                               from ../src/epoll.cc:15:
              ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
              ../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                 return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                             ^~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
              ../node_modules/nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                          ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
              ../node_modules/nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
              ../node_modules/nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
              ../node_modules/nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                   ));
                   ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
              ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                          ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                 ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
              ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                    ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
              ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 int err = epoll->Remove(info[0]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
              make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
              make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
              gyp ERR! System Linux 4.9.0-9-amd64
              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/epoll
              gyp ERR! node -v v10.16.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! epoll@0.1.22 install: `node-gyp rebuild`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the epoll@0.1.22 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /root/.npm/_logs/2019-06-08T16_27_52_442Z-debug.log
              root@IoBroker:/opt/iobroker#
              
              

              was müsste ich da noch machen?

              StabilostickS Offline
              StabilostickS Offline
              Stabilostick
              wrote on last edited by
              #93

              @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

              was müsste ich da noch machen?

              Ich tippe mal auf einen Adapter, der die GPIOs eines RPIs abfragt und epoll nutzt als Auslöser. Installiere zum Test eine neuere Version des epoll-Moduls mit npm direkt im ioBroker-Verzeichnis. Also

              npm i epoll
              

              Und weil Du als root arbeitest, den Fixxer ggf. nicht vegessen.

              crunchipC 1 Reply Last reply
              0
              • crunchipC crunchip

                Eine Frage hätte ich noch.
                Mir ist folgendes aufgefallen

                Die Markierung ist der Zeitpunkt, des Update´s von Node.js 8 auf 10 , mittels (Variante D- Neuinstallation mit Restore) und Fixer Skript.
                Kann mir jemand sagen, warum sich der Netzwerk-Traffic so verändert hat bzw. woher das kommt?
                Die Grafik bezieht sich rein auf die IoBroker VM
                4fa51b02-8565-46c6-959f-cc29c288c98d-image.png

                StabilostickS Offline
                StabilostickS Offline
                Stabilostick
                wrote on last edited by
                #94

                @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                warum sich der Netzwerk-Traffic so verändert

                Du kannst z.B. iftop, ein Analysewerkzeug für Netzwerktraffic, verwenden. Es ähnelt dem top-Befehl.

                crunchipC 1 Reply Last reply
                0
                • StabilostickS Stabilostick

                  @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                  was müsste ich da noch machen?

                  Ich tippe mal auf einen Adapter, der die GPIOs eines RPIs abfragt und epoll nutzt als Auslöser. Installiere zum Test eine neuere Version des epoll-Moduls mit npm direkt im ioBroker-Verzeichnis. Also

                  npm i epoll
                  

                  Und weil Du als root arbeitest, den Fixxer ggf. nicht vegessen.

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by
                  #95

                  @Stabilostick jep, hatte schon gegoogelt und gelesen, das es was mit den GPIO´s zu tun hat.
                  Das hatte ich gemacht,

                  root@IoBroker:/opt/iobroker# npm i epoll
                  
                  > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                    CXX(target) Release/obj.target/epoll/src/epoll.o
                  In file included from ../../nan/nan.h:192:0,
                                   from ../src/epoll.cc:15:
                  ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                  ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                     return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                 ^~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                              ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                           v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8                                 ::Object>, int, v8::Local<v8::Value>*) const’:
                  ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                       ));
                       ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
                  ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                              ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                     ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                  ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                        ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                  ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Remove(info[0]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                  make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:2                                 62:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  gyp ERR! System Linux 4.9.0-9-amd64
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebui                                 ld"
                  gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                  gyp ERR! node -v v10.16.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok
                  
                  > epoll@2.0.9 install /opt/iobroker/node_modules/epoll
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
                    CXX(target) Release/obj.target/epoll/src/epoll.o
                    SOLINK_MODULE(target) Release/obj.target/epoll.node
                    COPY Release/epoll.node
                  make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  + epoll@2.0.9
                  updated 1 package and audited 48196 packages in 63.253s
                  found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  root@IoBroker:/opt/iobroker#
                  
                  

                  auch ein
                  npm i unix-dgram

                  root@IoBroker:/opt/iobroker# npm i unix-dgram
                  
                  > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                    CXX(target) Release/obj.target/epoll/src/epoll.o
                  In file included from ../../nan/nan.h:192:0,
                                   from ../src/epoll.cc:15:
                  ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                  ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                     return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                 ^~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                              ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                           v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8                                 ::Object>, int, v8::Local<v8::Value>*) const’:
                  ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                       ));
                       ^
                  In file included from ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
                  ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                              ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                     ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                  ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                        ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                  ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                     int err = epoll->Remove(info[0]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                  make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:2                                 62:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  gyp ERR! System Linux 4.9.0-9-amd64
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebui                                 ld"
                  gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                  gyp ERR! node -v v10.16.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok
                  
                  > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                    CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                    SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                    COPY Release/unix_dgram.node
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  + unix-dgram@2.0.3
                  updated 1 package and audited 48196 packages in 67.015s
                  found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  
                  

                  umgestiegen von Proxmox auf Unraid

                  StabilostickS 1 Reply Last reply
                  0
                  • StabilostickS Stabilostick

                    @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                    warum sich der Netzwerk-Traffic so verändert

                    Du kannst z.B. iftop, ein Analysewerkzeug für Netzwerktraffic, verwenden. Es ähnelt dem top-Befehl.

                    crunchipC Away
                    crunchipC Away
                    crunchip
                    Forum Testing Most Active
                    wrote on last edited by
                    #96

                    @Stabilostick habs mal installiert, seh ne Menge Geräte und jede Menge zahlen 😀 jedoch kann ich damit auch nicht viel anfangen, hehe

                    umgestiegen von Proxmox auf Unraid

                    1 Reply Last reply
                    0
                    • crunchipC crunchip

                      eines was ich noch beheben muss, nach der Aktion, da fehlt was
                      Commands.ssml" not found
                      0ca7a935-1e83-4374-9f01-c1a93cce3ece-image.png

                      apollon77A Online
                      apollon77A Online
                      apollon77
                      wrote on last edited by
                      #97

                      @crunchip dann installier mal bei von GitHub. Du hast bestimmt die alte Alexa2 Version jetzt erwischt.

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      crunchipC 1 Reply Last reply
                      0
                      • apollon77A apollon77

                        @crunchip dann installier mal bei von GitHub. Du hast bestimmt die alte Alexa2 Version jetzt erwischt.

                        crunchipC Away
                        crunchipC Away
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #98

                        @apollon77 auf was bezogen? Alte Alexa2Version?
                        Ichhatte von Git installiert, da ja nach der Neukonfiguration des Rechners, die stable 1.1.3 installiert wird.

                        umgestiegen von Proxmox auf Unraid

                        apollon77A 1 Reply Last reply
                        0
                        • crunchipC crunchip

                          @apollon77 auf was bezogen? Alte Alexa2Version?
                          Ichhatte von Git installiert, da ja nach der Neukonfiguration des Rechners, die stable 1.1.3 installiert wird.

                          apollon77A Online
                          apollon77A Online
                          apollon77
                          wrote on last edited by
                          #99

                          @crunchip und danach auch Instanz neu gestartet? Am besten im log prüfen das auch die 2.2 gestartet wird.

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          crunchipC 1 Reply Last reply
                          0
                          • apollon77A apollon77

                            @crunchip und danach auch Instanz neu gestartet? Am besten im log prüfen das auch die 2.2 gestartet wird.

                            crunchipC Away
                            crunchipC Away
                            crunchip
                            Forum Testing Most Active
                            wrote on last edited by
                            #100

                            @apollon77 ah, jetzt komm ich mit, das war deine Antwort auf mein post mit den ssml beheben.
                            Erkennt man leider nicht, worauf du geantwortet hast und ich zwischenzeitlich noch mehrere Post´s /Fragen hatte.

                            Deshalb

                            @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                            auf was bezogen? Alte Alexa2Version?

                            umgestiegen von Proxmox auf Unraid

                            apollon77A 1 Reply Last reply
                            0
                            • crunchipC crunchip

                              @apollon77 ah, jetzt komm ich mit, das war deine Antwort auf mein post mit den ssml beheben.
                              Erkennt man leider nicht, worauf du geantwortet hast und ich zwischenzeitlich noch mehrere Post´s /Fragen hatte.

                              Deshalb

                              @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                              auf was bezogen? Alte Alexa2Version?

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              wrote on last edited by
                              #101

                              @crunchip schau mal im post neben dem Namen. Da sieht man ob es eine Antwort ist auf eine früher frage mit dem Link zurück 😉

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              crunchipC 1 Reply Last reply
                              0
                              • apollon77A apollon77

                                @crunchip schau mal im post neben dem Namen. Da sieht man ob es eine Antwort ist auf eine früher frage mit dem Link zurück 😉

                                crunchipC Away
                                crunchipC Away
                                crunchip
                                Forum Testing Most Active
                                wrote on last edited by
                                #102

                                @apollon77 man man man, der Weisse Balken🤦
                                327387c9-b168-4104-a636-1915447e7164-image.png

                                umgestiegen von Proxmox auf Unraid

                                apollon77A 1 Reply Last reply
                                0
                                • MicM Offline
                                  MicM Offline
                                  Mic
                                  Developer
                                  wrote on last edited by
                                  #103

                                  Hi,

                                  danke für die Anleitung. Nach Upgrade von 8 auf 10 und Ausführung von "npm rebuild" bekomme ich folgende Errors:

                                  npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli/package.json
                                  npm ERR! code ENOENT
                                  npm ERR! errno -2
                                  npm ERR! syscall open
                                  npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/acme-dns-01-cli/package.json'
                                  npm ERR! enoent This is related to npm not being able to find a file.
                                  npm ERR! enoent
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2019-06-10T18_25_43_977Z-debug.log
                                  

                                  Welcher "Adapter" ist denn "acme-dns-01-cli" bzw. was kann ich hier tun?
                                  Habe jetzt meinen Proxmox-Snapshot wieder zurück gesetzt.

                                  Danke,
                                  Mic

                                  StabilostickS 1 Reply Last reply
                                  0
                                  • crunchipC crunchip

                                    @Stabilostick jep, hatte schon gegoogelt und gelesen, das es was mit den GPIO´s zu tun hat.
                                    Das hatte ich gemacht,

                                    root@IoBroker:/opt/iobroker# npm i epoll
                                    
                                    > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                                      CXX(target) Release/obj.target/epoll/src/epoll.o
                                    In file included from ../../nan/nan.h:192:0,
                                                     from ../src/epoll.cc:15:
                                    ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                    ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                       return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                   ^~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                                             v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                                             v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                  ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                                             v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                  ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8                                 ::Object>, int, v8::Local<v8::Value>*) const’:
                                    ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                                         ));
                                         ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
                                    ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                       ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                                    ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                   ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                          ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                                    ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Remove(info[0]->Int32Value());
                                                                                   ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                                    make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                                    gyp ERR! build error
                                    gyp ERR! stack Error: `make` failed with exit code: 2
                                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:2                                 62:23)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                    gyp ERR! System Linux 4.9.0-9-amd64
                                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebui                                 ld"
                                    gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                    gyp ERR! node -v v10.16.0
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok
                                    
                                    > epoll@2.0.9 install /opt/iobroker/node_modules/epoll
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
                                      CXX(target) Release/obj.target/epoll/src/epoll.o
                                      SOLINK_MODULE(target) Release/obj.target/epoll.node
                                      COPY Release/epoll.node
                                    make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    
                                    + epoll@2.0.9
                                    updated 1 package and audited 48196 packages in 63.253s
                                    found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                                      run `npm audit fix` to fix them, or `npm audit` for details
                                    root@IoBroker:/opt/iobroker#
                                    
                                    

                                    auch ein
                                    npm i unix-dgram

                                    root@IoBroker:/opt/iobroker# npm i unix-dgram
                                    
                                    > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                                      CXX(target) Release/obj.target/epoll/src/epoll.o
                                    In file included from ../../nan/nan.h:192:0,
                                                     from ../src/epoll.cc:15:
                                    ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                    ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                       return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                   ^~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                                             v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                                             v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                  ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
                                    ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                                             v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                  ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    In file included from ../src/epoll.cc:15:0:
                                    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8                                 ::Object>, int, v8::Local<v8::Value>*) const’:
                                    ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                                         ));
                                         ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                         __attribute__((deprecated(message))) declarator
                                                                              ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
                                    ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                       ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                                    ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                   ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                          ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
                                    ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                                       int err = epoll->Remove(info[0]->Int32Value());
                                                                                   ^
                                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                                    make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                                    gyp ERR! build error
                                    gyp ERR! stack Error: `make` failed with exit code: 2
                                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:2                                 62:23)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                    gyp ERR! System Linux 4.9.0-9-amd64
                                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebui                                 ld"
                                    gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                    gyp ERR! node -v v10.16.0
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok
                                    
                                    > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                                      CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                                      SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                                      COPY Release/unix_dgram.node
                                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    
                                    + unix-dgram@2.0.3
                                    updated 1 package and audited 48196 packages in 67.015s
                                    found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                                      run `npm audit fix` to fix them, or `npm audit` for details
                                    
                                    
                                    StabilostickS Offline
                                    StabilostickS Offline
                                    Stabilostick
                                    wrote on last edited by Stabilostick
                                    #104

                                    @crunchip sagte in [How-to] Node.js für ioBroker richtig updaten:

                                    Trotz der vielen Warnungen und des einen Fehlers: Die Logs sagen, dass sowohl die neue Version von epoll als auch unix-dgram erfolgreich installiert wurden. npm versucht, bei jedem Build auch die vorhergegangenen fehlgeschlagenen Builds wieder. Von daher die Meldungen. Wenn Du nachsiehst, wirst Du feststellen, dass sie sich z.B. auf epoll@0.xxx beziehen.

                                    Währe mal eine Idee, das zu deinstallieren. Also npm r epoll@0.xxx mit Deiner alten Version.

                                    1 Reply Last reply
                                    0
                                    • MicM Mic

                                      Hi,

                                      danke für die Anleitung. Nach Upgrade von 8 auf 10 und Ausführung von "npm rebuild" bekomme ich folgende Errors:

                                      npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli/package.json
                                      npm ERR! code ENOENT
                                      npm ERR! errno -2
                                      npm ERR! syscall open
                                      npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/acme-dns-01-cli/package.json'
                                      npm ERR! enoent This is related to npm not being able to find a file.
                                      npm ERR! enoent
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2019-06-10T18_25_43_977Z-debug.log
                                      

                                      Welcher "Adapter" ist denn "acme-dns-01-cli" bzw. was kann ich hier tun?
                                      Habe jetzt meinen Proxmox-Snapshot wieder zurück gesetzt.

                                      Danke,
                                      Mic

                                      StabilostickS Offline
                                      StabilostickS Offline
                                      Stabilostick
                                      wrote on last edited by
                                      #105

                                      @Mic

                                      Schaue im Snapshot nach, ob die Datei node_modules/acme-dns-01-cli/package.json tatsächlich fehlt oder vielleicht ein Rechteproblem vorliegt.

                                      Fehlt die Datei, kannst das Modul ggf. mit npm i acme-dns-01-cli neu installieren.

                                      crunchipC MicM 2 Replies Last reply
                                      0
                                      • StabilostickS Stabilostick

                                        @Mic

                                        Schaue im Snapshot nach, ob die Datei node_modules/acme-dns-01-cli/package.json tatsächlich fehlt oder vielleicht ein Rechteproblem vorliegt.

                                        Fehlt die Datei, kannst das Modul ggf. mit npm i acme-dns-01-cli neu installieren.

                                        crunchipC Away
                                        crunchipC Away
                                        crunchip
                                        Forum Testing Most Active
                                        wrote on last edited by
                                        #106

                                        @Stabilostick

                                        npm r epoll@0.1.22
                                        

                                        ergab folgendes

                                        > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                                          CXX(target) Release/obj.target/epoll/src/epoll.o
                                        In file included from ../../nan/nan.h:192:0,
                                                         from ../src/epoll.cc:15:
                                        ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                        ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                           return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                       ^~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                 v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                    ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                 v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                      ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                 v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                      ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                                        ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                             ));
                                             ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                    ^
                                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                           ^
                                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                       ^
                                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                              ^
                                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Remove(info[0]->Int32Value());
                                                                                       ^
                                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                                        make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                                        make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Linux 4.9.0-9-amd64
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                        gyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                        
                                        audited 51142 packages in 60.877s
                                        found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                                          run `npm audit fix` to fix them, or `npm audit` for details
                                        
                                        

                                        umgestiegen von Proxmox auf Unraid

                                        StabilostickS 1 Reply Last reply
                                        0
                                        • crunchipC crunchip

                                          @Stabilostick

                                          npm r epoll@0.1.22
                                          

                                          ergab folgendes

                                          > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                          > node-gyp rebuild
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                                            CXX(target) Release/obj.target/epoll/src/epoll.o
                                          In file included from ../../nan/nan.h:192:0,
                                                           from ../src/epoll.cc:15:
                                          ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                          ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                             return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                         ^~~~~~~~
                                          In file included from ../src/epoll.cc:15:0:
                                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                          ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                   v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                      ^
                                          In file included from ../src/epoll.cc:12:0:
                                          /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                            ^
                                          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                               __attribute__((deprecated(message))) declarator
                                                                                    ^~~~~~~~~~
                                          In file included from ../src/epoll.cc:15:0:
                                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                          ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                   v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                        ^
                                          In file included from ../src/epoll.cc:12:0:
                                          /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                            ^
                                          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                               __attribute__((deprecated(message))) declarator
                                                                                    ^~~~~~~~~~
                                          In file included from ../src/epoll.cc:15:0:
                                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                          ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                   v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                        ^
                                          In file included from ../src/epoll.cc:12:0:
                                          /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                            ^
                                          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                               __attribute__((deprecated(message))) declarator
                                                                                    ^~~~~~~~~~
                                          In file included from ../src/epoll.cc:15:0:
                                          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                                          ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                               ));
                                               ^
                                          In file included from ../src/epoll.cc:12:0:
                                          /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                            ^
                                          /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                               __attribute__((deprecated(message))) declarator
                                                                                    ^~~~~~~~~~
                                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                      ^
                                          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                           from ../src/epoll.cc:11:
                                          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                        ^
                                          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                             ^
                                          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                           from ../src/epoll.cc:11:
                                          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                        ^
                                          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                         ^
                                          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                           from ../src/epoll.cc:11:
                                          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                        ^
                                          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                                ^
                                          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                           from ../src/epoll.cc:11:
                                          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                        ^
                                          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             int err = epoll->Remove(info[0]->Int32Value());
                                                                                         ^
                                          In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                           from ../src/epoll.cc:11:
                                          /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                        ^
                                          /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                                          make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                                          make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                                          gyp ERR! build error
                                          gyp ERR! stack Error: `make` failed with exit code: 2
                                          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                          gyp ERR! System Linux 4.9.0-9-amd64
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                                          gyp ERR! node -v v10.16.0
                                          gyp ERR! node-gyp -v v3.8.0
                                          gyp ERR! not ok
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                          
                                          audited 51142 packages in 60.877s
                                          found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                                            run `npm audit fix` to fix them, or `npm audit` for details
                                          
                                          
                                          StabilostickS Offline
                                          StabilostickS Offline
                                          Stabilostick
                                          wrote on last edited by
                                          #107

                                          @crunchip

                                          Mea culpa, mein Fehler. Das „r“ war falsch. Sollte ein „u“ für uninstall sein.

                                          crunchipC 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          560

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe