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.
    • Homoran
      Homoran Global Moderator Administrators @Karacho last edited by

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

      Nodejs-Installation: /usr/bin/nodejs v12.22.12

      das ist zu alt.

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

      Das Skript bzgl node.js durchgeführt

      ohne Fehlermeldung?

      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:

        Das Skript bzgl node.js durchgeführt

        Mach es nochmal.
        Und dann bitte die Ausgaben posten. Denn eigentlich hätte da am Ende ein nodejs 18.17.1 herumkommen müssen.
        Mit deiner 12.22.12 läuft der ioBroker nicht mehr zusammen, wie du siehst.

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

          @thomas-braun
          Ich hatte vor dem Skript 18.17.1 drauf...
          Lasse gerade das update auf 18.17.1 laufen...
          Die 12.x.x ist mit dem Skript gekommen...

          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:

            Die 12.x.x ist mit dem Skript gekommen...

            Nein. Die 12 war schon die ganze Zeit drauf.

            Ich hatte vor dem Skript 18.17.1 drauf...

            Jein. In den falschen Pfaden. Die hat das Skript nun gerade gebogen.

            K 1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            917
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

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