Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Cloud Dienste
  4. iot Adapter in restart loop

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    848

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

iot Adapter in restart loop

Geplant Angeheftet Gesperrt Verschoben Cloud Dienste
iotprocloud
2 Beiträge 1 Kommentatoren 299 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • G. K.G Offline
    G. K.G Offline
    G. K.
    schrieb am zuletzt editiert von
    #1

    Hallo
    seit gestern wirft der iot Adapter Fehler und geht in eine restart loop.
    Vorher lief das Ganze in genau dieser Umgebung klaglos.

    Bereits versucht habe ich eine Adapter Neuinstallation.
    Wird in der iot Config keine der drei Cloudumgebungen angewählt startet der Adapter auch ohne Probleme, nur ist das ja nicht der Zweck des Ganzen.

    Hier mal einen Ausgabe wenn nur Google angewählt wurde.

    2022-08-04 09:35:13.234  - info: host.smart1 instance system.adapter.iot.0 started with pid 1907
    2022-08-04 09:35:14.731  - debug: iot.0 (1907) Redis Objects: Use Redis connection: 172.17.0.2:6379
    2022-08-04 09:35:14.768  - debug: iot.0 (1907) Objects client ready ... initialize now
    2022-08-04 09:35:14.771  - debug: iot.0 (1907) Objects create System PubSub Client
    2022-08-04 09:35:14.772  - debug: iot.0 (1907) Objects create User PubSub Client
    2022-08-04 09:35:15.115  - debug: iot.0 (1907) Objects client initialize lua scripts
    2022-08-04 09:35:15.131  - debug: iot.0 (1907) Objects connected to redis: 172.17.0.2:6379
    2022-08-04 09:35:15.136  - silly: iot.0 (1907) redis psubscribe cfg.o.system.user.*
    2022-08-04 09:35:15.165  - silly: iot.0 (1907) redis psubscribe cfg.o.enum.*
    2022-08-04 09:35:15.171  - silly: iot.0 (1907) objectDB connected
    2022-08-04 09:35:15.174  - debug: iot.0 (1907) Redis States: Use Redis connection: 172.17.0.2:6379
    2022-08-04 09:35:15.184  - debug: iot.0 (1907) States create System PubSub Client
    2022-08-04 09:35:15.185  - debug: iot.0 (1907) States create User PubSub Client
    2022-08-04 09:35:15.207  - debug: iot.0 (1907) States connected to redis: 172.17.0.2:6379
    2022-08-04 09:35:15.209  - silly: iot.0 (1907) statesDB connected
    2022-08-04 09:35:15.310  - debug: iot.0 (1907) Plugin sentry Initialize Plugin (enabled=true)
    2022-08-04 09:35:16.047  - info: iot.0 (1907) starting. Version 1.11.8 in /opt/iobroker/node_modules/iobroker.iot, node: v14.20.0, js-controller: 4.0.23
    2022-08-04 09:35:16.134  - silly: iot.0 (1907) States system redis pmessage io.system.adapter.iot.0.logLevel/io.system.adapter.iot.0.logLevel:{"val":"silly","ack":true,"ts":1659598516108,"q":0,"from":"system.adapter.iot.0","lc":1659596812053}
    2022-08-04 09:35:16.153  - info: iot.0 (1907) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
    2022-08-04 09:35:16.394  - debug: iot.0 (1907) [GHOME] Unsubscribe 0 states for google home
    2022-08-04 09:35:16.395  - debug: iot.0 (1907) [GHOME] Unsubscribe done
    2022-08-04 09:35:16.702  - info: iot.0 (1907) Connection changed: connect
    2022-08-04 09:35:16.884  - error: iot.0 (1907) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
    2022-08-04 09:35:16.885  - error: iot.0 (1907) unhandled promise rejection: Cannot read property '_id' of null
    2022-08-04 09:35:16.888  - error: iot.0 (1907) TypeError: Cannot read property '_id' of null
        at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3422:42
        at Array.map (<anonymous>)
        at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3414:39)
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
    2022-08-04 09:35:16.889  - error: iot.0 (1907) Cannot read property '_id' of null
    2022-08-04 09:35:16.915  - info: iot.0 (1907) terminating
    2022-08-04 09:35:16.916  - debug: iot.0 (1907) Plugin sentry destroyed
    2022-08-04 09:35:16.916  - warn: iot.0 (1907) Terminated (UNCAUGHT_EXCEPTION): Without reason
    2022-08-04 09:35:16.962  - info: iot.0 (1907) Connection changed: disconnect
    2022-08-04 09:35:16.963  - info: iot.0 (1907) Connection lost
    2022-08-04 09:35:17.507  - error: host.smart1 Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
    2022-08-04 09:35:17.508  - error: host.smart1 Caught by controller[1]: TypeError: Cannot read property '_id' of null
    2022-08-04 09:35:17.508  - error: host.smart1 Caught by controller[1]:     at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3422:42
    2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at Array.map (<anonymous>)
    2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3414:39)
    2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at processTicksAndRejections (internal/process/task_queues.js:95:5)
    2022-08-04 09:35:17.510  - error: host.smart1 instance system.adapter.iot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    2022-08-04 09:35:17.510  - error: host.smart1 instance system.adapter.iot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    2022-08-04 09:35:17.510  - info: host.smart1 Restart adapter system.adapter.iot.0 because enabled
    2022-08-04 09:35:17.511  - warn: host.smart1 Do not restart adapter system.adapter.iot.0 because restart loop detected
    

    Ein paar Grunddaten.
    Docker Umgebung (iobrokker/iobroker) mit redis in einem zweiten verlinkten Container
    Node v14.20.0 (wie vom docker image vorinstalliert)
    Controller 4.0.23

    Also was tun ?

    G. K.G 1 Antwort Letzte Antwort
    0
    • G. K.G G. K.

      Hallo
      seit gestern wirft der iot Adapter Fehler und geht in eine restart loop.
      Vorher lief das Ganze in genau dieser Umgebung klaglos.

      Bereits versucht habe ich eine Adapter Neuinstallation.
      Wird in der iot Config keine der drei Cloudumgebungen angewählt startet der Adapter auch ohne Probleme, nur ist das ja nicht der Zweck des Ganzen.

      Hier mal einen Ausgabe wenn nur Google angewählt wurde.

      2022-08-04 09:35:13.234  - info: host.smart1 instance system.adapter.iot.0 started with pid 1907
      2022-08-04 09:35:14.731  - debug: iot.0 (1907) Redis Objects: Use Redis connection: 172.17.0.2:6379
      2022-08-04 09:35:14.768  - debug: iot.0 (1907) Objects client ready ... initialize now
      2022-08-04 09:35:14.771  - debug: iot.0 (1907) Objects create System PubSub Client
      2022-08-04 09:35:14.772  - debug: iot.0 (1907) Objects create User PubSub Client
      2022-08-04 09:35:15.115  - debug: iot.0 (1907) Objects client initialize lua scripts
      2022-08-04 09:35:15.131  - debug: iot.0 (1907) Objects connected to redis: 172.17.0.2:6379
      2022-08-04 09:35:15.136  - silly: iot.0 (1907) redis psubscribe cfg.o.system.user.*
      2022-08-04 09:35:15.165  - silly: iot.0 (1907) redis psubscribe cfg.o.enum.*
      2022-08-04 09:35:15.171  - silly: iot.0 (1907) objectDB connected
      2022-08-04 09:35:15.174  - debug: iot.0 (1907) Redis States: Use Redis connection: 172.17.0.2:6379
      2022-08-04 09:35:15.184  - debug: iot.0 (1907) States create System PubSub Client
      2022-08-04 09:35:15.185  - debug: iot.0 (1907) States create User PubSub Client
      2022-08-04 09:35:15.207  - debug: iot.0 (1907) States connected to redis: 172.17.0.2:6379
      2022-08-04 09:35:15.209  - silly: iot.0 (1907) statesDB connected
      2022-08-04 09:35:15.310  - debug: iot.0 (1907) Plugin sentry Initialize Plugin (enabled=true)
      2022-08-04 09:35:16.047  - info: iot.0 (1907) starting. Version 1.11.8 in /opt/iobroker/node_modules/iobroker.iot, node: v14.20.0, js-controller: 4.0.23
      2022-08-04 09:35:16.134  - silly: iot.0 (1907) States system redis pmessage io.system.adapter.iot.0.logLevel/io.system.adapter.iot.0.logLevel:{"val":"silly","ack":true,"ts":1659598516108,"q":0,"from":"system.adapter.iot.0","lc":1659596812053}
      2022-08-04 09:35:16.153  - info: iot.0 (1907) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
      2022-08-04 09:35:16.394  - debug: iot.0 (1907) [GHOME] Unsubscribe 0 states for google home
      2022-08-04 09:35:16.395  - debug: iot.0 (1907) [GHOME] Unsubscribe done
      2022-08-04 09:35:16.702  - info: iot.0 (1907) Connection changed: connect
      2022-08-04 09:35:16.884  - error: iot.0 (1907) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2022-08-04 09:35:16.885  - error: iot.0 (1907) unhandled promise rejection: Cannot read property '_id' of null
      2022-08-04 09:35:16.888  - error: iot.0 (1907) TypeError: Cannot read property '_id' of null
          at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3422:42
          at Array.map (<anonymous>)
          at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3414:39)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
      2022-08-04 09:35:16.889  - error: iot.0 (1907) Cannot read property '_id' of null
      2022-08-04 09:35:16.915  - info: iot.0 (1907) terminating
      2022-08-04 09:35:16.916  - debug: iot.0 (1907) Plugin sentry destroyed
      2022-08-04 09:35:16.916  - warn: iot.0 (1907) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2022-08-04 09:35:16.962  - info: iot.0 (1907) Connection changed: disconnect
      2022-08-04 09:35:16.963  - info: iot.0 (1907) Connection lost
      2022-08-04 09:35:17.507  - error: host.smart1 Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
      2022-08-04 09:35:17.508  - error: host.smart1 Caught by controller[1]: TypeError: Cannot read property '_id' of null
      2022-08-04 09:35:17.508  - error: host.smart1 Caught by controller[1]:     at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3422:42
      2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at Array.map (<anonymous>)
      2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3414:39)
      2022-08-04 09:35:17.509  - error: host.smart1 Caught by controller[1]:     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      2022-08-04 09:35:17.510  - error: host.smart1 instance system.adapter.iot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2022-08-04 09:35:17.510  - error: host.smart1 instance system.adapter.iot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2022-08-04 09:35:17.510  - info: host.smart1 Restart adapter system.adapter.iot.0 because enabled
      2022-08-04 09:35:17.511  - warn: host.smart1 Do not restart adapter system.adapter.iot.0 because restart loop detected
      

      Ein paar Grunddaten.
      Docker Umgebung (iobrokker/iobroker) mit redis in einem zweiten verlinkten Container
      Node v14.20.0 (wie vom docker image vorinstalliert)
      Controller 4.0.23

      Also was tun ?

      G. K.G Offline
      G. K.G Offline
      G. K.
      schrieb am zuletzt editiert von
      #2

      @g-k Selber gelöst :smiley:
      auf der redis instanz mustte dies hier helfen.

      redis-cli set meta.objects.features.useSets '0'
      
      1 Antwort Letzte Antwort
      1
      Antworten
      • In einem neuen Thema antworten
      Anmelden zum Antworten
      • Älteste zuerst
      • Neuste zuerst
      • Meiste Stimmen


      Support us

      ioBroker
      Community Adapters
      Donate
      FAQ Cloud / IOT
      HowTo: Node.js-Update
      HowTo: Backup/Restore
      Downloads
      BLOG

      820

      Online

      32.6k

      Benutzer

      82.1k

      Themen

      1.3m

      Beiträge
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Anmelden

      • Du hast noch kein Konto? Registrieren

      • Anmelden oder registrieren, um zu suchen
      • Erster Beitrag
        Letzter Beitrag
      0
      • Home
      • Aktuell
      • Tags
      • Ungelesen 0
      • Kategorien
      • Unreplied
      • Beliebt
      • GitHub
      • Docu
      • Hilfe