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

      ja, iobroker, raspi reboot, etc. mehrfach

      pi@iobroker:/opt/iobroker $ iobroker stop
      pi@iobroker:/opt/iobroker $ iobroker start
      
      host.iobroker	2020-04-29 01:16:39.435	info	Restart adapter system.adapter.socketio.0 because enabled
      host.iobroker	2020-04-29 01:16:39.435	error	instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.iobroker	2020-04-29 01:16:39.434	error	Caught by controller[0]: }
      host.iobroker	2020-04-29 01:16:39.434	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.socketio/main.js' ]
      host.iobroker	2020-04-29 01:16:39.434	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.iobroker	2020-04-29 01:16:39.434	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14)
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/main.js:9:21)
      host.iobroker	2020-04-29 01:16:39.433	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19)
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:862:27)
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.socketio/main.js
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: Require stack:
      host.iobroker	2020-04-29 01:16:39.432	error	Caught by controller[0]: Error: Cannot find module 'undefined/lib/letsencrypt.js'
      host.iobroker	2020-04-29 01:16:39.431	error	Caught by controller[0]: ^
      host.iobroker	2020-04-29 01:16:39.431	error	Caught by controller[0]: throw err;
      host.iobroker	2020-04-29 01:16:39.431	error	Caught by controller[0]: internal/modules/cjs/loader.js:983
      host.iobroker	2020-04-29 01:16:38.923	info	instance system.adapter.socketio.0 started with pid 23876
      
      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:

        iobroker version

        pi@iobroker:/opt/iobroker $ iobroker version
        3.0.20
        
        BBTown 1 Reply Last reply Reply Quote 0
        • BBTown
          BBTown @j0nas last edited by

          @j0nas
          ich bin nicht sicher ob das etwas zur Sache tut, aber meldest Du dich per http oder verschlüsselt per https an iobroker an?

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

            @Thomas-Braun

            was kann denn der Grund sein, dass er die Variable in der main.js nicht auflösen kann? Weil das undefined ist, kann er ja wahrscheinlich die Datei ja nicht finden. oder?

            undefined/lib/letsencrypt.js
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • J
              j0nas @BBTown last edited by

              @BBTown

              nein.

              Bildschirmfoto 2020-04-29 um 01.21.13.png

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

                @j0nas schalte doch mal den Log-Level auf debug vielleicht bringt das weitere Erkenntnisse?!
                Ein Upload des socketios hast Du nicht noch einmal extra durchgeführt, oder ?
                (was nach einer frischen installation eiegentlich auch nicht zwingend sein müßte, aber man weiss ja nie)

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

                  @j0nas Ich glaube du hast da auch mal irgendwas mit letsencrypt im falschen Verzeichnis installiert.
                  Mit npm irgendwas außerhalb von /opt/iobroker gemacht oder sowas. Ich muss aber jetzt mal schlafen.

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

                    @BBTown @Thomas-Braun

                    ich mach jetzt erstmal einen break. Ich möchte mich aber sehr herzlich bei euch bedanken, dass ihr euch so viel zeit genommen habt, um mir zu helfen. das ist wirklich großartig und nicht selbstverständlich - daumen hoch

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

                      @j0nas
                      dann mal gute Nacht 😴

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

                        @BBTown

                        meinst du das loglevel von socketio?

                        doch das mit dem upload habe ich auch probiert, identisches ergebnis

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

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

                          meinst du das loglevel von socketio?

                          ja, genau

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

                            @j0nas
                            Hast du eine Lösung dafür gefunden?

                            Mein Problem äußert sich auf dei gleiche Art und Weise..

                            host.raspberrypi	2020-05-22 18:35:24.774	error	instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.raspberrypi	2020-05-22 18:35:24.774	error	Caught by controller[0]: }
                            host.raspberrypi	2020-05-22 18:35:24.774	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.socketio/main.js' ]
                            host.raspberrypi	2020-05-22 18:35:24.773	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                            host.raspberrypi	2020-05-22 18:35:24.773	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
                            host.raspberrypi	2020-05-22 18:35:24.773	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                            host.raspberrypi	2020-05-22 18:35:24.773	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                            host.raspberrypi	2020-05-22 18:35:24.773	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                            host.raspberrypi	2020-05-22 18:35:24.772	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
                            host.raspberrypi	2020-05-22 18:35:24.772	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/main.js:9:21)
                            host.raspberrypi	2020-05-22 18:35:24.772	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                            host.raspberrypi	2020-05-22 18:35:24.772	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
                            host.raspberrypi	2020-05-22 18:35:24.772	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:840:27)
                            host.raspberrypi	2020-05-22 18:35:24.771	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
                            host.raspberrypi	2020-05-22 18:35:24.771	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.socketio/main.js
                            host.raspberrypi	2020-05-22 18:35:24.771	error	Caught by controller[0]: Require stack:
                            host.raspberrypi	2020-05-22 18:35:24.771	error	Caught by controller[0]: Error: Cannot find module 'undefined/lib/letsencrypt.js'
                            host.raspberrypi	2020-05-22 18:35:24.770	error	Caught by controller[0]: ^
                            host.raspberrypi	2020-05-22 18:35:24.770	error	Caught by controller[0]: throw err;
                            host.raspberrypi	2020-05-22 18:35:24.769	error	Caught by controller[0]: internal/modules/cjs/loader.js:960
                            
                            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

                            496
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

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