Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. iobroker lässt sich nicht aktualisieren, NPM offenbar defekt

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker lässt sich nicht aktualisieren, NPM offenbar defekt

    This topic has been deleted. Only users with topic management privileges can see it.
    • Samson71
      Samson71 Global Moderator @Christoph77 last edited by

      @christoph77
      Bitte Code in CodeTags setzen.

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

        @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

        NPM lässt sich einfach werde neu installieren noch überschreiben.

        das macht man auch nie nicht.
        npm kommt mit nodejs in der korrekten Version


        hiermit hab ich immer meine Probleme das richtig zu lesen:

        @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

        dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro

        @thomas-braun
        ist das jetzt nur noch RO oder doch nicht?

        C paul53 Thomas Braun 3 Replies Last reply Reply Quote 0
        • C
          Christoph77 @Homoran last edited by

          @homoran Hallo, genau so steht es in der Ausgabe von iob diag, nach "remount-ro" endet die Zeile.

          Show mounted filesystems (real ones only):
          TARGET  SOURCE         FSTYPE OPTIONS
          /       /dev/mmcblk0p2 ext4   rw,noatime
          `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
          
          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Homoran last edited by paul53

            @homoran sagte: npm kommt mit nodejs in der korrekten Version

            Mit dem Update von Node.js auf 18.17.1 hatte ich mir auch NPM zerschossen. Ich habe es dann damit repariert:

            curl -qL https://www.npmjs.com/install.sh | sh
            

            Es wurde Version 9.8.1 installiert.

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

              @homoran sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

              ist das jetzt nur noch RO oder doch nicht?

              Nein, das Dateisystem ist rw gemountet, ro wird es nur im Falle eines Fehlers gemountet.

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

                @christoph77

                sudo apt update
                sudo apt install --reinstall nodejs
                

                liefert?

                C 1 Reply Last reply Reply Quote 0
                • C
                  Christoph77 @Thomas Braun last edited by

                  @thomas-braun said in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

                  sudo apt update

                  christoph@iobroker:/opt/iobroker $ sudo apt update
                  Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                  Get:3 https://deb.nodesource.com/node_18.x bullseye InRelease [4,586 B]
                  Fetched 4,586 B in 1s (3,395 B/s)
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  All packages are up to date.
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Christoph77 last edited by

                    @christoph77

                    Das sind zwei Zeilen...

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Christoph77 @Thomas Braun last edited by

                      @thomas-braun Der zweite Befehl läuft noch

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

                        @christoph77

                        24 Minuten??

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Christoph77 @Thomas Braun last edited by

                          @thomas-braun HAt in der Tat ziemlich lange gebraucht, stand ewig bei 20%.

                          Hier der Code:

                          christoph@iobroker:/opt/iobroker $ sudo apt install --reinstall nodejs
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
                          Need to get 0 B/25.9 MB of archives.
                          After this operation, 0 B of additional disk space will be used.
                          (Reading database ... 56626 files and directories currently installed.)
                          Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_armhf.deb ...
                          Unpacking nodejs (18.17.1-deb-1nodesource1) over (18.17.1-deb-1nodesource1) ...
                          Setting up nodejs (18.17.1-deb-1nodesource1) ...
                          Processing triggers for man-db (2.9.4-2) ...
                          Segmentation fault
                          christoph@iobroker:/opt/iobroker $
                          Homoran 1 Reply Last reply Reply Quote 0
                          • C
                            Christoph77 last edited by

                            @thomas-braun Hat in der Tat ziemlich lange gebraucht, stand ewig bei 20%.

                            Hier der Code:

                            christoph@iobroker:/opt/iobroker $ sudo apt install --reinstall nodejs
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
                            Need to get 0 B/25.9 MB of archives.
                            After this operation, 0 B of additional disk space will be used.
                            (Reading database ... 56626 files and directories currently installed.)
                            Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_armhf.deb ...
                            Unpacking nodejs (18.17.1-deb-1nodesource1) over (18.17.1-deb-1nodesource1) ...
                            Setting up nodejs (18.17.1-deb-1nodesource1) ...
                            Processing triggers for man-db (2.9.4-2) ...
                            Segmentation fault
                            christoph@iobroker:/opt/iobroker $
                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Christoph77 last edited by

                              @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

                              Segmentation fault

                              hmmm, da ist was kaputt

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

                                @homoran

                                Stimmt.

                                Dem Braten würde ich nicht mehr trauen. Neuinstallation. Diesmal die 64Bit-Version.

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  Christoph77 @Thomas Braun last edited by

                                  @thomas-braun Lässt sich nach Neuinstallation ein Backup einspielen oder ist ein im jetzigen Zustand erstelltes Backup unbrauchbar ? Hauptsächlich geht es mir um die erfassten Daten seit Anfang des Jahres.

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

                                    @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

                                    Lässt sich nach Neuinstallation ein Backup einspielen

                                    Vermutlich.

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

                                      @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

                                      ein im jetzigen Zustand erstelltes Backup unbrauchbar

                                      leider ja.
                                      Segmentation Fault deutet auf Speicherzugriffsfehler.
                                      Schlimmstenfalls ist dein RasPi hin, bestenfalls "nur" die Speicherverwaltung.
                                      Was dann in der Backupdatei landet ist Roulette

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        Christoph77 @Homoran last edited by

                                        @homoran Könnte also auch eine defekte SD-Karte sein. Mich verwundert nur dass das System ansonsten stabil und zuverlässig tut was es soll. In welchem Ordner werden denn die erfassten Werte gespeichert ?

                                        Homoran paul53 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Christoph77 last edited by

                                          @christoph77 sagte in iobroker lässt sich nicht aktualisieren, NPM offenbar defekt:

                                          Könnte also auch eine defekte SD-Karte sein

                                          mhhh, möglich wenn es swappt. Aber eher das RAM

                                          1 Reply Last reply Reply Quote 0
                                          • paul53
                                            paul53 @Christoph77 last edited by

                                            @christoph77 sagte: In welchem Ordner werden denn die erfassten Werte gespeichert ?

                                            /opt/iobroker/iobroker-data
                                            
                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            758
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            23
                                            566
                                            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