Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS Dateimanager Verbindungsfehler

    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

    VIS Dateimanager Verbindungsfehler

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

      @stefu87_ch

      sudo ln -s /usr/bin/node /usr/bin/nodejs
      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      S 1 Reply Last reply Reply Quote 0
      • S
        stefu87_CH @Thomas Braun last edited by

        @thomas-braun

        admin@Iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
        [sudo] password for admin: 
        admin@Iobroker:~$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        x86_64
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.17.0
        v16.17.0
        8.15.0
        4.0.23
        admin
        admin sudo iobroker
        /home/admin
        Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
        Hit:2 https://deb.nodesource.com/node_16.x jammy InRelease
        Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
        Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        nodejs:
          Installed: 16.17.0-deb-1nodesource1
          Candidate: 16.17.0-deb-1nodesource1
          Version table:
         *** 16.17.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.9~dfsg-1ubuntu3 500
                500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        admin@Iobroker:~$ 
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @stefu87_CH last edited by

          @stefu87_ch

          Das passt soweit, auch wenn dem 'admin' diverse Gruppenzugehörigkeiten fehlen, damit der als 'admin' funktionieren kann.

          S 2 Replies Last reply Reply Quote 0
          • S
            stefu87_CH @Thomas Braun last edited by

            @thomas-braun Es verwundert mich auch, wieso jetzt plötzlich wieder. Bis heute hat es sauber funktioniert.

            bahnuhr 1 Reply Last reply Reply Quote 0
            • S
              stefu87_CH @Thomas Braun last edited by

              @thomas-braun sagte in VIS Dateimanager Verbindungsfehler:

              @stefu87_ch

              Das passt soweit, auch wenn dem 'admin' diverse Gruppenzugehörigkeiten fehlen, damit der als 'admin' funktionieren kann.

              Kann man den das beheben, das da alles sauber funktioniert?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @stefu87_CH last edited by

                @stefu87_ch

                zeig doch mal die config in den Adaptern:
                web
                ws

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

                  @stefu87_ch sagte in VIS Dateimanager Verbindungsfehler:

                  Kann man den das beheben, das da alles sauber funktioniert?

                  Natürlich. Ist aber nix für den Thread hier.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stefu87_CH @bahnuhr last edited by

                    @bahnuhr

                    Web:
                    f8ed0a10-dc60-4f0a-94a9-54cf9559f653-grafik.png

                    ws ist bei mir nicht aktiv und hat auch ohne sauber funktioniert

                    bahnuhr 1 Reply Last reply Reply Quote 0
                    • bahnuhr
                      bahnuhr Forum Testing Most Active @stefu87_CH last edited by bahnuhr

                      @stefu87_ch

                      probier es doch mal mit ws.
                      Läuft bei mir einwandfrei.

                      Hast dann halt 1 Instanz mehr

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        stefu87_CH @bahnuhr last edited by

                        @bahnuhr Da liegt das Problem mit dem ws Adapter. Der verbindet bei mir nicht und meldet folgendes:

                        2022-09-11 19:50:46.548 - info: host.Iobroker "system.adapter.ws.0" enabled
                        2022-09-11 19:50:46.651 - info: host.Iobroker instance system.adapter.ws.0 started with pid 163404
                        2022-09-11 19:50:47.335 - info: ws.0 (163404) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.ws, node: v16.17.0, js-controller: 4.0.23
                        2022-09-11 19:50:47.451 - error: ws.0 (163404) port 8084 already in use
                        2022-09-11 19:50:47.451 - info: ws.0 (163404) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        2022-09-11 19:50:47.958 - info: ws.0 (163404) terminating http server on port 8084
                        2022-09-11 19:50:48.020 - error: host.Iobroker instance system.adapter.ws.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
                        
                        bahnuhr 1 Reply Last reply Reply Quote 0
                        • bahnuhr
                          bahnuhr Forum Testing Most Active @stefu87_CH last edited by

                          @stefu87_ch sagte in VIS Dateimanager Verbindungsfehler:

                          port 8084 already in use

                          Na ja,
                          dann hast du socket.io noch an.
                          Das muss aus.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stefu87_CH @bahnuhr last edited by

                            @bahnuhr
                            Einstellungen web:
                            ea62eb12-eb92-4a60-90cc-7e0a7a724b56-grafik.png

                            Einstellung ws:
                            c94a39f4-d492-4148-8eff-16a4c47c9fec-grafik.png

                            Fehler im Log:

                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	instance system.adapter.ws.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at processImmediate (node:internal/timers:466:21)
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.ws.server/index.js:152:83)
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at Array.forEach (<anonymous>)
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.ws.server/index.js:152:100
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.ws/lib/socket.js:1344:30)
                            host.Iobroker
                            	2022-09-11 20:00:11.639	error	Caught by controller[0]: at IOSocket.subscribe (/opt/iobroker/node_modules/iobroker.ws/lib/socket.js:324:27)
                            host.Iobroker
                            	2022-09-11 20:00:11.638	error	Caught by controller[0]: TypeError: Cannot read properties of null (reading 'toString')
                            ws.0
                            	2022-09-11 20:00:11.353	error	Cannot read properties of null (reading 'toString')
                            ws.0
                            	2022-09-11 20:00:11.353	error	TypeError: Cannot read properties of null (reading 'toString') at IOSocket.subscribe (/opt/iobroker/node_modules/iobroker.ws/lib/socket.js:324:27) at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.ws/lib/socket.js:1344:30) at /opt/iobroker/node_modules/iobroker.ws.server/index.js:152:100 at Array.forEach (<anonymous>) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.ws.server/index.js:152:83) at processImmediate (node:internal/timers:466:21)
                            ws.0
                            	2022-09-11 20:00:11.351	error	uncaught exception: Cannot read properties of null (reading 'toString')
                            
                            DJMarc75 bahnuhr 2 Replies Last reply Reply Quote 0
                            • DJMarc75
                              DJMarc75 @stefu87_CH last edited by

                              @stefu87_ch

                              @bahnuhr sagte in VIS Dateimanager Verbindungsfehler:

                              dann hast du socket.io noch an.

                              bahnuhr S 2 Replies Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @stefu87_CH last edited by

                                @stefu87_ch

                                Einstellungen habe ich die gleichen.
                                Aber diesen Error kenne ich nicht.
                                Hat vermutlich etwas mit dem js.controller zu tun.

                                Muss jemand anders weiter helfen.

                                Sind deine Adapter alle aktuell ?

                                S 1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @DJMarc75 last edited by

                                  @djmarc75
                                  Die Fehlermeldung mit dem gleichen Port kam aber jetzt nicht mehr.

                                  DJMarc75 1 Reply Last reply Reply Quote 0
                                  • DJMarc75
                                    DJMarc75 @bahnuhr last edited by

                                    @bahnuhr
                                    stimmt....

                                    aber ich glaube mich zu erinnern dass @stefu87_CH eine recht eigenartige Konserveninstallation hat.... kann mich aber auch täuschen und da entschuldige ich schonmal vorab 👍

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stefu87_CH @DJMarc75 last edited by

                                      @djmarc75 sagte in VIS Dateimanager Verbindungsfehler:

                                      @stefu87_ch

                                      @bahnuhr sagte in VIS Dateimanager Verbindungsfehler:

                                      dann hast du socket.io noch an.

                                      Den Beitrag hab ich gesehen. Und NEIN socket.io ist nich aktiv

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stefu87_CH @bahnuhr last edited by

                                        @bahnuhr sagte in VIS Dateimanager Verbindungsfehler:

                                        @stefu87_ch

                                        Sind deine Adapter alle aktuell ?

                                        Ja die sind alle aktuell.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          stefu87_CH @stefu87_CH last edited by

                                          Habe jetzt mal alle Systeme neu durchgestartet und im Moment kommt die Meldung nicht mehr. Beobachte dies weiter

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

                                            @thomas-braun

                                            Stimmt

                                            armv7l
                                            /usr/bin/nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            v16.17.0
                                            v16.17.0
                                            8.15.0
                                            4.0.23
                                            pi
                                            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                            /home/pi
                                            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                            Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease                                  
                                            Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease                                 
                                            Reading package lists... Done                              
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            All packages are up to date.
                                            nodejs:
                                              Installed: 16.17.0-deb-1nodesource1
                                              Candidate: 16.17.0-deb-1nodesource1
                                              Version table:
                                             *** 16.17.0-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 12.22.12~dfsg-1~deb11u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            899
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            vis
                                            6
                                            40
                                            2309
                                            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