Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Keine Verbindung zu VIS seit Update js-controller 5.0.x

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Keine Verbindung zu VIS seit Update js-controller 5.0.x

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

      @thomas-braun
      Ich dachte ich hätte 18.17.1 drauf gehabt... mit 12.x.x hätte das ja auch vor dem Js-controller 5.x nicht funktioniert, oder?

      Habe dann 8.17.1 mit

      iob stop
      node -v
      sudo npm cache clean -f
      sudo n v18.17.1
      sudo reboot
      

      installiert.

      Mit 18.17.1 läuft der iobroker wieder hoch, bin damit wieder auf Anfangszustand mit.

      Wenn ich dann Skript starte

      ioBroker nodejs fixer 2023-09-15
      
      Recommended nodejs-version is: 18.17.1
      Checking your installation now. Please be patient!
      
      Your current setup is:
      /usr/bin/nodejs         v12.22.12
      /usr/local/bin/node             v18.17.1
      /usr/local/bin/npm              9.6.7
      /usr/local/bin/npx              9.6.7
      
      *** nodejs is NOT correctly installed ***
      We found these nodejs versions available for installation:
      
      nodejs:
        Installed: 12.22.12-deb-1nodesource1
        Candidate: 12.22.12-deb-1nodesource1
        Version table:
       *** 12.22.12-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u3 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      Your nodejs-Installation seems to be not correct. Shall we try to fix it?
      Press <y> to continue or any other key to quit
      
      
      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Karacho last edited by

        @karacho

        NEIN!!!!!!
        Wo hast du die Anleitung her, da mit n zu hantieren. Das ist falsch und sorgt genau für die schiefen Installationen. Skript wiedermal drüberjagen...

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

          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

          Ich dachte ich hätte 18.17.1 drauf gehabt...

          nein, du hattest zwei Installationen in unterschiedlichen Pfaden.
          Das gibt immer Probleme.

          Das Skript hat im ersten durchlaufen erst einmal die Pfade kortigiert, so dass v12 übrig blieb

          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

          Habe dann 8.17.1 mit

          Warum???

          du solltest nochmal das Skript laufen lassen.

          Jetzt geht der Mist von vorne los

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

            @homoran sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

            du solltest nochmal das Skript laufen lassen.

            @Karacho

            Und dann beides (Pfade und die Installation) über das Skript laufen lassen.
            Ggf. mehrfach laufen lassen.

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

              @thomas-braun
              dh

              curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
              chmod 744 iob_node_update
              ./iob_node_update
              

              einfach nur mehrfach durchlaufen lassen?

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

                @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                ./iob_node_update

                Nur das.
                Herunterladen und die Rechte setzen muss natürlich nur einmal gemacht werden.

                Du darfst auch gerne den Output des Skripts hier posten.

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

                  @thomas-braun

                  1. Durchlauf
                  ioBroker nodejs fixer 2023-09-15
                  
                  Recommended nodejs-version is: 18.17.1
                  Checking your installation now. Please be patient!
                  
                  Your current setup is:
                  /usr/bin/nodejs         v12.22.12
                  /usr/local/bin/node             v18.17.1
                  /usr/local/bin/npm              9.6.7
                  /usr/local/bin/npx              9.6.7
                  
                  *** nodejs is NOT correctly installed ***
                  We found these nodejs versions available for installation:
                  
                  nodejs:
                    Installed: 12.22.12-deb-1nodesource1
                    Candidate: 12.22.12-deb-1nodesource1
                    Version table:
                   *** 12.22.12-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                          100 /var/lib/dpkg/status
                       10.24.0~dfsg-1~deb10u3 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  
                  
                  
                  Your nodejs-Installation seems to be not correct. Shall we try to fix it?
                  Press <y> to continue or any other key to quit
                  
                  Fixing your nodejs setup
                  *** Deleting /usr/local/bin/node ***
                  *** Deleting /usr/local/bin/npm ***
                  *** Deleting /usr/local/bin/npx ***
                  
                  Wrong paths have been fixed. Run 'iob diag' or 'iob node-update' again to check if your installation is fine now
                  Nothing to do, your installed version is the recommended one.
                  
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Karacho last edited by

                    @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                    Your nodejs-Installation seems to be not correct. Shall we try to fix it?
                    Press <y> to continue or any other key to quit
                    Nothing to do, your installed version is the recommended one.

                    Bestätigst du das mit y? Denn es sollten die falschen Pfade gelöscht werden.

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

                      @thomas-braun
                      Ja

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

                        @karacho

                        Dann jetzt einen zweiten Durchlauf. Da sollte eine alte Version festgestellt werden und ein Upgrade auf nodejs@18 vorgeschlagen werden.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Karacho @Karacho last edited by

                          @karacho
                          Blöde Frage:
                          y oder z --> ich mache y

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

                            @karacho

                            y

                            Jedenfalls wenn das deutsche Tastenlayout geladen wurde. Bei englischer Belegung müsste dann z gedrückt werden. Wird aber bei dir nicht der Fall sein.

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

                              @thomas-braun
                              Iobroker staret jetzt nach 2. Durchlauf

                              Folgende Rückmeldung beim 2. Durchlauf

                              ioBroker nodejs fixer 2023-09-15
                              No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                              
                              Your current setup is:
                              /usr/bin/nodejs         v12.22.12
                              /usr/bin/node           v12.22.12
                              /usr/bin/npm            6.14.16
                              /usr/bin/npx            6.14.16
                              
                              We found these nodejs versions available for installation:
                              
                              nodejs:
                                Installed: 12.22.12-deb-1nodesource1
                                Candidate: 12.22.12-deb-1nodesource1
                                Version table:
                               *** 12.22.12-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   10.24.0~dfsg-1~deb10u3 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              
                              
                              
                              Nothing to do, your installation is using the correct paths.
                              
                              You are running nodejs v12.22.12. Do you want to install recommended version ?
                              
                              Press <y> to continue or any other key to quit
                              Trying to fix your installation now. Please be patient.
                              rm: cannot remove '': No such file or directory
                              Waiting for ioBroker to shut down - Give me a minute...
                              ############################################################
                              
                              *** These repos are active on your system:
                              Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                              Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Reading package lists... Done
                              
                              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                              
                              *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                              Package: nodejs
                              Pin: origin deb.nodesource.com
                              Pin-Priority: 1001
                              
                              *** These repos are active after the adjustments:
                              Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                              Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                              Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
                              Fetched 17.3 kB in 1s (17.7 kB/s)
                              Reading package lists... Done
                              
                              Installing the recommended nodejs version now!
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              E: Version '-1nodesource1' for 'nodejs' was not found
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages were automatically installed and are no longer required:
                                gstreamer1.0-pulseaudio lxplug-volume rpi-eeprom-images
                              Use 'sudo apt autoremove' to remove them.
                              The following packages will be upgraded:
                                nodejs
                              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              Need to get 26.7 MB of archives.
                              After this operation, 90.7 MB of additional disk space will be used.
                              Do you want to continue? [Y/n] y
                              Get:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.17.1-1nodesource1 [26.7 MB]
                              Fetched 26.7 MB in 3s (7872 kB/s)
                              Reading changelogs... Done
                              (Reading database ... 100205 files and directories currently installed.)
                              Preparing to unpack .../nodejs_18.17.1-1nodesource1_armhf.deb ...
                              Detected old npm client, removing...
                              Unpacking nodejs (18.17.1-1nodesource1) over (12.22.12-deb-1nodesource1) ...
                              Setting up nodejs (18.17.1-1nodesource1) ...
                              Processing triggers for man-db (2.8.5-2) ...
                              
                              We tried our best to fix your nodejs. Please run iob diag again to verify.
                              
                              *** RESTARTING ioBroker NOW! ***
                               Please refresh or restart your browser in a few moments.
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @Karacho last edited by

                                @karacho das was bei dir ein y erzeugt.

                                Wenn du dazu das z drücken musst, hast du was falsch konfiguriert

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

                                  @karacho

                                  Ja, so soll das aussehen.
                                  Ein dritter Durchlauf wird zwei Meldungen mit 'Nothing to do' bringen.

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

                                    @thomas-braun

                                    ioBroker nodejs fixer 2023-09-15
                                    
                                    Recommended nodejs-version is: 18.17.1
                                    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/local/bin/corepack         0.18.0
                                    
                                    *** nodejs is NOT correctly installed ***
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 18.17.1-1nodesource1
                                      Candidate: 18.17.1-1nodesource1
                                      Version table:
                                     *** 18.17.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         18.17.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.16.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.16.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.15.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.2-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.14.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.13.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.12.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.11.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.10.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.9.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.9.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.8.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.7.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.6.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.5.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.4.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.3.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.2.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.1.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         18.0.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                         10.24.0~dfsg-1~deb10u3 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    
                                    
                                    
                                    Your nodejs-Installation seems to be not correct. Shall we try to fix it?
                                    Press <y> to continue or any other key to quit
                                    
                                    Fixing your nodejs setup
                                    *** Deleting /usr/local/bin/corepack ***
                                    
                                    Wrong paths have been fixed. Run 'iob diag' or 'iob node-update' again to check if your installation is fine now
                                    Nothing to do, your installed version is the recommended one.
                                    
                                    
                                    Thomas Braun K 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Karacho last edited by

                                      @karacho

                                      Ah, corepack wird natürlich erst jetzt gefunden.
                                      Dann nochmal Skript laufen lassen.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Karacho @Karacho last edited by

                                        @karacho
                                        So habe jetzt noch mal durchlaufen lassen.
                                        2x nothing to do

                                        Iobroker neu gestartet.
                                        VIS funktioniert nicht
                                        solarlog Adapter startet nicht.

                                        Gleiches Bild wie nach dem update js-controller von 4.x. auf 5.x

                                        Stand iob diag

                                        ======================= SUMMARY =======================
                                                             v.2023-06-20
                                        
                                        
                                           Static hostname: raspberrypi4-iob
                                                 Icon name: computer
                                                Machine ID: 7520f6fd74454b99bf8a0c3666ca6ae6
                                                   Boot ID: cd5e4022480d4ac5b84276a48432878e
                                          Operating System: Raspbian GNU/Linux 10 (buster)
                                                    Kernel: Linux 5.10.103-v7l+
                                              Architecture: arm
                                        
                                        Installation:           native
                                        Kernel:                 armv7l
                                        Userland:               armhf
                                        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.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        1.3G        2.0G         24M        575M        2.4G
                                        Swap:           99M          0B         99M
                                        Total:         3.9G        1.3G        2.1G
                                        
                                        Active iob-Instances:   31
                                        Active repo(s): Stable (default)
                                        
                                        ioBroker Core:          js-controller           5.0.12
                                                                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                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        + system.adapter.web.0                    : web                   : raspberrypi4-iob                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        
                                        Objects:                15063
                                        States:                 13165
                                        
                                        Size of iob-Database:
                                        
                                        17M     /opt/iobroker/iobroker-data/objects.jsonl
                                        11M     /opt/iobroker/iobroker-data/objects.json.migrated
                                        11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                        6.6M    /opt/iobroker/iobroker-data/states.jsonl
                                        2.5M    /opt/iobroker/iobroker-data/states.json.migrated
                                        2.5M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                        
                                        
                                        
                                        =================== END OF SUMMARY ====================
                                        
                                        
                                        Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Karacho last edited by

                                          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                          Stand iob diag

                                          da gibt's noch mehr!
                                          Das ist nur die Summary

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

                                            @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                            Your nodejs installation is correct

                                            Zumindest diese Baustelle ist abgeschlossen.

                                            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

                                            572
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            39
                                            2065
                                            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