Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. 2021 geht ja gut los - Iobroker hängt!

    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

    UNSOLVED 2021 geht ja gut los - Iobroker hängt!

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      brokeling last edited by brokeling

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi4
      Arbeitsspeicher: 4GB
      Festplattenart: SD

      Ach manno, jetzt hängt das System und ich komm nicht auf die Oberfläche!!!!!
      Heute habe ich ein paar neue BM angelernt (deconz) und Aliase/Skripte angepasst.

      So ein Problem hatte ich schonmal und ich habe jetzt mal alles soweit upgedated:

      sudo systemctl stop iobroker
      sudo apt-get update
      sudo apt-get upgrade
      sudo apt dist-upgrade
      sudo reboot
      

      aber es hats ich nichts geändert - Oberfläche nicht erreichbar!

      Bitte helft mir!!!

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

        @brokeling

        iobroker list adapters
        iobroker list instances
        
        B 1 Reply Last reply Reply Quote 0
        • B
          brokeling @Thomas Braun last edited by brokeling

          @Thomas-Braun
          Hi Thomas,
          ich habe gerade gesehen, ich hatte noch eine Internet Instanz vom Iobroker offen - da gelang es mir nun auf "logs" zu gehen.
          Es kommen ständig Warnungen, die einen der BM betreffen (Javaskript)
          Vielleicht sollte ich mal die JavaSkripte stilllegen. Nur komm ich nicht auf die Instanzen!
          hier die Daten adapter/instances:

          pi@raspi:~ $ iobroker list adapters
          system.adapter.admin                   : admin          - v4.0.10
          system.adapter.asterisk                : asterisk       - v1.0.6
          system.adapter.backitup                : backitup       - v1.7.0
          system.adapter.cameras                 : cameras        - v0.1.2
          system.adapter.chromecast              : chromecast     - v2.3.1
          system.adapter.cloud                   : cloud          - v3.1.0
          system.adapter.deconz                  : deconz         - v1.3.11
          system.adapter.devices                 : devices        - v0.3.6
          system.adapter.digitalstrom            : digitalstrom   - v0.5.5
          system.adapter.discovery               : discovery      - v2.3.11
          system.adapter.fb-checkpresence        : fb-checkpresence - v1.1.0
          system.adapter.flot                    : flot           - v1.9.2
          system.adapter.fritzdect               : fritzdect      - v0.2.4
          system.adapter.history                 : history        - v1.9.10
          system.adapter.hue                     : hue            - v3.3.5
          system.adapter.hue-extended            : hue-extended   - v1.3.8
          system.adapter.icons-open-icon-library-png: icons-open-icon-library-png - v0.1.2
          system.adapter.info                    : info           - v1.7.10
          system.adapter.javascript              : javascript     - v4.8.4
          system.adapter.luftdaten               : luftdaten      - v1.0.1
          system.adapter.moma                    : moma           - v1.2.7
          system.adapter.mqtt                    : mqtt           - v2.1.9
          system.adapter.nuki                    : nuki           - v1.4.2
          system.adapter.paw                     : paw            - v0.0.7
          system.adapter.ping                    : ping           - v1.4.12
          system.adapter.pushover                : pushover       - v2.0.3
          system.adapter.samsung                 : samsung        - v0.2.9
          system.adapter.sayit                   : sayit          - v1.12.2
          system.adapter.simple-api              : simple-api     - v2.4.8
          system.adapter.socketio                : socketio       - v3.0.13
          system.adapter.sonoff                  : sonoff         - v2.3.3
          system.adapter.sql                     : sql            - v1.15.3
          system.adapter.statistics              : statistics     - v0.2.2
          system.adapter.telegram                : telegram       - v1.6.0
          system.adapter.terminal                : terminal       - v0.1.2
          system.adapter.text2command            : text2command   - v2.0.5
          system.adapter.tr-064                  : tr-064         - v4.2.1
          system.adapter.vis                     : vis            - v1.2.11
          system.adapter.vis-history             : vis-history    - v1.0.0
          system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.1.4
          system.adapter.vis-icontwo             : vis-icontwo    - v0.24.0
          system.adapter.vis-justgage            : vis-justgage   - v1.0.2
          system.adapter.vis-metro               : vis-metro      - v1.1.2
          system.adapter.vis-rgraph              : vis-rgraph     - v0.0.2
          system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
          system.adapter.web                     : web            - v3.0.14
          system.adapter.whatsapp-cmb            : whatsapp-cmb   - v0.1.6
          system.adapter.zigbee                  : zigbee         - v1.3.1
          
          
          
          
          pi@raspi:~ $ iobroker list instances
          + system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.backitup.0              : backitup              -  enabled
          + system.adapter.chromecast.0            : chromecast            -  enabled
          + system.adapter.cloud.0                 : cloud                 -  enabled
          + system.adapter.deconz.0                : deconz                -  enabled
            system.adapter.devices.0               : devices               -  enabled
          + system.adapter.fb-checkpresence.0      : fb-checkpresence      -  enabled
            system.adapter.flot.0                  : flot                  -  enabled
          + system.adapter.fritzdect.0             : fritzdect             -  enabled
            system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png -  enabled
          + system.adapter.info.0                  : info                  -  enabled
          + system.adapter.javascript.0            : javascript            -  enabled
            system.adapter.luftdaten.0             : luftdaten             -  enabled
            system.adapter.luftdaten.1             : luftdaten             -  enabled
          + system.adapter.mqtt.0                  : mqtt                  -  enabled, port: 1884, bind: 0.0.0.0
          + system.adapter.nuki.0                  : nuki                  -  enabled
          + system.adapter.pushover.0              : pushover              -  enabled
          + system.adapter.samsung.0               : samsung               -  enabled
          + system.adapter.sayit.0                 : sayit                 -  enabled, port: 0
          + system.adapter.sayit.1                 : sayit                 -  enabled, port: 0
          + system.adapter.sayit.2                 : sayit                 -  enabled, port: 0
          + system.adapter.sayit.3                 : sayit                 -  enabled, port: 0
          + system.adapter.sayit.4                 : sayit                 -  enabled, port: 0
          + system.adapter.sonoff.0                : sonoff                -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.sql.0                   : sql                   -  enabled, port: 0
            system.adapter.statistics.0            : statistics            - disabled
          + system.adapter.telegram.0              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.terminal.0              : terminal              -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
          + system.adapter.text2command.0          : text2command          -  enabled
            system.adapter.vis-history.0           : vis-history           -  enabled
            system.adapter.vis-hqwidgets.0         : vis-hqwidgets         -  enabled
            system.adapter.vis-icontwo.0           : vis-icontwo           -  enabled
            system.adapter.vis-justgage.0          : vis-justgage          -  enabled
            system.adapter.vis-metro.0             : vis-metro             -  enabled
            system.adapter.vis-rgraph.0            : vis-rgraph            -  enabled
            system.adapter.vis-timeandweather.0    : vis-timeandweather    -  enabled
            system.adapter.vis.0                   : vis                   -  enabled
          + system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            system.adapter.whatsapp-cmb.0          : whatsapp-cmb          - disabled
            system.adapter.zigbee.0                : zigbee                - disabled
          
          + instance is alive
          
          
          
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @brokeling last edited by

            @brokeling

            iobroker stop javascript
            

            Kommst du dann wieder drauf?

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

              Ich komm noch nicht drauf.
              hier mal ein Auszug aus den logs, da ist wohl was schief gelaufen mit einem falsch deklarierten Wert - boolean...
              Es scheint als hätten sich die Fehler aufgestaut und müssten abgearbeitet werden.

              javascript.0	2021-01-01 18:12:47.880	warn	(17318) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41
              javascript.0	2021-01-01 18:12:47.880	warn	(17318) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:472:25)
              javascript.0	2021-01-01 18:12:47.880	warn	(17318) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1055:38)
              javascript.0	2021-01-01 18:12:47.880	warn	(17318) at Object.<anonymous> (script.js.common.Bewegungsmelder.Alle_BM_Status.BM_Garage_Latenz:6:5)
              javascript.0	2021-01-01 18:12:47.880	warn	(17318) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1358:20)
              javascript.0	2021-01-01 18:12:47.879	warn	(17318) You are assigning a number to the state "alias.0.Bewegungsmelder._BM_Garage.MAINTAIN" which expects a boolean. Please fix your code to use a boolean or change the state type to number. This wa
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at processImmediate (internal/timers.js:461:21)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:236:41)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at Array.forEach (<anonymous>)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:472:25)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1055:38)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at Object.<anonymous> (script.js.common.Bewegungsmelder.Alle_BM_Status.BM_Garage_Latenz:6:5)
              javascript.0	2021-01-01 18:12:47.878	warn	(17318) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1358:20)
              javascript.0	2021-01-01 18:12:47.877	warn	(17318) You are assigning a number to the state "alias.0.Bewegungsmelder._BM_Garage.MAINTAIN" which expects a boolean. Please fix your code to use a boolean or change the state type to number. This wa
              javascript.0	2021-01-01 18:12:47.877	warn	(17318) at processImmediate (internal/timers.js:461:21)
              javascript.0	2021-01-01 18:12:47.876	warn	(17318) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:236:41)
              javascript.0	2021-01-01 18:12:47.876	warn	(17318) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46)
              javascript.0	2021-01-01 18:12:47.876	warn	(17318) at Array.forEach (<anonymous>)
              javascript.0	2021-01-01 18:12:47.876	warn	(17318) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41
              javascript.0	2021-01-01 18:12:47.876	warn	(17318) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:472:25)
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @brokeling last edited by

                @brokeling

                iobroker restart
                
                B 1 Reply Last reply Reply Quote 0
                • B
                  brokeling @Thomas Braun last edited by

                  @Thomas-Braun
                  Er mag noch nicht.
                  Die falsche Zuweisung ist in Alias drin. Vielleicht auch das stoppen?

                  B Thomas Braun 2 Replies Last reply Reply Quote 0
                  • B
                    brokeling @brokeling last edited by

                    Und ich sehe gerade - Javascript läuft wohl immer noch!
                    Kann das sein, dass es nach restart wieder automatisch startet?

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

                      @brokeling
                      Dann stop mal beide Adapter.

                      B 1 Reply Last reply Reply Quote 1
                      • paul53
                        paul53 @brokeling last edited by paul53

                        @brokeling sagte:

                        Javascript läuft wohl immer noch!
                        Kann das sein, dass es nach restart wieder automatisch startet?

                        Ja, alle aktivierten Instanzen starten wieder. Du hast anscheinend eine Endlosschleife programmiert.

                        @brokeling sagte:

                        Die falsche Zuweisung ist in Alias drin. Vielleicht auch das stoppen?

                        Den js-controller ?

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          brokeling @paul53 last edited by brokeling

                          Habe jetzt einen restart iobroker gemacht, dann sofort javascript gestoppt, so hat der Adapter gar nicht soviel Gelegenheit gehabt, Fehler zu produzieren.
                          Jetzt bin ich reingekommen!
                          Wie ich "Alias" stoppe wusste ich nicht.
                          Jetzt muss ich auf Fehlersuche.

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @brokeling last edited by

                            @brokeling sagte:

                            Jetzt muss ich auf Fehlersuche.

                            Stoppe das Script "common.Bewegungsmelder.Alle_BM_Status.BM_Garage_Latenz" und suche darin den Fehler.

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              brokeling @paul53 last edited by

                              @paul53
                              Ich weiß jetzt den Fehler.
                              In diesem von dir genannten Skript wird dem Alias vorgegebenen Typ "maintain" ein number-Wert zugewiesen.
                              Definiert ist maintain aber als boolean. Daher kann er wohl den Wert nicht zuweisen, versucht es aber immer wieder.
                              Ich habe den Alias maintain von boolean in number geändert. Jetzt müsste es passen, es läuft wieder!!! 🙂
                              Mit den Aliasen kenne ich noch nicht so recht aus, unter maintain hab ich bei z.B. bei Bewegungsmeldern die Latenzzeit eingestellt, die ich möglichst kurz will. Die Aqaras BM haben in der Grundeinstellung 90s - mit einem Hardware-Mod gehen auch 6s. Von Zeit zu Zeit stellen die sich gerne wieder auf 90s (Grund unbekannt). Das javaskript erkennt dies und stellt sofort wieder auf 6s.
                              Und diesen Latenz-Wert (BM Objekt) hinterlege ich unter maintain, habe aber wohl vergessen, dass ich noch boolean umstellen muss.
                              Ich weiß nicht ob mein Vorgehen so korrekt ist, und ich "maintain" dafür verwenden kann. Aber nach der Umstellung geht es jetzt, wie auch bei meinen anderen BM!

                              paul53 1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 @brokeling last edited by paul53

                                @brokeling

                                javascript.0	2021-01-01 18:12:47.879	warn	(17318) You are assigning a number to the state "alias.0.Bewegungsmelder._BM_Garage.MAINTAIN" which expects a boolean. Please fix your code to use a boolean or change the state type to number.
                                

                                Das ist "nur" eine Warnung. Der Wert wird trotzdem geschrieben.
                                Damit wird keine Endlosschleife erzeugt, die anscheinend Deinen ioBroker lahm gelegt hat. Du wirst wohl weiter suchen müssen.

                                B 1 Reply Last reply Reply Quote 1
                                • B
                                  brokeling @paul53 last edited by

                                  @paul53
                                  aber mit dieser Änderung
                                  Objekt "maintain" Datentyp boolean -> number besteht das Problem nicht mehr.
                                  Das ist das einzige, was ich verändert habe, und dann den javascript adapter wieder laufen lassen. Und jetzt geht es.

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

                                    @Thomas-Braun,
                                    @paul53 ,
                                    auf alle Fälle herzlichen Dank an euch dass mein System jetzt wieder läuft!!!!!!!!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    475
                                    Online

                                    31.9k
                                    Users

                                    80.1k
                                    Topics

                                    1.3m
                                    Posts

                                    iobroker hängt
                                    3
                                    16
                                    420
                                    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