Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sven2013 last edited by

      Also ich habe das gefühl, dass mein Mounten irgendeinen Fehler enthält.

      Also im Ordnerverlauf.

      Ich habe im docker Ordner einen:

      iobroker

      darin dann

      opt

      darin dann

      iobroker

      darin dann

      die dateien von Iobroker inkl. Startup.sh

      soweit Ok?

      dann im Mount des Volumes eingetragen

      links: docker/iobroker

      rechts: /opt/iobroker

      stimmt das alles soweit?

      Gruß sven

      1 Reply Last reply Reply Quote 0
      • andre
        andre Developer last edited by

        Ich bin verwirrt. Also du solltest im Container unter /opt/iobroker direkt die startup.sh liegen haben. In der selben Ebene auch die weiteren Dateien von iobroker.

        Auf der DS liegt es bei dir ja scheinbar (auf irgendeinem volume) unter docker/iobroker. Auch hier sollte dann direkt die startup.sh und die weiteren Dateien liegen.

        Was beim mounten links und rechts ist weiß ich aus dem Kopf nicht. Die Pfade sehen aber gut aus. Ich mache dir aber gerne morgen ein paar Screenshots…

        MfG,

        André

        Gesendet von Unterwegs mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • andre
          andre Developer last edited by

          Hallo Sven,

          hier meine versprochenen Screenshots. Zuerst einmal die Mount-Einstellungen vom Container:
          914_mount.jpg
          Nicht verwirren lassen, ich habe noch einen zweiten Ordner (transfer) eingebunden. Links der Pfad auf der DS, rechts der Pfad im Container.

          Dann einmal der Ordnerinhalt abgefragt über das Terminal des Containers:
          914_iobroker_im_container.jpg
          Und zu guter Letzt auch noch ein Blick auf den Pfad auf der DS über die "File Station":
          914_iobroker_auf_ds.jpg
          Bei mir auf der DS liegt der iobroker Ordner eine Ebene tiefer als bei dir, unter docker/mount/iobroker.

          Hoffe das hilft.

          MfG,

          André

          1 Reply Last reply Reply Quote 0
          • T
            trosses last edited by

            wie kann ich git installieren wenn ich nun den harmony adapter installieren will meckert er wegen git sei nicht vorhanden ;(

            1 Reply Last reply Reply Quote 0
            • andre
              andre Developer last edited by

              @trosses:

              wie kann ich git installieren wenn ich nun den harmony adapter installieren will meckert er wegen git sei nicht vorhanden ;( `
              Eigentlich ist git dabei… Ansonsten ganz normal, wie unter Linux üblich per

              apt-get install git
              

              meine ich…

              MfG,

              André

              Gesendet von Unterwegs mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • T
                trosses last edited by

                ! ````
                iobroker 2017-06-12 19:26:33.563 info exit 13
                iobroker 2017-06-12 19:26:33.534 error host.Syndeste Cannot install harmony
                iobroker 2017-06-12 19:26:33.524 info host.Syndeste install adapter harmony
                iobroker 2017-06-12 19:26:33.491 info npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2017-06-12T17_26_33_422Z-debug.log
                iobroker 2017-06-12 19:26:33.487 info
                iobroker 2017-06-12 19:26:33.412 info npm ERR! Please check if you have git installed and in your PATH.
                iobroker 2017-06-12 19:26:33.393 info Failed using git.
                iobroker 2017-06-12 19:26:33.387 info ERR!
                iobroker 2017-06-12 19:26:33.382 info
                iobroker 2017-06-12 19:26:33.377 info npm
                iobroker 2017-06-12 19:26:33.369 info
                iobroker 2017-06-12 19:26:33.354 info ERR!
                iobroker 2017-06-12 19:26:33.349 info
                iobroker 2017-06-12 19:26:33.342 info npm
                iobroker 2017-06-12 19:26:33.336 info No git binary found in $PATH
                iobroker 2017-06-12 19:26:33.329 info ERR!
                iobroker 2017-06-12 19:26:33.324 info
                iobroker 2017-06-12 19:26:33.320 info npm
                iobroker 2017-06-12 19:26:33.309 info npm ERR! code ENOGIT
                iobroker 2017-06-12 19:26:26.634 info node-xmpp-stanza@1.1.0: use @xmpp/xml package
                iobroker 2017-06-12 19:26:26.632 info deprecated
                iobroker 2017-06-12 19:26:26.630 info WARN
                iobroker 2017-06-12 19:26:26.628 info
                iobroker 2017-06-12 19:26:26.623 info npm
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.690 info node: /lib/libstdc++.so.6: no version information available (required by node)node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.676 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:26:08.646 info npm install iobroker.harmony --production --prefix "/volume1/opt/iobroker" (System call)
                iobroker 2017-06-12 19:26:08.425 info host.Syndeste install adapter harmony
                iobroker 2017-06-12 19:26:08.396 info /root/.npm/_logs/2017-06-12T17_26_08_306Z-debug.log
                iobroker 2017-06-12 19:26:08.385 info npm ERR! A complete log of this run can be found in:npm ERR!
                iobroker 2017-06-12 19:26:08.377 info
                iobroker 2017-06-12 19:26:08.280 info Please check if you have git installed and in your PATH.
                iobroker 2017-06-12 19:26:08.278 info ERR!
                iobroker 2017-06-12 19:26:08.275 info npm
                iobroker 2017-06-12 19:26:08.275 info npm ERR! Failed using git.
                iobroker 2017-06-12 19:26:08.275 info No git binary found in $PATHnpm ERR!
                iobroker 2017-06-12 19:26:08.261 info npm ERR!
                iobroker 2017-06-12 19:26:08.254 info code ENOGIT
                iobroker 2017-06-12 19:26:08.240 info ERR!
                iobroker 2017-06-12 19:26:08.238 info npm
                iobroker 2017-06-12 19:26:01.546 info node-xmpp-stanza@1.1.0: use @xmpp/xml package
                iobroker 2017-06-12 19:26:01.540 info deprecated
                iobroker 2017-06-12 19:26:01.538 info
                iobroker 2017-06-12 19:26:01.531 info WARN
                iobroker 2017-06-12 19:26:01.530 info
                iobroker 2017-06-12 19:26:01.522 info npm
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.851 info node: /lib/libstdc++.so.6: no version information available (required by node)node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.842 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:42.803 info npm install iobroker.harmony --production --prefix "/volume1/opt/iobroker" (System call)
                iobroker 2017-06-12 19:25:42.551 info host.Syndeste install adapter harmony
                iobroker 2017-06-12 19:25:42.429 info npm ERR! /root/.npm/_logs/2017-06-12T17_25_42_379Z-debug.log
                iobroker 2017-06-12 19:25:42.429 info npm ERR! A complete log of this run can be found in:
                iobroker 2017-06-12 19:25:42.388 info npm ERR! Please check if you have git installed and in your PATH.
                iobroker 2017-06-12 19:25:42.388 info npm ERR! Failed using git.
                iobroker 2017-06-12 19:25:42.388 info npm ERR! No git binary found in $PATHnpm ERR!
                iobroker 2017-06-12 19:25:42.365 info npm ERR! code ENOGIT
                iobroker 2017-06-12 19:25:35.143 info npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.482 info node: /lib/libstdc++.so.6: no version information available (required by node)node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:14.404 info npm install iobroker.harmony --production --prefix "/volume1/opt/iobroker" (System call)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.819 error node: /lib/libstdc++.so.6: no version information available (required by node)node: /lib/libstdc++.so.6: no version information available (required by node)
                iobroker 2017-06-12 19:25:10.777 info add harmony

                
                so das ist das log file naja weiss auch nimmer weiter haha alles schon versucht
                1 Reply Last reply Reply Quote 0
                • S
                  Sven2013 last edited by

                  Hallo Andre,

                  viele Dank für deine Screens. Ich habe nun alles 100 mal durchgegangen, aber der Container startet einfach nicht. Ich habe irgendwo einen Fehler, aber wo?

                  Hier mal mein Screens, vielleicht siehst du etwas:

                  576_docker.png

                  576_docker_2.png

                  576_docker_3.png

                  Vielleicht liegt es auch am Kopieren der Dateien.

                  Wie hast du diese denn vom Cubie "kopiert"?

                  Ich habe den Cubie als remotelaufwerk eingebunden und dann per STRG+C und STRG+V eingefügt.

                  Gruß Sven

                  1 Reply Last reply Reply Quote 0
                  • andre
                    andre Developer last edited by

                    @trosses:

                    so das ist das log file naja weiss auch nimmer weiter haha alles schon versucht `
                    Ich tippe mal, dass etwas mit deiner node version nicht stimmt. Bei mir lässt sich der harmony adapter einwandfrei installieren.

                    Poste mal bitte die Ausgabe von

                    node -v
                    

                    und

                    npm -v
                    

                    ausgeführt in der Konsole des Containers.

                    Wenn die versionen nicht stimmen oder eine fehlermeldung kommt, den ordner opt/iobroker aus dem container sichern und das iobroker image im docker neu laden. Neuen Container starten und den ordner zurück spielen. Vor sichern und zurückspielen bitte immer einmal ioBroker stoppen:

                    cd /opt/iobroker
                    iobroker stop
                    

                    MfG,

                    André

                    1 Reply Last reply Reply Quote 0
                    • andre
                      andre Developer last edited by

                      @Sven2013:

                      Hallo Andre,

                      viele Dank für deine Screens. Ich habe nun alles 100 mal durchgegangen, aber der Container startet einfach nicht. Ich habe irgendwo einen Fehler, aber wo?

                      Hier mal mein Screens, vielleicht siehst du etwas:

                      Docker.png

                      docker 2.png

                      Docker 3.png

                      Vielleicht liegt es auch am Kopieren der Dateien.

                      Wie hast du diese denn vom Cubie "kopiert"?

                      Ich habe den Cubie als remotelaufwerk eingebunden und dann per STRG+C und STRG+V eingefügt.

                      Gruß Sven `
                      Mhh, das kann natürlich am Kopieren liegen. Ich habe es über ein tar-file gemacht. Also auf dem Cubie ioBroker gestoppt und dann den kompletten ioBroker ordner in ein tar-Archiv gepackt. Dann das Archiv kopiert und über die Kommandozeile im container wieder entpackt.

                      Die Fehlermeldung lässt vermuten, dass irgendwas mit dem startup.sh script nicht stimmt. Kann das aber nicht so recht deuten.

                      Hast du mal versucht einen jungfräulichen, lauffähigen ioBroker Ordner aus dem Container auf die DS zu kopieren und dann zu mounten? Wenn das klappt, würde ich einfach mal versuchen den Ordner vom Cubie (ohne startup.sh) drüber zu kopieren…

                      MfG,

                      André

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sven2013 last edited by

                        Hallo Andre,

                        danke für deine Geduld! ich glaaube nun bin ich ganz nah am Ziel. Ich habe den ordner vom cubie nochmal neu gepackt und gemaountet. Jetzt startet der Container mit deiner Startup.sh (nicht mit der modifizierten)

                        Der punkt des Hostnamens ändern bringt allerdings noch eine Fehlermeldung.

                        More than one host found. You must specifiy which hist must be renamed.
                        

                        Diese verstehe ich und es liegt vermutlich daran, das ich vorher ein Multihost system in Betrieb hatte.

                        Aber was muss in die Kommadozeile um den Hostnamen Cubieboard in den neuen zu ändern?

                        Danke Gruß Sven

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sven2013 last edited by

                          Hallo,

                          vielen Dank an Alle und besonders an André. Ich habe es nun hinbekommen und iobroker läuft nun bei mir auch auf dem Synology Nas.

                          1000 Dank dafür und für die tolle Untestützung.

                          Gruß Sven

                          1 Reply Last reply Reply Quote 0
                          • G
                            gingo79 last edited by

                            @gingo79:

                            @andre:

                            @gingo79:

                            Hallo Andre,

                            hat funktioniert, Danke.

                            Habe Deine startup.sh mit der verzögerung nun am Laufen.

                            Habe die Synology 2 x Neu gestartet und iobroker lief mit an 🙂

                            Ich werde das die nächsten Tage mal beobachten, wenn die Synology morgens nach Ihren Schlaf aufwacht.

                            gruß

                            gingo `
                            Das höre ich gern.

                            Mal hoffen dass es jetzt rennt… 🙂

                            MfG,

                            André `

                            Hallo Andre,

                            gleich am ersten Tag, klappt es natürlich wieder nicht.

                            [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemonProcess 39 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
                            
                            [?25l7[1G[[32m ok [39;49m8[?12l[?25h.
                            
                            [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l7[1G[[32m ok [39;49m8[?12l[?25h.
                            
                            iobroker controller daemon already running. PID: 66
                            

                            Alle Prozesse auf 0.

                            cd /opt/iobroker
                            ./ iobroker start 
                            

                            im Terminal eingeben und iobroker läuft an.

                            Dies musste ich bei 3 Neustarts vorhin machen.

                            Frustrierend…

                            gruß

                            gingo `

                            Hallo André,

                            mein Feedback nach einer Woche, iobroker ist von 7 mal Synology erwachen, 5 mal mit gestartet.

                            Das ist ein großer Erfolg, Danke 🙂

                            Mit den paar mal, wo es schief geht, muss ich wohl leben, oder hast Du noch eine Idee, woran es liegen könnte.

                            Gruß

                            Gingo79

                            1 Reply Last reply Reply Quote 0
                            • andre
                              andre Developer last edited by

                              @gingo79:

                              Hallo André,

                              mein Feedback nach einer Woche, iobroker ist von 7 mal Synology erwachen, 5 mal mit gestartet.

                              Das ist ein großer Erfolg, Danke 🙂

                              Mit den paar mal, wo es schief geht, muss ich wohl leben, oder hast Du noch eine Idee, woran es liegen könnte.

                              Gruß

                              Gingo79 `

                              Danke für das Feedback. Ich grübel auch schon was ich noch versuchen kann. Das Problem habe ich identifiziert, aber leider keine Ahnung was die Ursache ist…

                              Offensichtlich kann ioBroker manchmal nicht gestartet werden, weil der Container meint, es würde schon laufen. Was aber nicht stimmt.

                              Jetzt habe ich zwei Möglichkeiten: Entweder ich fange diese Meldung, dass ioBroker schon läuft irgendwie im Startup Script ab und reagiere darauf, oder ich identifiziere die Ursache und beseitige sie. Letzteres ist mein Favorit 😉

                              Momentan warte ich darauf, dass es bei mir wieder passiert. Allerdings startet meine DiskStation ja nicht so häufig wie bei dir. 🙂

                              Ich bleibe dran.

                              MfG,

                              André

                              Gesendet mit Tapatalk

                              1 Reply Last reply Reply Quote 0
                              • T
                                tscheinik last edited by

                                Hallo bin ganz neu hier.

                                habe auf der 415+ mit docker iobroker zum laufen bekommen. da in den nächsten tagen ein z-wave usb stick kommt wollt eich schon mal den z-wave adapter installieren.

                                klappt aber nicht.

                                hat einer ahnung was der fehler ist ?

                                ! ````
                                $ ./iobroker add zwave
                                npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                /bin/sh: 1: sudo: not found
                                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                ^
                                ! Error: Command failed: sudo apt-get install libudev-dev -y
                                /bin/sh: 1: sudo: not found
                                ! at checkExecSyncError (child_process.js:481:13)
                                at Object.execSync (child_process.js:521:13)
                                at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                at Module._compile (module.js:570:32)
                                at Object.Module._extensions..js (module.js:579:10)
                                at Module.load (module.js:487:32)
                                at tryModuleLoad (module.js:446:12)
                                at Function.Module._load (module.js:438:3)
                                at Module.runMain (module.js:604:10)
                                ! npm
                                ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                npm ERR! node v6.11.0
                                npm ERR! npm v3.10.10
                                npm ERR! code ELIFECYCLE
                                ! npm ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR! node lib/preinstall.js
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR! npm bugs iobroker.zwave
                                npm ERR! Or if that isn't available, you can get their info via:
                                npm ERR! npm owner ls iobroker.zwave
                                npm ERR! There is likely additional logging output above.
                                ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log
                                ! host.DS415 install adapter zwave
                                npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                /bin/sh: 1: sudo: not found
                                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                ^
                                ! Error: Command failed: sudo apt-get install libudev-dev -y
                                /bin/sh: 1: sudo: not found
                                ! at checkExecSyncError (child_process.js:481:13)
                                at Object.execSync (child_process.js:521:13)
                                at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                at Module._compile (module.js:570:32)
                                at Object.Module._extensions..js (module.js:579:10)
                                at Module.load (module.js:487:32)
                                at tryModuleLoad (module.js:446:12)
                                at Function.Module._load (module.js:438:3)
                                at Module.runMain (module.js:604:10)
                                ! npm ERR! Linux 3.10.102
                                npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.0
                                ! npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE
                                ! npm ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                ! npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm
                                ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR! node lib/preinstall.js
                                npm ERR!
                                You can get information on how to open an issue for this project with:npm ERR!
                                npm bugs iobroker.zwavenpm ERR! Or if that isn't available, you can get their info via:
                                npm ERR! npm owner ls iobroker.zwave
                                npm ERR! There is likely additional logging output above.
                                ! npm ERR!
                                Please include the following file with any support request:npm ERR! /opt/npm-debug.log
                                ! host.DS415 install adapter zwave
                                npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                /bin/sh: 1: sudo: not found
                                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                ^
                                ! Error: Command failed: sudo apt-get install libudev-dev -y
                                /bin/sh: 1: sudo: not found
                                ! at checkExecSyncError (child_process.js:481:13)
                                at Object.execSync (child_process.js:521:13)
                                at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                at Module._compile (module.js:570:32)
                                at Object.Module._extensions..js (module.js:579:10)
                                at Module.load (module.js:487:32)
                                at tryModuleLoad (module.js:446:12)
                                at Function.Module._load (module.js:438:3)
                                at Module.runMain (module.js:604:10)
                                ! npm
                                ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                npm
                                ERR! node v6.11.0
                                npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE
                                ! npm ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR! node lib/preinstall.js
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR! npm bugs iobroker.zwave
                                npm ERR! Or if that isn't available, you can get their info via:
                                npm ERR! npm owner ls iobroker.zwave
                                npm ERR! There is likely additional logging output above.
                                ! npm ERR! Please include the following file with any support request:
                                npm ERR! /opt/npm-debug.log
                                ! host.DS415 install adapter zwave
                                ERROR: host.DS415 Cannot install zwave
                                ERROR: process exited with code 13</anonymous></anonymous></anonymous>

                                1 Reply Last reply Reply Quote 0
                                • andre
                                  andre Developer last edited by

                                  @tscheinik:

                                  Hallo bin ganz neu hier.

                                  habe auf der 415+ mit docker iobroker zum laufen bekommen. da in den nächsten tagen ein z-wave usb stick kommt wollt eich schon mal den z-wave adapter installieren.

                                  klappt aber nicht.

                                  hat einer ahnung was der fehler ist ?

                                  ! $ ./iobroker add zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) /bin/sh: 1: sudo: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: sudo apt-get install libudev-dev -y /bin/sh: 1: sudo: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) ! npm ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iobroker.zwave package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.zwave npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) /bin/sh: 1: sudo: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: sudo apt-get install libudev-dev -y /bin/sh: 1: sudo: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) ! npm ERR! Linux 3.10.102 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.0 ! npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 ! npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs iobroker.zwavenpm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) /bin/sh: 1: sudo: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: sudo apt-get install libudev-dev -y /bin/sh: 1: sudo: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) ! npm ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.11.0 npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iobroker.zwave package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.zwave npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request: npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave ERROR: host.DS415 Cannot install zwave ERROR: process exited with code 13</anonymous></anonymous></anonymous> `

                                  Hallo,

                                  die Lösung steht im Log:

                                  /bin/sh: 1: sudo: not found
                                  

                                  Versuch mal sudo zu installieren. dazu einfach im Terminal des Containers:

                                  apt-get install sudo
                                  

                                  Und dann nochmal Adapterinstallation versuchen… Allerdings kann ich dir nicht helfen wenn es darum geht den USB-Stick am Container zum Laufen zu bekommen.

                                  Wäre aber trotzdem nett, wenn du berichtest (auch wenn alles klappt) dann könnte ich ggf. sudo auch mit in das Image mit aufnehmen und damit die Sache für andere User erleichtern... Danke.

                                  MfG,

                                  André

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tscheinik last edited by

                                    hallo

                                    habe es installiert. aber bekomme trotzedem einen fehler. aber wohl was anderes

                                    ! ````
                                    $ ./iobroker add zwave
                                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                    sudo: unable to send audit message: Operation not permitteddebconf: unable to initialize frontend: Dialog
                                    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
                                    debconf: falling back to frontend: Readline
                                    debconf: unable to initialize frontend: Readline
                                    debconf: (This frontend requires a controlling tty.)
                                    debconf: falling back to frontend: Teletype
                                    dpkg-preconfigure: unable to re-open stdin:
                                    ! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
                                    ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    100 125 0 125 0 0 160 0 --:--:-- --:--:-- --:--:-- 160
                                    ! 100 40742 0 40742 0 0 23720 0 --:--:-- 0:00:01 --:--:-- 23720
                                    100 1709k 0 1709k 0 0 678k 0 --:--:-- 0:00:02 --:--:-- 2086k
                                    ! /bin/sh: 1: unzip: not found
                                    /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                    ^
                                    ! Error: Command failed: unzip master.zip && rm master.zip
                                    /bin/sh: 1: unzip: not found
                                    ! at checkExecSyncError (child_process.js:481:13)
                                    at Object.execSync (child_process.js:521:13)
                                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                    at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3)
                                    at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3)
                                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7)
                                    at Module._compile (module.js:570:32)
                                    at Object.Module._extensions..js (module.js:579:10)
                                    at Module.load (module.js:487:32)
                                    at tryModuleLoad (module.js:446:12)
                                    ! npm
                                    ERR! Linux 3.10.102
                                    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.0
                                    npm ERR! npm v3.10.10
                                    npm
                                    ERR! code ELIFECYCLE
                                    ! npm
                                    ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.js
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                    npm ERR!
                                    Make sure you have the latest version of node.js and npm installed.npm ERR!
                                    If you do, this is most likely a problem with the iobroker.zwave package,npm
                                    ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:
                                    npm ERR! node lib/preinstall.js
                                    npm ERR! You can get information on how to open an issue for this project with:
                                    npm ERR! npm bugs iobroker.zwave
                                    npm ERR! Or if that isn't available, you can get their info via:
                                    npm ERR!
                                    npm owner ls iobroker.zwave
                                    npm ERR! There is likely additional logging output above.
                                    ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log
                                    ! host.DS415 install adapter zwave
                                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                    sudo: unable to send audit message: Operation not permitted
                                    % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
                                    ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    100 125 0 125 0 0 259 0 --:--:-- --:--:-- --:--:-- 259
                                    ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    46 1709k 46 787k 0 0 453k 0 0:00:03 0:00:01 0:00:02 760k
                                    100 1709k 100 1709k 0 0 876k 0 0:00:01 0:00:01 --:--:-- 1369k
                                    ! /bin/sh: 1: unzip: not found
                                    /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                    ^
                                    ! Error: Command failed: unzip master.zip && rm master.zip
                                    /bin/sh: 1: unzip: not found
                                    ! at checkExecSyncError (child_process.js:481:13)
                                    at Object.execSync (child_process.js:521:13)
                                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                    at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3)
                                    at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3)
                                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7)
                                    at Module._compile (module.js:570:32)
                                    at Object.Module._extensions..js (module.js:579:10)
                                    at Module.load (module.js:487:32)
                                    at tryModuleLoad (module.js:446:12)
                                    ! npm
                                    ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                    npm ERR! node v6.11.0
                                    npm ERR! npm v3.10.10
                                    npm ERR! code ELIFECYCLE
                                    ! npm
                                    ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                                    npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                    npm ERR!
                                    not with npm itself.npm ERR! Tell the author that this fails on your system:
                                    npm ERR! node lib/preinstall.js
                                    npm ERR! You can get information on how to open an issue for this project with:
                                    npm ERR! npm bugs iobroker.zwave
                                    ! npm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls iobroker.zwave
                                    npm ERR! There is likely additional logging output above.
                                    ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log
                                    ! host.DS415 install adapter zwave
                                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                    sudo: unable to send audit message: Operation not permitted
                                    % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
                                    ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                    100 125 0 125 0 0 268 0 --:--:-- --:--:-- --:--:-- 268
                                    ! 8 1709k 8 137k 0 0 104k 0 0:00:16 0:00:01 0:00:15 104k
                                    100 1709k 100 1709k 0 0 865k 0 0:00:01 0:00:01 --:--:-- 2381k
                                    ! /bin/sh: 1: unzip: not found
                                    /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                    ^
                                    ! Error: Command failed: unzip master.zip && rm master.zip
                                    /bin/sh: 1: unzip: not found
                                    ! at checkExecSyncError (child_process.js:481:13)
                                    at Object.execSync (child_process.js:521:13)
                                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                    at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3)
                                    at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3)
                                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7)
                                    at Module._compile (module.js:570:32)
                                    at Object.Module._extensions..js (module.js:579:10)
                                    at Module.load (module.js:487:32)
                                    at tryModuleLoad (module.js:446:12)
                                    ! npm
                                    ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                    npm ERR!
                                    node v6.11.0npm ERR! npm v3.10.10
                                    npm ERR! code ELIFECYCLE
                                    ! npm ERR! iobroker.zwave@0.6.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'.
                                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                                    npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                    npm ERR! not with npm itself.
                                    npm ERR! Tell the author that this fails on your system:
                                    npm ERR! node lib/preinstall.js
                                    npm ERR! You can get information on how to open an issue for this project with:
                                    npm ERR! npm bugs iobroker.zwave
                                    npm ERR! Or if that isn't available, you can get their info via:
                                    npm ERR! npm owner ls iobroker.zwave
                                    npm ERR! There is likely additional logging output above.
                                    ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log
                                    ! host.DS415 install adapter zwave
                                    ERROR: host.DS415 Cannot install zwave
                                    ERROR: process exited with code 13</anonymous></anonymous></anonymous>

                                    
                                    habe jetzt mal apt-get install unzip ins terminal eingegeben. versuche jetzt nochmal
                                    
                                    edit:
                                    
                                    es hat geklappt
                                    1 Reply Last reply Reply Quote 0
                                    • andre
                                      andre Developer last edited by

                                      @tscheinik:

                                      hallo

                                      habe es installiert. aber bekomme trotzedem einen fehler. aber wohl was anderes

                                      ! $ ./iobroker add zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) sudo: unable to send audit message: Operation not permitteddebconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: ! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 125 0 125 0 0 160 0 --:--:-- --:--:-- --:--:-- 160 ! 100 40742 0 40742 0 0 23720 0 --:--:-- 0:00:01 --:--:-- 23720 100 1709k 0 1709k 0 0 678k 0 --:--:-- 0:00:02 --:--:-- 2086k ! /bin/sh: 1: unzip: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: unzip master.zip && rm master.zip /bin/sh: 1: unzip: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3) at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) ! npm ERR! Linux 3.10.102 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.zwave npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) sudo: unable to send audit message: Operation not permitted % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 125 0 125 0 0 259 0 --:--:-- --:--:-- --:--:-- 259 ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 46 1709k 46 787k 0 0 453k 0 0:00:03 0:00:01 0:00:02 760k 100 1709k 100 1709k 0 0 876k 0 0:00:01 0:00:01 --:--:-- 1369k ! /bin/sh: 1: unzip: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: unzip master.zip && rm master.zip /bin/sh: 1: unzip: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3) at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) ! npm ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iobroker.zwave package, npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.zwave ! npm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call) sudo: unable to send audit message: Operation not permitted % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ! 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 125 0 125 0 0 268 0 --:--:-- --:--:-- --:--:-- 268 ! 8 1709k 8 137k 0 0 104k 0 0:00:16 0:00:01 0:00:15 104k 100 1709k 100 1709k 0 0 865k 0 0:00:01 0:00:01 --:--:-- 2381k ! /bin/sh: 1: unzip: not found /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e; ^ ! Error: Command failed: unzip master.zip && rm master.zip /bin/sh: 1: unzip: not found ! at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15) at installOpenZwaveFromSource (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:109:3) at installOpenZwave (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:103:3) at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:26:7) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) ! npm ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.11.0npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE ! npm ERR! iobroker.zwave@0.6.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@0.6.0 preinstall script 'node lib/preinstall.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iobroker.zwave package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/preinstall.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.zwave npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.zwave npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request:npm ERR! /opt/npm-debug.log ! host.DS415 install adapter zwave ERROR: host.DS415 Cannot install zwave ERROR: process exited with code 13</anonymous></anonymous></anonymous> `

                                      Du musst das Logfile schon lesen… Oder es zumindest versuchen...

                                      Nehme meinen letzte Beitrag und ersetze sudo mit unzip...

                                      MfG,

                                      André

                                      Gesendet mit Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tscheinik last edited by

                                        haben uns überschnitten. darauf bin ich schon gekommen.

                                        es hat jetzt geklappt.

                                        1 Reply Last reply Reply Quote 0
                                        • andre
                                          andre Developer last edited by

                                          @tscheinik:

                                          haben uns überschnitten. darauf bin ich schon gekommen.

                                          es hat jetzt geklappt. `

                                          🙂 Du hattest jetzt nur sudo und unzip nachinstalliert, richtig?

                                          Lass es mich bitte wissen ob das Einbinden des USB sticks gelingt, dann würde ich die Pakete mit in das Image aufnehmen.

                                          MfG,

                                          André

                                          Gesendet mit Tapatalk

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tscheinik last edited by

                                            ja sobald ich den stick bekomme werde ich es testen.

                                            habe diesen stick Aeotec AEOEZW090-C Aeon Labs USB Stick

                                            ja genau einmal sudo und einmal unzip

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            921
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1182268
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo