@neuschwansteini sagte in Adapter: ioBroker.unifi:
.. aber solange er noch laeuft..
Manchmal liegt es ja auch nicht an der Lauffähigkeit des Adapters.
Man weiß es ja: reboot tut gut!
Ich hatte in den letzten Tagen ständig freezes beim Adapter.
Spoiler
host.iobroker 2025-03-31 16:55:45.992 warn Do not restart adapter system.adapter.unifi.0 because restart loop detected
host.iobroker 2025-03-31 16:55:45.991 error instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
unifi.0 2025-03-31 16:55:45.389 error Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:55:45.389 error TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
unifi.0 2025-03-31 16:55:45.389 error unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:55:45.388 error 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().
unifi.0 2025-03-31 16:55:45.385 error [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/node-unifi/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:524:28) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)
host.ioroker 202-03-31 16:50:04.883 error instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
unifi.0 2025-03-31 16:50:04.282 error Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:50:04.282 error TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
unifi.0 2025-03-31 16:50:04.282 error unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:50:04.281 error 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().
unifi.0 2025-03-31 16:50:04.279 error [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/node-unifi/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:524:28) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)
host.iobroker 2025-03-31 16:48:41.304 error instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
unifi.0 2025-03-31 16:48:40.698 error Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:48:40.697 error TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
unifi.0 2025-03-31 16:48:40.697 error unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
unifi.0 2025-03-31 16:48:40.696 error 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().
unifi.0 2025-03-31 16:48:40.693 error [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/node-unifi/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:524:28) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)
Einfach mal beherzt die UDM PRO und den Vigor neu gestartet => Voilà, funktioniert wieder.
Vielleicht hilft es ja auch anderen, die sich beim Haareraufen ertappen 😀 .