Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspberry Absturz alle 3 Tage

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspberry Absturz alle 3 Tage

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

      @shellyrulestheworld

      Schaut wie eine schiefe Installation von nodejs/npm aus.

      S apollon77 2 Replies Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @shellyrulestheworld last edited by

        @shellyrulestheworld

        wie @Thomas-Braun schon schrieb, schräge Installation und mir fällt dazu noch auf dass 37 Instanzen bei 4GB RAM schon an die Grenzen stossen kann wenn da noch zusätzliche Tools (influx, grafana, usw) drauf laufen.

        Homoran 1 Reply Last reply Reply Quote 0
        • S
          shellyrulestheworld @Thomas Braun last edited by

          @thomas-braun kann ich das beheben? Ich habe das mit npm noch nicht ganz kapiert.

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

            @shellyrulestheworld sagte in Fehler Updating repository stable:

            Ich habe das mit npm noch nicht ganz kapiert.

            Da gibt es auch nix zu kapieren. Man packt npm nie direkt an. Das kommt automatisch in passender Version im nodejs-Paket mit.

            Schau in meiner Signatur wie man das richtig einrichtet. Oder leg einen separaten Thread mit deinem Problem an.

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

              @djmarc75 sagte in Fehler Updating repository stable:

              dass 37 Instanzen bei 4GB RAM schon an die Grenzen stossen kann

              nee, wirklich nicht!

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

                @shellyrulestheworld bitte zu dem Zeitpunkt ins /var/log/syslog schauen. Das sieht nach einem
                Oom aus. Scheinbar wird der js-Controller gekillt. Ob sich dann der raspi neu startet oder nur der Controller ist dann die folgefrage. Und natürlich warum. Ich tippe auf Zuviele Instanzen bei zu wenig RAM.

                Ist aber eher ein anderes Thema als das des threads 😉

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

                  @thomas-braun sagte in Fehler Updating repository stable:

                  @shellyrulestheworld

                  Schaut wie eine schiefe Installation von nodejs/npm aus.

                  Wie kommst du darauf???

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

                    @apollon77

                    npm 9.2.0 passt nicht zu nodejs 16.19.0

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

                      @thomas-braun ja ok …. Das kann aber nicht die Ursache sein 😉

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

                        @apollon77

                        Das hab ich auch nicht behauptet.
                        Ist nur ein Hinweis auf 'krummes Setup' an der Stelle.
                        Und erfahrungsgemäß ist das Setup dann auch noch an weiteren Punkten verbesserungsfähig.

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

                          @apollon77 dann wäre von @shellyrulestheworld die Ausgabe bon iob diag sicherlich hilfreich

                          S 1 Reply Last reply Reply Quote 1
                          • S
                            shellyrulestheworld @Homoran last edited by

                            @homoran

                            ======================= SUMMARY =======================
                                                 v.2023-01-02
                            
                            
                            Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                            Installation:           Native
                            Timezone:               Europe/Berlin
                            User-ID:                1000
                            X-Server:               false
                            Boot Target:            multi-user.target
                            
                            Pending OS-Updates:     29
                            
                            Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                    /usr/bin/node           v16.19.0
                                                    /usr/bin/npm            9.2.0
                                                    /usr/bin/npx            9.2.0
                            
                            ioBroker Core:          js-controller           4.0.24
                                                    admin                   6.3.5
                            
                            ioBroker Status:        iobroker is running on this host.
                            
                            
                            Objects type: jsonl
                            States  type: jsonl
                            
                            Status admin:
                            + system.adapter.admin.1                  : admin                 : raspberrypi                              -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
                            
                            Pending iob updates:    0
                            
                            Active repo(s): stable
                            
                            Objects:                15853
                            States:                 13463
                            
                            Size of iob-Database:
                            
                            26M     /opt/iobroker/iobroker-data/objects.jsonl
                            4.4M    /opt/iobroker/iobroker-data/states.jsonl
                            
                            
                            =================== END OF SUMMARY ====================
                            
                            Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @shellyrulestheworld last edited by

                              @shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:

                              Pending OS-Updates: 29

                              iob stop
                              iob fix
                              sudo apt update
                              sudo apt full-upgrade
                              sudo apt install --reinstall nodejs
                              sudo reboot
                              
                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @shellyrulestheworld last edited by

                                @shellyrulestheworld

                                Wenn die Kiste wieder läuft bitte die Langfassung von iob diag.

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

                                  @shellyrulestheworld da kommt noch mehr! Speicher und so.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    shellyrulestheworld @Homoran last edited by

                                    @homoran
                                    ich habe mal NPM auf version 8.19.3 gemacht. Danach sind keine pending updates mehr da

                                    ======================= SUMMARY =======================
                                                         v.2023-01-02
                                    
                                    
                                    Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                    Installation:           Native
                                    Timezone:               Europe/Berlin
                                    User-ID:                1000
                                    X-Server:               false
                                    Boot Target:            multi-user.target
                                    
                                    Pending OS-Updates:     29
                                    
                                    Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                            /usr/bin/node           v16.19.0
                                                            /usr/bin/npm            8.19.3
                                                            /usr/bin/npx            8.19.3
                                    
                                    ioBroker Core:          js-controller           4.0.24
                                                            admin                   6.3.5
                                    
                                    ioBroker Status:        iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    Status admin:
                                    + system.adapter.admin.1                  : admin                 : raspberrypi                              -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
                                    
                                    Pending iob updates:    0
                                    
                                    Active repo(s): stable
                                    
                                    Objects:                15853
                                    States:                 13464
                                    
                                    Size of iob-Database:
                                    
                                    26M     /opt/iobroker/iobroker-data/objects.jsonl
                                    6.8M    /opt/iobroker/iobroker-data/states.jsonl
                                    
                                    
                                    =================== END OF SUMMARY ====================
                                    Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @shellyrulestheworld last edited by

                                      @shellyrulestheworld

                                      Doch... 29...
                                      Patch die Kiste auf Stand!

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

                                        @shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:

                                        ich habe mal NPM auf version 8.19.3 gemacht.

                                        wie?

                                        @thomas-braun sagte in Raspberry Absturz alle 3 Tage:

                                        Man packt npm nie direkt an.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          shellyrulestheworld @Homoran last edited by

                                          @homoran ja, das stimmt. Hab es aus Versehen mal gemacht und bin jetzt zurück: sudo npm install -g npm@8.19.3

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

                                            @shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:

                                            sudo npm install -g npm@8.19.3

                                            Falsch, falsch, falsch. Finger weg von dem Mumpitiz!
                                            Mach es wie oben von mir geschrieben.

                                            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

                                            467
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            118
                                            6169
                                            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