Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Veraltete Versionsnummern im Admin und Probleme beim Installieren von Adaptern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Veraltete Versionsnummern im Admin und Probleme beim Installieren von Adaptern

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

      Hallo Forum,

      ich bin neu hier und habe schon ein bisschen mit FHEM herumgespielt. Vor kurzem habe ich Xiaomi Lampen und meine Squeezebox mit Homebridge verbunden.

      Jetzt will ich was richtiges, und habe mir auf einen dedizierten Raspi 3 ein Image (http://www.iobroker.net/docu/?page_id=7241&lang=de) von ioBroker heruntergeladen und installiert.

      Als erstes habe ich den Raspi mit WLAN verbunden und ein raspi-config ausgeführt. Danach habe ich noch ein "iobroker update" und ein "apt-get update / upgrade" gemacht.

      Dann habe ich herausgefunden wie man in das Adminpanel kommt (nicht lachen, als Newbee hat das schon 2-3 Versuche gedauert).

      Nun habe ich Fritzdect installiert und er hat auch die Aktoren gefunden. Super!

      Allerdings habe ich zwei Probleme:

      1. Die Versionen der Adapter aktualisieren sich nicht.

      In der Spalte der verfügbaren Version steht bei "fritzbox dect adapter" die Versionsnummer "0.0.8" als verfügbar und als installiert. Laut Github gibt es aber schon 0.0.9: https://github.com/foxthefox/ioBroker.f … /README.md

      2. Bei dem "Logitech Harmony Adapter" bekomme ich bei der Installation nur Fehler:

      $ ./iobroker add harmony
      npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
      npm
       WARN addRemoteGit
       Error: not found: gitnpm 
      WARN 
      addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      npm WARN addRemoteGit
           at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm
       WARN 
      addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15)
      npm WARN addRemoteGit  git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
      npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
      npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
      
      npm
       ERR!
       git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b:
       undefinednpm
       ERR! 
      git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
      npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">
      npm
      
      ERR!
       Linux 4.9.41-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
      
      npm 
      ERR! node v6.11.2npm ERR! npm  v3.10.10
      npm ERR! code ENOGIT
      
      npm 
      ERR! not found: gitnpm ERR! 
      npm ERR! Failed using git.
      npm ERR! This is most likely not a problem with npm itself.
      npm ERR! Please check if you have git installed and in your PATH.
      
      npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
      
      host.iobroker install adapter harmony
      npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
      npm
       WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
      npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15)
      npm WARN addRemoteGit  git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
      npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      
      npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
      
      npm
       ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
      
      npm
       WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">
      npm
       ERR!
       Linux 4.9.41-v7+npm ERR! argv
       "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"npm
       ERR! node v6.11.2
      npm ERR! npm  v3.10.10npm ERR! code ENOGIT
      
      npm 
      ERR! not found: gitnpm ERR! 
      npm ERR! Failed using git.
      npm ERR! This is most likely not a problem with npm itself.
      npm ERR! Please check if you have git installed and in your PATH.
      
      npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
      
      host.iobroker install adapter harmony
      npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)</https:></https:>
      

      Ähnliches habe ich auch beim "Amazon Dash-Button":

      $ ./iobroker add amazon-dash
      npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
      npm WARN lifecycle iobroker.amazon-dash@0.2.2~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.2 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
      ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           info.GetReturnValue().Set(cons->NewInstance());
                                                       ^
      In file included from /root/.node-gyp/6.11.2/include/node/v8.h:25:0,
                       from /root/.node-gyp/6.11.2/include/node/node.h:42,
                       from ../../nan/nan.h:49,
                       from ../socket_watcher.hpp:8,
                       from ../socket_watcher.cpp:5:
      /root/.node-gyp/6.11.2/include/node/v8.h:3276:52: note: declared here
         V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                          ^
      /root/.node-gyp/6.11.2/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      
      ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                             ^
      compilation terminated.
      
      make: *** [Release/obj.target/pcap_binding/pcap_binding.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:276:23)
      gyp ERR! stack     at emitTwo (events.js:106:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
      gyp
       ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)gyp ERR! System Linux 4.9.41-v7+
      gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/pcap
      gyp ERR! node -v v6.11.2
      
      gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok 
      
      npm ERR! Linux 4.9.41-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
      npm ERR! node v6.11.2
      npm ERR! npm  v3.10.10
      
      npm ERR! code ELIFECYCLE
      
      npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
      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 pcap package,npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node-gyp rebuild
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs pcap
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls pcap
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
      
      host.iobroker install adapter amazon-dash
      npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
      
      Ich hätte gedacht, dass ich mit einem vorgefertigten Image auf der sicheren Seite bin und alles eigentlich Funktionieren müsste?
      
      Vielleicht kann mir ja jemand helfen. :-)
      
      Vielen Dank,
      
      Tobi</pcap></object></v8::object></v8::value>
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Hi,

        zu versionsnummern: http://forum.iobroker.net/viewtopic.php … 71&p=73654

        Harmony-Adapter: der braucht wohl git um zu installieren. "apt-get install git"

        Amazon-Dash: https://www.npmjs.com/package/iobroker.amazon-dash -> Step 1 ... apt-get install libpcap-dev

        Wir arbeiten gerade an einer Idee wie solche "Vorbedingungen" die man ggf installieren muss klarer darstellen

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

          Hi apollon77,

          vielen Dank für deine schnelle Antwort.

          Bin schon beim Installieren von git. 🙂

          Das habe ich auch schon so rausgelesen, mich aber total gewundert, dass bei einem fertigen Image solche wichtigen Tools nicht schon installiert sind.

          Ich arbeite mich weiter durch. Wird schon klappen.

          Danke.

          1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            @Tobi81:

            Das habe ich auch schon so rausgelesen, mich aber total gewundert, dass bei einem fertigen Image solche wichtigen Tools nicht schon installiert sind. `

            Ich habe das gerade an @Homoran weitergegeben. Also git wäre eine echte Idee schon initial zu installieren. Danke!

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              @Tobi81:

              Das habe ich auch schon so rausgelesen, mich aber total gewundert, dass bei einem fertigen Image solche wichtigen Tools nicht schon installiert sind. `
              Das tut mir auch leid, aber… 😉

              • Bei Raspbian, der Basis dieses Images war git bisher immer mit drin und musste nicht nachinstalliert werden. In der neuesten Version fehlt es dann wohl.

              • Wie im Readme zum Download beschrieben, sind nur die wichtigsten Adapter vorinstalliert. Und dementsprechend auch nur die prerequisites für diese.

              Ganz allgemein würde die Installation sämtlicher möglichen Pakete für irgendwelche möglichen Adapter und andere Anwendungen den Rahmen eines solchen Images sprengen. Sowohl in der Größe als auch im Aufwand.

              Ich werde trotzdem git bei den nächsten Images überprüfen und ggf. nachinstallieren.

              Was meinst du mit den Versionsnummern?

              Das aktuelle Image ist gerade eine Woche alt, wieso sollten sich da die Versionsnummern ändern?

              Gruß

              Rainer

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

                @Homoran:

                Was meinst du mit den Versionsnummern?

                Das aktuelle Image ist gerade eine Woche alt, wieso sollten sich da die Versionsnummern ändern? `

                Wie schon geschrieben, gibt es von dem Fritz Adapter eine aktuellere Version auf Github. Ich wusste nicht, dass es noch verschiedene Stände für die Versionsnummern gibt und ich deshalb das Update in ioBroker nicht sehe.

                Sorry, bei den vielen neuen Dingen die man beim Einarbeiten in ioBroker so sieht und bei den Fehlern auf die man stößt, fragt man halt so Dinge die nicht ganz ersichtlich sind.

                Aber vielen Dank für dein Image.

                Das wird vielen eine große Hilfe sein. So auch mir. 😄

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @Tobi81:

                  bei den vielen neuen Dingen die man beim Einarbeiten in ioBroker so sieht und bei den Fehlern auf die man stößt, fragt man halt so Dinge die nicht ganz ersichtlich sind. `
                  Das ist ja auch ganz ok!

                  Wir brauchen ja auch das Feedback. Wenn sich die selben Fragen häufen, stimmt was mit der Doku nicht und muss geändert werden!

                  Apropos Doku. Das http://www.iobroker.net/docu/?page_id=6317&lang=de kennst du?

                  Gruß

                  Rainer

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

                    Hi Rainer,

                    ja, das kenne ich schon und auch schon zwei mal durchgelesen. 8-)

                    Ich habe nun meine erste Szene in ioBroker eingerichtet. Wenn eine Steckdose schaltet, soll ich eine Nachricht per Telegram bekommen. Funktioniert super!

                    Die Tage baue ich mir meine erste Visualisierung zusammen. Bin gespannt wie das klappt.

                    Bin hellauf begeistert von ioBroker!

                    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

                    788
                    Online

                    32.0k
                    Users

                    80.5k
                    Topics

                    1.3m
                    Posts

                    3
                    8
                    984
                    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