Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Jarvis Instanz startet nicht mehr (restart loop)

    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

    [gelöst] Jarvis Instanz startet nicht mehr (restart loop)

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

      @mojo1985 sagte in Jarvis Instanz startet nicht mehr (restart loop):

      jarvis.1

      Kenne den Adapter nicht , aber sind denn überhaupt damit Zwei Instanzen möglich !?

      Node-Version: 10.x.x
      Nodejs-Version: 10.x.x
      NPM-Version: 6.x.x

      Ein/ und Ausgabe davon in Code-Tags </> hier einstellen

      cd /opt/iobroker
      npm ls | grep -E 'github.com|ERR'
      
      iobroker update -i
      
      sudo ln -s /usr/bin/node /usr/bin/nodejs
      
      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      Mojo1985 1 Reply Last reply Reply Quote 0
      • Mojo1985
        Mojo1985 @Glasfaser last edited by

        @glasfaser Das ging ja fix. Ich denke schon dass 2 Instanzen möglich sind. Lief zumindest bislang ohne Probleme. Ich werde die Ein/ und Ausgabe gleich hier posten.

        Mir ist noch etwas eingefallen als ich das Protokoll gelesen hatte.
        Ich hatte vorher versucht im iot-Adapter diverse Datenpunkte einzubinden. Das funktionierte nicht - nach etwas Recherche habe ich die Lösung gefunden. Den Datenpunkten sollte die Zeile "native": {}, hinzugefügt werden. Damit hat es dann auch geklappt.
        Dieses Wort "native" taucht ja auch im Protokoll auf. Bringt uns das der Lösung ein Stück näher?
        Habe schon versucht die Datenpunkte wieder abzuändern. Auch mit dieser Änderung - gleiches Fehlerbild

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Mojo1985 last edited by

          @mojo1985 sagte in Jarvis Instanz startet nicht mehr (restart loop):

          Ich hatte vorher versucht im iot-Adapter

          Bei dem Adapter kann ich dir nicht helfen ...

          Also zeige mal die angeforderten Ausgaben !

          Mojo1985 1 Reply Last reply Reply Quote 0
          • Mojo1985
            Mojo1985 @Glasfaser last edited by

            @glasfaser Sorry, war noch dabei das ganze auszuführen. Hier das Resultat:

            pi@iobroker:~ $ cd /opt/iobroker
            pi@iobroker:/opt/iobroker $ npm ls | grep -E 'github.com|ERR'
            pi@iobroker:/opt/iobroker $ iobroker update -i
            Used repository: stable
            Adapter    "accuweather"  : 1.2.1    , installed 1.2.1
            Adapter    "admin"        : 5.3.8    , installed 5.3.8
            Adapter    "airconwithme" : 0.0.4    , installed 0.0.4
            Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
            Adapter    "backitup"     : 2.4.9    , installed 2.4.9
            Adapter    "bmw"          : 2.5.4    , installed 2.5.4
            Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
            Adapter    "cloud"        : 4.1.1    , installed 4.1.1
            Adapter    "daswetter"    : 3.1.2    , installed 3.1.2
            Adapter    "discovery"    : 3.0.5    , installed 3.0.3  [Updatable]
            Adapter    "dwd"          : 2.8.3    , installed 2.8.3
            Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
            Adapter    "firetv"       : 1.0.0    , installed 1.0.0
            Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
            Adapter    "history"      : 2.1.7    , installed 1.11.1 [Updatable]
            Adapter    "homeconnect"  : 1.0.1    , installed 1.0.1
            Adapter    "ical"         : 1.13.1   , installed 1.12.1 [Updatable]
            Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
            Adapter    "iot"          : 1.11.8   , installed 1.11.4 [Updatable]
            Adapter    "jarvis"       : 3.0.11   , installed 3.0.11
            Adapter    "javascript"   : 5.7.0    , installed 5.7.0
            Controller "js-controller": 4.0.23   , installed 4.0.23
            Adapter    "meross"       : 1.12.0   , installed 1.12.0
            Adapter    "mqtt"         : 3.0.6    , installed 3.0.6
            Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
            Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
            Adapter    "nina"         : 0.0.25   , installed 0.0.25
            Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
            Adapter    "ping"         : 1.5.3    , installed 1.5.3
            Adapter    "ring"         : 3.0.4    , installed 3.0.4
            Adapter    "scenes"       : 2.3.9    , installed 2.3.9
            Adapter    "shelly"       : 5.3.2    , installed 5.3.2
            Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
            Adapter    "socketio"     : 4.2.0    , installed 4.2.0
            Adapter    "spotify-premium": 1.2.1  , installed 1.2.1
            Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
            Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
            Adapter    "trashschedule": 2.0.2    , installed 2.0.2
            Adapter    "tuya"         : 3.6.15   , installed 3.6.15
            Adapter    "vis"          : 1.4.15   , installed 1.4.15
            Adapter    "web"          : 4.3.0    , installed 4.3.0
            Adapter    "windows-control": 0.1.5  , installed 0.1.5
            Adapter    "worx"         : 1.6.6    , installed 1.6.6
            Adapter    "ws"           : 1.3.0    , installed 1.3.0
            pi@iobroker:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
            pi@iobroker:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.16.0
            v16.16.0
            8.11.0
            pi
            /opt/iobroker
            Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease       
            Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease           
            Reading package lists... Done                     
            Building dependency tree... Done
            Reading state information... Done
            69 packages can be upgraded. Run 'apt list --upgradable' to see them.
            nodejs:
              Installed: 16.16.0-deb-1nodesource1
              Candidate: 16.16.0-deb-1nodesource1
              Version table:
             *** 16.16.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
            pi@iobroker:/opt/iobroker $ 
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Mojo1985 last edited by Glasfaser

              @mojo1985

              iobroker list instances
              
              Mojo1985 1 Reply Last reply Reply Quote 0
              • Mojo1985
                Mojo1985 @Glasfaser last edited by Mojo1985

                pi@iobroker:/opt/iobroker $ iobroker list instances
                  system.adapter.accuweather.0            : accuweather           : iobroker                                 - disabled
                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.airconwithme.1           : airconwithme          : iobroker                                 -  enabled
                + system.adapter.airconwithme.2           : airconwithme          : iobroker                                 -  enabled
                + system.adapter.airconwithme.3           : airconwithme          : iobroker                                 -  enabled
                + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
                + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                + system.adapter.bmw.0                    : bmw                   : iobroker                                 -  enabled
                + system.adapter.chromecast.0             : chromecast            : iobroker                                 -  enabled
                + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
                  system.adapter.daswetter.0              : daswetter             : iobroker                                 -  enabled
                + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                  system.adapter.dwd.0                    : dwd                   : iobroker                                 - disabled
                  system.adapter.feiertage.0              : feiertage             : iobroker                                 - disabled
                + system.adapter.firetv.0                 : firetv                : iobroker                                 -  enabled
                  system.adapter.fritzdect.1              : fritzdect             : iobroker                                 - disabled
                  system.adapter.history.0                : history               : iobroker                                 - disabled
                + system.adapter.history.1                : history               : iobroker                                 -  enabled
                + system.adapter.homeconnect.0            : homeconnect           : iobroker                                 -  enabled
                  system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
                  system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 -  enabled
                + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
                  system.adapter.jarvis.0                 : jarvis                : iobroker                                 -  enabled
                + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                + system.adapter.meross.0                 : meross                : iobroker                                 -  enabled
                  system.adapter.mqtt.0                   : mqtt                  : iobroker                                 - disabled, port: 1883, bind: 0.0.0.0
                  system.adapter.net-tools.0              : net-tools             : iobroker                                 - disabled
                  system.adapter.netatmo-crawler.0        : netatmo-crawler       : iobroker                                 -  enabled
                + system.adapter.nina.0                   : nina                  : iobroker                                 -  enabled
                + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
                  system.adapter.ping.1                   : ping                  : iobroker                                 - disabled
                + system.adapter.ring.0                   : ring                  : iobroker                                 -  enabled
                + system.adapter.scenes.0                 : scenes                : iobroker                                 -  enabled
                  system.adapter.shelly.0                 : shelly                : iobroker                                 - disabled, port: 1882, bind: 0.0.0.0
                  system.adapter.spotify-premium.0        : spotify-premium       : iobroker                                 - disabled
                  system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 - disabled
                + system.adapter.tr-064.3                 : tr-064                : iobroker                                 -  enabled
                + system.adapter.tr-064.4                 : tr-064                : iobroker                                 -  enabled
                + system.adapter.tr-064.5                 : tr-064                : iobroker                                 -  enabled
                + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
                + system.adapter.tuya.0                   : tuya                  : iobroker                                 -  enabled
                  system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                + system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  system.adapter.windows-control.0        : windows-control       : iobroker                                 - disabled
                + system.adapter.worx.0                   : worx                  : iobroker                                 -  enabled
                
                + instance is alive
                pi@iobroker:/opt/iobroker $
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Mojo1985 last edited by Glasfaser

                  @mojo1985 sagte in Jarvis Instanz startet nicht mehr (restart loop):

                  system.adapter.jarvis.0 : jarvis : iobroker - enabled

                  ist Instanz 0

                  aber dein Log zeigt Instanz 1

                  Mojo1985 1 Reply Last reply Reply Quote 0
                  • Mojo1985
                    Mojo1985 @Glasfaser last edited by Mojo1985

                    @glasfaser Ich hatte Anfangs 2 Instanzen. Wovon ich die eine eh nicht genutzt habe. Ich habe daraufhin beide deinstalliert. Jetzt gibt es nur noch die Instanz 0

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Mojo1985 last edited by

                      @mojo1985 sagte in Jarvis Instanz startet nicht mehr (restart loop):

                      Ich habe daraufhin beide deinstalliert. Jetzt gibt es nur noch die Instanz 0

                      und warum zeigt dein Log ganz oben Instanz 1 ... kann ich mir gerade nicht erklären !?

                      Mojo1985 1 Reply Last reply Reply Quote 0
                      • Mojo1985
                        Mojo1985 @Glasfaser last edited by Mojo1985

                        @glasfaser Weil die zu diesem Zeitpunkt noch installiert war. Mittlerweile aber nicht mehr.

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Mojo1985 last edited by

                          @mojo1985 sagte in Jarvis Instanz startet nicht mehr (restart loop):

                          Mittlerweile aber nicht mehr.

                          Und wie ist jetzt das Log .. ... bitte immer Aktuelle Logs hier einstellen !!

                          Mojo1985 1 Reply Last reply Reply Quote 0
                          • Mojo1985
                            Mojo1985 @Glasfaser last edited by Mojo1985

                            @glasfaser Das Log war zum geforderten Zeitpunkt brandaktuell.

                            Log kommt gleich

                            EDIT:

                            host.iobroker
                            2022-07-22 19:56:55.467	warn	Do not restart adapter system.adapter.jarvis.0 because restart loop detected
                            host.iobroker
                            2022-07-22 19:56:55.467	info	Restart adapter system.adapter.jarvis.0 because enabled
                            host.iobroker
                            2022-07-22 19:56:55.467	error	instance system.adapter.jarvis.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            jarvis.0
                            2022-07-22 19:56:54.896	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                            
                            jarvis.0
                            2022-07-22 19:56:54.894	info	terminating
                            
                            jarvis.0
                            2022-07-22 19:56:54.892	info	Adapter stopped und unloaded.
                            
                            jarvis.0
                            2022-07-22 19:56:54.853	info	Found Backups for settings.
                            
                            jarvis.0
                            2022-07-22 19:56:54.852	info	Found Backups for devices.
                            
                            jarvis.0
                            2022-07-22 19:56:54.850	error	Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:56:54.849	error	TypeError: Cannot read properties of null (reading 'native') at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.jarvis/jarvis.js:136:66) at processImmediate (node:internal/timers:468:21)
                            
                            jarvis.0
                            2022-07-22 19:56:54.847	error	uncaught exception: Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:56:54.821	info	No Backup found for styles, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:54.819	info	No Backup found for widgets, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:54.817	info	No Backup found for layout, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:54.775	info	starting. Version 3.0.11 in /opt/iobroker/node_modules/iobroker.jarvis, node: v16.16.0, js-controller: 4.0.23
                            host.iobroker
                            2022-07-22 19:56:52.723	info	instance system.adapter.jarvis.0 started with pid 13355
                            
                            cloud.0
                            2022-07-22 19:56:36.542	info	Connection changed: connect
                            
                            cloud.0
                            2022-07-22 19:56:36.421	info	Trying to connect as system.user.admin
                            host.iobroker
                            2022-07-22 19:56:22.584	info	Restart adapter system.adapter.jarvis.0 because enabled
                            host.iobroker
                            2022-07-22 19:56:22.583	error	instance system.adapter.jarvis.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            jarvis.0
                            2022-07-22 19:56:21.959	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                            
                            jarvis.0
                            2022-07-22 19:56:21.957	info	terminating
                            
                            jarvis.0
                            2022-07-22 19:56:21.955	info	Adapter stopped und unloaded.
                            
                            jarvis.0
                            2022-07-22 19:56:21.906	info	Found Backups for settings.
                            
                            jarvis.0
                            2022-07-22 19:56:21.906	info	Found Backups for devices.
                            
                            jarvis.0
                            2022-07-22 19:56:21.903	error	Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:56:21.902	error	TypeError: Cannot read properties of null (reading 'native') at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.jarvis/jarvis.js:136:66) at processImmediate (node:internal/timers:468:21)
                            
                            jarvis.0
                            2022-07-22 19:56:21.901	error	uncaught exception: Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:56:21.874	info	No Backup found for styles, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:21.872	info	No Backup found for widgets, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:21.870	info	No Backup found for layout, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:56:21.828	info	starting. Version 3.0.11 in /opt/iobroker/node_modules/iobroker.jarvis, node: v16.16.0, js-controller: 4.0.23
                            host.iobroker
                            2022-07-22 19:56:19.661	info	instance system.adapter.jarvis.0 started with pid 13340
                            
                            alexa2.0
                            2022-07-22 19:56:16.834	info	Alexa-Push-Connection disconnected - retry: Retry Connection in 40s
                            
                            alexa2.0
                            2022-07-22 19:56:16.833	info	Alexa-Push-Connection Error: Error: connect ECONNREFUSED 0.0.0.0:443
                            host.iobroker
                            2022-07-22 19:55:54.038	info	instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                            
                            daswetter.0
                            2022-07-22 19:55:53.470	info	Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
                            
                            daswetter.0
                            2022-07-22 19:55:49.669	info	still wrong data structure from server received! repaired...
                            host.iobroker
                            2022-07-22 19:55:49.571	info	Restart adapter system.adapter.jarvis.0 because enabled
                            host.iobroker
                            2022-07-22 19:55:49.570	error	instance system.adapter.jarvis.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            jarvis.0
                            2022-07-22 19:55:48.698	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                            
                            jarvis.0
                            2022-07-22 19:55:48.696	info	terminating
                            
                            jarvis.0
                            2022-07-22 19:55:48.695	info	Adapter stopped und unloaded.
                            
                            jarvis.0
                            2022-07-22 19:55:48.647	error	Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:55:48.646	error	TypeError: Cannot read properties of null (reading 'native') at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.jarvis/jarvis.js:136:66) at processImmediate (node:internal/timers:468:21)
                            
                            jarvis.0
                            2022-07-22 19:55:48.645	error	uncaught exception: Cannot read properties of null (reading 'native')
                            
                            jarvis.0
                            2022-07-22 19:55:48.642	info	Found Backups for settings.
                            
                            jarvis.0
                            2022-07-22 19:55:48.641	info	Found Backups for devices.
                            
                            jarvis.0
                            2022-07-22 19:55:48.606	info	No Backup found for styles, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:55:48.604	info	No Backup found for widgets, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:55:48.602	info	No Backup found for layout, thus backing up initially.
                            
                            jarvis.0
                            2022-07-22 19:55:48.547	info	starting. Version 3.0.11 in /opt/iobroker/node_modules/iobroker.jarvis, node: v16.16.0, js-controller: 4.0.23
                            host.iobroker
                            2022-07-22 19:55:45.018	info	instance system.adapter.jarvis.0 started with pid 13323
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Mojo1985 last edited by

                              @mojo1985

                              Du könntest aber bevor du da weiter wurschtelst das System zunächst mal auf eine stabile Basis setzen. Die 69 OS-relevanten Updates einspielen und die Adapter auch auf Vordermann bringen.

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

                                @thomas-braun OK, jetzt sind alle Updates eingespielt.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MCU @Mojo1985 last edited by

                                  @mojo1985 Jarvis benötigt zwingend die Web.0 Instanz. Die scheint bei dir nicht definiert zu sein?
                                  https://mcuiobroker.gitbook.io/jarvis-infos/jarvis/besonderheiten-v3/fehler-hinweise-v3#cannot-read-property-native-of-null

                                  Mojo1985 1 Reply Last reply Reply Quote 1
                                  • Mojo1985
                                    Mojo1985 @MCU last edited by

                                    @mcu Perfekt! Vielen Dank! Das hat geholfen 😄

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    788
                                    Online

                                    31.9k
                                    Users

                                    80.1k
                                    Topics

                                    1.3m
                                    Posts

                                    4
                                    17
                                    620
                                    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