Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob node fix - Skript

    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

    iob node fix - Skript

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

      @thomas-braun

      Danke, hat geklappt!

      ======================= SUMMARY =======================
      		     v.2023-06-20
      
      
         Static hostname: ioBroker
               Icon name: computer-vm
                 Chassis: vm
              Machine ID: 00d6058392fa44d3b60e2dcfbf39a290
                 Boot ID: ab4aea8acd5c4141a66953e96c6126d8
          Virtualization: kvm
        Operating System: Debian GNU/Linux 11 (bullseye)
                  Kernel: Linux 5.10.0-25-amd64
            Architecture: x86-64
      
      Installation: 		kvm
      Kernel: 		x86_64
      Userland: 		amd64
      Timezone: 		Europe/Berlin (CEST, +0200)
      User-ID: 		1000
      X-Server: 		false
      Boot Target: 		graphical.target
      
      Pending OS-Updates: 	0
      Pending iob updates: 	0
      
      Nodejs-Installation: 	/usr/bin/nodejs 	v18.18.0
      			/usr/bin/node 		v18.18.0
      			/usr/bin/npm 		9.8.1
      			/usr/bin/npx 		9.8.1
      
      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:             12G        124M         11G        0.0K        1.2G         11G
      Swap:           974M          0B        974M
      Total:           13G        124M         12G
      
      Active iob-Instances: 	1
      Active repo(s): Stable (default)
      
      ioBroker Core: 		js-controller 		5.0.12
      			admin 			6.10.1
      
      ioBroker Status: 	iobroker is not running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
        system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects: 		18629
      States: 		15864
      
      Size of iob-Database:
      
      22M	/opt/iobroker/iobroker-data/objects.jsonl
      9.4M	/opt/iobroker/iobroker-data/objects.json.migrated
      9.4M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
      54M	/opt/iobroker/iobroker-data/states.jsonl
      4.6M	/opt/iobroker/iobroker-data/states.json.migrated
      4.6M	/opt/iobroker/iobroker-data/states.json.bak.migrated
      
      
      
      =================== END OF SUMMARY ====================
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @bastler last edited by

        @bastler sagte in iob node fix - Skript:

        Danke, hat geklappt!

        So soll es sein.

        B 1 Reply Last reply Reply Quote 1
        • D
          DasBo1975 @Thomas Braun last edited by

          @thomas-braun
          Vielen Dank, hat funktioniert

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

            @thomas-braun Danke für diese super Möglichkeit, dem Laien ein beschwerdefreies Update zu ermöglichen.

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

              @thomas-braun

              Moin, habe seit dem Update jetzt eine Fehlermeldung. Kann die damit zusammen hängen? Hast du einen Hinweis für mich, wie ich den Fehler behoben bekomme?

              Danke und Gruß

              DJMarc75 Thomas Braun 2 Replies Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @bastler last edited by

                @bastler sagte in iob node fix - Skript:

                eine Fehlermeldung.

                und die ist geheim ? 😉

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

                  @bastler sagte in iob node fix - Skript:

                  Hast du einen Hinweis für mich, wie ich den Fehler behoben bekomme?

                  Nein. Wie auch? Du solltest die geheime Fehlermeldung vielleicht bekannt machen.

                  1 Reply Last reply Reply Quote 1
                  • B
                    bastler @DJMarc75 last edited by

                    @djmarc75

                    Sorry hier ist der Screenshot:

                    Screenshot-Okt.-02-2023_11.20.51.jpg

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

                      @bastler

                      Nein, hat nichts mit einem sauber durchgeführten Update zu tun.

                      T 1 Reply Last reply Reply Quote 1
                      • T
                        ticaki Developer @Thomas Braun last edited by

                        @thomas-braun
                        Danke für das Skript hat mir die Sucherei, wie ich von 18.17.x auf 18.18.0 komme erspart 👍

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

                          Ganz neu:
                          Man kann dem Skript jetzt eine Major-Version von nodejs mit geben und dann wird die letzte Version aus diesem Zweig installiert. Siehe erstes Posting für Details.

                          1 Reply Last reply Reply Quote 2
                          • MichaelF
                            MichaelF last edited by

                            Hi, funktioniert der Script auch bei raspberry 64 bit Systemen. Oder ist hier noch was zu beachten ?

                            Grüsse

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

                              @michaelf

                              Funktioniert auf allen aktuellen Systemen, die dpkg/apt verwenden. Also, ja, auch auf einem 64bit-RaspberryOS.

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

                                @thomas-braun said in iob node fix - Skript:

                                @michaelf

                                Funktioniert auf allen aktuellen Systemen, die dpkg/apt verwenden. Also, ja, auch auf einem 64bit-RaspberryOS.

                                Danke für die schnelle Antwort. Allerdings ist es ein Multihost, sorry eben vergessen mit dazu zu schreiben. Der Master ist ein normales RaspberryOS, der host der 64bit.

                                Grüsse

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

                                  @michaelf

                                  Egal. Auf dem Slave wird ledigich nicht die Meldung 'Nothing to do' 2x ausgegeben sondern nur einmal. Wenn aber die aktuelle nodejs 18.18.0 gemeldet wird ist alles i.O.

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

                                    @thomas-braun said in iob node fix - Skript:

                                    @michaelf

                                    Egal. Auf dem Slave wird ledigich nicht die Meldung 'Nothing to do' 2x ausgegeben sondern nur einmal. Wenn aber die aktuelle nodejs 18.18.0 gemeldet wird ist alles i.O.

                                    Danke für die info.

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

                                      @michaelf

                                      Stand aber im Eröffnungspost auch schon drin...

                                      Also 2x 'nothing to do'.
                                      (2x aber nur, wenn die Empfehlung aus dem iobroker herausgelesen werden konnte. Das funktioniert aber nicht immer, für Multihost-Setups z.B. nur für das Hauptsystem)

                                      JoJo58 1 Reply Last reply Reply Quote 0
                                      • S
                                        SuFra last edited by

                                        Super Script, Update von 18.17.x auf 18.18.0 ohne Probleme.

                                        System: Proxmox, ioBrocker im LXC.

                                        Vielen Dank für deine Arbeit Thomas 👍

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

                                          @thomas-braun Guten Morgen, ich habe aktuell Probleme mit meinem Javascript Adapter und wollte daher nodejs aktualisieren. Ich habe eine VM unter Proxmox mit der aktuellen Debian 12 bookworm am laufen. Installiert ist nodejs v18.171 und ich wollte auf 18.18 gehen. Da es nicht nach der Anleitung hier aus dem Forum funktionierte, habe ich recherchiert und dein Script gefunden. Nach dem Start kommt noch die Meldung das ich Geduld haben soll und das war es leider auch. Nach 1,5 Stunden habe ich das Script abgebrochen.

                                          ioBroker nodejs fixer 2023-10-07
                                          
                                          Recommended nodejs-version is: 18.18.0
                                          Checking your installation now. Please be patient!
                                          
                                          Your current setup is:
                                          /usr/bin/nodejs         v18.17.1
                                          /usr/bin/node           v18.17.1
                                          /usr/bin/npm            9.6.7
                                          /usr/bin/npx            9.6.7
                                          /usr/bin/corepack       0.18.0
                                          
                                          We found these nodejs versions available for installation:
                                          
                                          nodejs:
                                            Installed: 18.17.1-deb-1nodesource1
                                            Candidate: 18.17.1-deb-1nodesource1
                                            Version table:
                                           *** 18.17.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               18.13.0+dfsg1-1 500
                                                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                          
                                          
                                          
                                          Nothing to do - Your installation is using the correct paths.
                                          
                                          You are running nodejs v18.17.1. Do you want to install recommended version 18.18.0?
                                          
                                          Press <y> to continue or any other key to quit
                                          Trying to fix your installation now. Please be patient.
                                          

                                          Noch eine Idee was ich machen kann?

                                          Gruß Johannes

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

                                            @jojo58 sagte in iob node fix - Skript:

                                            Noch eine Idee was ich machen kann?

                                            Das ist ein interessantes Verhalten. Sollte eigentlich nicht vorkommen.

                                            sudo apt update
                                            

                                            sagt?

                                            JoJo58 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

                                            702
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            34
                                            198
                                            27134
                                            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