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.0/3.1 jetzt im Latest!

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @cybertron last edited by

      @cybertron Dann letzte Idee: npm cache clean --force

      C 1 Reply Last reply Reply Quote 0
      • 2
        2hot4you last edited by

        Hallo zusammen, wollte auch mal meine Erfahrung zum Update auf 3.0.20 mitteilen.
        Habe am Wochenende einen neuen Proxmox Container aufgesetzt und den iobroker neu installiert, mit Node 12.x.x
        und aktuellen js-controller auf 3.x.x

        Nach einigen Problemen läuft mein System fast wie zu 100%. Aktuell habe ich mit dem Ping- und Robonect Adapter Probleme.

        Der Ping Adapter ist grün und zeigt keine Fehler an,jedoch werden keine Adressen angepingt.

        Der Robonect Adapter erreeicht den Mäher nicht, obwohl ich über den Browser den Mäher erreiche.
        Auch über den Proxmox Container, auf dem der iobroker läuft kann ich den Mäher anpingen.
        adap.PNG

        iobroker@iobroker-lxc:~# ping 192.168.30.77
        PING 192.168.30.77 (192.168.30.77) 56(84) bytes of data.
        64 bytes from 192.168.30.77: icmp_seq=1 ttl=128 time=6.70 ms
        64 bytes from 192.168.30.77: icmp_seq=2 ttl=128 time=4.74 ms
        64 bytes from 192.168.30.77: icmp_seq=3 ttl=128 time=5.07 ms
        64 bytes from 192.168.30.77: icmp_seq=4 ttl=128 time=16.2 ms
        

        Gruß Michael

        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @2hot4you last edited by

          @2hot4you Was sagen denn die Logs so? Und welche Versionen der Adapter sind installiert?

          2 1 Reply Last reply Reply Quote 0
          • 2
            2hot4you @apollon77 last edited by

            @apollon77

            ich habe den Log mal debug umgestellt, da der Pingadapter sonnst nichts angezeigt hatte
            Ping adapter, version 1.4.5
            Robonect adapter, Version 0.1.3

            ping.0	2020-04-28 16:54:10.139	debug	(28637) system.adapter.admin.0: logging true
            
            ping.0	2020-04-28 16:55:04.778	debug	(28637) Ping result for 192.168.30.102: false in -ms
            ping.0	2020-04-28 16:55:04.777	debug	(28637) STDERR: /bin/ping: socket: Operation not permitted
            ping.0	2020-04-28 16:55:04.774	debug	(28637) System command: /bin/ping -n -w 2 -c 1 192.168.30.102
            
            robonect.0	2020-04-28 16:56:40.348	debug	(32227) system.adapter.admin.0: logging true
            robonect.0	2020-04-28 16:56:36.901	error	(32227) No connection to lawn mower. Check network connection.
            robonect.0	2020-04-28 16:56:36.896	info	(32227) Done
            robonect.0	2020-04-28 16:56:36.892	debug	(32227) Object 'wlan.station.gateway' created
            robonect.0	2020-04-28 16:56:36.891	debug	(32227) Object 'wlan.station.netmask' created
            
            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @2hot4you last edited by apollon77

              @2hot4you ping == installation fixer (iobroker fix) ausführen. Da fehlen rechte

              2 1 Reply Last reply Reply Quote 0
              • Diginix
                Diginix @apollon77 last edited by

                @apollon77 Als Client läuft Windows und da nutze ich lieber Visual Studio Code o.ä. GUI Editoren. 😉

                1 Reply Last reply Reply Quote 0
                • 2
                  2hot4you @apollon77 last edited by 2hot4you

                  @apollon77

                  habe den Fix durchlaufen lassen, keine Änderung.
                  Im Log zeigt er den Fehler an, wenn ich den Befehl in der Shell eingebe geht er

                  ping.0 2020-04-28 17:05:48.818 debug (7517) Ping result for 192.168.30.77: false in -ms
                  ping.0 2020-04-28 17:05:48.817 debug (7517) STDERR: /bin/ping: socket: Operation not permitted
                  ping.0 2020-04-28 17:05:48.815 debug (7517) System command: /bin/ping -n -w 2 -c 1 192.168.30.77
                  ping.0 2020-04-28 17:05:48.815 debug (7517) Pinging 192.168.30.77

                  iobroker@iobroker-lxc:~# ping -n -w 2 -c 1 192.168.30.77 
                  PING 192.168.30.77 (192.168.30.77) 56(84) bytes of data.
                  64 bytes from 192.168.30.77: icmp_seq=1 ttl=128 time=8.15 ms
                  
                  --- 192.168.30.77 ping statistics ---
                  1 packets transmitted, 1 received, 0% packet loss, time 0ms
                  rtt min/avg/max/mdev = 8.145/8.145/8.145/0.000 ms
                  iobroker@iobroker-lxc:~# ping 192.168.30.77
                  PING 192.168.30.77 (192.168.30.77) 56(84) bytes of data.
                  64 bytes from 192.168.30.77: icmp_seq=1 ttl=128 time=8.11 ms
                  64 bytes from 192.168.30.77: icmp_seq=2 ttl=128 time=5.80 ms
                  64 bytes from 192.168.30.77: icmp_seq=3 ttl=128 time=7.81 ms
                  ^C
                  --- 192.168.30.77 ping statistics ---
                  3 packets transmitted, 3 received, 0% packet loss, time 2003ms
                  rtt min/avg/max/mdev = 5.802/7.238/8.106/1.022 ms
                  iobroker@iobroker-lxc:~# 
                  
                  robonect.0	2020-04-28 17:07:05.739	error	(7908) No connection to lawn mower. Check network connection.
                  robonect.0	2020-04-28 17:06:05.737	error	(7908) No connection to lawn mower. Check network connection.
                  robonect.0	2020-04-28 17:05:57.923	debug	(7908) system.adapter.admin.0: logging true
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @2hot4you last edited by Thomas Braun

                    @2hot4you

                    ls -la /bin/ping
                    
                    2 1 Reply Last reply Reply Quote 0
                    • 2
                      2hot4you @Thomas Braun last edited by

                      @Thomas-Braun

                      -rwxr-xr-x 1 root root 72776 Oct 5 2019 /bin/ping

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

                        @2hot4you

                        sudo dpkg-reconfigure iputils-ping
                        

                        Danach nochmal die Rechte prüfen:

                        ls -la /bin/ping
                        
                        harrym 2 2 Replies Last reply Reply Quote -1
                        • harrym
                          harrym @Thomas Braun last edited by

                          @Thomas-Braun ??? wozu? sein PING Befehl funktioniert ja unter Linux. Der Adapter hat ein Probelm damit.

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

                            @harrym Weil da das setuid Bit fehlt.

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

                              @Thomas-Braun lies mal den ganzen thread und auch die logs vom broker........

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

                                @harrym

                                STDERR: /bin/ping: socket: Operation not permitted
                                

                                Schaut mir nach fehlenden Rechten aus.

                                Mein ping hat das setuid Bit jedenfalls:

                                pi@raspberrypi:~$ ls -la /bin/ping
                                -rwsr-xr-x 1 root root 55720 Aug  3  2018 /bin/ping
                                pi@raspberrypi:~$
                                
                                
                                harrym 1 Reply Last reply Reply Quote -1
                                • harrym
                                  harrym @Thomas Braun last edited by harrym

                                  @Thomas-Braun und das ganze hat jedenfalls genau NICHTS mim js-controller zu tun?

                                  aber j4i .... x haben alle user und auch alle gruppen ... oug ... rechte ala unix/linux eben

                                  1 Reply Last reply Reply Quote 0
                                  • 2
                                    2hot4you @Thomas Braun last edited by

                                    @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

                                    ls -la /bin/ping

                                    immer noch das gleiche

                                    
                                    iobroker@iobroker-lxc:~# ls -la /bin/ping
                                    -rwxr-xr-x 1 root root 72776 Oct  5  2019 /bin/ping
                                    
                                    
                                    harrym Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • harrym
                                      harrym @2hot4you last edited by

                                      @2hot4you war zu erwarten ... weil alle rechte passen.

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

                                        @2hot4you

                                        sudo chmod u+s /bin/ping
                                        
                                        harrym 1 Reply Last reply Reply Quote -1
                                        • harrym
                                          harrym @Thomas Braun last edited by

                                          @Thomas-Braun sag mal ! mer als ein x für alle kann nicht sein .... lass dein halbwissen jetzt mal beiseite. Das ist ein problem mit den Adaptern bzw. eine Konfigsache in denen

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

                                            @harrym setuid ist 'mehr' als x
                                            Die Rechte in meinen Raspian lauten jedenfalls so:

                                            pi@raspberrypi:~$ ls -la /bin/ping
                                            -rwsr-xr-x 1 root root 55720 Aug  3  2018 /bin/ping
                                            pi@raspberrypi:~$
                                            

                                            Was bezeichnet jetzt das s?

                                            harrym 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

                                            894
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            367177
                                            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