Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Synology Docker]Iobroker startet nicht (no database)

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [Synology Docker]Iobroker startet nicht (no database)

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

      @simka

      system.adapter.admin.0 : admin : iobroker-default - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin

      ist das richtig , verschlüsselt !?

      iobroker start 
      iobroker logs --watch
      
      S 1 Reply Last reply Reply Quote 0
      • S
        SimKa @Glasfaser last edited by

        @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

        iobroker logs --watch

        Was meinst du mit richtig verschlüsselt? Ich habe Https/SSL damals beim Einrichten angehakt

        root@iobroker-default:/opt/iobroker# iobroker start                                                                                                                                                 
        Starting iobroker controller daemon...                                                                                                                                                              
        iobroker controller daemon started. PID: 16246                                                                                                                                                      
        root@iobroker-default:/opt/iobroker# iobroker logs --watch                                                                                                                                          
        2022-07-05 09:17:00.349  - info: host.iobroker-default iobroker.js-controller version 4.0.21 js-controller starting                                                                                 
        2022-07-05 09:17:00.363  - info: host.iobroker-default Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker                                                                                            
        2022-07-05 09:17:00.364  - info: host.iobroker-default hostname: iobroker-default, node: v14.19.3                                                                                                   
        2022-07-05 09:17:00.365  - info: host.iobroker-default ip addresses: 172.17.0.2                                                                                                                     
        Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
        The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file                                                                                   
        2022-07-05 09:17:01.176  - info: host.iobroker-default added notifications configuration of host                                                                                                    
        2022-07-05 09:17:01.646  - info: host.iobroker-default 3 instances found                                                                                                                            
        2022-07-05 09:17:01.769  - info: host.iobroker-default instance system.adapter.admin.0 started with pid 1866                                                                                        
        2022-07-05 09:17:01.669  - info: host.iobroker-default starting 3 instances                                                                                                                         
        2022-07-05 09:17:05.179  - info: admin.0 (1866) received all objects                                                                                                                                
        2022-07-05 09:17:05.230  - info: admin.0 (1866) Request actual repository...                                                                                                                        
        2022-07-05 09:17:05.259  - info: host.iobroker-default Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"                                                          
        2022-07-05 09:17:01.002  - info: host.iobroker-default connected to Objects and States                                                                                                              
        2022-07-05 09:17:01.049  - info: host.iobroker-default Node.js version has changed from unknown to 14.19.3                                                                                          
        2022-07-05 09:17:01.157  - warn: host.iobroker-default Error while trying to update capabilities after detecting new Node.js version: Command failed: sudo setcap cap_net_bind_service,cap_net_raw+e
        pi /usr/bin/node                                                                                                                                                                                    
        2022-07-05 09:17:02.109  - info: host.iobroker-default Created UUID: 36ffb7ca-2961-47dd-a566-a29dbe05f8ea                                                                                           
        2022-07-05 09:17:04.901  - info: admin.0 (1866) starting. Version 5.3.1 in /opt/iobroker/node_modules/iobroker.admin, node: v14.19.3, js-controller: 4.0.21                                         
        2022-07-05 09:17:05.010  - info: admin.0 (1866) requesting all states                                                                                                                               
        2022-07-05 09:17:05.012  - info: admin.0 (1866) requesting all objects                                                                                                                              
        2022-07-05 09:17:05.277  - info: admin.0 (1866) http server listening on port 8081                                                                                                                  
        2022-07-05 09:17:05.279  - info: admin.0 (1866) Use link "http://localhost:8081" to configure. 
        2022-07-05 09:17:05.541  - warn: admin.0 (1866) Repository cannot be read: Active repo - stable                                                                                                     
        2022-07-05 09:17:05.543  - warn: admin.0 (1866) Active repository "stable cannot be read                                                                                                            
        2022-07-05 09:17:05.778  - info: host.iobroker-default instance system.adapter.discovery.0 started with pid 1894                                                                                    
        2022-07-05 09:17:09.224  - info: admin.0 (1866) Repository received successfully.                                                                                                                   
        2022-07-05 09:17:09.639  - info: discovery.0 (1894) starting. Version 2.7.5 in /opt/iobroker/node_modules/iobroker.discovery, node: v14.19.3, js-controller: 4.0.21                                 
        2022-07-05 09:17:09.761  - info: host.iobroker-default instance system.adapter.backitup.0 started with pid 1909                                                                                     
        2022-07-05 09:17:12.916  - info: backitup.0 (1909) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.3, js-controller: 4.0.21                                   
        2022-07-05 09:17:13.036  - info: backitup.0 (1909) [iobroker] backup was activated at 02:40 every 1 day(s)                                                                                          
        2022-07-05 09:19:45.668  - info: admin.0 (1866) terminating http server on port 8081                                                                                                                
        2022-07-05 09:19:45.670  - info: backitup.0 (1909) cleaned everything up...                                                                                                                         
        2022-07-05 09:19:45.663  - info: host.iobroker-default received SIGTERM                                                                                                                             
        2022-07-05 09:19:45.693  - info: host.iobroker-default stopInstance system.adapter.admin.0 (force=false, process=true)                                                                              
        2022-07-05 09:19:45.695  - info: host.iobroker-default stopInstance system.adapter.discovery.0 (force=false, process=true)                                                                          
        2022-07-05 09:19:45.697  - info: host.iobroker-default stopInstance system.adapter.backitup.0 (force=false, process=true)                                                                           
        2022-07-05 09:19:45.740  - info: admin.0 (1866) Got terminate signal TERMINATE_YOURSELF                                                                                                             
        2022-07-05 09:19:45.744  - info: discovery.0 (1894) Got terminate signal TERMINATE_YOURSELF                                                                                                         
        2022-07-05 09:19:45.747  - info: backitup.0 (1909) Got terminate signal TERMINATE_YOURSELF                                                                                                          
        2022-07-05 09:19:45.761  - info: discovery.0 (1894) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason                                                                                       
        2022-07-05 09:19:45.762  - info: host.iobroker-default stopInstance system.adapter.admin.0 send kill signal                                                                                         
        2022-07-05 09:19:45.767  - info: admin.0 (1866) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason                                                                                           
        2022-07-05 09:19:45.770  - info: host.iobroker-default stopInstance system.adapter.discovery.0 send kill signal                                                                                     
        2022-07-05 09:19:45.772  - info: host.iobroker-default stopInstance system.adapter.backitup.0 send kill signal                                                                                      
        2022-07-05 09:19:45.803  - info: backitup.0 (1909) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason                                                                                        
        2022-07-05 09:19:46.367  - info: host.iobroker-default instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)                                                  
        2022-07-05 09:19:46.412  - info: host.iobroker-default instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)                                                      
        2022-07-05 09:19:46.434  - info: host.iobroker-default instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)                                                   
        2022-07-05 09:19:46.435  - info: host.iobroker-default All instances are stopped.                                                                                                                   
        2022-07-05 09:19:46.560  - info: host.iobroker-default terminated                                                                                                                                   
        2022-07-05 14:05:38.950  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting                                                                                         
        2022-07-05 14:05:38.971  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker                                                                                                    
        2022-07-05 14:05:38.973  - info: host.iobroker hostname: iobroker, node: v14.19.3                                                                                                                   
        2022-07-05 14:05:38.974  - info: host.iobroker ip addresses: 172.17.0.2                                                                                                                             
        2022-07-05 14:05:40.838  - info: host.iobroker connected to Objects and States                                                                                                                      
        2022-07-05 14:05:40.907  - info: host.iobroker Node.js version has changed from unknown to 14.19.3                                                                                                  
        2022-07-05 14:05:40.938  - info: host.iobroker added notifications configuration of host                                                                                                            
        2022-07-05 14:05:41.613  - warn: host.iobroker Error while trying to update capabilities after detecting new Node.js version: Command failed: sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/
        bin/node                                                                                                                                                                                            
        Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
        The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file                                                                                   
        2022-07-05 14:05:41.778  - info: host.iobroker Delete host system.host.iobroker-default                                                                                                             
        2022-07-05 14:05:41.970  - info: host.iobroker 28 instances found                                                                                                                                   
        2022-07-05 14:05:41.999  - warn: host.iobroker does not start any instances on this host 
        
        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @SimKa last edited by

          @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

          backups/iobroker_2022_05_07-02_40_10_backupiobroker.tar.gz

          hast du kein älteres Backup !?

          2022-07-05 14:05:38.974 - info: host.iobroker ip addresses: 172.17.0.2

          Hast du bei den neu erstellten Containern auch die Ports durchgereicht !?

          Glasfaser 1 Reply Last reply Reply Quote 0
          • andre
            andre Developer last edited by

            @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

            Hast du bei den neu erstellten Containern auch die Ports durchgereicht !?

            Generell wäre mal das Setup interessant. Nutzt du das Bridge Netzwerk?

            Ich glaube das Backup ist schon ok. Aber es gibt offenbar Probleme beim Setzen der capabilities.

            2022-07-05 14:05:41.613  - warn: host.iobroker Error while trying to update capabilities after detecting new Node.js version: Command failed: sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/
            bin/node                                                                                                                                                                                            
            Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
            The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file     
            

            MfG,
            André

            S 1 Reply Last reply Reply Quote 0
            • S
              SimKa last edited by

              2022-07-05 15_11_08-Window.png

              2022-07-05 15_11_39-Window.png

              Ja 8081 Port ist durch gemappt. Der Wizard ist erreichbar, nachdem der Docker zum ersten Mal gestartet wurde.

              Was ist mit capabilities gemeint?

              1 Reply Last reply Reply Quote 0
              • S
                SimKa @andre last edited by

                @andre said in [Synology Docker]Iobroker startet nicht (no database):

                @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                Hast du bei den neu erstellten Containern auch die Ports durchgereicht !?

                Generell wäre mal das Setup interessant. Nutzt du das Bridge Netzwerk?

                Ich glaube das Backup ist schon ok. Aber es gibt offenbar Probleme beim Setzen der capabilities.

                2022-07-05 14:05:41.613  - warn: host.iobroker Error while trying to update capabilities after detecting new Node.js version: Command failed: sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/
                bin/node                                                                                                                                                                                            
                Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
                The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file     
                

                MfG,
                André

                2022-07-05 15_14_31-Window.png 2022-07-05 15_14_52-Window.png 2022-07-05 15_15_13-Window.png 2022-07-05 15_15_32-Window.png

                Die Fenster, die ich nich fotografiert habe, bei denen ist nichts eingestellt.

                1 Reply Last reply Reply Quote 0
                • andre
                  andre Developer last edited by

                  Was bekommst du hier:

                  getcap $(eval readlink -f `which node`)
                  

                  MfG,
                  André

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SimKa @andre last edited by

                    @andre said in [Synology Docker]Iobroker startet nicht (no database):

                    getcap $(eval readlink -f which node)

                    root@iobroker-default:/opt/iobroker# getcap $(eval readlink -f `which node`)                                       
                    Failed to get capabilities of file '/usr/bin/node' (Operation not supported)                                       
                    root@iobroker-default:/opt/iobroker#
                    
                    andre 1 Reply Last reply Reply Quote 0
                    • andre
                      andre Developer @SimKa last edited by andre

                      @simka Das ist das Problem. So sollte es aussehen:

                      7feee0b0-fb0f-4f6b-b042-1276303c08de-image.png

                      Wenn ich das Google, dann lande ich mehr oder weniger immer bei Problemen mit dem Filesystem...
                      Welche DSM Version hast du?

                      [EDIT] Hatte dazu sogar mal einen Issue (https://github.com/buanet/ioBroker.docker/issues/37) Aber leider ohne Lösung...

                      RK62 created this issue in buanet/ioBroker.docker

                      closed Fehler beim reinstall.sh bei Adapter amazon-dash (v3.1.4beta) #37

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SimKa @andre last edited by

                        @andre said in [Synology Docker]Iobroker startet nicht (no database):

                        @simka Das ist das Problem. So sollte es aussehen:

                        7feee0b0-fb0f-4f6b-b042-1276303c08de-image.png

                        Wenn ich das Google, dann lande ich mehr oder weniger immer bei Problemen mit dem Filesystem...
                        Welche DSM Version hast du?

                        [EDIT] Hatte dazu sogar mal einen Issue (https://github.com/buanet/ioBroker.docker/issues/37) Aber leider ohne Lösung...

                        Hmm schade. Wundert mich, dass erst nach dem Update die Probleme auftreten.

                        2022-07-05 18_04_21-Window.png

                        2022-07-05 18_05_26-Window.png

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

                          @simka

                          mach da mal einen Haken rein .

                          183c38cd-83f2-42db-ae10-74e0b3ec4dcb-grafik.png

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

                            @simka

                            Nur eine Idee

                            pkill -u iobroker
                            iobroker fix
                            sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/bin/node
                            

                            Container neu starten

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

                              @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

                              @simka

                              Nur eine Idee

                              pkill -u iobroker
                              iobroker fix
                              sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/bin/node
                              

                              Container neu starten

                              ==========================================================================                                                                                                                          
                                  Installing prerequisites (1/3)                                                                                                                                                                  
                              ==========================================================================                                                                                                                          
                                                                                                                                                                                                                                  
                              Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]                                                                                                                                      
                              Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44,1 kB]                                                                                                              
                              Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39,4 kB]                                                                                                                             
                              Get:4 https://deb.nodesource.com/node_14.x bullseye InRelease [4.586 B]                                                                                                                             
                              Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8.182 kB]                                                                                                                          
                              Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [164 kB]                                                                                                     
                              Get:7 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages [774 B]                                                                                                                     
                              Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2.592 B]                                                                                                                   
                              Fetched 8.553 kB in 8s (1.115 kB/s)                                                                                                                                                                 
                              Reading package lists... Done                                                                                                                                                                       
                              Installed gcc-c++                                                                                                                                                                                   
                              Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
                              The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file                                                                                   
                                                                                                                                                                                                                                  
                              ==========================================================================                                                                                                                          
                                  Checking ioBroker user and directory permissions (2/3)                                                                                                                                          
                              ==========================================================================                                                                                                                          
                                                                                                                                                                                                                                  
                              Created /etc/sudoers.d/iobroker                                                                                                                                                                     
                              Fixing directory permissions...                                                                                                                                                                     
                              This system does not support setting default permissions.                                                                                                                                           
                              Do not use npm to manually install adapters unless you know what you are doing!                                                                                                                     
                                                                                                                                                                                                                                  
                              ==========================================================================                                                                                                                          
                                  Checking autostart (3/3)                                                                                                                                                                        
                              ==========================================================================                                                                                                                          
                                                                                                                                                                                                                                  
                              Unsupported init system, cannot enable autostart!                                                                                                                                                   
                                                                                                                                                                                                                                  
                              ==========================================================================                                                                                                                          
                                                                                                                                                                                                                                  
                                  Your installation was fixed successfully                                                                                                                                                        
                                  Run iobroker start to start ioBroker again!                                                                                                                                                     
                                                                                                                                                                                                                                  
                              ==========================================================================                                                                                                                          
                                                                                                                                                                                                                                  
                              root@iobroker-default:/opt/iobroker# sudo setcap cap_net_bind_service,cap_net_raw+epi /usr/bin/node                                                                                                 
                              Failed to set capabilities on file `/usr/bin/node' (Operation not supported)                                                                                                                        
                              The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file    
                              

                              iobroker.2022-07-05 (1).log

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

                                @simka

                                @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                                @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

                                backups/iobroker_2022_05_07-02_40_10_backupiobroker.tar.gz

                                hast du kein älteres Backup !?

                                Was war jetzt hiermit ,

                                denn .... wenn du iobroker neu installierst ist ja alles OK , nur bei einem Backup einspielen ist es so.

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

                                  @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

                                  @simka

                                  @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                                  @simka sagte in [Synology Docker]Iobroker startet nicht (no database):
                                  

                                  backups/iobroker_2022_05_07-02_40_10_backupiobroker.tar.gz

                                  hast du kein älteres Backup !?

                                  Was war jetzt hiermit ,

                                  denn .... wenn du iobroker neu installierst ist ja alles OK , nur bei einem Backup einspielen ist es so.

                                  Habe eine neue Instanz gestartet und es mit einem anderen Backup versucht, gleiches Problem 😕
                                  iobroker.2022-07-05 (2).log

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

                                    @simka

                                    host.iobroker-default

                                    Bitte nicht immer den gleichen nutzen , auch eine anderen Mount Ordner nutzen !!!

                                    Hast du viele Container laufen , wenn nein dann:

                                    Docker ( Paket ) von Syn deinstallieren und neu installieren .

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

                                      @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

                                      Habe eine neue Instanz gestartet

                                      Was heißt das bei dir ...

                                      Eine Instanz ist im ioBroker !?

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

                                        @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                                        denn .... wenn du iobroker neu installierst ist ja alles OK , nur bei einem Backup einspielen ist es so.

                                        @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

                                        Hmm schade. Wundert mich, dass erst nach dem Update die Probleme auftreten.

                                        Sicher dass es so ist? Bitte mal nen ioBroker Container ohne Restore testen und den getcap Befehl ausführen.

                                        getcap $(eval readlink -f `which node`)
                                        

                                        Ich würde nämlich tippen, dass das Problem grundsätzlich da ist. Ohne Restore wird nur eben nix an den capabilities gedreht. Das macht der ioBroker ja nur weil der js-controller nach dem Restore dies erkennt und korrigieren will:

                                        2022-07-05 14:05:40.907  - info: host.iobroker Node.js version has changed from unknown to 14.19.3
                                        

                                        MfG,
                                        André

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

                                          @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

                                          @simka

                                          host.iobroker-default

                                          Bitte nicht immer den gleichen nutzen , auch eine anderen Mount Ordner nutzen !!!

                                          Hast du viele Container laufen , wenn nein dann:

                                          Docker ( Paket ) von Syn deinstallieren und neu installieren .

                                          Ich habe nur einen Docker laufen. Ich mounte immer neue leere Ordner, kopiere dann das Backup *.gz in den backup Ordner (welcher nach dem Starten erstellt wurde) und führe dann das Backup aus.

                                          Ich probiere gleich mal die neue Version bzw. ggfs. mal ne ältere Docker Version aus.

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

                                            @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

                                            @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

                                            Habe eine neue Instanz gestartet

                                            Was heißt das bei dir ...

                                            Eine Instanz ist im ioBroker !?

                                            Mit einer Instanz meine ich eine Docker Instanz. Aus dem Image eine neue leere Docker Instanz starten

                                            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

                                            871
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            130
                                            7772
                                            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