Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

husq-automower startet in iobroker nicht mehr #38

Open
FischerICT opened this issue Sep 19, 2023 · 5 comments
Open

husq-automower startet in iobroker nicht mehr #38

FischerICT opened this issue Sep 19, 2023 · 5 comments

Comments

@FischerICT
Copy link

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

@reutli
Copy link

reutli commented Sep 20, 2023

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

@FischerICT
Copy link
Author

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.

2023-09-20_10h36_58

@reutli
Copy link

reutli commented Sep 20, 2023

@FischerICT
Copy link
Author

Super vielen Dank - nun nur noch eine kurze Frage, was muss bei der Redirect URLs und bei Description (optional) eingetragen werden?

@reutli
Copy link

reutli commented Sep 20, 2023

wahrscheinlich nichts, bin gerade überfragt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants