Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Keine Update von Node.js und NPM

    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

    Keine Update von Node.js und NPM

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      ManiacKill last edited by

      Ich hab diese Befehle benutzt,

      iob stop
      sudo apt update
      sudo apt full-upgrade
      sudo reboot
      

      Leider werden immer noch die alten Versionen angezeigt,

      Screenshot 2023-04-01 101049.png

      Bei dem Befehl,

      sudo apt full-upgrade
      

      bekomme ich folgende Meldung,

      admin@raspberrypi:~ $ sudo apt full-upgrade
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      Calculating upgrade... Done
      The following package was automatically installed and is no longer required:
        raspinfo
      Use 'sudo apt autoremove' to remove it.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      
      

      iob diag ausgabe,

      ======================= SUMMARY =======================
                           v.2023-01-02
      
      
      Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
      Installation:           Native
      Timezone:               Europe/Berlin
      User-ID:                1000
      X-Server:               false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      
      Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                              /usr/bin/node           v16.19.1
                              /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.0                  : admin                 : Master                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      
      Pending iob updates:    0
      
      Active repo(s): stable
      
      Objects:                24219
      States:                 16411
      
      Size of iob-Database:
      
      23M     /opt/iobroker/iobroker-data/objects.jsonl
      28M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      =================== END OF SUMMARY ====================
      

      Danke für Hilfe

      J Thomas Braun 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @ManiacKill last edited by

        @maniackill
        lass mal ein "normales" Update laufen:

        sudo apt update && sudo apt upgrade
        

        und mach auch das was Dir Dein OS vorschlägt. Dann würde ich eh gleich auf Node 18 hoch, was das Problem eventuell dann gleich mit wegbügelt.

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

          @maniackill

          sudo apt update
          apt policy nodejs
          

          sagt? Manchmal braucht nodesource ein paar Tage bis sie neue Pakete gebacken haben.
          Kommt schon irgendwann vorbeigeschwommen.

          Davon abgesehen ist die derzeitige Empfehlung eh nodejs@18. Stell das Repo auf diese Version um.

          M 2 Replies Last reply Reply Quote 0
          • M
            ManiacKill @Thomas Braun last edited by

            @thomas-braun

            Ok werde ich mal versuchen, hab nur leider kein Backup vom System. Da sollte aber doch alles so bleiben ?

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

              @maniackill sagte in Keine Update von Node.js und NPM:

              hab nur leider kein Backup vom System.

              Warum nicht? Wofür gibt es den Backitup-Adapter?

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

                @thomas-braun

                Bekomm ja keins gemacht scheinbar zu wenig Ram auf meinen PI3.

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

                  @maniackill

                  Dann schalte Adapter aus, bevor du eins machst.
                  Aber 1GB RAM ist schon eng.

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

                    @thomas-braun

                    Ja ich weiß hatte die pi3 noch auf Lager 🙂 Aber das System läuft eigentlich so wie ich es eingerichtet hab recht stabil ! Ich versuche mal ein paar Adapter zu deaktivieren.

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

                      @maniackill sagte in Keine Update von Node.js und NPM:

                      das System läuft eigentlich so wie ich es eingerichtet hab recht stabil !

                      ehrlich?

                      Backups nicht machen können ist nicht sehr stabil.
                      wer weiß wo es sonst noch klemmt.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        ManiacKill @Homoran last edited by

                        @homoran

                        Ja bis das mit dem Backup 🙂 Aber sonst kein Problem. Ich mach jetzt von Master und Slave ein SD Karten Kopie dann hab ich alles.

                        Dann versuche ich das mit dem Update wie @Thomas-Braun geschrieben hat !

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

                          @thomas-braun said in Keine Update von Node.js und NPM:

                          @maniackill

                          sudo apt update
                          apt policy nodejs
                          

                          sagt? Manchmal braucht nodesource ein paar Tage bis sie neue Pakete gebacken haben.
                          Kommt schon irgendwann vorbeigeschwommen.

                          Davon abgesehen ist die derzeitige Empfehlung eh nodejs@18. Stell das Repo auf diese Version um.

                          Das wird da jetzt angezeigt,

                          
                          admin@raspberrypi:~ $ apt policy nodejs
                          nodejs:
                            Installed: 18.15.0-deb-1nodesource1
                            Candidate: 18.15.0-deb-1nodesource1
                            Version table:
                           *** 18.15.0-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                                  100 /var/lib/dpkg/status
                               12.22.12~dfsg-1~deb11u3 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packags
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @ManiacKill last edited by

                            @maniackill

                            Dann ist jetzt nodejs@18 am Start.

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

                              @thomas-braun

                              Ok schon mal gut, aber in der Übersicht bekomme ich jetzt diesen Fehler und auch keine Infos angezeigt beim Master.

                              Cannot get data: TypeError: Cannot create property '_nodeCurrent' on string 'timeout'

                              Der Slave ist auch UptoDate !

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

                                @maniackill sagte in Keine Update von Node.js und NPM:

                                Der Slave ist auch UptoDate !

                                Das sollte eine Selbstverständlichkeit sein.

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

                                  @thomas-braun

                                  So sieht es auch in der Hosts Übersicht aus,

                                  Screenshot 2023-04-01 140136.png

                                  Kommt das wieder später automatisch zurück, ich kann mich erinnern das ich das beim Slave auch mal hatte !

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

                                    @maniackill

                                    Bei der CPU-Auslastung wundert es auch nicht weiter, wenn es da zu timeouts kommt.

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

                                      @thomas-braun

                                      Ja das ist aber beim Pi richtig der hat ja 4Kerne !

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

                                        @maniackill

                                        Und? 136% ist trotzdem zu viel. Was du meinst ist die 'Load Average' aus z. B.

                                        top
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          ManiacKill last edited by

                                          @thomas-braun

                                          Ja ich denke das ich mal was neues nehmen sollte 🙂 Was kann man für so was empfehlen was so ähnlich klein ist wie die pi ? Und das man ohne ein Slave System auskommt !

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

                                            @maniackill

                                            EIn Pi4 / 8 GB rennt hier.
                                            Und der Odroid C4 schaut auch ganz vielversprechend aus, habe ich aber noch nicht unter den Fingern gehabt.

                                            M 2 Replies 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

                                            706
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            28
                                            1007
                                            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