Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker Docker Synology startet nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker Docker Synology startet nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sweatchuck @Glasfaser last edited by Sweatchuck

      @glasfaser

      
      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

      Glasfaser 2 Replies Last reply Reply Quote 0
      • S
        Sweatchuck @Glasfaser last edited by

        @glasfaser

        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

        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Sweatchuck last edited by

          @sweatchuck

          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
          
          S 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Sweatchuck last edited by

            @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 ..

            1 Reply Last reply Reply Quote 0
            • S
              Sweatchuck @Glasfaser last edited by

              @glasfaser

              E8A3AF5B-AB4A-48F1-B10D-5CC1C699A848.jpeg

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Sweatchuck last edited by

                @sweatchuck

                find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" \; &> /dev/null
                

                dann nochmal versuchen

                1 Reply Last reply Reply Quote 0
                • OliverIO
                  OliverIO @Sweatchuck last edited by

                  @sweatchuck sagte in ioBroker Docker Synology startet nicht:

                  @oliverio

                  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?

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sweatchuck @Glasfaser last edited by

                    @glasfaser

                    526877D7-9996-474E-8271-D50C80556EE5.jpeg BCAE95E2-A35D-4D95-9B3B-D378D38D49C3.jpeg 556CBEF0-0435-49CB-91BA-E47C52A0793D.jpeg

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Sweatchuck last edited by

                      @sweatchuck

                      Ja ... alles gut .. ist nur Werbung

                      Dann noch zusätzlich

                      pkill -u iobroker
                      iob fix
                      

                      Container neu starten in der Synology Weboberfläche

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sweatchuck @Glasfaser last edited by

                        @glasfaser

                        Es geht wieder!!!

                        Wie kann ich dir Danken?

                        Glasfaser 1 Reply Last reply Reply Quote 1
                        • Glasfaser
                          Glasfaser @Sweatchuck last edited by

                          @sweatchuck sagte in ioBroker Docker Synology startet nicht:

                          Wie kann ich dir Danken?

                          ... damit , das du den Adapter Backitup nutzt !!!!

                          S 1 Reply Last reply Reply Quote 1
                          • S
                            Sweatchuck @Glasfaser last edited by

                            @glasfaser

                            Was war jetzt passiert? Und warum?

                            Nur für mich zur Info

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Sweatchuck last edited by

                              @sweatchuck

                              Kann ich so nicht erkennen bzw. weiß ja nicht was du zuvor genau gemacht hast ,
                              nur das dann der JS-Controller zerschossen wurde.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Sweatchuck @Glasfaser last edited by Sweatchuck

                                @glasfaser

                                Die javascript-Instanz bleibt rot

                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @Sweatchuck last edited by

                                  @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 !

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sweatchuck @Glasfaser last edited by

                                    @glasfaser

                                    A4DA7EB2-C720-4C1B-9164-BF8EAD52FE31.jpeg

                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @Sweatchuck last edited by

                                      @sweatchuck

                                      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 !

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sweatchuck @Glasfaser last edited by

                                        @glasfaser

                                        Adapter läuft wieder.

                                        Allerdings meckert er etwas…

                                        F18AA91E-0CD4-40AB-8789-17500EC21BFD.jpeg

                                        Ich vermute es fehlen NPM Module

                                        Glasfaser 2 Replies Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Sweatchuck last edited by Glasfaser

                                          @sweatchuck

                                          nicht ganz richtig

                                          es fehlen Datenpunkte // not found

                                          14251dd7-bcaf-4e50-9c17-b7408a071442-grafik.png

                                          .
                                          761f541b-d22a-4250-bf2e-879c671410ad-grafik.png

                                          usw,

                                          1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @Sweatchuck last edited by Glasfaser

                                            @sweatchuck

                                            Wird durch das Script

                                            0315f12f-389f-46f6-881b-44f24fb61921-grafik.png

                                            erzeugt , die Datenpunkte fehlen dazu ... siehe oben

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            615
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            56
                                            2939
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo