Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neue Installationsroutine (für Linux)

NEWS

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

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

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

Neue Installationsroutine (für Linux)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installation
415 Beiträge 64 Kommentatoren 117.2k Aufrufe 31 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M mimue

    @AlCalzone

    uname -a

    Linux iBASE 5.1.16-arch1-1-ARCH #1 SMP PREEMPT Wed Jul 3 20:23:07 UTC 2019 x86_64 GNU/Linux

    Das wird aber ein bißchen aufwendig zu extrahieren, einfacher wäre doch einfach mit whereis oder einem Testaufruf des Paketmanagers festzustellen welches Paketsystem verwendet wird:

    openSuSE zypper, ARCH Linux pacman, RedHat rpm, Debian apt, etc.

    Beispiel:

    [remoteadmin@iBASE tmp]$ apt
    -bash: apt: Kommando nicht gefunden.
    [remoteadmin@iBASE tmp]$ pacman
    Fehler: Keine Operation angegeben (benutzen Sie -h für Hilfe)

    oder

    [remoteadmin@iBASE tmp]$ whereis apt
    apt:
    [remoteadmin@iBASE tmp]$ whereis pacman
    pacman: /usr/bin/pacman /etc/pacman.d /etc/pacman.conf /usr/share/pacman /usr/share/man/man8/pacman.8.gz

    Siehe auch: "https://de.wikipedia.org/wiki/Paketverwaltung"

    MiMue

    AlCalzoneA Offline
    AlCalzoneA Offline
    AlCalzone
    Developer
    schrieb am zuletzt editiert von
    #226

    @mimue Das muss ich mir mal gut überlegen. Bisher treffen wir die Unterscheidung nach Linux/OSX/FreeBSD weil diese sich teils unterschiedlich verhalten und unterschiedliche Befehle für Userverwaltung/Installation etc nötig sind.

    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

    M 2 Antworten Letzte Antwort
    0
    • AlCalzoneA AlCalzone

      @mimue Das muss ich mir mal gut überlegen. Bisher treffen wir die Unterscheidung nach Linux/OSX/FreeBSD weil diese sich teils unterschiedlich verhalten und unterschiedliche Befehle für Userverwaltung/Installation etc nötig sind.

      M Offline
      M Offline
      mimue
      schrieb am zuletzt editiert von
      #227

      @AlCalzone

      Na ja, Linux Systeme sollten sich schon gleich verhalten, tun sie aber meistens nicht wirklich. Viele Distributionen nehmen Debian als Basis, verändern aber schon auch einiges in der Administration und in der Bereitstellung von Paketen.

      Auch die Verwendung von Verzeichnissen, sudo, etc. ist teilweise recht eigenwillig gelöst. Man kann sicher nicht alles abdecken. Vielleicht wäre statt eines Skripts für alles (wer könnte / wollte das pflegen ? ) einfach eine Prüfung hilfreich, die bei Erkennen eines nicht-Debian Systems eine Nachricht mit Hinweis auf die Anforderungen und Tipps für händisches Einrichten ausgibt und dann abbricht.

      Ich persönlich setzte am Liebsten ARCH Linux ein (auch auf SBC) weil es keine Release-Wechsel kennt und sich weitestgehend an allgemein akzeptierte Regeln hält.

      Wenn man nur auf uname testet, läuft das Skript auf jedem Linux-Dialekt und bringt möglicherweise mehr Nacharbeit ins Spiel als der ungeübte Nutzer (sind wohl eh die meisten, ich schließe mich da nicht aus) verkraften kann oder will.

      1 Antwort Letzte Antwort
      0
      • AlCalzoneA AlCalzone

        @mimue Das muss ich mir mal gut überlegen. Bisher treffen wir die Unterscheidung nach Linux/OSX/FreeBSD weil diese sich teils unterschiedlich verhalten und unterschiedliche Befehle für Userverwaltung/Installation etc nötig sind.

        M Offline
        M Offline
        mimue
        schrieb am zuletzt editiert von mimue
        #228

        @AlCalzone

        Ich habe nach meiner letzten Mitteilung noch ein wenig mit Docker gespielt. Möglicherweise wäre das auch eine Alternative: Ein erwiesen lauffähiges Docker-Image zur Verfügung zu stellen. Offenbar habt Ihr damit schon gearbeitet, sonst wäre die Variante ja nicht im Installations-Skript enthalten.

        Man könnte sicherstellen, daß alle Vorbedingungen erfüllt sind, wäre die Abhängigkeit von Plattformen, System- und Paketupdates los, und könnte bei der Fehlersuche - natürlich wäre auch das Docker-Image fehlerbehaft :-) - von einer gegebenen Umgebung ausgehen.

        P.S. wofür wird eigentlich unix-dgram gebraucht ? Lohnt es sich in diesen Installationsfehler Energie zu investieren ?

        apollon77A AlCalzoneA 2 Antworten Letzte Antwort
        0
        • M mimue

          @AlCalzone

          Ich habe nach meiner letzten Mitteilung noch ein wenig mit Docker gespielt. Möglicherweise wäre das auch eine Alternative: Ein erwiesen lauffähiges Docker-Image zur Verfügung zu stellen. Offenbar habt Ihr damit schon gearbeitet, sonst wäre die Variante ja nicht im Installations-Skript enthalten.

          Man könnte sicherstellen, daß alle Vorbedingungen erfüllt sind, wäre die Abhängigkeit von Plattformen, System- und Paketupdates los, und könnte bei der Fehlersuche - natürlich wäre auch das Docker-Image fehlerbehaft :-) - von einer gegebenen Umgebung ausgehen.

          P.S. wofür wird eigentlich unix-dgram gebraucht ? Lohnt es sich in diesen Installationsfehler Energie zu investieren ?

          apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #229

          @mimue sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

          P.S. wofür wird eigentlich unix-dgram gebraucht ? Lohnt es sich in diesen Installationsfehler Energie zu investieren ?

          Wird für syslog logging gebraucht. Die js-Controller 1.5.13 die bald kommt hat das gelöst. Also keine Energie reinstecken ;-)

          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
          1 Antwort Letzte Antwort
          0
          • M mimue

            @AlCalzone

            Ich habe nach meiner letzten Mitteilung noch ein wenig mit Docker gespielt. Möglicherweise wäre das auch eine Alternative: Ein erwiesen lauffähiges Docker-Image zur Verfügung zu stellen. Offenbar habt Ihr damit schon gearbeitet, sonst wäre die Variante ja nicht im Installations-Skript enthalten.

            Man könnte sicherstellen, daß alle Vorbedingungen erfüllt sind, wäre die Abhängigkeit von Plattformen, System- und Paketupdates los, und könnte bei der Fehlersuche - natürlich wäre auch das Docker-Image fehlerbehaft :-) - von einer gegebenen Umgebung ausgehen.

            P.S. wofür wird eigentlich unix-dgram gebraucht ? Lohnt es sich in diesen Installationsfehler Energie zu investieren ?

            AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            schrieb am zuletzt editiert von
            #230

            @mimue sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

            Ein erwiesen lauffähiges Docker-Image zur Verfügung zu stellen.

            Es gibt einige Leute, die das Docker-Image von buanet im Einsatz haben, das auch auf dem Installer basiert.

            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

            1 Antwort Letzte Antwort
            0
            • 1Topf1 Offline
              1Topf1 Offline
              1Topf
              schrieb am zuletzt editiert von
              #231

              Hallo zusammen,
              ich hab da auch ein Problemchen. Ich habe mir in einer VM das neueste Debian 10 Buster ohne GUI installiert (https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso). Curl, node, npm, ioBroker installiert. Aber ioBroker läuft nicht, läßt sich nicht starten.


              motion@motion:~$ systemctl start iobroker
              Failed to start iobroker.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
              See system logs and 'systemctl status iobroker.service' for details.
              motion@motion:~$ systemctl status iobroker
              ● iobroker.service - ioBroker Server
              Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
              Active: failed (Result: exit-code) since Sat 2019-07-13 22:10:35 CEST; 46min ago
              Docs: http://iobroker.net
              Process: 500 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=217/USER)
              Main PID: 500 (code=exited, status=217/USER)
              motion@motion:~$ node -v
              v10.16.0
              motion@motion:~$ npm -v
              6.9.0
              motion@motion:~$

              Den Fixer hab ich auch schon mal vorsichtshalber drübergebügelt.
              Wo könnte denn hier der Fehler liegen? Bin auch nicht so der Linuxfachmann ... die neuen Befehle machen mich noch kirre ... :blush: ...
              Mein eigentliches System läuft super, is noch Debian 9, aber man soll ja nach vorne schaun. :grin:
              Andi

              HomoranH AlCalzoneA 2 Antworten Letzte Antwort
              0
              • 1Topf1 1Topf

                Hallo zusammen,
                ich hab da auch ein Problemchen. Ich habe mir in einer VM das neueste Debian 10 Buster ohne GUI installiert (https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso). Curl, node, npm, ioBroker installiert. Aber ioBroker läuft nicht, läßt sich nicht starten.


                motion@motion:~$ systemctl start iobroker
                Failed to start iobroker.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
                See system logs and 'systemctl status iobroker.service' for details.
                motion@motion:~$ systemctl status iobroker
                ● iobroker.service - ioBroker Server
                Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                Active: failed (Result: exit-code) since Sat 2019-07-13 22:10:35 CEST; 46min ago
                Docs: http://iobroker.net
                Process: 500 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=217/USER)
                Main PID: 500 (code=exited, status=217/USER)
                motion@motion:~$ node -v
                v10.16.0
                motion@motion:~$ npm -v
                6.9.0
                motion@motion:~$

                Den Fixer hab ich auch schon mal vorsichtshalber drübergebügelt.
                Wo könnte denn hier der Fehler liegen? Bin auch nicht so der Linuxfachmann ... die neuen Befehle machen mich noch kirre ... :blush: ...
                Mein eigentliches System läuft super, is noch Debian 9, aber man soll ja nach vorne schaun. :grin:
                Andi

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #232

                @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                Den Fixer hab ich auch schon mal vorsichtshalber drübergebügelt.

                Und warum dan

                @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                systemctl start iobroker

                Was passiert bei iobroker start?

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Antwort Letzte Antwort
                0
                • 1Topf1 1Topf

                  Hallo zusammen,
                  ich hab da auch ein Problemchen. Ich habe mir in einer VM das neueste Debian 10 Buster ohne GUI installiert (https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso). Curl, node, npm, ioBroker installiert. Aber ioBroker läuft nicht, läßt sich nicht starten.


                  motion@motion:~$ systemctl start iobroker
                  Failed to start iobroker.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
                  See system logs and 'systemctl status iobroker.service' for details.
                  motion@motion:~$ systemctl status iobroker
                  ● iobroker.service - ioBroker Server
                  Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                  Active: failed (Result: exit-code) since Sat 2019-07-13 22:10:35 CEST; 46min ago
                  Docs: http://iobroker.net
                  Process: 500 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=217/USER)
                  Main PID: 500 (code=exited, status=217/USER)
                  motion@motion:~$ node -v
                  v10.16.0
                  motion@motion:~$ npm -v
                  6.9.0
                  motion@motion:~$

                  Den Fixer hab ich auch schon mal vorsichtshalber drübergebügelt.
                  Wo könnte denn hier der Fehler liegen? Bin auch nicht so der Linuxfachmann ... die neuen Befehle machen mich noch kirre ... :blush: ...
                  Mein eigentliches System läuft super, is noch Debian 9, aber man soll ja nach vorne schaun. :grin:
                  Andi

                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  schrieb am zuletzt editiert von
                  #233

                  @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                  Failed to start iobroker.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

                  Lässt mich vermuten, dass die Installation nicht sauber durchgelaufen ist. Hilfreich wäre hier ein Log der Installation.

                  Was steht in /opt/iobroker/INSTALLER_INFO.txt?

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  1Topf1 1 Antwort Letzte Antwort
                  0
                  • AlCalzoneA AlCalzone

                    @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                    Failed to start iobroker.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

                    Lässt mich vermuten, dass die Installation nicht sauber durchgelaufen ist. Hilfreich wäre hier ein Log der Installation.

                    Was steht in /opt/iobroker/INSTALLER_INFO.txt?

                    1Topf1 Offline
                    1Topf1 Offline
                    1Topf
                    schrieb am zuletzt editiert von
                    #234

                    @Homoran sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                    @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                    systemctl start iobroker

                    Hab ich gemacht, weil ioBroker nicht startet.

                    Was passiert bei iobroker start?

                    Nix.

                    @AlCalzone sagte in [Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme)

                    Lässt mich vermuten, dass die Installation nicht sauber durchgelaufen ist. Hilfreich wäre hier ein Log der Installation.

                    Was steht in /opt/iobroker/INSTALLER_INFO.txt?

                    Installer version: 2019-07-03
                    Installation date 2019-07-13
                    Platform: linux
                    Installed as root
                    init system: systemd
                    Autostart: systemd
                    ACL enabled: false
                    Fixer version: 2019-07-03
                    Fix date 2019-07-13
                    ACL enabled: false
                    init system: systemd
                    Autostart: systemd

                    Wenn ich Zeit hab, setz ich nochmal ein neues System auf. Wie gesagt, war nur mal zum probieren des neuen Debian mit ioB. Wenn ihr aber ne Idee habt, wie man es trotzdem zum laufen kriegt, probier ichs aus. :+1:

                    AlCalzoneA 1 Antwort Letzte Antwort
                    0
                    • 1Topf1 1Topf

                      @Homoran sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                      @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                      systemctl start iobroker

                      Hab ich gemacht, weil ioBroker nicht startet.

                      Was passiert bei iobroker start?

                      Nix.

                      @AlCalzone sagte in [Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme)

                      Lässt mich vermuten, dass die Installation nicht sauber durchgelaufen ist. Hilfreich wäre hier ein Log der Installation.

                      Was steht in /opt/iobroker/INSTALLER_INFO.txt?

                      Installer version: 2019-07-03
                      Installation date 2019-07-13
                      Platform: linux
                      Installed as root
                      init system: systemd
                      Autostart: systemd
                      ACL enabled: false
                      Fixer version: 2019-07-03
                      Fix date 2019-07-13
                      ACL enabled: false
                      init system: systemd
                      Autostart: systemd

                      Wenn ich Zeit hab, setz ich nochmal ein neues System auf. Wie gesagt, war nur mal zum probieren des neuen Debian mit ioB. Wenn ihr aber ne Idee habt, wie man es trotzdem zum laufen kriegt, probier ichs aus. :+1:

                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #235

                      @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                      Wenn ich Zeit hab, setz ich nochmal ein neues System auf.

                      Dann schick mir anschließend bitte die Ausgabe bei der Installation. Vermutlich gab es einen Fehler der nicht aufgefallen ist.

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      1Topf1 1 Antwort Letzte Antwort
                      0
                      • AlCalzoneA AlCalzone

                        @1Topf sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                        Wenn ich Zeit hab, setz ich nochmal ein neues System auf.

                        Dann schick mir anschließend bitte die Ausgabe bei der Installation. Vermutlich gab es einen Fehler der nicht aufgefallen ist.

                        1Topf1 Offline
                        1Topf1 Offline
                        1Topf
                        schrieb am zuletzt editiert von
                        #236

                        @AlCalzone

                        So. Hab mir jetzt vorsichtshalber noch das neueste VirtualBox installiert, um da einen Fehler auszuschließen. Dann wie gehabt Debian 10, Curl, Node, ioBroker.
                        Zuerst hab ich ioB als normaler Nutzer installiert mit folgendem Ergebnis:


                        Using username "motion".
                        motion@192.168.178.84's password:
                        Linux motion 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64

                        The programs included with the Debian GNU/Linux system are free software;
                        the exact distribution terms for each program are described in the
                        individual files in /usr/share/doc/*/copyright.

                        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                        permitted by applicable law.
                        Last login: Mon Jul 15 21:58:09 2019
                        motion@motion:~$ curl -sL https://iobroker.net/install.sh | bash -

                        ==========================================================================

                        Welcome to the ioBroker installer!
                        Installer version: 2019-07-03
                        
                        You might need to enter your password a couple of times.
                        

                        ==========================================================================

                        ==========================================================================
                        Installing prerequisites (1/4)

                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed sudo
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed build-essential
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed libavahi-compat-libdnssd-dev
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed libudev-dev
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed libpam0g-dev
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed pkg-config
                        main: Zeile 284: sudo: Kommando nicht gefunden.
                        Installed git
                        bash: Zeile 370: sudo: Kommando nicht gefunden.

                        ==========================================================================
                        Creating ioBroker user and directory (2/4)

                        main: Zeile 139: sudo: Kommando nicht gefunden.
                        User iobroker created
                        main: Zeile 145: sudo: Kommando nicht gefunden.
                        main: Zeile 215: sudo: Kommando nicht gefunden.
                        main: Zeile 235: sudo: Kommando nicht gefunden.
                        main: Zeile 235: sudo: Kommando nicht gefunden.
                        main: Zeile 235: sudo: Kommando nicht gefunden.
                        main: Zeile 235: sudo: Kommando nicht gefunden.
                        bash: Zeile 443: sudo: Kommando nicht gefunden.
                        bash: Zeile 449: sudo: Kommando nicht gefunden.
                        bash: Zeile 452: cd: /opt/iobroker: Datei oder Verzeichnis nicht gefunden
                        Directory /opt/iobroker created
                        touch: '/opt/iobroker/INSTALLER_INFO.txt' kann nicht berührt werden: Datei oder Verzeichnis nicht gefunden
                        chmod: Zugriff auf '/opt/iobroker/INSTALLER_INFO.txt' nicht möglich: Datei oder Verzeichnis nicht gefunden
                        bash: Zeile 458: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden
                        bash: Zeile 459: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden
                        bash: Zeile 460: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden

                        ==========================================================================
                        Installing ioBroker (3/4)

                        bash: Zeile 472: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden
                        gyp ERR! build error
                        gyp ERR! stack Error: not found: make
                        gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
                        gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
                        gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
                        gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
                        gyp ERR! System Linux 4.19.0-5-amd64
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /home/motion/node_modules/diskusage
                        gyp ERR! node -v v10.16.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok
                        gyp ERR! build error
                        gyp ERR! stack Error: not found: make
                        gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
                        gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
                        gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
                        gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
                        gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
                        gyp ERR! System Linux 4.19.0-5-amd64
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /home/motion/node_modules/unix-dgram
                        gyp ERR! node -v v10.16.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok

                        ==========================================================================
                        Finalizing installation (4/4)

                        bash: Zeile 498: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden
                        bash: Zeile 559: sudo: Kommando nicht gefunden.
                        bash: Zeile 560: sudo: Kommando nicht gefunden.
                        bash: Zeile 566: sudo: Kommando nicht gefunden.
                        bash: Zeile 569: /opt/iobroker/iobroker: Datei oder Verzeichnis nicht gefunden
                        main: Zeile 127: sudo: Kommando nicht gefunden.
                        Enabling autostart...
                        bash: Zeile 708: sudo: Kommando nicht gefunden.
                        bash: Zeile 709: sudo: Kommando nicht gefunden.
                        bash: Zeile 711: sudo: Kommando nicht gefunden.
                        bash: Zeile 712: sudo: Kommando nicht gefunden.
                        bash: Zeile 713: sudo: Kommando nicht gefunden.
                        Autostart enabled!
                        bash: Zeile 717: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden
                        Fixing directory permissions...
                        main: Zeile 586: sudo: Kommando nicht gefunden.
                        main: Zeile 589: sudo: Kommando nicht gefunden.
                        This system does not support setting default permissions.
                        Do not use npm to manually install adapters unless you know what you are doing!
                        main: Zeile 601: /opt/iobroker/INSTALLER_INFO.txt: Datei oder Verzeichnis nicht gefunden

                        ==========================================================================

                        ioBroker was installed successfully
                        Open http://192.168.178.84:8081 in a browser and start configuring!
                        

                        ==========================================================================

                        You need to re-login before doing anything else on the console!

                        motion@motion:~$


                        Es gab dann keinen iobroker-Ordner in opt. Also als Root eingeloggt und einfach nochmal drübergebügelt mit folgendem Ergebnis:


                        Using username "motion".
                        motion@192.168.178.84's password:
                        Linux motion 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64

                        The programs included with the Debian GNU/Linux system are free software;
                        the exact distribution terms for each program are described in the
                        individual files in /usr/share/doc/*/copyright.

                        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                        permitted by applicable law.
                        Last login: Mon Jul 15 21:59:20 2019 from 192.168.178.57
                        motion@motion:~$ su
                        Passwort:
                        root@motion:/home/motion# curl -sL https://iobroker.net/install.sh | bash -

                        ==========================================================================

                        Welcome to the ioBroker installer!
                        Installer version: 2019-07-03
                        
                        You might need to enter your password a couple of times.
                        

                        ==========================================================================

                        ==========================================================================
                        Installing prerequisites (1/4)

                        Installed sudo
                        Extrahiere Vorlagen aus Paketen: 100%
                        Installed build-essential
                        Installed libavahi-compat-libdnssd-dev
                        Installed libudev-dev
                        Installed libpam0g-dev
                        Installed git
                        bash: Zeile 370: setcap: Kommando nicht gefunden.

                        ==========================================================================
                        Creating ioBroker user and directory (2/4)

                        main: Zeile 137: useradd: Kommando nicht gefunden.
                        User iobroker created
                        main: Zeile 208: visudo: Kommando nicht gefunden.
                        main: Zeile 233: usermod: Kommando nicht gefunden.
                        main: Zeile 233: usermod: Kommando nicht gefunden.
                        main: Zeile 233: usermod: Kommando nicht gefunden.
                        main: Zeile 233: usermod: Kommando nicht gefunden.
                        Directory /opt/iobroker created

                        ==========================================================================
                        Installing ioBroker (3/4)

                        In file included from ../src/main.cpp:3:
                        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_ work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
                        , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                        ^
                        ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declara tions]
                        DiskUsage result = GetDiskUsage(v8::String::Utf8Value(info[0]));
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../../nan/nan.h:54,
                        from ../src/main.cpp:3:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                        explicit Utf8Value(Localv8::Value obj));
                        ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        In file included from ../../nan/nan.h:54,
                        from ../src/main.cpp:3:
                        ../src/main.cpp: At global scope:
                        /root/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (
                        )(v8::Handlev8::Object)’ {ak a ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast- function-type]
                        (node::addon_register_func) (regfunc),
                        ^
                        /root/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                        NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
                        ^~~~~~~~~~~~~
                        ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                        NODE_MODULE(diskusage, Init)
                        ^~~~~~~~~~~
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../../nan/nan.h:54,
                        from ../src/main.cpp:3:
                        /root/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallback Infonode::ObjectWrap&)]’:
                        /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
                        /root/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap ::Callback’ {aka ‘void (
                        )(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-W cast-function-type]
                        reinterpret_cast<Callback>(callback), type);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                        , typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackI nfoNan::ObjectWrap&)]’:
                        ../../nan/nan_object_wrap.h:65:61: required from here
                        /root/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap: :Callback’ {aka ‘void (
                        )(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wca st-function-type]
                        In file included from ../node_modules/nan/nan.h:190,
                        from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Local<v8::Va lue>, v8::PropertyAttribute)’:
                        ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                        return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                        ^~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Local<v8: :Value>
                        )’:
                        ../node_modules/nan/nan.h:817:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, func, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:817:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, func, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Local<v8::V alue>
                        )’:
                        ../node_modules/nan/nan.h:831:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, i nt, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:831:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, v8::Localv8::String, i nt, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char
                        , int, v8::Localv8::Value)’:
                        ../node_modules/nan/nan.h:845:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, const char*, int, v8::Lo calv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, method, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:845:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, const char*, int, v8::Lo calv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        v8::Isolate::GetCurrent(), target, method, argc, argv);
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate
                        , v8::Localv8::Object, int, v8::Local<v8:: Value>) const’:
                        ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        ));
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                        , v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                        ));
                        ^
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                        NODE_EXTERN v8::Localv8::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/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                        )’:
                        ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
                        , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                        ^
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        domain = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        type = info[1]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        protocol = info[2]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        fd = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-d eclarations]
                        String::Utf8Value path(info[1]);
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                        explicit Utf8Value(Localv8::Value obj));
                        ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        fd = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:259:27: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarat ions]
                        buf = info[1]->ToObject();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                        Local<Object> Value::ToObject() const {
                        ^~~~~
                        ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        offset = info[2]->Uint32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                        V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() 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/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        length = info[3]->Uint32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                        V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() 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/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-d eclarations]
                        String::Utf8Value path(info[4]);
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                        explicit Utf8Value(Localv8::Value obj));
                        ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        fd = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:303:27: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarat ions]
                        buf = info[1]->ToObject();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                        Local<Object> Value::ToObject() const {
                        ^~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        fd = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-d eclarations]
                        String::Utf8Value path(info[1]);
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                        explicit Utf8Value(Localv8::Value obj));
                        ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        fd = info[0]->Int32Value();
                        ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                        from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /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)))
                        ^~~~~~~~~~
                        In file included from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        ../src/unix_dgram.cc: At global scope:
                        /root/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object)’ to node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
                        (node::addon_register_func) (regfunc),
                        ^
                        /root/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                        NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
                        ^~~~~~~~~~~~~
                        ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
                        NODE_MODULE(unix_dgram, Initialize)
                        ^~~~~~~~~~~
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                        from ../node_modules/nan/nan.h:47,
                        from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallback Infonode::ObjectWrap&)]’:
                        /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
                        /root/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap ::Callback’ {aka ‘void (
                        )(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-W cast-function-type]
                        reinterpret_cast<Callback>(callback), type);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                        , typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackI nfoNan::ObjectWrap&)]’:
                        ../node_modules/nan/nan_object_wrap.h:66:61: required from here
                        /root/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap: :Callback’ {aka ‘void (
                        )(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wca st-function-type]
                        make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                        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.19.0-5-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/unix-dgram
                        gyp ERR! node -v v10.16.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok

                        ==========================================================================
                        Finalizing installation (4/4)

                        Enabling autostart...
                        Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                        Autostart enabled!
                        Fixing directory permissions...
                        chown: ungültiger Benutzer: „iobroker:iobroker“
                        This system does not support setting default permissions.
                        Do not use npm to manually install adapters unless you know what you are doing!

                        ==========================================================================

                        ioBroker was installed successfully
                        Open http://192.168.178.84:8081 in a browser and start configuring!
                        

                        ==========================================================================

                        You need to re-login before doing anything else on the console!

                        root@motion:/home/motion#

                        Jetzt gibt es den Ordner /opt/iobroker, aber im Browser kann ich immer noch nix aufrufen:


                        motion@motion:~$ systemctl status iobroker
                        ● iobroker.service - ioBroker Server
                        Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset:
                        Active: failed (Result: exit-code) since Mon 2019-07-15 22:16:08 CEST; 2min 2
                        Docs: http://iobroker.net
                        Process: 509 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iob
                        Main PID: 509 (code=exited, status=217/USER)
                        lines 1-6/6 (END)...skipping...
                        ● iobroker.service - ioBroker Server
                        Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                        Active: failed (Result: exit-code) since Mon 2019-07-15 22:16:08 CEST; 2min 21s ago
                        Docs: http://iobroker.net
                        Process: 509 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=217/USER)
                        Main PID: 509 (code=exited, status=217/USER)

                        motion@motion:~$ systemctl start iobroker
                        ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
                        Legitimierung ist zum Starten von »iobroker.service« notwendig.
                        Authenticating as: root
                        Password:
                        polkit-agent-helper-1: pam_authenticate failed: Authentication failure
                        ==== AUTHENTICATION FAILED ===
                        Failed to start iobroker.service: Access denied
                        See system logs and 'systemctl status iobroker.service' for details.
                        motion@motion:~$ su
                        Passwort:
                        root@motion:/home/motion# systemctl start iobroker
                        root@motion:/home/motion#

                        Und INSTALLER_INFO.txt sagt:

                        Installer version: 2019-07-03
                        Installation date 2019-07-15
                        Platform: linux
                        Installed as root
                        init system: systemd
                        Autostart: systemd
                        ACL enabled: false

                        Hab jetzt erstmal keine Lust mehr. :innocent:

                        1 Antwort Letzte Antwort
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #237

                          Ich glaube du hast das gleiche Problem wie in einen anderen Thread von heute das in Debian 10 ein normaler User das Verzeichnis /usr/sbin nicht im Pfad hat. Dort liegen aber Programme wie usermod, visudo und so.

                          Versuch mal:

                          sudo su -

                          Und dann den installer als root laufen lassen. Hat dort funktioniert

                          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
                          1Topf1 1 Antwort Letzte Antwort
                          0
                          • L Offline
                            L Offline
                            LED
                            schrieb am zuletzt editiert von
                            #238

                            Hallo

                            Wollte eure Anleitung unter https://www.iobroker.net/#de/documentation/install/linux.md testen und habe Raspbian Buster Lite Image auf die SD gezogen und in den Raspberry PI 3 gesteckt. Dann der Anleitung gefolgt und Installation gestartet:

                            
                            pi@iobroker:~ $ node -v
                            v10.16.0
                            pi@iobroker:~ $ npm -v
                            6.9.0
                            pi@iobroker:~ $ curl -sL https://iobroker.net/install.sh | bash -
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installer!
                                Installer version: 2019-07-03
                            
                                You might need to enter your password a couple of times.
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/4)
                            ==========================================================================
                            
                            Installed acl
                            Installed libavahi-compat-libdnssd-dev
                            Installed libudev-dev
                            Installed libpam0g-dev
                            Installed git
                            
                            ==========================================================================
                                Creating ioBroker user and directory (2/4)
                            ==========================================================================
                            
                            User iobroker created
                            Created /etc/sudoers.d/iobroker
                            Directory /opt/iobroker created
                            
                            ==========================================================================
                                Installing ioBroker (3/4)
                            ==========================================================================
                            
                            In file included from ../src/main.cpp:3:
                            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from                                          ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka                                           void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                          ^
                            ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_                                         METHOD_ARGS_TYPE)’:
                            ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::                                         Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                     DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                                   ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../../nan/nan.h:54,
                                             from ../src/main.cpp:3:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                               explicit Utf8Value(Local<v8::Value> obj));
                                                        ^~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            In file included from ../../nan/nan.h:54,
                                             from ../src/main.cpp:3:
                            ../src/main.cpp: At global scope:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(                                         v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local                                         <v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                   (node::addon_register_func) (regfunc),                          \
                                                                       ^
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
                               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                               ^~~~~~~~~~~~~
                            ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                             NODE_MODULE(diskusage, Init)
                             ^~~~~~~~~~~
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../../nan/nan.h:54,
                                             from ../src/main.cpp:3:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                            /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                            reinterpret_cast<Callback>(callback), type);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                            ../../nan/nan_object_wrap.h:65:61:   required from here
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from ../node_modules/nan/nan.h:190,
                                             from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force                                         Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope                                         rtyAttribute)’:
                            ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m                                         ember named ‘ForceSet’
                               return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                           ^~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                            ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                            ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                     v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                          ^
                            In file included from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                     v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                          ^
                            In file included from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                            ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                     v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                          ^
                            In file included from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                     v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                          ^
                            In file included from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac                                         k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’                                         :
                            ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^~~~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/unix_dgram.cc:5:
                            ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor                                         ker*)’:
                            ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t                                         ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_                                         cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                          ^
                            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock                                         et(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                               domain      = info[0]->Int32Value();
                                                                 ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                               type        = info[1]->Int32Value();
                                                                 ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                               protocol    = info[2]->Int32Value();
                                                                 ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                               fd = info[0]->Int32Value();
                                                        ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^~~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                               String::Utf8Value path(info[1]);
                                                             ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                             from ../node_modules/nan/nan.h:47,
                                             from ../src/unix_dgram.cc:5:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                               explicit Utf8Value(Local<v8::Value> obj));
                                                        ^~~~~~~~~
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         To(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                               fd = info[0]->Int32Value();
                                                        ^
                            SCHNIPP SCHNAPP
                            
                            
                            

                            Hab dann noch den Fixer ausgeführt und iobroker läuft. Also alles gut?

                            Gruß
                            LED

                            J AlCalzoneA 2 Antworten Letzte Antwort
                            0
                            • L LED

                              Hallo

                              Wollte eure Anleitung unter https://www.iobroker.net/#de/documentation/install/linux.md testen und habe Raspbian Buster Lite Image auf die SD gezogen und in den Raspberry PI 3 gesteckt. Dann der Anleitung gefolgt und Installation gestartet:

                              
                              pi@iobroker:~ $ node -v
                              v10.16.0
                              pi@iobroker:~ $ npm -v
                              6.9.0
                              pi@iobroker:~ $ curl -sL https://iobroker.net/install.sh | bash -
                              
                              ==========================================================================
                              
                                  Welcome to the ioBroker installer!
                                  Installer version: 2019-07-03
                              
                                  You might need to enter your password a couple of times.
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/4)
                              ==========================================================================
                              
                              Installed acl
                              Installed libavahi-compat-libdnssd-dev
                              Installed libudev-dev
                              Installed libpam0g-dev
                              Installed git
                              
                              ==========================================================================
                                  Creating ioBroker user and directory (2/4)
                              ==========================================================================
                              
                              User iobroker created
                              Created /etc/sudoers.d/iobroker
                              Directory /opt/iobroker created
                              
                              ==========================================================================
                                  Installing ioBroker (3/4)
                              ==========================================================================
                              
                              In file included from ../src/main.cpp:3:
                              ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                              ../../nan/nan.h:2298:62: warning: cast between incompatible function types from                                          ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka                                           void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                   , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                            ^
                              ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_                                         METHOD_ARGS_TYPE)’:
                              ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::                                         Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                       DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                                     ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../../nan/nan.h:54,
                                               from ../src/main.cpp:3:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                 explicit Utf8Value(Local<v8::Value> obj));
                                                          ^~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../../nan/nan.h:54,
                                               from ../src/main.cpp:3:
                              ../src/main.cpp: At global scope:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(                                         v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local                                         <v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                     (node::addon_register_func) (regfunc),                          \
                                                                         ^
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
                                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                 ^~~~~~~~~~~~~
                              ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                               NODE_MODULE(diskusage, Init)
                               ^~~~~~~~~~~
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../../nan/nan.h:54,
                                               from ../src/main.cpp:3:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                              /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                              reinterpret_cast<Callback>(callback), type);
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                              ../../nan/nan_object_wrap.h:65:61:   required from here
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                              In file included from ../node_modules/nan/nan.h:190,
                                               from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force                                         Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope                                         rtyAttribute)’:
                              ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m                                         ember named ‘ForceSet’
                                 return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                             ^~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                              ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                              ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                       v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                            ^
                              In file included from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                       v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                            ^
                              In file included from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                              ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                       v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                            ^
                              In file included from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                       v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                            ^
                              In file included from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac                                         k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’                                         :
                              ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                ^~~~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                   __attribute__((deprecated(message))) declarator
                                                                        ^~~~~~~~~~
                              In file included from ../src/unix_dgram.cc:5:
                              ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor                                         ker*)’:
                              ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t                                         ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_                                         cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                   , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                            ^
                              ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock                                         et(Nan::NAN_METHOD_ARGS_TYPE)’:
                              ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                 domain      = info[0]->Int32Value();
                                                                   ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                            ^~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                 type        = info[1]->Int32Value();
                                                                   ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                            ^~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                 protocol    = info[2]->Int32Value();
                                                                   ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                            ^~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
                              ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                 fd = info[0]->Int32Value();
                                                          ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                            ^~~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                 String::Utf8Value path(info[1]);
                                                               ^
                              In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                               from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                               from ../node_modules/nan/nan.h:47,
                                               from ../src/unix_dgram.cc:5:
                              /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                 explicit Utf8Value(Local<v8::Value> obj));
                                                          ^~~~~~~~~
                              /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         To(Nan::NAN_METHOD_ARGS_TYPE)’:
                              ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                 fd = info[0]->Int32Value();
                                                          ^
                              SCHNIPP SCHNAPP
                              
                              
                              

                              Hab dann noch den Fixer ausgeführt und iobroker läuft. Also alles gut?

                              Gruß
                              LED

                              J Offline
                              J Offline
                              Jan1
                              schrieb am zuletzt editiert von
                              #239

                              @LED
                              Der Fixer war nicht nötig, da das alles schon bei einer Neuinstallation mit drin ist, schadet aber auch nicht :blush:

                              1 Antwort Letzte Antwort
                              0
                              • L LED

                                Hallo

                                Wollte eure Anleitung unter https://www.iobroker.net/#de/documentation/install/linux.md testen und habe Raspbian Buster Lite Image auf die SD gezogen und in den Raspberry PI 3 gesteckt. Dann der Anleitung gefolgt und Installation gestartet:

                                
                                pi@iobroker:~ $ node -v
                                v10.16.0
                                pi@iobroker:~ $ npm -v
                                6.9.0
                                pi@iobroker:~ $ curl -sL https://iobroker.net/install.sh | bash -
                                
                                ==========================================================================
                                
                                    Welcome to the ioBroker installer!
                                    Installer version: 2019-07-03
                                
                                    You might need to enter your password a couple of times.
                                
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Installing prerequisites (1/4)
                                ==========================================================================
                                
                                Installed acl
                                Installed libavahi-compat-libdnssd-dev
                                Installed libudev-dev
                                Installed libpam0g-dev
                                Installed git
                                
                                ==========================================================================
                                    Creating ioBroker user and directory (2/4)
                                ==========================================================================
                                
                                User iobroker created
                                Created /etc/sudoers.d/iobroker
                                Directory /opt/iobroker created
                                
                                ==========================================================================
                                    Installing ioBroker (3/4)
                                ==========================================================================
                                
                                In file included from ../src/main.cpp:3:
                                ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                ../../nan/nan.h:2298:62: warning: cast between incompatible function types from                                          ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka                                           void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                              ^
                                ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_                                         METHOD_ARGS_TYPE)’:
                                ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::                                         Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                         DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                                       ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../../nan/nan.h:54,
                                                 from ../src/main.cpp:3:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                   explicit Utf8Value(Local<v8::Value> obj));
                                                            ^~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                In file included from ../../nan/nan.h:54,
                                                 from ../src/main.cpp:3:
                                ../src/main.cpp: At global scope:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(                                         v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local                                         <v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                       (node::addon_register_func) (regfunc),                          \
                                                                           ^
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
                                   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                   ^~~~~~~~~~~~~
                                ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                                 NODE_MODULE(diskusage, Init)
                                 ^~~~~~~~~~~
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../../nan/nan.h:54,
                                                 from ../src/main.cpp:3:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                reinterpret_cast<Callback>(callback), type);
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                ../../nan/nan_object_wrap.h:65:61:   required from here
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                In file included from ../node_modules/nan/nan.h:190,
                                                 from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force                                         Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope                                         rtyAttribute)’:
                                ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m                                         ember named ‘ForceSet’
                                   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                               ^~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                              ^
                                In file included from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
                                         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                              ^
                                In file included from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                              ^
                                In file included from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
                                         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                              ^
                                In file included from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac                                         k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’                                         :
                                ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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 ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
                                     __attribute__((deprecated(message))) declarator
                                                                          ^~~~~~~~~~
                                In file included from ../src/unix_dgram.cc:5:
                                ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor                                         ker*)’:
                                ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t                                         ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_                                         cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                              ^
                                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock                                         et(Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                   domain      = info[0]->Int32Value();
                                                                     ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                              ^~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                   type        = info[1]->Int32Value();
                                                                     ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                              ^~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                   protocol    = info[2]->Int32Value();
                                                                     ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                              ^~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                   fd = info[0]->Int32Value();
                                                            ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                              ^~~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                   String::Utf8Value path(info[1]);
                                                                 ^
                                In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                 from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                 from ../node_modules/nan/nan.h:47,
                                                 from ../src/unix_dgram.cc:5:
                                /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                   explicit Utf8Value(Local<v8::Value> obj));
                                                            ^~~~~~~~~
                                /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                   declarator __attribute__((deprecated(message)))
                                   ^~~~~~~~~~
                                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         To(Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                   fd = info[0]->Int32Value();
                                                            ^
                                SCHNIPP SCHNAPP
                                
                                
                                

                                Hab dann noch den Fixer ausgeführt und iobroker läuft. Also alles gut?

                                Gruß
                                LED

                                AlCalzoneA Offline
                                AlCalzoneA Offline
                                AlCalzone
                                Developer
                                schrieb am zuletzt editiert von
                                #240

                                @LED sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                Hab dann noch den Fixer ausgeführt und iobroker läuft

                                Was ich nicht verstehe... Im Ankündigungspost zum Fixer steht:

                                Mittels einem Kommando wird eine bestehende Installation in /opt/iobroker auf den gleichen Stand gebracht wie eine aktuelle neue Installation.

                                Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

                                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                L 1 Antwort Letzte Antwort
                                0
                                • L Offline
                                  L Offline
                                  LED
                                  schrieb am zuletzt editiert von
                                  #241

                                  Hier noch der Rest

                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                ^~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject                                         () const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     buf = info[1]->ToObject();
                                                             ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                   Local<Object> Value::ToObject() const {
                                                 ^~~~~
                                  ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’                                          is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     offset = info[2]->Uint32Value();
                                                                   ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                 ^~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’                                          is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     length = info[3]->Uint32Value();
                                                                   ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                 ^~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                     String::Utf8Value path(info[4]);
                                                                   ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                     explicit Utf8Value(Local<v8::Value> obj));
                                                              ^~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                     fd = info[0]->Int32Value();
                                                              ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                ^~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject                                         () const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     buf = info[1]->ToObject();
                                                             ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                   Local<Object> Value::ToObject() const {
                                                 ^~~~~
                                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Conn                                         ect(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                     fd = info[0]->Int32Value();
                                                              ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                ^~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                     String::Utf8Value path(info[1]);
                                                                   ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                     explicit Utf8Value(Local<v8::Value> obj));
                                                              ^~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Clos                                         e(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
                                     fd = info[0]->Int32Value();
                                                              ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                ^~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  In file included from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  ../src/unix_dgram.cc: At global scope:
                                  /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_                                         register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*                                         )’} [-Wcast-function-type]
                                         (node::addon_register_func) (regfunc),                          \
                                                                             ^
                                  /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
                                     NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                     ^~~~~~~~~~~~~
                                  ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
                                   NODE_MODULE(unix_dgram, Initialize)
                                   ^~~~~~~~~~~
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../node_modules/nan/nan.h:47,
                                                   from ../src/unix_dgram.cc:5:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                  /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                  reinterpret_cast<Callback>(callback), type);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                  ../node_modules/nan/nan_object_wrap.h:66:61:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  make: *** [unix_dgram.target.mk:99: Release/obj.target/unix_dgram/src/unix_dgram                                         .o] Fehler 1
                                  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_module                                         s/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_proces                                         s.js:248:12)
                                  gyp ERR! System Linux 4.19.57-v7+
                                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                         p/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                                  gyp ERR! node -v v10.16.0
                                  gyp ERR! node-gyp -v v3.8.0
                                  gyp ERR! not ok
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                ^
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                     v8::String::Utf8Value path(info[0]->ToString());
                                                                                   ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                                                   from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                     explicit Utf8Value(Local<v8::Value> obj));
                                                              ^~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                     declarator __attribute__((deprecated(message)))
                                     ^~~~~~~~~~
                                  ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                       ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                   Local<Object> Value::ToObject() const {
                                                 ^~~~~
                                  ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                                       ^~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                  ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                       ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                   Local<Object> Value::ToObject() const {
                                                 ^~~~~
                                  ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                                         ^~~~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                  ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                                        ^~~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                  ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                                        ^~~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                  ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                     v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                       ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                   Local<Object> Value::ToObject() const {
                                                 ^~~~~
                                  ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                                                      ^~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                  ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                                                      ^~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                  ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                                              ^~~~~~~~~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                  ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                     uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                                        ^~~~~~~~~~~~~~
                                  ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                  ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  ../src/serialport.cpp: At global scope:
                                  ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                   SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                              ^
                                  ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                   SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                                ^
                                  In file included from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                         (node::addon_register_func) (regfunc),                          \
                                                                             ^
                                  /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                                     NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                     ^~~~~~~~~~~~~
                                  ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                   NODE_MODULE(serialport, init);
                                   ^~~~~~~~~~~
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/./serialport.h:6,
                                                   from ../src/serialport.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                  /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                  reinterpret_cast<Callback>(callback), type);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                  ../../nan/nan_object_wrap.h:65:61:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  In file included from ../src/serialport.h:6,
                                                   from ../src/serialport_unix.cpp:2:
                                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                ^
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/serialport.h:6,
                                                   from ../src/serialport_unix.cpp:2:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                  /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                  reinterpret_cast<Callback>(callback), type);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                  ../../nan/nan_object_wrap.h:65:61:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                                  ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                                       snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
                                  ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                                       snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                                  ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                                       snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                                       snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  In file included from ../src/poller.cpp:1:
                                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                ^
                                  ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
                                  ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     obj->callback.Call(2, argv);
                                                               ^
                                  In file included from ../src/poller.cpp:1:
                                  ../../nan/nan.h:1740:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/poller.cpp:1:
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                  /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                  reinterpret_cast<Callback>(callback), type);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                  ../../nan/nan_object_wrap.h:65:61:   required from here
                                  /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  • AlCalzoneA AlCalzone

                                    @LED sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                    Hab dann noch den Fixer ausgeführt und iobroker läuft

                                    Was ich nicht verstehe... Im Ankündigungspost zum Fixer steht:

                                    Mittels einem Kommando wird eine bestehende Installation in /opt/iobroker auf den gleichen Stand gebracht wie eine aktuelle neue Installation.

                                    Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

                                    L Offline
                                    L Offline
                                    LED
                                    schrieb am zuletzt editiert von
                                    #242

                                    @AlCalzone said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                    Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

                                    Na ja, wenn etwas nicht klappt und es einen Fixer gibt :-)
                                    Hat aber wohl nicht geschadet... ich lerne noch.

                                    AlCalzoneA 1 Antwort Letzte Antwort
                                    0
                                    • A Offline
                                      A Offline
                                      Atticus
                                      schrieb am zuletzt editiert von
                                      #243

                                      Hallo,

                                      ich versuche gerade ioBroker auf einem Raspberry 4 mit Rasbian Buster zu installieren.
                                      Hier in diesem Beitrag gibt es ja links zu neuen Installationsanleitungen/Scripten...
                                      Leider kann ich keines diese Scripte nutzen, da die Links nicht funktionieren.
                                      Kann mir jemand helfen und einen Link zu einer funktionierenden Installationsanleitung posten?
                                      Danke
                                      Thomas

                                      J 1 Antwort Letzte Antwort
                                      0
                                      • L Offline
                                        L Offline
                                        LED
                                        schrieb am zuletzt editiert von LED
                                        #244

                                        https://www.iobroker.net/#de/documentation/install/linux.md

                                        Ich bin jetzt seit etwa 40h an dem Thema iobroker auf Raspberry dran und kann schon gar nicht mehr zählen wie oft ich auf tote Links geklickt habe. OK, ich bin auch ein totaler Linux Noob und hab immer nur Windows genutzt. Aber der Einstieg war schon echt schwer, obwohl es im Grunde so einfach sein könnte.

                                        apollon77A 1 Antwort Letzte Antwort
                                        1
                                        • L LED

                                          @AlCalzone said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                          Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

                                          Na ja, wenn etwas nicht klappt und es einen Fixer gibt :-)
                                          Hat aber wohl nicht geschadet... ich lerne noch.

                                          AlCalzoneA Offline
                                          AlCalzoneA Offline
                                          AlCalzone
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #245

                                          @LED sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                          Na ja, wenn etwas nicht klappt

                                          Was denn? Lief ioBroker etwa nicht?

                                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          435

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe