Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.x jetzt socketio error

    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

    js-controller 3.x jetzt socketio error

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

      @Thomas-Braun said in js-controller 3.x jetzt socketio error:

      nodejs -v
      node -v
      npm -v

      pi@iobroker:~ $ nodejs -v
      v10.20.1
      pi@iobroker:~ $ node -v
      v12.16.2
      pi@iobroker:~ $ npm -v
      6.14.4
      
      
      1 Reply Last reply Reply Quote 0
      • harrym
        harrym last edited by

        @j0nas sagte in js-controller 3.x jetzt socketio error:

        Error: Cannot find module 'undefined/lib/letsencrypt.js'

        'Error: Cannot find module 'undefined/lib/letsencrypt.js' ... haste da mal was damit versucht? letsencrypt und https?

        J 1 Reply Last reply Reply Quote 0
        • J
          j0nas @harrym last edited by

          @harrym

          nein, hatte bis jetzt keine Verschlüsselung aktiviert.

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

            @j0nas Du solltest die Versionen von node und nodejs auf die gleiche Version bringen.

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

              @Thomas-Braun

              ok, done

              pi@iobroker:/opt/iobroker $ nodejs -v
              v12.16.2
              pi@iobroker:/opt/iobroker $ node -v
              v12.16.2
              pi@iobroker:/opt/iobroker $ npm -v
              6.14.4
              

              Fehlermeldung bleibt nach Neustart allerdings identisch

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

                @j0nas Ich würde den Adapter vielleicht noch mal 'drüberbügeln'.

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

                  @Thomas-Braun

                  Hab jetzt mal zusätzlich folgendes gemacht:

                  curl -sL https://iobroker.net/fix.sh | bash -
                  npm rebuild
                  

                  leider auch kein positives Ergebnis.

                  Mit "drüberbügeln" meinst du über die iobroker Weboberfläche löschen und neu installieren? Hab ich auch bereits mehrfach gemacht.

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

                    @j0nas Vielleicht mal über git installieren?
                    Was fährst du da eigentlich für ein System? Raspian auf einem Raspberry Pi?

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

                      @Thomas-Braun

                      Läuft auf meinem Mainframe 🙂 RasPi4 mit Raspian

                      Hab mit Git keine Erfahrung, wie mache ich das denn?

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

                        @j0nas Geht über die 'Katze' Ich glaube aber das klemmt woanders bei dir...
                        Was verrät uns denn

                        apt policy nodejs
                        
                        J 1 Reply Last reply Reply Quote 0
                        • J
                          j0nas @Thomas Braun last edited by

                          @Thomas-Braun said in js-controller 3.x jetzt socketio error:

                          apt policy nodejs

                          Ich glaube auch es liegt eher anders gelagert 😞

                          pi@iobroker:/opt/iobroker $ apt policy nodejs
                          nodejs:
                            Installed: 12.16.2-1nodesource1
                            Candidate: 12.16.2-1nodesource1
                            Version table:
                           *** 12.16.2-1nodesource1 500
                                  500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.15.2~dfsg-2+rpi1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @j0nas last edited by Thomas Braun

                            @j0nas Das sieht sauber aus. Mich irritiert die ungleiche Version von node und nodejs die du oben drin hattest... Wie haste das denn da hingefummelt?

                            J 1 Reply Last reply Reply Quote 1
                            • BBTown
                              BBTown @j0nas last edited by

                              @j0nas
                              was bekommst Du denn hier zurück?

                              which node
                              which nodejs
                              which npm
                              
                              J 1 Reply Last reply Reply Quote 1
                              • J
                                j0nas @Thomas Braun last edited by

                                @Thomas-Braun

                                ja das hab ich wohl nicht so toll gemacht, grundsätzlich habe ich mich daran gehalten - aber wohl einen Schritt ausgelassen.

                                https://forum.iobroker.net/topic/22867/how-to-node-js-f%C3%BCr-iobroker-richtig-updaten

                                1 Reply Last reply Reply Quote 0
                                • J
                                  j0nas @BBTown last edited by

                                  @BBTown said in js-controller 3.x jetzt socketio error:

                                  which node which nodejs which npm

                                  pi@iobroker:/opt/iobroker $ which node
                                  /usr/local/bin/node
                                  pi@iobroker:/opt/iobroker $ which nodejs
                                  /usr/bin/nodejs
                                  pi@iobroker:/opt/iobroker $ which npm
                                  /usr/local/bin/npm
                                  
                                  
                                  Thomas Braun BBTown 3 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @j0nas last edited by

                                    @j0nas Da ist der Fehler. Das muss alles in /usr/bin liegen.

                                    1 Reply Last reply Reply Quote 1
                                    • BBTown
                                      BBTown @j0nas last edited by BBTown

                                      @j0nas Du hast nach wie vor 2 unterschiedliche node-installationen

                                      schau mal hier
                                      und hier

                                      J 1 Reply Last reply Reply Quote 2
                                      • BBTown
                                        BBTown @j0nas last edited by

                                        @j0nas
                                        hast Du die Beiträge von @Thomas-Braun negativ bewertet?
                                        ... das fände ich nicht fair, @Thomas-Braun versucht die ganze Zeit dir zu helfen 😞

                                        J 1 Reply Last reply Reply Quote 1
                                        • J
                                          j0nas @BBTown last edited by

                                          @BBTown

                                          nein ganz und garnicht, Thomas war eine tolle Hilfe. Wo soll ich das gemacht haben?

                                          BBTown Glasfaser 2 Replies Last reply Reply Quote 0
                                          • BBTown
                                            BBTown @j0nas last edited by BBTown

                                            @j0nas dann entschuldige bitte (bei 3 Antworten sah ich eine Bewertung von "-1")
                                            @Thomas-Braun warst Du das selber?? 😎

                                            Thomas Braun 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            913
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            errorproblem socketio
                                            6
                                            65
                                            3106
                                            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