Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. ioBroker soll Raspberry PI System Befehl ausführen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker soll Raspberry PI System Befehl ausführen

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Accu @Thomas Braun last edited by

      @Thomas-Braun

      gelöscht und re-install gemacht. Schaut jetzt so aus:

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v12.18.4
      /usr/bin/node
      -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Accu last edited by

        @Accu Starte die Kiste mal neu.

        A 1 Reply Last reply Reply Quote 0
        • A
          Accu @Thomas Braun last edited by

          @Thomas-Braun

           which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v12.18.4
          /usr/bin/node
          v12.18.4
          /usr/bin/npm
          6.14.6
          nodejs:
            Installiert:           12.18.4-1nodesource1
            Installationskandidat: 12.18.4-1nodesource1
            Versionstabelle:
           *** 12.18.4-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                  100 /var/lib/dpkg/status
               8.11.1~dfsg-2~bpo9+1 500
                  500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
               4.8.2~dfsg-1 500
                  500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Accu last edited by

            @Accu
            Jetzt passt es.

            A 1 Reply Last reply Reply Quote 0
            • A
              Accu @Thomas Braun last edited by

              @Thomas-Braun Yipeeeee.

              Jetzt zu meinem eigentlichen Anliegen. Kann ich einfach den GitHub PiHole Adapter aus ioBroker raus installieren?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Accu last edited by

                @Accu
                Der ist doch drin:

                process exited with code 0
                
                A 1 Reply Last reply Reply Quote 0
                • A
                  Accu @Thomas Braun last edited by

                  @Thomas-Braun war verwirrt weil der Gyp ERR noch im Log steht.

                  $ ./iobroker url "https://github.com/unltdnetworx/ioBroker.pi-hole/tarball/master" pi-hole
                  install https://github.com/unltdnetworx/ioBroker.pi-hole/tarball/master
                  NPM version: 6.14.6
                  npm install https://github.com/unltdnetworx/ioBroker.pi-hole/tarball/master --loglevel error --prefix "/opt/iobroker" (System call)
                  ERR!
                   sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                  ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
                  compilation terminated.
                  make: *** [Release/obj.target/sharp/src/common.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 5.4.51-v7+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/sharpgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                  upload [5] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/words.js words.js application/javascript
                  upload [4] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/tsconfig.json tsconfig.json application/json
                  upload [3] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/style.css style.css text/css
                  upload [2] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/pi-hole.png pi-hole.png image/png
                  upload [1] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/index_m.html index_m.html text/html
                  upload [0] pi-hole.admin /opt/iobroker/node_modules/iobroker.pi-hole/admin/admin.d.ts admin.d.ts video/mp2t
                  process exited with code 0
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Accu last edited by Thomas Braun

                    @Accu sagte in ioBroker soll Raspberry PI System Befehl ausführen:

                    sharp

                    Das musst du sharp selber bauen.
                    Installier mal

                    sudo apt install libvips42 libvips-dev
                    

                    Warum installierst du eigentlich pi-hole aus git?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Accu @Thomas Braun last edited by

                      @Thomas-Braun gute Frage. Gehts auch anders? Hatte das irgendwo gesehen.

                      Habe jetzt blöderweise ein anderes Problem: hatten den Pihole adapter installiert und jetzt wieder über das Terminal gedisabled. Aber irgendwie lagged der Pi jetzt total. Die ioBroker Maske wird nicht mehr vollständig geladen und zeigt nur noch den Ladekreis. Shutdown und reboot hat nix gebracht.
                      Irgendwelche ideen? (...never change a running system)

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Accu last edited by Thomas Braun

                        @Accu pi-hole ist doch ganz normal in der Adapter-Liste?

                        iobroker status
                        iobroker list adapters
                        iobroker list instances
                        

                        (...never change a running system)
                        hier eher: Never install alpha versions.
                        oder auch:
                        Never install software the wrong way.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          Accu @Thomas Braun last edited by

                          @Thomas-Braun glaube ich habe meine Installation jetzt geschrottet 🤨

                          pi@Raspi:/opt/iobroker $ iobroker start
                          pi@Raspi:/opt/iobroker $ iobroker status
                          iobroker is not running on this host.
                          
                          No iobroker host is running.
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Accu last edited by Thomas Braun

                            @Accu
                            Was hast du denn da getrieben?

                            iobroker fix
                            
                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Accu @Thomas Braun last edited by Accu

                              @Thomas-Braun es war eigentlich alles gut. Dann hatte ich den pihole adapter noch mal über die GitHub URL aus ioBroker installiert und die Pihole Instanz hinzugefügt. Dann darin die IP vom pihole der auch auf dem Raspi läuft eingegeben. Dann hat das system super gelagged. --> Shutdown -> Reboot --> dann im Terminal den pihole adapter deaktiviert und noch mal ioBroker fix gemacht.

                              Und das Deinsallieren übers Terminal dauert eeeeewig:

                              pi@Raspi:/opt/iobroker $ iobroker del pi-hole
                              Delete adapter "pi-hole"
                              host.Raspi Counted 1 instances of pi-hole
                              host.Raspi Counted 1 adapter for pi-hole
                              host.Raspi Counted 11 channels of pi-hole
                              host.Raspi Counted 44443 states of pi-hole
                              host.Raspi Counted 14 states of system.adapter.pi-hole
                              host.Raspi object pi-hole.admin deleted
                              host.Raspi Deleting 44470 object(s). Be patient...
                              host.Raspi: Only 44400 objects left to be deleted.
                              host.Raspi: Only 44200 objects left to be deleted.
                              host.Raspi: Only 44000 objects left to be deleted.
                              host.Raspi: Only 43800 objects left to be deleted.
                              host.Raspi: Only 43600 objects left to be deleted.
                              host.Raspi: Only 43400 objects left to be deleted.
                              host.Raspi: Only 43200 objects left to be deleted.
                              host.Raspi: Only 43000 objects left to be deleted.
                              host.Raspi: Only 42800 objects left to be deleted.
                              host.Raspi: Only 42600 objects left to be deleted.
                              
                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Accu @Accu last edited by

                                kurzes Update: der Pi läuft wieder. Es liegt def. am Pi-hole adapter. Sobald ich den Adapter installiere, reagiert mein Pi kaum noch.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                795
                                Online

                                31.8k
                                Users

                                80.0k
                                Topics

                                1.3m
                                Posts

                                blockly
                                5
                                37
                                1502
                                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