husq-automower startet in iobroker nicht mehr
FischerICT opened this issue · 5 comments
Hallo zusammen,
der Adapter in Version 1.1.2 startet seit Update von iobroker nicht mehr.
Node.js: 18.18.0
NPM: 9.8.1
iobroker: 5.0.12
Hier werden folgende Fehler geloggt:
host.raspberrypi | 2023-09-19 18:27:24.513 | info | Rebuild for adapter system.adapter.husq-automower.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
host.raspberrypi | 2023-09-19 18:27:24.513 | error | instance system.adapter.husq-automower.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.raspberrypi | 2023-09-19 18:27:24.513 | error | Caught by controller[0]: Node.js v18.18.0
host.raspberrypi | 2023-09-19 18:27:24.513 | error | Caught by controller[0]: }
host.raspberrypi | 2023-09-19 18:27:24.513 | error | Caught by controller[0]: ]
host.raspberrypi | 2023-09-19 18:27:24.512 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.husq-automower/main.js'
host.raspberrypi | 2023-09-19 18:27:24.512 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.husq-automower/lib/utils.js',
host.raspberrypi | 2023-09-19 18:27:24.512 | error | Caught by controller[0]: requireStack: [
host.raspberrypi | 2023-09-19 18:27:24.512 | error | Caught by controller[0]: code: 'MODULE_NOT_FOUND',
host.raspberrypi | 2023-09-19 18:27:24.512 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) {
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.husq-automower/lib/utils.js:63:25)
host.raspberrypi | 2023-09-19 18:27:24.511 | error | Caught by controller[0]: at require (node:internal/modules/cjs/helpers:119:18)
host.raspberrypi | 2023-09-19 18:27:24.510 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
host.raspberrypi | 2023-09-19 18:27:24.510 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
host.raspberrypi | 2023-09-19 18:27:24.510 | error | Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
host.raspberrypi | 2023-09-19 18:27:24.510 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.husq-automower/main.js
host.raspberrypi | 2023-09-19 18:27:24.510 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.husq-automower/lib/utils.js
host.raspberrypi | 2023-09-19 18:27:24.509 | error | Caught by controller[0]: Require stack:
host.raspberrypi | 2023-09-19 18:27:24.509 | error | Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'
host.raspberrypi | 2023-09-19 18:27:24.509 | error | Caught by controller[0]: ^
host.raspberrypi | 2023-09-19 18:27:24.509 | error | Caught by controller[0]: throw err;
host.raspberrypi | 2023-09-19 18:27:24.508 | error | Caught by controller[0]: node:internal/modules/cjs/loader:1080
Hat jemand eine Idee wo hier das Problem liegen könnte?
Alle anderen Adapter in dem System laufen fehlerfrei.
Danke und Grüße
Da wirst Du auch weiterhin Pech haben. Das Projekt wird leider nicht mehr gewartet... siehe die ganzen anderen issues.
Kannst aber den nutzen: https://github.com/ice987987/ioBroker.husqvarna-automower
OK danke.
Gibt es den eine Anleitung bezüglich der benötigten Keys auf der Seite von: https://developer.husqvarnagroup.cloud/
Leider kenn ich mich da nicht so gut aus.
Vielen dank aber schon mal für die schnelle Rückmeldung. Dann muss ich nicht weiter nach dem Fehler suchen.
Super vielen Dank - nun nur noch eine kurze Frage, was muss bei der Redirect URLs und bei Description (optional) eingetragen werden?
wahrscheinlich nichts, bin gerade überfragt