Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. OpenKNX funktioniert nach Updates nicht mehr

    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

    OpenKNX funktioniert nach Updates nicht mehr

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

      @rsw2004

      Bitte CodeTags für Konsolentexte verwenden.

      iob diag
      

      sagt dazu?

      R 1 Reply Last reply Reply Quote 0
      • R
        rsw2004 @Thomas Braun last edited by Homoran

        @thomas-braun
        bin weiterhin noch am rumprobieren. Hab es gleich soweit, dass gar nichts mehr geht.. ```

        ======================= SUMMARY =======================
                             v.2023-04-16
        
        
        Operatingsystem:        Raspbian GNU/Linux 10 (buster)
        Kernel:                 5.10.103-v7l+
        Installation:           Native
        Timezone:               Europe/Berlin (CEST, +0200)
        User-ID:                1000
        X-Server:               false
        Boot Target:            graphical.target
        
        Pending OS-Updates:     0
        sudo: node: command not found
        Pending iob updates:    0
        
        /home/iobroker/.diag.sh: line 340: nodejs: command not found
        Nodejs-Installation:
        /home/iobroker/.diag.sh: line 341: node: command not found
        
        /usr/bin/env: 'node': No such file or directory
                                /usr/local/bin/npm
        /usr/bin/env: 'node': No such file or directory
                                /usr/local/bin/npx
        
        Recommended versions are nodejs 18.x.y and npm 9.x.y
        *** nodejs is NOT correctly installed ***
        
        MEMORY:
                      total        used        free      shared  buff/cache   available
        Mem:           3.8G         50M        3.5G         16M        283M        3.6G
        Swap:           99M          0B         99M
        Total:         3.9G         50M        3.6G
        
        sudo: node: command not found
        Active iob-Instances:   0
        sudo: node: command not found
        
        sudo: node: command not found
        ioBroker Core:          js-controller
        sudo: node: command not found
                                admin
        
        sudo: node: command not found
        ioBroker Status:
        
        Status admin and web instance:
        sudo: node: command not found
        
        Objects:                0
        States:                 0
        
        Size of iob-Database:
        
        4.8M    /opt/iobroker/iobroker-data/objects.jsonl
        3.8M    /opt/iobroker/iobroker-data/objects.json.migrated
        3.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
        3.9M    /opt/iobroker/iobroker-data/states.jsonl
        384K    /opt/iobroker/iobroker-data/states.json.migrated
        384K    /opt/iobroker/iobroker-data/states.json.bak.migrated
        
        
        
        =================== END OF SUMMARY ====================
        
        Thomas Braun R 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @rsw2004 last edited by Thomas Braun

          @rsw2004

          (buster)

          Ist veraltet und deine nodejs-Installation ist hinten und vorne, oben und unten schief.

          Installier da ein lebendes Betriebssystem.

          1 Reply Last reply Reply Quote 0
          • R
            rsw2004 @rsw2004 last edited by

            @rsw2004

            es scheint kein nodejs installiert zu sein. Wenn ich es installieren möchte, sagt die Konsole, dass bereits 20.3.1 installiert ist.

            pi@raspberrypi4:~ $ node -v
            -bash: /usr/local/bin/node: No such file or directory
            pi@raspberrypi4:~ $ nodejs -v
            -bash: /usr/bin/nodejs: No such file or directory
            pi@raspberrypi4:~ $ npm -v
            /usr/bin/env: ‘node’: No such file or directory
            
            
            pi@raspberrypi4:~ $ sudo apt-get install -y nodejs
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            nodejs is already the newest version (20.3.1-deb-1nodesource1).
            The following package was automatically installed and is no longer required:
              python-colorzero
            Use 'sudo apt autoremove' to remove it.
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @rsw2004 last edited by

              @rsw2004

              Auf welchem wirren Weg haste denn

              nach einem Update von ioBroker, allen Adapter, NPM, NodeJS

              durchgeführt?

              R 1 Reply Last reply Reply Quote 0
              • R
                rsw2004 @Thomas Braun last edited by

                @thomas-braun

                Die Adapter einfach über die ioBroker Web-Oberfläche.

                JS-Controller per Konsole, aber den Code auch von der ioBroker Web-Oberfläche kopiert.

                ioBroker:

                iob stop
                iob update
                iob fix
                iob upgrade self
                iob start
                

                Node & NPM per

                sudo apt update
                sudo apt full-upgrade
                

                Fand ich jetzt gar nicht so wirr. Ist auch alles sauber durchgelaufen, zumindest hat es den Anschein gehabt.

                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @rsw2004 last edited by

                  @rsw2004

                  Da ist aber schon vorher was krumm gewesen.

                  sudo apt update
                  

                  sagt?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @rsw2004 last edited by

                    @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                    Fand ich jetzt gar nicht so wirr.

                    @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                    usr/local/bin/npm

                    da hat kein node was verloren.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rsw2004 @Homoran last edited by

                      @homoran

                      das kann gut sein, dafür habe ich zu wenig Ahnung um mir darauf einen Reim zu machen.

                      Also am besten den Raspberry komplett neu aufsetzen und nie wieder ein Update machen!?

                      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @rsw2004 last edited by

                        @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                        Also am besten den Raspberry komplett neu aufsetzen

                        Mit einem aktuellen Release in 64bit.

                        Updates machst du natürlich weiter!

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

                          @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                          nie wieder ein Update machen!?

                          wie kommst du auf das schmale Brett?
                          das ist größter Mumpitz.

                          Richtig installieren und immer auf dem aktuellen Stand halten.
                          Dann müssen auch keine großen Sprünge gemacht werden, bei denen man stolpert.

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

                            @rsw2004

                            Da ist aber schon vorher was krumm gewesen.

                            sudo apt update
                            

                            sagt?

                            Machen wir jetzt hier weiter oder willst du das System ohnehin neuaufsetzen?

                            1 Reply Last reply Reply Quote 0
                            • R
                              rsw2004 @Homoran last edited by

                              @homoran said in OpenKNX funktioniert nach Updates nicht mehr:

                              @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                              nie wieder ein Update machen!?

                              wie kommst du auf das schmale Brett?
                              das ist größter Mumpitz.

                              naja im Endeffekt zerschieße ich mir das ganze System, nur weil ich ein Update machen wollte.. Keine Ahnung was an der Vorgehensweise falsch war.. wie gesagt, habe eigentlich nicht so viel Ahnung von dem Ganzen und will nur, dass das mit minimalem Aufwand funktioniert.

                              Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @rsw2004 last edited by

                                @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                                im Endeffekt zerschieße ich mir das ganze System, nur weil ich ein Update machen wollte.

                                never!

                                wie Thomas schon schrieb

                                @thomas-braun sagte in OpenKNX funktioniert nach Updates nicht mehr:

                                Da ist aber schon vorher was krumm gewesen.

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

                                  @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                                  naja im Endeffekt zerschieße ich mir das ganze System, nur weil ich ein Update machen wollte

                                  Nein, das System hast du dir schon vorher zerschossen, weil du nodejs NICHT wie vorgesehen über den Paketmanager installiert hast sondern irgendwie anders. Bei ordentlicher Installation landet da nichts in /usr/local/bin.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rsw2004 @Thomas Braun last edited by

                                    @thomas-braun

                                    ok, dann werde ich zukünftig versuchen, dass im Hinterkopf zu behalten.
                                    Bin jetzt dabei das System neuaufzusetzen.

                                    Vielen Dank Euch!

                                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @rsw2004 last edited by

                                      @rsw2004 sagte in OpenKNX funktioniert nach Updates nicht mehr:

                                      Bin jetzt dabei das System neuaufzusetzen.

                                      wenn du dann das Backup wieder einspielst und vis benutzst, musst du vor dem Restore vis manuell installieren

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

                                        @rsw2004

                                        Dann lass die Finger von irgendwelchen 'tools' oder von n oder von nvm was Installationen von Software angeht. Insbesondere bei nodejs und Konsorten.

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

                                          @thomas-braun sagte in OpenKNX funktioniert nach Updates nicht mehr:

                                          Insbesondere bei nodejs und Konsorten.

                                          @rsw2004
                                          das kommt bei einer ordnungsgemäßen Installation von iobroker automatisch mit!

                                          BTW Nach welcher Anleitung gehst (gingst) du vor?

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          939
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          21
                                          696
                                          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