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.
    • bahnuhr
      bahnuhr Forum Testing Most Active @chaser last edited by

      @chaser
      nodejs - 12
      node - 14
      Sollten hier nicht beide indentisch sein ?

      Aktuell stable ist dies, habe es gerade bei mir nachgestellt:
      60db4414-322e-451f-8b48-9dcf34cb31bb-image.png

      Vielleicht erst einmal das System richtig und auf aktuellen Stand bringen.

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

        @bahnuhr sagte in VIS Dateimanager Verbindungsfehler:

        Sollten hier nicht beide indentisch sein ?

        Natürlich, aber hier gibt es zwei Installationen parallel, und eine davon im falschen Verzeichnis

        @chaser sagte in VIS Dateimanager Verbindungsfehler:

        usr/local/bin/node

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

          Und aus der falschen Quelle wird auch geschöpft.
          Offenbar läuft da ein bullseye, die nodesource.list buddelt aber in buster herum. Das ist falsch.

          @chaser
          Schau in meiner Signatur nach, wie man das aufräumt und richtig installiert.

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

            @thomas-braun Danke dir.

            die Installation habe ich glattgezogen. Mit der Anleitung hat das super geklappt.

            /usr/bin/nodejs
            v16.17.0
            /usr/bin/node
            v16.17.0
            /usr/bin/npm
            8.15.0
            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
                     run-level 5  2022-09-11 19:20
            pi
            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
            

            Leider hat das aber nicht das Problem mit dem VIS gelöst immer noch Verbindungsfehler.

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

              @chaser

              Zeig mal bitte die vollständige Ausgabe. Da fehlt was.

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

                Bei mir taucht auch seit heute plötzlich wieder das Fenster mit Verbindungsfehler auf. Hatte jetzt Wochenlang Ruhe gehabt, und heute das 1.Mal wieder gesehen. Update etc.. wurden keine gemacht.

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

                  @stefu87_ch
                  Dann auch hier die gleiche Übung...

                  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 sagte in VIS Dateimanager Verbindungsfehler:

                    @stefu87_ch
                    Dann auch hier die gleiche Übung...

                    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
                    

                    Ergebniss ist:

                    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/node
                    /usr/bin/npm
                    admin@Iobroker:~$
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            865
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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