NEWS
ioBroker Docker Synology startet nicht
-
@sweatchuck sagte in ioBroker Docker Synology startet nicht:
Anbei ein Screenshot vom Log. Bitte um hilfe!
ist das gleich LOG wie oben !
Also bricht der Container zusammen , was kommt als Fehlermeldung wenn du Ihn startetst "?
-
Du kannst auch einen neuen Container erstellen und mounte dann auch die
docker/iobroker_data
in den Einstellungen vom neuen Container .
Hast du das auch schon versucht !?
-
Unselect ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ ----- ----- ██║ ██║ ██║ ██████╔╝ ██████╔╝ ██║ ██║ █████╔╝ █████╗ ██████╔╝ ----- ----- ██║ ██║ ██║ ██╔══██╗ ██╔══██╗ ██║ ██║ ██╔═██╗ ██╔══╝ ██╔══██╗ ----- ----- ██║ ╚██████╔╝ ██████╔╝ ██║ ██║ ╚██████╔╝ ██║ ██╗ ███████╗ ██║ ██║ ----- ----- ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ----- ----- ----- ----- Welcome to your ioBroker Docker container! ----- ----- Startupscript is now running! ----- ----- Please be patient! ----- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ----- System Information ----- ----- arch: x86_64 ----- ----- hostname: iobroker ----- ----- ----- ----- Version Information ----- ----- image: v8.1.0 ----- ----- build: 2023-09-21T23:45:32+00:00 ----- ----- node: v18.17.1 ----- ----- npm: 9.6.7 ----- ----- ----- ----- Environment Variables ----- ----- AVAHI: false ----- ----- DEBUG: true ----- ----- PACKAGES: nano ----- ----- SETGID: 1000 ----- ----- SETUID: 1000 ----- -------------------------------------------------------------------------------- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! DEBUG LOG ACTIVE !!!! !!!! Environment variable DEBUG is set to true. !!!! !!!! This will extend the logging output and may slow down container start. !!!! !!!! Please make sure to deactivate if no longer needed. !!!! !!!! For more information see ioBroker Docker image documentation: !!!! !!!! https://docs.buanet.de/iobroker-docker-image/docs/ !!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -------------------------------------------------------------------------------- ----- Step 1 of 5: Preparing container ----- -------------------------------------------------------------------------------- Updating Linux packages on first run... Done. PACKAGES is set. Installing the following additional Linux packages: nano nano is not installed. Installing... Done. Registering maintenance script as command... Done. -------------------------------------------------------------------------------- ----- Step 2 of 5: Detecting ioBroker installation ----- -------------------------------------------------------------------------------- Existing installation of ioBroker detected in "/opt/iobroker". -------------------------------------------------------------------------------- ----- Step 3 of 5: Checking ioBroker installation ----- -------------------------------------------------------------------------------- (Re)setting permissions (This might take a while! Please be patient!)... Done. Fixing "sudo-bug" by replacing sudo with gosu... Done. [DEBUG] Checking multihost settings... [DEBUG] No multihost settings detected. [DEBUG] Done. [DEBUG] Checking custom objects db settings... [DEBUG] No custom objects db settings detected. [DEBUG] Done. [DEBUG] Checking custom states db settings... [DEBUG] No custom states db settings detected. [DEBUG] Done. Checking Database connection... Failed. [DEBUG] Error message: [DEBUG] node:internal/modules/cjs/loader:1080 [DEBUG] throw err; [DEBUG] ^ [DEBUG] [DEBUG] Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' [DEBUG] at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) [DEBUG] at Module._load (node:internal/modules/cjs/loader:922:27) [DEBUG] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) [DEBUG] at node:internal/main/run_main_module:23:47 { [DEBUG] code: 'MODULE_NOT_FOUND', BUG] requireStack: [] } [DEBUG] [DEBUG] Node.js v18.17.1 Please check your configuration and try again. For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs). [DEBUG] Debug mode prevents the container from exiting on errors. [DEBUG] This enables you to investigate or fix your issue on the command line. [DEBUG] If you want to stop or restart your container you have to do it manually. [DEBUG] IoBroker is not running!
Diesmal läuft er wohl weiter aber ich komme nicht auf die ioBroker Seite
-
Ja, kein Erfolg.
Wenn ich eine leeren Ordner anlege z.B. iobroker_data_neu dann funktioniert das ganze wieder…allerdings natürlich ohne meine Daten
-
OK , der Container startet .
dann melde dich im Terminal an im Portainer oder im Synology Docker Terminal und
dann
cd /opt/iobroker
und
sudo -H -u iobroker npm install iobroker.js-controller
-
@sweatchuck sagte in ioBroker Docker Synology startet nicht:
Diesmal läuft er wohl weiter aber ich komme nicht auf die ioBroker Seite
Brauchst kein EDIT im Beitrag machen .. ich habe es schon gesehn , das er läuft !
siehe oben ..
-
-
find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" \; &> /dev/null
dann nochmal versuchen
-
@sweatchuck sagte in ioBroker Docker Synology startet nicht:
Ich verwende eine Synolgy DS 218+ mit Docker und Portainer.
Was genau meinst du?
Ich habe da nichts spezielles gemacht.
Das Skript meckert darüber das die Verbindung zur Datenbank nicht klappt.
Dann zeige mal deine Konfiguration für den Container.
Hast du ein docker-compose/stacks? -
-
Ja ... alles gut .. ist nur Werbung
Dann noch zusätzlich
pkill -u iobroker iob fix
Container neu starten in der Synology Weboberfläche
-
-
@sweatchuck sagte in ioBroker Docker Synology startet nicht:
Wie kann ich dir Danken?
... damit , das du den Adapter Backitup nutzt !!!!
-
-
Kann ich so nicht erkennen bzw. weiß ja nicht was du zuvor genau gemacht hast ,
nur das dann der JS-Controller zerschossen wurde. -
Die javascript-Instanz bleibt rot
-
@sweatchuck sagte in ioBroker Docker Synology startet nicht:
Die javascript-Instanz bleibt rot
ioBroker log dazu hier posten ...
mit der Aussage kann ich nicht viele anfangen !
-
-
Stoppe den Adapter , dann lösche die Javascript Instanz , dann den Adapter Javascript , dann wieder den Adapter Javascript installieren und die Instanz dazu .
Könnte jetzt noch dir ein Befehl geben aber mache es erstmal so !
-