Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kann keine Adapter mehr installieren

    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

    Kann keine Adapter mehr installieren

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

      @thomas-braun

      Schau aber auch mal nach der nodeJS-Installation:

      Sieht so aus

      andre@ioBkoker202:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs
      [sudo] Passwort für andre:
      Das hat nicht funktioniert, bitte nochmal probieren.
      [sudo] Passwort für andre:
      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
      andre@ioBkoker202:/opt/iobroker$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      x86_64
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v14.19.1
      v14.19.1
      6.14.16
      andre
      /opt/iobroker
      OK:1 http://security.debian.org/debian-security bullseye-security InRelease
      OK:2 http://deb.debian.org/debian bullseye InRelease
      OK:3 http://deb.debian.org/debian bullseye-updates InRelease
      OK:4 http://ftp.debian.org/debian bullseye-backports InRelease
      OK:5 http://phoscon.de/apt/deconz buster InRelease
      OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
      nodejs:
        Installiert:           14.19.1-deb-1nodesource1
        Installationskandidat: 14.19.2-deb-1nodesource1
        Versionstabelle:
           14.19.2-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
       *** 14.19.1-deb-1nodesource1 100
              100 /var/lib/dpkg/status
           12.22.5~dfsg-2~11u1 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
      andre@ioBkoker202:/opt/iobroker$
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • A
        andrebu @Thomas Braun last edited by

        @thomas-braun @Homoran oder soll ich NPM einfach mal auf Version 8 anheben? Dann sollte das Problem mit der package-lock.json auch behoben sein oder?

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

          @andrebu sagte in Kann keine Adapter mehr installieren:

          soll ich NPM einfach mal auf Version 8 anheben?

          keine gute Idee mit node 14

          Leider habe ich auswendig den Pfad zur package-lock.json nicht parat.
          Müsste aber hier im Forum zu finden sein. Du bist nicht der erste mit dem Problem

          EDIT:
          Die Suche hat ausgespuckt:

          In /opt/iobroker gibt es eine package-lock.json, die den Dependency-Tree aus Sicht von /opt/iobroker abbildet

          A 2 Replies Last reply Reply Quote 0
          • A
            andrebu @Homoran last edited by

            @homoran Danke dann lösch ich die mal.

            1 Reply Last reply Reply Quote 0
            • A
              andrebu @Homoran last edited by andrebu

              @homoran @Thomas-Braun ist gelöscht

              nun bleibt die installation ohne Fehlermeldung hängen.

              andre@ioBkoker202:/opt/iobroker$ iobroker add denon --ioBkoker202
              NPM version: 6.14.16
              Installing iobroker.denon@1.13.3... (System call)
              
              

              Soll ich jetzt mal den Fixer drüber laufen lassen?

              iob stop
              iob fix
              iob start
              

              EDIT

              jetzt macht er doch was ich poste gleich das aktuelle LOG.

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

                @andrebu sagte in Kann keine Adapter mehr installieren:

                Aktualisierung für 1 Paket verfügbar.

                Das ist nodejs. Kannste direkt mal aktualisieren.

                A 1 Reply Last reply Reply Quote 0
                • A
                  andrebu last edited by

                  @Homoran @crunchip
                  der Adapter wurde doch tatsächlich installiert 🙂 🙂

                  andre@ioBkoker202:/opt/iobroker$ iobroker add denon --ioBkoker202
                  NPM version: 6.14.16
                  Installing iobroker.denon@1.13.3... (System call)
                  
                  > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                    CXX(target) Release/obj.target/diskusage/src/main.o
                    CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                    SOLINK_MODULE(target) Release/obj.target/diskusage.node
                    COPY Release/diskusage.node
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                  
                  > @serialport/bindings-cpp@10.7.0 install /opt/iobroker/node_modules/@serialport/bindings-cpp
                  > node-gyp-build
                  
                  
                  > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                    CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                    SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                    COPY Release/unix_dgram.node
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                  
                  > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                  > node rebuild.js
                  
                  ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
                  
                  > sharp@0.28.1 install /opt/iobroker/node_modules/sharp
                  > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
                  
                  sharp: Using cached /home/iobroker/.npm/_libvips/libvips-8.10.6-linux-x64.tar.br
                  
                  > canvas@2.9.1 install /opt/iobroker/node_modules/canvas
                  > node-pre-gyp install --fallback-to-build
                  
                  [canvas] Success: "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" is installed via remote
                  
                  > sharp@0.25.4 install /opt/iobroker/node_modules/iobroker.onvif/node_modules/sharp
                  > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
                  
                  
                  > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                  > node scripts/postinstall
                  
                  
                  > esbuild@0.11.23 postinstall /opt/iobroker/node_modules/esbuild
                  > node install.js
                  
                  + iobroker.denon@1.13.3
                  added 93 packages from 55 contributors, removed 49 packages and updated 1342 packages in 357.835s
                  
                  138 packages are looking for funding
                    run `npm fund` for details
                  
                  host.ioBkoker202 install adapter denon
                  upload [12] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/denon.png denon.png image/png
                  upload [11] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/de/translations.json i18n/de/translations.json application/json
                  upload [10] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/en/translations.json i18n/en/translations.json application/json
                  upload [9] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/es/translations.json i18n/es/translations.json application/json
                  upload [8] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                  upload [7] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/it/translations.json i18n/it/translations.json application/json
                  upload [6] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                  upload [5] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                  upload [4] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                  upload [3] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                  upload [2] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                  upload [1] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/index_m.html index_m.html text/html
                  upload [0] denon.admin /opt/iobroker/node_modules/iobroker.denon/admin/words.js words.js application/javascript
                  host.ioBkoker202 object system.adapter.denon created/updated
                  host.ioBkoker202 create instance denon
                  host.ioBkoker202 object system.adapter.denon.0.alive created
                  host.ioBkoker202 object system.adapter.denon.0.connected created
                  host.ioBkoker202 object system.adapter.denon.0.compactMode created
                  host.ioBkoker202 object system.adapter.denon.0.cpu created
                  host.ioBkoker202 object system.adapter.denon.0.cputime created
                  host.ioBkoker202 object system.adapter.denon.0.memHeapUsed created
                  host.ioBkoker202 object system.adapter.denon.0.memHeapTotal created
                  host.ioBkoker202 object system.adapter.denon.0.memRss created
                  host.ioBkoker202 object system.adapter.denon.0.uptime created
                  host.ioBkoker202 object system.adapter.denon.0.inputCount created
                  host.ioBkoker202 object system.adapter.denon.0.outputCount created
                  host.ioBkoker202 object system.adapter.denon.0.eventLoopLag created
                  host.ioBkoker202 object system.adapter.denon.0.sigKill created
                  host.ioBkoker202 object system.adapter.denon.0.logLevel created
                  host.ioBkoker202 object denon.0.info created
                  host.ioBkoker202 object denon.0.info.connection created
                  host.ioBkoker202 object denon.0.display created
                  host.ioBkoker202 object denon.0.display.brightness created
                  host.ioBkoker202 object denon.0.settings created
                  host.ioBkoker202 object denon.0.settings.powerSystem created
                  host.ioBkoker202 object denon.0.settings.expertCommand created
                  host.ioBkoker202 object denon.0.settings.expertReadingResult created
                  host.ioBkoker202 object denon.0.settings.expertReadingPattern created
                  host.ioBkoker202 Set default value of denon.0.info.connection: false
                  host.ioBkoker202 object system.adapter.denon.0 created
                  andre@ioBkoker202:/opt/iobroker$
                  
                  
                  A 1 Reply Last reply Reply Quote 0
                  • A
                    andrebu @andrebu last edited by

                    Danke Danke Danke. Ich die installation über die Admin Oberfläche läuft auch durch.
                    Danke @Homoran @Thomas-Braun @crunchip 🥇 🥇 🥇 🥇 🥇Vielen Dank. ich hab in den letzen Stunden soviel dazu gelernt. Danke.

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

                      @Thomas-Braun

                      Das ist nodejs. Kannste direkt mal aktualisieren.

                      Tatsache 14.19.2 ich hab 14.19.1
                      ich trau mich nicht. 😉

                      Sollte ich den Mut fassen, ist es dann so richtig?

                      iob stop
                      curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                      sudo apt install -y nodejs
                      node -v
                      iob fix
                      iob start
                      

                      Backup wird 3 mal die Woche automatisch gemacht. Deshalb lasse ich

                      cd /opt/iobroker
                      iobroker backup
                      

                      weg.

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

                        @andrebu

                        iobroker stop
                        sudo apt update
                        sudo apt full-upgrade
                        iobroker start
                        
                        A 1 Reply Last reply Reply Quote 0
                        • A
                          andrebu @Thomas Braun last edited by

                          @thomas-braun super, vielen Dank. Ihr habt mir echt den Tag gerettet.

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

                            @andrebu sagte in Kann keine Adapter mehr installieren:

                            ich hab in den letzen Stunden soviel dazu gelernt.

                            dann war die Aktion ja erfolgreich

                            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

                            494
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            4
                            30
                            1317
                            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