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

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [HowTo] ioBroker unter Docker auf Synology DiskStation

NEWS

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

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

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

[HowTo] ioBroker unter Docker auf Synology DiskStation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iobrokerdockerbuanetsynologydiskstation
2.9k Beiträge 248 Kommentatoren 1.6m Aufrufe 123 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.
  • andreA andre

    @jogge sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

    Nun wundere ich mich das das Backup des Adapters ~2,5MB und das des Skriptes ~600MB groß ist. Kann mir das jemand erklären? Ist das normal?

    Ganz einfach: Mit dem Backup-Script sicherst du den gesamten Mount Ordner. Mit Backitup oder "iobroker backup" lediglich deine Konfiguration.
    Das bedeutet: Stellst du das gesamte Verzeichnis (z.B. nach einem Crash) wieder her und hängst es in einen neuen Container (gleiche Major Version), ist sofort alles wieder da.
    Wenn du mit dem Backupfile aus Backitup wiederherstellst, dann muss der ioBroker halt erst noch alle Adapter neu installieren. Und das dauert... Das letzte mal bei mir knapp 2 Stunden.... Hängt halt von der Anzahl der Adapter ab

    @jogge sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

    Bei mir wurde noch eine Zigbee Sicherungsdatei angelegt. Ich nehme an, dass die auch in das Mount-Verzeichnis zu dem Backup muss?

    Das nimmst du falsch an. Ich meine ich hätte das Startscript so gemacht, dass es meckert wenn sich mehr als das Backup-File im Ordner befinden. Das Zigbee backup musst du vermutlich im Nachgang über den Backitup-Adapter restoren... Weiß ich aber nicht genau, weil ich so einen Fall noch nie betrachtet habe...

    MfG,
    André

    joggeJ Offline
    joggeJ Offline
    jogge
    schrieb am zuletzt editiert von
    #2061

    @andre sorry für die späte Antwort und danke für die Erklärung. Leider stand im Backup log was von "permission denied". Daher habe ich dann mein vollständiges Backup eingespielt was wunderbar geklappt hat. Muss ich da vielleicht irgendwo noch mein Passwort für den Admin eintragen?

    Eine Frage hätte ich noch: Du hast doch mittlerweile das Mapping und die Vergabe der Rechte für ein USB Device bei Neustart des Containers automatisiert, wenn man die Variablen entsprechend gesetzt hat, oder? Verwendest du dazu ein Skript welches direkt in der Syno Struktur liegt (user/etc/)? Der Sicherheitsberater hat bei mir rum gemeckert, dass er ein "bösartiges Skript" gefunden hat.

    Grüße,
    Joscha

    andreA 1 Antwort Letzte Antwort
    0
    • H hetti72

      @Notsches Boah, du bist ein Vogel, postest das ganze kernel log deiner Syno :laughing:

      In der vorletzen Zeile nach dem Anstecken dürfte die Info stehen die du suchst :

      90955.228266] usb 1-1: new full-speed USB device number 5 using xhci_hcd

      Du solltest also den USB Stick unter /dev/xhci_hcd ansprechen können. Wichtig ist aber das der
      container mit erhöhten rechten ausgeführt wird sonst darfst du auf der Syno nicht auf devices zugreifen.

      Gruß,
      Frank

      N Offline
      N Offline
      Notsches
      schrieb am zuletzt editiert von
      #2062

      @hetti72 @Glasfaser

      Ich wollte mich auch noch melden.
      Ich hatte einen neuen Stick bestellt, der ist heute gekommen und er wird auf ACM0 erkannt.
      Sobald die Anleitung wieder online ist, werde ich es ausprobieren können.
      Danke und Gruß
      Notsches

      GlasfaserG andreA 2 Antworten Letzte Antwort
      0
      • N Notsches

        @hetti72 @Glasfaser

        Ich wollte mich auch noch melden.
        Ich hatte einen neuen Stick bestellt, der ist heute gekommen und er wird auf ACM0 erkannt.
        Sobald die Anleitung wieder online ist, werde ich es ausprobieren können.
        Danke und Gruß
        Notsches

        GlasfaserG Online
        GlasfaserG Online
        Glasfaser
        schrieb am zuletzt editiert von
        #2063

        @Notsches sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

        ACM0 erkannt.

        Dann ist es so ... wie ich es am Anfang beschrieben habe ... hat mich auch sehr gewundert ;)

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        1 Antwort Letzte Antwort
        0
        • joggeJ jogge

          @andre sorry für die späte Antwort und danke für die Erklärung. Leider stand im Backup log was von "permission denied". Daher habe ich dann mein vollständiges Backup eingespielt was wunderbar geklappt hat. Muss ich da vielleicht irgendwo noch mein Passwort für den Admin eintragen?

          Eine Frage hätte ich noch: Du hast doch mittlerweile das Mapping und die Vergabe der Rechte für ein USB Device bei Neustart des Containers automatisiert, wenn man die Variablen entsprechend gesetzt hat, oder? Verwendest du dazu ein Skript welches direkt in der Syno Struktur liegt (user/etc/)? Der Sicherheitsberater hat bei mir rum gemeckert, dass er ein "bösartiges Skript" gefunden hat.

          Grüße,
          Joscha

          andreA Offline
          andreA Offline
          andre
          Developer
          schrieb am zuletzt editiert von
          #2064

          @jogge sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

          Muss ich da vielleicht irgendwo noch mein Passwort für den Admin eintragen?

          Ich wüsste nicht wo.

          @jogge sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

          Du hast doch mittlerweile das Mapping und die Vergabe der Rechte für ein USB Device bei Neustart des Containers automatisiert, wenn man die Variablen entsprechend gesetzt hat, oder?

          Ja.

          @jogge sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

          Verwendest du dazu ein Skript welches direkt in der Syno Struktur liegt (user/etc/)?

          Nein, ganz sicher nicht. Alles was der Container braucht befindet sich auch im Container.

          MfG,
          André

          Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

          1 Antwort Letzte Antwort
          0
          • N Notsches

            @hetti72 @Glasfaser

            Ich wollte mich auch noch melden.
            Ich hatte einen neuen Stick bestellt, der ist heute gekommen und er wird auf ACM0 erkannt.
            Sobald die Anleitung wieder online ist, werde ich es ausprobieren können.
            Danke und Gruß
            Notsches

            andreA Offline
            andreA Offline
            andre
            Developer
            schrieb am zuletzt editiert von
            #2065

            @Notsches sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

            Sobald die Anleitung wieder online ist, werde ich es ausprobieren können.

            Sorry, das könnte ein paar Tage dauern. Ich baue aktuell die Webseite um.

            MfG,
            André

            Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

            N 1 Antwort Letzte Antwort
            0
            • andreA andre

              @Notsches sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

              Sobald die Anleitung wieder online ist, werde ich es ausprobieren können.

              Sorry, das könnte ein paar Tage dauern. Ich baue aktuell die Webseite um.

              MfG,
              André

              N Offline
              N Offline
              Notsches
              schrieb am zuletzt editiert von
              #2066

              @andre
              Dann muss ich wohl so lange ausharren :anguished: .

              Kann man auf deiner Seite donaten? Würde gerne eine kleine Aufmerksamkeit da lassen. Steckt ja auch viel Arbeit darin "idiotensichere" Anleitungen zu machen.

              andreA 1 Antwort Letzte Antwort
              0
              • N Notsches

                @andre
                Dann muss ich wohl so lange ausharren :anguished: .

                Kann man auf deiner Seite donaten? Würde gerne eine kleine Aufmerksamkeit da lassen. Steckt ja auch viel Arbeit darin "idiotensichere" Anleitungen zu machen.

                andreA Offline
                andreA Offline
                andre
                Developer
                schrieb am zuletzt editiert von
                #2067

                @Notsches sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                Kann man auf deiner Seite donaten?

                Ja, kann man.

                Ich bin dran. Hoffe dass ich die Artikel schnell in die neue Seite überführt bekomme. Eigentlich war geplant das ohne große Downtime zu erledigen, aber da ist mir jetzt leider was dazwischen gekommen...

                MfG,
                André

                Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                N 1 Antwort Letzte Antwort
                0
                • andreA andre

                  @Notsches sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                  Kann man auf deiner Seite donaten?

                  Ja, kann man.

                  Ich bin dran. Hoffe dass ich die Artikel schnell in die neue Seite überführt bekomme. Eigentlich war geplant das ohne große Downtime zu erledigen, aber da ist mir jetzt leider was dazwischen gekommen...

                  MfG,
                  André

                  N Offline
                  N Offline
                  Notsches
                  schrieb am zuletzt editiert von
                  #2068

                  @andre
                  Kein Ding. Bin ja dankbar, dass sich jemand die Mühe für Laien überhaupt gibt.
                  Ich darf nur meine Installation nicht versauen, bis ich gelesen hab, wie man die Sicherung macht :grin:

                  1 Antwort Letzte Antwort
                  0
                  • andreA andre

                    ÜBERARBEITUNG dieses Beitrags am 15.10.2020

                    Es ist viel Wasser die Elbe hinab geflossen und auch der ioBroker unter Docker hat sich verändert, sodass dieses Thema in seine Komplexität schlicht nicht (mehr) in einen Post passt.
                    Aus diesem Grund ist das Tutorial aus diesem Post nicht mehr aktuell und wird auch nicht weiter gepflegt.
                    Für weitere Informationen zum Thema ioBroker unter Docker (mit oder ohne Synology DiskStation) stelle ich euch ab heute eine eigene Website zur Verfügung welche ich Stück für Stück mit relevanten Informationen zum Thema erweitern werde. Dieses und weitere Tutorials findet ihr ab sofort unter:

                    https://smarthome.buanet.de

                    Direktlink:
                    (https://smarthome.buanet.de/2019/05/iobroker-unter-docker-auf-der-synology-diskstation-v3/)

                    Selbstverständlich bleibt dieser Threat hier als Support-Thread geöffnet. Es wird auch von niemanden verlangt die 2000+ Post zu lesen! Trotzdem hoffe ich. dass ihr den Thread vor dem Stellen der Frage einmal durchsucht.

                    @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                    @andre

                    Danke andre , für deine kurze Stellungnahme ;)

                    @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:
                    Das kann man sicher nicht erwarten! Was ich aber beobachte ist, dass offenbar nur die Wenigsten wissen, dass man auch einen Thread durchsuchen kann. Denn dann werden aus 2100 Beiträgen plötzlich nur 20 oder 30 Posts zu einem bestimmten Thema... Immer noch
                    mühsam, aber das ist eben so!

                    Damit andere wissen was du meinst :

                    In User Einstellung aktivieren :

                    1.JPG

                    STRG + F

                    2.JPG

                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                    Original Post vom 2. Februar 2017
                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

                    Kleine Wette:

                    Ich wette, dass es möglich ist ioBroker in weniger als zwei Minuten in Betrieb zu nehmen ohne einen einzigen Befehl in eine Kommandozeile einzutippen. :)

                    Spaß beiseite, ich habe mich in den vergangenen Tagen einmal ausgiebig mit dem Virtualisierungstool Docker beschäftigt. Herausgekommen ist dieses kleine aber feine Setup inkl. einem ioBroker-Docker-Image auf Basis von Debian. Vielleicht ja eine echte Alternative zu Einplatinen-Rechnern oder Dauerlauf-PCs….

                    Vorraussetzung:

                    • Unterstütze Synology DiskStation mit installiertem Docker Paket (https://www.synology.com/de-de/dsm/app_packages/Docker)

                    Dann kann es auch schon los gehen…

                    Schritt 1: Image herunterladen

                    Öffne den Bereich "Registrierung" in der Docker-Oberfläche auf des Synology DiskStation und gebe in das Suchfeld "iobroker" ein. Markiere das Image "buanet/iobroker" und klicke auf dne Downloas-Button. Das Image wird nun heruntergeladen.

                    914_01_pull_image.jpeg
                    Schritt 2: Container aus Image erstellen

                    Öffne den Bereich "Abbild" in der Docker-Oberfläche. Hier sollte nun das Image "buanet/iobroker:latest" zur Verfügung stehen. Wähle das Image aus und klicke auf den Starten-Button.

                    914_02_image_downloaded.jpeg
                    Es öffnet sich ein Wizard zum Erstellen eines Containers. Vergebe einen Containernamen und klicke auf den Button "Erweiterte Einstellungen".

                    914_03_container_wizard.jpeg
                    In den Erweiterten Einstellungen wähle das Kontrollkästchen "Automatischen Neustart aktivieren" aus um sicherzustellen, dass der Container sich im Fehlerfall selbstständig neu startet.

                    914_04_container_wizard_advanced1.jpeg
                    Unter Netzwerk wähle "Dasselbe Netzwerk wie Docker Host verwenden". Diese Einstellung sorgt dafür, dass siche ioBroker später "anfühlt" als würde es direkt auf der DiskStation laufen und vermeidet Probleme mit dem Hostnamen.

                    914_05_container_wizard_advanced2.jpeg
                    Schließe die Erweiterten Einstellungen mit OK, und klicke den Weiter-Button. In der Zusammenfassung sind nochmals alle Einstellungen aufgeführt. Klicke auf "Übernehmen".

                    914_06_container_wizard_end.jpeg
                    Schritt 3: Container überprüfen

                    Öffne den Bereich "Container" in der Docker-Oberfläche. Hier sollte nun der erstellte Container erscheinen. Prüfe ob der Container eingeschaltet ist und sich im Status "Läuft" befindet.

                    914_07_container_started.jpeg
                    Wähle den Container aus und klicke auf "Details".

                    914_08_container_details1.jpeg
                    Unter "Prozess" siehst du ob ioBroker erfolgreich gestartet ist. Falls dem so ist, sieht es ungefähr so aus:

                    914_09_container_details2.jpeg
                    Unter "Terminal" hast du direkten Zugriff auf die Kommandozeile des Containers. Sollte die Kommandozeile leer sein, klicke in das große graue Feld und drücke Enter. Nun sollte es wie folgt aussehen:

                    914_10_container_details3.jpeg
                    Über die Kommandozeile kannst du nun z.B. optionale Softwarepakete nachinstallieren (manche Adapter/ Funktionen benötigen das) oder auch mit den bekannten Befehlen deine ioBroker-Installation steuern, wie z.B. einen Neustart des Dienstes:

                    cd /opt/iobroker
                    iobroker stop
                    iobroker start
                    

                    Schritt 4: ioBroker Weboberfläche öffnen

                    Wenn der Container ordnungsgemäß eingerichtet und gestartet ist, sollte deine neue ioBroker-Installation nun über das Webinterface erreichbar sein. Öffne dazu einfach den entsprechenden Pfad in einem Webbrowser:

                    http://[name_oder_ip_der_diskstation]:8081
                    

                    Als kleines Goodie obendrauf, hier die Anleitung nochmal als kleines Video: https://www.youtube.com/watch?v=G-A3Q1Pq0YQ

                    Ich habe meine ioBroker Installation vor 2 Tagen auf Docker umgezogen. Bisher keine Probleme.

                    Aktuell habe ich noch kein automatisiertes Backup aktiv (muss noch ein Script schreiben). Manuell lässt sich der ioBroker Container ganz einfach über die Docker-Öberfläche sichern: Bereich "Container", ioBroker Container auswählen, unter "Einstellungen" > "Export" wählen und "Containerinhalt und -einstellungen exportieren". Dann lässt sich das Backup direkt auf der Synology ablegen.

                    MfG,

                    André

                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                    Hinzugefügt am 08.03.2017
                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

                    Es gibt ein neues Docker-Image im Docker Hub (sobald es fertig generiert ist). Darin enthalten jetzt ein Fix für die Zeitzone. Es sollte ab sofort automatisch Europe/Berlin eingestellt sein.

                    Außerdem habe ich ein bisschen rum experimentiert und es jetzt ermöglicht auch Updates des Docker Images einfach einspielen zu können. Dazu liegt mein ioBroker-Verzeichnis jetzt direkt auf der Synology und wird nur in den Container gemountet. Dies ermöglicht es nun den Container aus zu tauschen und meine ioBroker-Installation bei zu behalten.

                    Das Ganze betrachte ich jetzt mal als Thema für "Fortgeschrittene" weshalb ich meine Anleitung jetzt auch ein wenig kürzer fasse.

                    Advanced Schritt 1.

                    ioBroker-Verzeichnis "erstellen" (oder halt ein eigenes Backup nehmen):

                    Damit wir ein lauffähiges ioBroker-Verzeichnis bekommen muss einmal ein Container nach der obigen Anleitung erstellt werden. Läuft der Container, kann man über die Kommandozeile einfach ioBroker stoppen und das komplette ioBroker-Verzeichnis aus dem Container heraus auf die Synology kopieren, z.B. in den Ordner /volume1/docker/iobroker.

                    Ich habe dazu den ioBroker-Ordner im Container in ein .tar-Verzeichnis gepackt, über ein gemountetes Verzeichnis auf die Synology kopiert und dort wieder entpackt.

                    Advanced Schritt 2.

                    Den Container aus Advanced Schritt 1 löschen und einen neuen erstellen (gerade gesehen, man muss nicht löschen, man kann auch bearbeiten). In Schritt zwei der "einfachen" Anleitung vor dem Schließen der erweiterten Einstellungen die Registerkarte "Volume" öffnen und den Pfad /opt/iobroker im Container auf den Pfad im Dateisystem der Synology (z.B. /docker/iobroker) mounten. So sieht das aus:

                    914_volume.png
                    Wichtig: Der Ordner auf der Synology muss sich in einem "gemeinsamen Ordner" befinden welcher über die Oberfläche des DiskStation angelegt worden ist. Bei mir ist das der Ordner "docker" (Im Filesystem der DiskStation also /volume1/docker).

                    Advanced Schritt 3.

                    Weiter wie in der Anleitung oben.

                    Wir sollten nun einen Docker-Container haben, der für das ioBroker-Verzeichnis auf das Dateisystem der DiskStation zugreift.

                    Falls es nun vielleicht ein Update des Images gibt, können wir das Image einfach herunter laden, den alten Container deaktivieren oder löschen und wie beschrieben einen neuen Container mit gemountetem Verzeichnis aus dem neuen Image erstellen. Die ioBroker Installation bleibt davon unberührt (auf der DiskStation).

                    S Offline
                    S Offline
                    stevie77
                    schrieb am zuletzt editiert von
                    #2069

                    Ich habe mir einen USB-Stick für wireless M-Bus angeschafft. Da muss man wohl irgendwie einen Treiber im wM-Bus-Adapter angeben, der lautet bei mir (Raspi 4B mit ioBroker per Docker-Container) mutmaßlich /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0.

                    Fehlermeldung ist folgende, wohl weil der Pfad im Container nicht bekannt ist:

                    wm-bus.0	2020-09-19 01:05:46.695	error	(4055) Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
                    wm-bus.0	2020-09-19 01:05:46.584	info	(4055) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.wm-bus, node: v10.21.0, js-controller: 3.1.6
                    

                    Muss ich das Verzeichnis /dev/serial/by-id per Volume-Mapping in den Container durchleiten? Funktioniert das wie ein Verzeichnis mappen? Also so:

                    volumes:
                          - "/home/pi/docker-data/iobroker-data:/opt/iobroker"
                          - "/home/pi/docker-data/e3dc-control/config:/home/iobroker/e3dc-config-transfer"
                          - "/dev/serial/by-id:/opt/iobroker"
                    

                    Und dann gebe ich dafür /opt/iobroker/usb-SHK_NANO_CUL_433-if00-port0 im Adapter an?

                    haselchenH andreA 2 Antworten Letzte Antwort
                    0
                    • S stevie77

                      Ich habe mir einen USB-Stick für wireless M-Bus angeschafft. Da muss man wohl irgendwie einen Treiber im wM-Bus-Adapter angeben, der lautet bei mir (Raspi 4B mit ioBroker per Docker-Container) mutmaßlich /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0.

                      Fehlermeldung ist folgende, wohl weil der Pfad im Container nicht bekannt ist:

                      wm-bus.0	2020-09-19 01:05:46.695	error	(4055) Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
                      wm-bus.0	2020-09-19 01:05:46.584	info	(4055) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.wm-bus, node: v10.21.0, js-controller: 3.1.6
                      

                      Muss ich das Verzeichnis /dev/serial/by-id per Volume-Mapping in den Container durchleiten? Funktioniert das wie ein Verzeichnis mappen? Also so:

                      volumes:
                            - "/home/pi/docker-data/iobroker-data:/opt/iobroker"
                            - "/home/pi/docker-data/e3dc-control/config:/home/iobroker/e3dc-config-transfer"
                            - "/dev/serial/by-id:/opt/iobroker"
                      

                      Und dann gebe ich dafür /opt/iobroker/usb-SHK_NANO_CUL_433-if00-port0 im Adapter an?

                      haselchenH Offline
                      haselchenH Offline
                      haselchen
                      Most Active
                      schrieb am zuletzt editiert von haselchen
                      #2070

                      Ich betreibe einen Conbee2 und Iobroker im Docker sowie Deconz.
                      Nun wird online diese Firmware angeboten
                      1d926bf8-0cbb-4fb5-9f9a-f15b71faad90-grafik.png

                      Über den Flasher für Docker (Deconz) bekomme ich aber noch eine Alte angezeigt, die ich momentan auch installiert habe.
                      f03b448a-602a-42aa-8a51-ee4ff65ed3db-grafik.png

                      Wie komme ich nun für Docker an die aktuelle FW bzw. wie ich installiere ich sie?

                      Edit: Mit einem Trick gelöst.
                      https://flemmingss.com/how-to-update-conbee-conbee-ii-firmware-in-windows-10/

                      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                      1 Antwort Letzte Antwort
                      1
                      • KnallochseK Knallochse

                        Ich habe mich auch mal an die V5 (aktuelle Beta) gewagt.
                        Erstmalig habe ich den Weg über ein leeres Verzeichnis mit einem Backup-File gewählt.
                        Hat dann gut 1 Stunde gedauert, bis alles installiert war.

                        Auf den ersten (vielleicht auch schon 2.) Blick scheint alles wie gewohnt zu funktionieren.

                        Vielen Dank an @andre für deine Arbeit.

                        Bei der Adapterinstallation ist mir folgendes aufgefallen:
                        Es wird bei jedem Adapter folgender Fehler angezeigt

                        NPM version: 6.14.5
                        npm install iobroker.hm-rpc@1.14.14 --loglevel error --prefix "/opt/iobroker" (System call)
                        In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                        ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                        ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                        ../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                        ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r
                        ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                        In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                        gyp
                         ERR! build error 
                        gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp
                         ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                        

                        Wie gesagt, es läuft alles und auch die Adapter werden aktualisiert.
                        Ich würde nur gern Wissen, was die Fehler bedeuten und wie ich das Problem beseitigen kann.

                        GlasfaserG Online
                        GlasfaserG Online
                        Glasfaser
                        schrieb am zuletzt editiert von
                        #2071

                        @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                        Ich habe mich auch mal an die V5 (aktuelle Beta) gewagt.
                        Erstmalig habe ich den Weg über ein leeres Verzeichnis mit einem Backup-File gewählt.
                        Hat dann gut 1 Stunde gedauert, bis alles installiert war.
                        ....
                        Bei der Adapterinstallation ist mir folgendes aufgefallen:
                        Es wird bei jedem Adapter folgender Fehler angezeigt

                        NPM version: 6.14.5
                        
                        npm install iobroker.hm-rpc@1.14.14 --loglevel error --prefix "/opt/iobroker" (System call)
                        
                        In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                        
                        ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        
                        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        
                        ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                        
                        ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                        
                        ../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                        
                        ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r
                        
                        ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                        
                        In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        
                        ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        
                        make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                        
                        gyp
                        
                        ERR! build error 
                        
                        gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp
                        
                        ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                        

                        Dito ... :confused:
                        wollte jetzt auch auf 5 wechseln ,mit einem Backup (Backitup), habe aber den gleichen Fehler bei jedem Update/Installation von Adaptern ,
                        tritt immer diese Fehlermeldung mit auf.

                        /authenticate_pam .....
                        

                        das gleich Problem ist auch bei der 5 Beta .

                        2020-09-19 20:28:09.713  - info: host.iobroker iobroker upgrade vis
                        2020-09-19 20:28:11.964  - info: host.iobroker iobroker Update vis from @1.2.12 to @1.3.1
                        2020-09-19 20:28:12.511  - info: host.iobroker iobroker NPM version: 6.14.6
                        2020-09-19 20:28:12.514  - info: host.iobroker iobroker npm install iobroker.vis@1.3.1 --loglevel error --prefix "/opt/iobroker" (System call)
                        2020-09-19 20:29:03.562  - info: host.iobroker iobroker In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                        2020-09-19 20:29:03.626  - info: host.iobroker iobroker ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        2020-09-19 20:29:03.630  - info: host.iobroker iobroker ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                        2020-09-19 20:29:03.641  - info: host.iobroker iobroker ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                        2020-09-19 20:29:03.649  - info: host.iobroker iobroker In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        2020-09-19 20:29:03.863  - info: host.iobroker iobroker make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                        2020-09-19 20:29:03.868  - info: host.iobroker iobroker gyp
                        2020-09-19 20:29:03.871  - info: host.iobroker iobroker  ERR! build error 
                        2020-09-19 20:29:03.875  - info: host.iobroker iobroker gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR!
                        2020-09-19 20:29:03.878  - info: host.iobroker iobroker  not ok 
                        2020-09-19 20:29:05.221  - info: vis.0 (715) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.vis, node: v12.18.4, js-controller: 3.1.6
                        2020-09-19 20:29:05.361  - info: vis.0 (715) vis license is OK.
                        
                        
                        2020-09-19 19:20:58.210  - warn: host.iobroker startInstance cannot find adapter "weatherunderground@3.2.1". Try to install it... 1 attempt
                        2020-09-19 19:20:58.210  - info: host.iobroker iobroker install weatherunderground@3.2.1 using installedFrom
                        2020-09-19 19:20:59.760  - info: host.iobroker iobroker npm-install: adapter "weatherunderground" already installed. Use "upgrade" to upgrade to a newer version.
                        2020-09-19 19:21:00.768  - info: host.iobroker iobroker npm-install: exit 51
                        2020-09-19 19:21:02.234  - warn: host.iobroker startInstance cannot find adapter "web@3.0.13". Try to install it... 1 attempt
                        2020-09-19 19:21:02.235  - info: host.iobroker iobroker install web@3.0.13 using installedFrom
                        2020-09-19 19:21:04.533  - info: host.iobroker iobroker npm-install: NPM version: 6.14.6
                        2020-09-19 19:21:04.535  - info: host.iobroker iobroker npm-install: npm install iobroker.web@3.0.13 --loglevel error --prefix "/opt/iobroker" (System call)
                        2020-09-19 19:21:37.120  - info: host.iobroker iobroker npm-install: In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                        2020-09-19 19:21:37.179  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                        2020-09-19 19:21:37.184  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                        2020-09-19 19:21:37.187  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                        2020-09-19 19:21:37.192  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                        2020-09-19 19:21:37.197  - info: host.iobroker iobroker npm-install: In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        2020-09-19 19:21:37.201  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                        2020-09-19 19:21:37.407  - info: host.iobroker iobroker npm-install: make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                        2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install: gyp
                        2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install:  
                        2020-09-19 19:21:37.413  - info: host.iobroker iobroker npm-install: ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.4
                        2020-09-19 19:21:37.415  - info: host.iobroker iobroker npm-install: gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                        2020-09-19 19:21:44.980  - info: host.iobroker iobroker npm-install: host.iobroker install adapter web@3.0.13
                        
                        

                        Was habe ich schon gemacht :
                        Das Grundgerüst von der 5 Version : Node/Nodejs 12.18.3 NPM 6.14.6
                        auf ...
                        vor dem einspielen des Backup auf Node/Nodejs 12.18.4 / NPM 6.14.6 aktualisiert.

                        Egal ob das Grundgerüst mit Node/Nodejs/NPM bei einem aufspielen des Backup oder zuvor aktualisieren , bleibt immer dieser Fehler bei jedem Update/Installation von Adaptern .

                        @dtp sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                        Hallo,

                        ich habe die 5.0.0 seit einigen Tagen im Host-Modus laufen. Funktioniert soweit. Heute wollte ich allerdings einen Adapter neu installieren. Dabei bekam ich dann folgende Anzeigen:

                        2020-07-10 18-22-03.png

                        Und diese Meldung wie bei @dtp bekomme ich auch , hat aber nichts mit dem Host zu tun !

                        iobroker npm-install: Cannot detect "sudo -n apt-get -v"
                        

                        @andre
                        Hast du eine Idee was diese Fehler sein könnten , habe schon alles soweit mögliche ausgeschöpft.

                        Meine Vermutung ist , wie bei @Knallochse nach dem einspielen eines Backup´s tritt erst der Fehler auf .

                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                        KnallochseK 1 Antwort Letzte Antwort
                        1
                        • GlasfaserG Glasfaser

                          @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                          Ich habe mich auch mal an die V5 (aktuelle Beta) gewagt.
                          Erstmalig habe ich den Weg über ein leeres Verzeichnis mit einem Backup-File gewählt.
                          Hat dann gut 1 Stunde gedauert, bis alles installiert war.
                          ....
                          Bei der Adapterinstallation ist mir folgendes aufgefallen:
                          Es wird bei jedem Adapter folgender Fehler angezeigt

                          NPM version: 6.14.5
                          
                          npm install iobroker.hm-rpc@1.14.14 --loglevel error --prefix "/opt/iobroker" (System call)
                          
                          In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                          
                          ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                          
                          ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                          
                          ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                          
                          ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          
                          ../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                          
                          ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r
                          
                          ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                          
                          In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                          
                          ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                          
                          make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                          
                          gyp
                          
                          ERR! build error 
                          
                          gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp
                          
                          ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                          

                          Dito ... :confused:
                          wollte jetzt auch auf 5 wechseln ,mit einem Backup (Backitup), habe aber den gleichen Fehler bei jedem Update/Installation von Adaptern ,
                          tritt immer diese Fehlermeldung mit auf.

                          /authenticate_pam .....
                          

                          das gleich Problem ist auch bei der 5 Beta .

                          2020-09-19 20:28:09.713  - info: host.iobroker iobroker upgrade vis
                          2020-09-19 20:28:11.964  - info: host.iobroker iobroker Update vis from @1.2.12 to @1.3.1
                          2020-09-19 20:28:12.511  - info: host.iobroker iobroker NPM version: 6.14.6
                          2020-09-19 20:28:12.514  - info: host.iobroker iobroker npm install iobroker.vis@1.3.1 --loglevel error --prefix "/opt/iobroker" (System call)
                          2020-09-19 20:29:03.562  - info: host.iobroker iobroker In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                          2020-09-19 20:29:03.626  - info: host.iobroker iobroker ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                          2020-09-19 20:29:03.630  - info: host.iobroker iobroker ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          2020-09-19 20:29:03.641  - info: host.iobroker iobroker ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                          2020-09-19 20:29:03.649  - info: host.iobroker iobroker In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                          2020-09-19 20:29:03.863  - info: host.iobroker iobroker make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                          2020-09-19 20:29:03.868  - info: host.iobroker iobroker gyp
                          2020-09-19 20:29:03.871  - info: host.iobroker iobroker  ERR! build error 
                          2020-09-19 20:29:03.875  - info: host.iobroker iobroker gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR!
                          2020-09-19 20:29:03.878  - info: host.iobroker iobroker  not ok 
                          2020-09-19 20:29:05.221  - info: vis.0 (715) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.vis, node: v12.18.4, js-controller: 3.1.6
                          2020-09-19 20:29:05.361  - info: vis.0 (715) vis license is OK.
                          
                          
                          2020-09-19 19:20:58.210  - warn: host.iobroker startInstance cannot find adapter "weatherunderground@3.2.1". Try to install it... 1 attempt
                          2020-09-19 19:20:58.210  - info: host.iobroker iobroker install weatherunderground@3.2.1 using installedFrom
                          2020-09-19 19:20:59.760  - info: host.iobroker iobroker npm-install: adapter "weatherunderground" already installed. Use "upgrade" to upgrade to a newer version.
                          2020-09-19 19:21:00.768  - info: host.iobroker iobroker npm-install: exit 51
                          2020-09-19 19:21:02.234  - warn: host.iobroker startInstance cannot find adapter "web@3.0.13". Try to install it... 1 attempt
                          2020-09-19 19:21:02.235  - info: host.iobroker iobroker install web@3.0.13 using installedFrom
                          2020-09-19 19:21:04.533  - info: host.iobroker iobroker npm-install: NPM version: 6.14.6
                          2020-09-19 19:21:04.535  - info: host.iobroker iobroker npm-install: npm install iobroker.web@3.0.13 --loglevel error --prefix "/opt/iobroker" (System call)
                          2020-09-19 19:21:37.120  - info: host.iobroker iobroker npm-install: In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
                          2020-09-19 19:21:37.179  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);                                                                                       ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                          2020-09-19 19:21:37.184  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());                                                                                   ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          2020-09-19 19:21:37.187  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) {           ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                          2020-09-19 19:21:37.192  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) {           ^~~~~~           rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) {                        ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) {                          ^~~~~~~
                          2020-09-19 19:21:37.197  - info: host.iobroker iobroker npm-install: In file included from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                          2020-09-19 19:21:37.201  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                          2020-09-19 19:21:37.407  - info: host.iobroker iobroker npm-install: make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                          2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install: gyp
                          2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install:  
                          2020-09-19 19:21:37.413  - info: host.iobroker iobroker npm-install: ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.4
                          2020-09-19 19:21:37.415  - info: host.iobroker iobroker npm-install: gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                          2020-09-19 19:21:44.980  - info: host.iobroker iobroker npm-install: host.iobroker install adapter web@3.0.13
                          
                          

                          Was habe ich schon gemacht :
                          Das Grundgerüst von der 5 Version : Node/Nodejs 12.18.3 NPM 6.14.6
                          auf ...
                          vor dem einspielen des Backup auf Node/Nodejs 12.18.4 / NPM 6.14.6 aktualisiert.

                          Egal ob das Grundgerüst mit Node/Nodejs/NPM bei einem aufspielen des Backup oder zuvor aktualisieren , bleibt immer dieser Fehler bei jedem Update/Installation von Adaptern .

                          @dtp sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                          Hallo,

                          ich habe die 5.0.0 seit einigen Tagen im Host-Modus laufen. Funktioniert soweit. Heute wollte ich allerdings einen Adapter neu installieren. Dabei bekam ich dann folgende Anzeigen:

                          2020-07-10 18-22-03.png

                          Und diese Meldung wie bei @dtp bekomme ich auch , hat aber nichts mit dem Host zu tun !

                          iobroker npm-install: Cannot detect "sudo -n apt-get -v"
                          

                          @andre
                          Hast du eine Idee was diese Fehler sein könnten , habe schon alles soweit mögliche ausgeschöpft.

                          Meine Vermutung ist , wie bei @Knallochse nach dem einspielen eines Backup´s tritt erst der Fehler auf .

                          KnallochseK Nicht stören
                          KnallochseK Nicht stören
                          Knallochse
                          schrieb am zuletzt editiert von
                          #2072

                          @Glasfaser Ich habe dazu ebenfalls noch keine Lösung gefunden. Diese Fehlermeldung wird nach wie vor bei jedem Adapter Update ausgegeben. Ich habe aber noch nicht festgestellt, dass irgendwas nicht funktioniert, deshalb habe ich mich nicht weiter damit beschäftigt. (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

                          HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                          GlasfaserG 1 Antwort Letzte Antwort
                          0
                          • KnallochseK Knallochse

                            @Glasfaser Ich habe dazu ebenfalls noch keine Lösung gefunden. Diese Fehlermeldung wird nach wie vor bei jedem Adapter Update ausgegeben. Ich habe aber noch nicht festgestellt, dass irgendwas nicht funktioniert, deshalb habe ich mich nicht weiter damit beschäftigt. (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

                            GlasfaserG Online
                            GlasfaserG Online
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #2073

                            @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                            (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

                            Das habe ich auch die Tage selber gemerkt .:male-technologist: .... :thinking_face: .. :woman-bowing: ... denn ich wollte schon ein sauberes System haben .

                            Deshalb bleibe ich erstmal auf V4 und Versuche erstmal bei der V5 den Fehler zu finden .

                            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                            andreA 1 Antwort Letzte Antwort
                            0
                            • S stevie77

                              Ich habe mir einen USB-Stick für wireless M-Bus angeschafft. Da muss man wohl irgendwie einen Treiber im wM-Bus-Adapter angeben, der lautet bei mir (Raspi 4B mit ioBroker per Docker-Container) mutmaßlich /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0.

                              Fehlermeldung ist folgende, wohl weil der Pfad im Container nicht bekannt ist:

                              wm-bus.0	2020-09-19 01:05:46.695	error	(4055) Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
                              wm-bus.0	2020-09-19 01:05:46.584	info	(4055) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.wm-bus, node: v10.21.0, js-controller: 3.1.6
                              

                              Muss ich das Verzeichnis /dev/serial/by-id per Volume-Mapping in den Container durchleiten? Funktioniert das wie ein Verzeichnis mappen? Also so:

                              volumes:
                                    - "/home/pi/docker-data/iobroker-data:/opt/iobroker"
                                    - "/home/pi/docker-data/e3dc-control/config:/home/iobroker/e3dc-config-transfer"
                                    - "/dev/serial/by-id:/opt/iobroker"
                              

                              Und dann gebe ich dafür /opt/iobroker/usb-SHK_NANO_CUL_433-if00-port0 im Adapter an?

                              andreA Offline
                              andreA Offline
                              andre
                              Developer
                              schrieb am zuletzt editiert von
                              #2074

                              @stevie77 Nein, nicht als Volume. Schau mal, in etwa so:

                                  devices:
                                    - /dev/serial/by-id/[deviceid]:/dev/serial/by-id/[deviceid]
                                  environment:
                                    - USBDEVICES=/dev/serial/by-id/[deviceid]
                              

                              Dann den Pfad in Adapter angeben.
                              Würde jetzt gerne auf eines meiner Tutorials verweisen, aber meine Site ist aktuell down....

                              MfG,
                              André

                              Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                              S 1 Antwort Letzte Antwort
                              0
                              • GlasfaserG Glasfaser

                                @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

                                Das habe ich auch die Tage selber gemerkt .:male-technologist: .... :thinking_face: .. :woman-bowing: ... denn ich wollte schon ein sauberes System haben .

                                Deshalb bleibe ich erstmal auf V4 und Versuche erstmal bei der V5 den Fehler zu finden .

                                andreA Offline
                                andreA Offline
                                andre
                                Developer
                                schrieb am zuletzt editiert von andre
                                #2075

                                @Glasfaser @Knallochse
                                Host Modus auf Synology Disk Station?

                                MfG,
                                André

                                Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                                GlasfaserG 1 Antwort Letzte Antwort
                                0
                                • andreA andre

                                  @Glasfaser @Knallochse
                                  Host Modus auf Synology Disk Station?

                                  MfG,
                                  André

                                  GlasfaserG Online
                                  GlasfaserG Online
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #2076

                                  @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                  Host Modus

                                  Ja ...

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  andreA 1 Antwort Letzte Antwort
                                  0
                                  • GlasfaserG Glasfaser

                                    @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                    Host Modus

                                    Ja ...

                                    andreA Offline
                                    andreA Offline
                                    andre
                                    Developer
                                    schrieb am zuletzt editiert von
                                    #2077

                                    @Glasfaser Das Einzige was mir da einfällt ist das bekannte sudo-Problem im Host Modus auf den Disk Stations...
                                    Den Fehler selbst kann ich nicht zu 100% einordnen. Da aber PAM was mit der Authentifizierung auf Linux Ebene zu tun hat, wäre ein Zusammenhang denkbar...

                                    Versucht doch mal euren neuen Container mit einem Bride Netzwerk zu erstellen und schaut ob dann alles durch läuft. Falls ja, dann einfach den Container löschen und das neu gefüllte ioBroker Verzeichnis in einen neuen Container mit mit Host Netzwerk mounten...

                                    MfG,
                                    André

                                    Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                                    GlasfaserG KnallochseK 3 Antworten Letzte Antwort
                                    0
                                    • andreA andre

                                      @Glasfaser Das Einzige was mir da einfällt ist das bekannte sudo-Problem im Host Modus auf den Disk Stations...
                                      Den Fehler selbst kann ich nicht zu 100% einordnen. Da aber PAM was mit der Authentifizierung auf Linux Ebene zu tun hat, wäre ein Zusammenhang denkbar...

                                      Versucht doch mal euren neuen Container mit einem Bride Netzwerk zu erstellen und schaut ob dann alles durch läuft. Falls ja, dann einfach den Container löschen und das neu gefüllte ioBroker Verzeichnis in einen neuen Container mit mit Host Netzwerk mounten...

                                      MfG,
                                      André

                                      GlasfaserG Online
                                      GlasfaserG Online
                                      Glasfaser
                                      schrieb am zuletzt editiert von
                                      #2078

                                      @andre
                                      Werde ich in den nächsten Tagen mal ausprobieren .
                                      Danke erstmal ....

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      1 Antwort Letzte Antwort
                                      0
                                      • andreA andre

                                        @Glasfaser Das Einzige was mir da einfällt ist das bekannte sudo-Problem im Host Modus auf den Disk Stations...
                                        Den Fehler selbst kann ich nicht zu 100% einordnen. Da aber PAM was mit der Authentifizierung auf Linux Ebene zu tun hat, wäre ein Zusammenhang denkbar...

                                        Versucht doch mal euren neuen Container mit einem Bride Netzwerk zu erstellen und schaut ob dann alles durch läuft. Falls ja, dann einfach den Container löschen und das neu gefüllte ioBroker Verzeichnis in einen neuen Container mit mit Host Netzwerk mounten...

                                        MfG,
                                        André

                                        KnallochseK Nicht stören
                                        KnallochseK Nicht stören
                                        Knallochse
                                        schrieb am zuletzt editiert von
                                        #2079

                                        @andre bei mir läuft der Docker auch im Host-Modus

                                        HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                                        1 Antwort Letzte Antwort
                                        0
                                        • andreA andre

                                          @Glasfaser Das Einzige was mir da einfällt ist das bekannte sudo-Problem im Host Modus auf den Disk Stations...
                                          Den Fehler selbst kann ich nicht zu 100% einordnen. Da aber PAM was mit der Authentifizierung auf Linux Ebene zu tun hat, wäre ein Zusammenhang denkbar...

                                          Versucht doch mal euren neuen Container mit einem Bride Netzwerk zu erstellen und schaut ob dann alles durch läuft. Falls ja, dann einfach den Container löschen und das neu gefüllte ioBroker Verzeichnis in einen neuen Container mit mit Host Netzwerk mounten...

                                          MfG,
                                          André

                                          GlasfaserG Online
                                          GlasfaserG Online
                                          Glasfaser
                                          schrieb am zuletzt editiert von Glasfaser
                                          #2080

                                          @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                          @Glasfaser .... bekannte sudo-Problem im Host Modus auf den Disk Stations...
                                          Den Fehler selbst kann ich nicht zu 100% einordnen.
                                          ..... Authentifizierung auf Linux Ebene ....

                                          .... neuen Container mit einem Bride Netzwerk zu erstellen .....

                                          So ,gestern Nacht ein Container neu angestoßen im Bridge Modus und ein Backup aufgespielt .

                                          iobroker npm-install: Cannot detect "sudo -n apt-get -v"
                                          

                                          dieser Fehler mit "Sudo" taucht schonmal nicht mehr auf .... ein schonmal weniger.

                                          Es bleibt trotzdem der Fehler mit

                                          ../authenticate_pam
                                          

                                          Ich habe schon wie oben erwähnt sehr oft versucht ein Backup einzuspielen , dabei ist mir leider keine regelmäßigkeit aufgefallen ,
                                          das man sagen kann es tritt bei einem bestimmten Adapterupdate auf .

                                          Diese Fehlermelldung wird bei jedem Adapter Update ausgeworfen .

                                          host.ab93fe95e814	2020-09-21 05:51:47.201	info	iobroker Update "system.adapter.linux-control.0"
                                          host.ab93fe95e814	2020-09-21 05:51:47.066	info	iobroker upload [20] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/words.js words.js application/javascript
                                          host.ab93fe95e814	2020-09-21 05:51:13.730	info	iobroker make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
                                          host.ab93fe95e814	2020-09-21 05:51:13.501	info	iobroker ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) { ^~~~~~ rand_r../authenticate_pam.cc:170:24: error: expected prima
                                          host.ab93fe95e814	2020-09-21 05:51:13.466	info	iobroker ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Lo
                                          host.ab93fe95e814	2020-09-21 05:51:13.453	info	iobroker ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<
                                          host.ab93fe95e814	2020-09-21 05:51:13.374	info	iobroker In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible funct
                                          host.ab93fe95e814	2020-09-21 05:50:08.377	info	iobroker npm install iobroker.linux-control@0.3.7 --loglevel error --prefix "/opt/iobroker" (System call)
                                          host.ab93fe95e814	2020-09-21 05:50:08.375	info	iobroker NPM version: 6.14.6
                                          host.ab93fe95e814	2020-09-21 05:50:07.343	info	iobroker Update linux-control from @0.3.4 to @0.3.7
                                          

                                          2020-09-20 22:58:06.154 - warn: host.ab93fe95e814 startInstance cannot find adapter "text2command@2.0.3". Try to install it... 1 attempt
                                          2020-09-20 22:58:06.154 - info: host.ab93fe95e814 iobroker install text2command@2.0.3 using installedFrom
                                          2020-09-20 22:58:10.508 - info: host.ab93fe95e814 iobroker npm-install: NPM version: 6.14.6npm install iobroker.text2command@2.0.3 --loglevel error --prefix "/opt/iobroker" (System call)
                                          2020-09-20 22:58:40.359 - info: host.ab93fe95e814 iobroker npm-install: In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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(AsyncExecuteComplete) ^
                                          2020-09-20 22:58:40.413 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args); ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~
                                          2020-09-20 22:58:40.414 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:107:87: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args); ^In file included from ../authenticate_pam.cc:23:../../nan/nan.h:1026:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~
                                          2020-09-20 22:58:40.416 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:../authenticate_pam.cc:147:83: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local res = options->Get(Nan::New("serviceName").ToLocalChecked()); ^
                                          2020-09-20 22:58:40.417 - info: host.ab93fe95e814 iobroker npm-install: In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’ serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                                          2020-09-20 22:58:40.418 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:152:69: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] res = options->Get(Nan::New("remoteHost").ToLocalChecked()); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’ remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                                          2020-09-20 22:58:40.420 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’ username->WriteUtf8(m->username, sizeof(m->username) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’ password->WriteUtf8(m->password, sizeof(m->password) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                                          2020-09-20 22:58:40.422 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle exports) { ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                                          2020-09-20 22:58:40.425 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle exports) { ^~~~~~ rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle exports) { ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle exports) { ^~~~~~~
                                          2020-09-20 22:58:40.430 - info: host.ab93fe95e814 iobroker npm-install: In file included from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init); ^~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                                          2020-09-20 22:58:40.434 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init); ^~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~
                                          2020-09-20 22:58:40.638 - info: host.ab93fe95e814 iobroker npm-install: make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                                          2020-09-20 22:58:40.640 - info: host.ab93fe95e814 iobroker npm-install: gyp
                                          2020-09-20 22:58:40.641 - info: host.ab93fe95e814 iobroker npm-install: ERR! build error
                                          2020-09-20 22:58:40.643 - info: host.ab93fe95e814 iobroker npm-install: gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
                                          2020-09-20 22:58:40.644 - info: host.ab93fe95e814 iobroker npm-install: stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                          2020-09-20 22:58:40.645 - info: host.ab93fe95e814 iobroker npm-install: gyp ERR! System Linux 4.4.59+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/authenticate-pamgyp ERR! node -v v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                                          2020-09-20 22:58:47.052 - info: host.ab93fe95e814 iobroker npm-install: host.ab93fe95e814 install adapter text2command@2.0.3
                                          2020-09-20 22:58:47.193 - info: host.ab93fe95e814 iobroker npm-install: upload [19] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/text2command.png text2command.png image/png
                                          2020-09-20 22:58:47.369 - info: host.ab93fe95e814 iobroker npm-install: upload [18] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/tab.html tab.html text/html
                                          2020-09-20 22:58:47.428 - info: host.ab93fe95e814 iobroker npm-install: upload [17] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/style.css style.css text/css
                                          2020-09-20 22:58:47.488 - info: host.ab93fe95e814 iobroker npm-install: upload [16] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/runtime-main.18c1711a.js.map static/js/runtime-main.18c1711a.js.map application/json
                                          2020-09-20 22:58:47.550 - info: host.ab93fe95e814 iobroker npm-install: upload [15] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/runtime-main.18c1711a.js static/js/runtime-main.18c1711a.js application/javascript
                                          2020-09-20 22:58:47.612 - info: host.ab93fe95e814 iobroker npm-install: upload [14] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/main.89e78f79.chunk.js.map static/js/main.89e78f79.chunk.js.map application/json
                                          2020-09-20 22:58:47.687 - info: host.ab93fe95e814 iobroker npm-install: upload [13] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/main.89e78f79.chunk.js static/js/main.89e78f79.chunk.js application/javascript
                                          2020-09-20 22:58:47.764 - info: host.ab93fe95e814 iobroker npm-install: upload [12] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js.map static/js/2.e822edab.chunk.js.map application/json
                                          2020-09-20 22:58:47.973 - info: host.ab93fe95e814 iobroker npm-install: upload [11] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js.LICENSE.txt static/js/2.e822edab.chunk.js.LICENSE.txt text/plain
                                          2020-09-20 22:58:48.047 - info: host.ab93fe95e814 iobroker npm-install: upload [10] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js static/js/2.e822edab.chunk.js application/javascript
                                          2020-09-20 22:58:48.154 - info: host.ab93fe95e814 iobroker npm-install: upload [9] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/main.f4a3434e.chunk.css.map static/css/main.f4a3434e.chunk.css.map application/json
                                          2020-09-20 22:58:48.213 - info: host.ab93fe95e814 iobroker npm-install: upload [8] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/main.f4a3434e.chunk.css static/css/main.f4a3434e.chunk.css text/css
                                          2020-09-20 22:58:48.271 - info: host.ab93fe95e814 iobroker npm-install: upload [7] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/2.b4e30640.chunk.css.map static/css/2.b4e30640.chunk.css.map application/json
                                          2020-09-20 22:58:48.328 - info: host.ab93fe95e814 iobroker npm-install: upload [6] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/2.b4e30640.chunk.css static/css/2.b4e30640.chunk.css text/css
                                          2020-09-20 22:58:48.384 - info: host.ab93fe95e814 iobroker npm-install: upload [5] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/service-worker.js service-worker.js application/javascript
                                          2020-09-20 22:58:48.442 - info: host.ab93fe95e814 iobroker npm-install: upload [4] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/precache-manifest.322d61ee69568eaf7400d0c2589da9c9.js precache-manifest.322d61ee69568eaf7400d0c2589da9c9.js application/javascript
                                          2020-09-20 22:58:48.499 - info: host.ab93fe95e814 iobroker npm-install: upload [3] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/manifest.json manifest.json application/json
                                          2020-09-20 22:58:48.581 - info: host.ab93fe95e814 iobroker npm-install: upload [2] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/langModel.js langModel.js application/javascript
                                          2020-09-20 22:58:48.659 - info: host.ab93fe95e814 iobroker npm-install: upload [1] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                                          2020-09-20 22:58:48.721 - info: host.ab93fe95e814 iobroker npm-install: upload [0] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/asset-manifest.json asset-manifest.json application/json
                                          2020-09-20 22:58:48.813 - info: host.ab93fe95e814 iobroker npm-install: host.ab93fe95e814 object system.adapter.text2command created/updated
                                          2020-09-20 22:58:49.949 - info: host.ab93fe95e814 iobroker npm-install: exit 0
                                          2020-09-20 22:58:50.962 - warn: host.ab93fe95e814 startInstance cannot find adapter "tr-064@4.0.13". Try to install it... 1 attempt
                                          2020-09-20 22:58:50.962 - info: host.ab93fe95e814 iobroker install tr-064@4.0.13 using installedFrom
                                          2020-09-20 22:58:53.452 - info: host.ab93fe95e814 iobroker npm-install: NPM version: 6.14.6
                                          

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          Thomas BraunT 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

                                          564

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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