Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Problem nach Update, Node nicht vorhanden

    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

    Problem nach Update, Node nicht vorhanden

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

      @flixer sagte in Problem nach Update, Node nicht vorhanden:

      Ich habe jetzt versucht node wieder zu deinstallieren

      Warum?
      Du musst die falschen Pfade löschen.

      Siehe Teil 2 vom bereits verlinkten HowTo.

      crunchip F 2 Replies Last reply Reply Quote 1
      • crunchip
        crunchip Forum Testing Most Active @Thomas Braun last edited by

        @thomas-braun sagte in Problem nach Update, Node nicht vorhanden:

        Warum?

        weils vllt für den ein oder anderen nicht ganz ersichtlich und arbeitet Teil 1 ab
        eventuell in Teil 1 noch ne Anmerkung zwecks Pfade machen, bei

        @thomas-braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

        Alt-Installationen entfernen:
        Debian/RaspberryOS/Ubuntu und artverwandtes:
        Alt- und Vorinstallationen (z. B. die dfsg-Version von nodejs) entfernen.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • F
          Flixer @Thomas Braun last edited by

          @thomas-braun
          Ich habe

          sudo rm /usr/local/bin/node
          

          ausgeführt. Leider läßt sich das nicht löschen.

          pi@RasPi4ioBroker:~ $ uname -m && type -P nodejs node npm npx corepack && nodejs -v && node -v && npm -v && npx -v && corepack -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
          aarch64
          /usr/bin/nodejs
          /usr/local/bin/node
          /usr/bin/npm
          /usr/bin/npx
          /usr/bin/corepack
          v18.17.1
          -bash: /usr/local/bin/node: No such file or directory
          pi@RasPi4ioBroker:~ $ sudo rm /usr/local/bin/node
          rm: cannot remove '/usr/local/bin/node': No such file or directory
          

          es steht jetzt immernoch der "/usr/local/bin/node" drin.

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

            @crunchip

            Gibt doch sogar ein 'Inhaltsverzeichis':

            Teil 1: Installation und Update
            Teil 2: Installationen geradeziehen (siehe 2. Posting im Thread)

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

              @flixer sagte in Problem nach Update, Node nicht vorhanden:

              es steht jetzt immernoch der "/usr/local/bin/node" drin.

              Starte mal die Kiste ordentlich durch.

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Thomas Braun last edited by

                @thomas-braun schon, wer aber nicht auf die falschen Pfade achtet und meint, mit nodejs entfernen und neu installieren ist es getann, arbeitet Teil 1 der Reihe nach ab, wie hier im Beispiel zu sehen und kommt erst gar nicht auf die Idee Teil 2 zu lesen

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

                  @crunchip

                  Muss Windows-Denke sein... 😉
                  Warum sollte eine Sache auf einmal funktionieren, wenn man sie einfach nur oft genug 'neu macht'?

                  Du musst sie nur anders (richtig) machen.

                  crunchip 1 Reply Last reply Reply Quote 1
                  • crunchip
                    crunchip Forum Testing Most Active @Thomas Braun last edited by

                    @thomas-braun sagte in Problem nach Update, Node nicht vorhanden:

                    Muss Windows-Denke sein...

                    frag nicht mich😂

                    1 Reply Last reply Reply Quote 0
                    • F
                      Flixer last edited by

                      @thomas-braun
                      UIUIUI!!!!!!
                      Nach dem 5ten Neustart bekomme ich die node wieder angezeigt. Ich musste die Ordner alle einzeln löschen, neustarten, löschen usw. Damit habe ich nicht gerechnet...

                      Der ioBroker ist auch gleich mit gestartet und läuft. Bei meinen beiden Smartmetern war irgendwie was falsch eingetragen und jetzt laufen die auch wieder SUPER, vielen Dank!

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

                        @flixer sagte in Problem nach Update, Node nicht vorhanden:

                        Damit habe ich nicht gerechnet...

                        Ich auch nicht...
                        Ist auch nicht der Fall.

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

                          @flixer

                          Was sagt denn

                          iob diag
                          

                          dazu?

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            Flixer @Thomas Braun last edited by

                            @thomas-braun

                            ======================= SUMMARY =======================
                                                 v.2023-04-16
                            
                            
                            Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                            Kernel:                 6.1.21-v8+
                            Installation:           Native
                            Timezone:               Europe/Berlin (CEST, +0200)
                            User-ID:                1000
                            X-Server:               false
                            Boot Target:            graphical.target
                            
                            Pending OS-Updates:     0
                            Pending iob updates:    1
                            
                            Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                                    /usr/bin/node           v18.17.1
                                                    /usr/bin/npm            9.6.7
                                                    /usr/bin/npx            9.6.7
                            
                            Recommended versions are nodejs 18.x.y and npm 9.x.y
                            Your nodejs installation is correct
                            
                            MEMORY:
                                           total        used        free      shared  buff/cache   available
                            Mem:            3.8G        832M        2.5G        0.0K        491M        2.9G
                            Swap:            99M          0B         99M
                            Total:          3.9G        832M        2.6G
                            
                            Active iob-Instances:   20
                            Active repo(s): stable
                            
                            ioBroker Core:          js-controller           4.0.24
                                                    admin                   6.8.0
                            
                            ioBroker Status:        iobroker is running on this host.
                            
                            
                            Objects type: jsonl
                            States  type: jsonl
                            
                            Status admin and web instance:
                            + system.adapter.admin.0                  : admin                 : RasPi4ioBroker                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                              system.adapter.web.1                    : web                   : RasPi4ioBroker                           - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                            + system.adapter.web.2                    : web                   : RasPi4ioBroker                           -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            
                            Objects:                3063
                            States:                 2610
                            
                            Size of iob-Database:
                            
                            7.8M    /opt/iobroker/iobroker-data/objects.jsonl
                            3.7M    /opt/iobroker/iobroker-data/objects.json.migrated
                            3.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                            0       /opt/iobroker/iobroker-data/objects.json.broken
                            4.2M    /opt/iobroker/iobroker-data/states.jsonl
                            168K    /opt/iobroker/iobroker-data/states.json.migrated
                            168K    /opt/iobroker/iobroker-data/states.json.bak.migrated
                            0       /opt/iobroker/iobroker-data/states.json.broken
                            
                            =================== END OF SUMMARY ====================
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Flixer last edited by

                              @flixer
                              Passt. Hau das Update für den ioBroker noch rein.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Flixer @Thomas Braun last edited by

                                @thomas-braun
                                Hallo,

                                ich weiß leider nicht was ich noch aktualisieren soll. Folgende Befehle habe ich alle nochmal durchlaufen lassen.

                                sudo iobroker stop
                                sudo iobroker update
                                sudo iobroker upgrade self
                                sudo iobroker upgrade
                                sudo iobroker start
                                

                                Bis auf JavaScript (6.1.4 auf 7.0.3) ist alles aktuell. Ich muss erst noch nachsehen, ob meine Scripte von der Aktualisierung betroffen sind, daher noch kein Update.

                                DJMarc75 1 Reply Last reply Reply Quote 0
                                • DJMarc75
                                  DJMarc75 @Flixer last edited by

                                  @flixer iobroker NIEMALS mit sudo anpacken !

                                  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

                                  922
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  22
                                  944
                                  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