Seite 1 von 1

IOBROKER

Verfasst: Do 3. Aug 2023, 22:01
von MDorf
Hallo Forum,

ich habe über docker-compose.yml den IOBROKER installiert.
Laut Status läuft der Container auch, allerdings bekomme ich keine Verbindung über Port 8081.

Im syslog findet sich:
Aug 3 22:05:28 raspberrypi systemd[1]: Started ioBroker Server.
Aug 3 22:05:28 raspberrypi bash[11382]: node:internal/modules/cjs/loader:1080
Aug 3 22:05:28 raspberrypi bash[11382]: throw err;
Aug 3 22:05:28 raspberrypi bash[11382]: ^
Aug 3 22:05:28 raspberrypi bash[11382]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js'
Aug 3 22:05:28 raspberrypi bash[11382]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
Aug 3 22:05:28 raspberrypi bash[11382]: at Module._load (node:internal/modules/cjs/loader:922:27)
Aug 3 22:05:28 raspberrypi bash[11382]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Aug 3 22:05:28 raspberrypi bash[11382]: at node:internal/main/run_main_module:23:47 {
Aug 3 22:05:28 raspberrypi bash[11382]: code: 'MODULE_NOT_FOUND',
Aug 3 22:05:28 raspberrypi bash[11382]: requireStack: []
Aug 3 22:05:28 raspberrypi bash[11382]: }
Aug 3 22:05:28 raspberrypi bash[11382]: Node.js v18.17.0
Aug 3 22:05:28 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
Aug 3 22:05:28 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
Aug 3 22:05:31 raspberrypi systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
Aug 3 22:05:31 raspberrypi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 9153.
Aug 3 22:05:31 raspberrypi systemd[1]: Stopped ioBroker Server.
Aug 3 22:05:31 raspberrypi systemd[1]: Started ioBroker Server.
Aug 3 22:05:32 raspberrypi vncserver-x11[483,root]: AgentInitCheck: no response from agent
Aug 3 22:05:32 raspberrypi bash[11390]: node:internal/modules/cjs/loader:1080
Aug 3 22:05:32 raspberrypi bash[11390]: throw err;
Aug 3 22:05:32 raspberrypi bash[11390]: ^
Aug 3 22:05:32 raspberrypi bash[11390]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js'
Aug 3 22:05:32 raspberrypi bash[11390]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
Aug 3 22:05:32 raspberrypi bash[11390]: at Module._load (node:internal/modules/cjs/loader:922:27)
Aug 3 22:05:32 raspberrypi bash[11390]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Aug 3 22:05:32 raspberrypi bash[11390]: at node:internal/main/run_main_module:23:47 {
Aug 3 22:05:32 raspberrypi bash[11390]: code: 'MODULE_NOT_FOUND',
Aug 3 22:05:32 raspberrypi bash[11390]: requireStack: []
Aug 3 22:05:32 raspberrypi bash[11390]: }
Aug 3 22:05:32 raspberrypi bash[11390]: Node.js v18.17.0
Aug 3 22:05:32 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
Aug 3 22:05:32 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.

Und da hat er Recht: das Verzeichnis /opt/iobroker gibt es nicht (mehr). Hatte ich vielleicht mal vor ei23 dort installiert...

Danke vorab!

Re: IOBROKER

Verfasst: Di 15. Aug 2023, 19:00
von ei23felix
Gute Frage, habe das Dockerimage lange nicht mehr getestet, evtl. ist es veraltet...
Es kann aber auch sein, dass der Port woanders gemapt ist.
Kannst du mal deine Docker-Compose von Iobroker posten?

Re: IOBROKER

Verfasst: Di 15. Aug 2023, 19:31
von MDorf
Das ist total nett von dir! Ich wollte weiter kommen und hab daher jetzt iobroker nativ installiert... ;)

Re: IOBROKER

Verfasst: Mi 16. Aug 2023, 17:32
von ei23felix
Das geht natürlich auch