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.
    • andre
      andre Developer @SimKa last edited by

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

      Hallo zusammen,
      mich hat es leider auch getroffen. Iobroker lässt sich nicht mehr starten.

      Was hat dich getroffen? Hab noch nicht gehört dass der iobroker einfach so über die Klippe springt. Was hat dich denn in diese Lage gebracht. Updates? Was genau hast du gemacht?
      (Sorry falls ich das im Thread überlesen haben sollte)

      MfG,
      Andre

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

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

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

        Hallo zusammen,
        mich hat es leider auch getroffen. Iobroker lässt sich nicht mehr starten.

        Was hat dich getroffen? Hab noch nicht gehört dass der iobroker einfach so über die Klippe springt. Was hat dich denn in diese Lage gebracht. Updates? Was genau hast du gemacht?
        (Sorry falls ich das im Thread überlesen haben sollte)

        MfG,
        Andre

        Wenn ich das wüsste. Ich habe kein Update von der Synology gemacht, kein Update des Dockers aber ich meine, ich hätte ein update von iobroker über das Webinterface gemacht.

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

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

          v16.15.1

          War das schon im Container oder hast du ein Update von 14 auf 16 gemacht !?

          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 sagte in [Synology Docker]Iobroker startet nicht (no database):

            v16.15.1

            War das schon im Container oder hast du ein Update von 14 auf 16 gemacht !?

            Ich hab nur den Container erstellt, den Ordner gemountet und gestartet. Während der Container startete, sind einige Sachen installiert worden. Manuell habe ich nichts installiert.

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

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

              2022-07-04 21:26:04.302 - info: host.iobroker hostname: iobroker, node: v14.19.3

              Ich frage deshalb weil der jetzige Container wieder 14 hat und die oben im Start-Thread 16 hattest

              Laut deinem neusten Log

              S 2 Replies 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):

                2022-07-04 21:26:04.302 - info: host.iobroker hostname: iobroker, node: v14.19.3

                Ich frage deshalb weil der jetzige Container wieder 14 hat und die oben im Start-Thread 16 hattest

                Laut deinem neusten Log
                Hab ne neue Instanz gestartet in einem leeren Ordner. Anscheinend ist die 14er standardmäßig installiert. iobroker.2022-07-04 (14).log

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

                  @glasfaser
                  Ich hab noch mal über das Webinterface das Backup eingespielt.
                  iobroker.2022-07-04 (16).log

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

                    Nach einem Neustart bleibts zumindest bei v14 aber wieder ein Fehler

                    2022-07-04 22:16:45.676  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
                    2022-07-04 22:16:45.689  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                    2022-07-04 22:16:45.691  - info: host.iobroker hostname: iobroker, node: v14.19.3
                    2022-07-04 22:16:45.692  - info: host.iobroker ip addresses: 172.17.0.2
                    2022-07-04 22:16:47.534  - info: host.iobroker connected to Objects and States
                    2022-07-04 22:16:47.603  - info: host.iobroker Node.js version has changed from unknown to 14.19.3
                    2022-07-04 22:16:47.635  - info: host.iobroker added notifications configuration of host
                    2022-07-04 22:16:48.203  - 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-04 22:16:48.338  - info: host.iobroker Delete host system.host.iobroker-default
                    2022-07-04 22:16:48.452  - info: host.iobroker 28 instances found
                    2022-07-04 22:16:48.490  - warn: host.iobroker does not start any instances on this host
                    

                    iobroker.2022-07-04 (19).log

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

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

                      2022-07-04 22:16:48.490 - warn: host.iobroker does not start any instances on this host

                      iobroker host this
                      

                      Verstehe trozdem nicht , wo das wieder herkommt bei dir

                      2022-07-04 22:16:47.603  - info: host.iobroker Node.js version has changed from unknown to 14.19.3
                      2022-07-04 22:16:47.635  - info: host.iobroker added notifications configuration of host
                      2022-07-04 22:16:48.203  - 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)
                      

                      .
                      Du erstellt doch einen neuen Container mit ioBroker , dann spielst du es mit dem Backitup Adapter wieder ein .

                      Ich hab noch mal über das Webinterface das Backup eingespielt.

                      Weil .... deine gezeigten Log´s zeigen nichts davon an !

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

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

                        Wenn ich das wüsste. Ich habe kein Update von der Synology gemacht, kein Update des Dockers aber ich meine, ich hätte ein update von iobroker über das Webinterface gemacht.

                        Welches Tag des Docker Images nutzt du denn? Ausserdem wäre es hilfreich mal das Log aus dem Container zu zeigen. Dann gäbe es hier mal Klarheit was die Versionen angeht...

                        MfG,
                        Andre

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

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

                          Klarheit was die Versionen angeht...

                          Das frage ich ja auch schon die ganze Zeit .

                          Mal ist es Nodejs 16 ( ist ja dein neustes Beta ) , mal 14

                          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 sagte in [Synology Docker]Iobroker startet nicht (no database):

                            2022-07-04 22:16:48.490 - warn: host.iobroker does not start any instances on this host

                            iobroker host this
                            

                            Verstehe trozdem nicht , wo das wieder herkommt bei dir

                            2022-07-04 22:16:47.603  - info: host.iobroker Node.js version has changed from unknown to 14.19.3
                            2022-07-04 22:16:47.635  - info: host.iobroker added notifications configuration of host
                            2022-07-04 22:16:48.203  - 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)
                            

                            .
                            Du erstellt doch einen neuen Container mit ioBroker , dann spielst du es mit dem Backitup Adapter wieder ein .

                            Ich hab noch mal über das Webinterface das Backup eingespielt.

                            Weil .... deine gezeigten Log´s zeigen nichts davon an !

                            root@iobroker-default:/opt/iobroker# iobroker host this                                                                                                                                             
                            Cannot execute changes on running system. Stop iobroker first.                                                                                                                                      
                            root@iobroker-default:/opt/iobroker# iobroker stop                                                                                                                                                  
                            iobroker controller daemon is not running                                                                                                                                                           
                            root@iobroker-default:/opt/iobroker# iobroker host this                                                                                                                                             
                            Cannot execute changes on running system. Stop iobroker first.                                                                                                                                      
                            root@iobroker-default:/opt/iobroker#                                                                                                                                                                
                            root@iobroker-default:/opt/iobroker# iobroker status                                                                                                                                                
                            iobroker is running on this host.                                                                                                                                                                   
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                
                            Objects type: jsonl                                                                                                                                                                                 
                            States  type: jsonl                                                                                                                                                                                 
                            root@iobroker-default:/opt/iobroker#
                            

                            Kanns dir nicht erklären, warum das Backup nicht in den Logs erscheint. Ich erstelle eine weitere Instanz und versuche es mal mit der console, das Backup einzuspielen.

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

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

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

                              Wenn ich das wüsste. Ich habe kein Update von der Synology gemacht, kein Update des Dockers aber ich meine, ich hätte ein update von iobroker über das Webinterface gemacht.

                              Welches Tag des Docker Images nutzt du denn? Ausserdem wäre es hilfreich mal das Log aus dem Container zu zeigen. Dann gäbe es hier mal Klarheit was die Versionen angeht...

                              MfG,
                              Andre

                              Ich erstelle es von iobroker/iobroker:latest
                              Welche logs meinst du? Kannst du mir sagen, wo diese liegen?

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

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

                                root@iobroker-default:/opt/iobroker# iobroker stop

                                im Container gibt es kein Stop Befehl .

                                der ist dann so:

                                pkill -u iobroker
                                
                                1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser last edited by

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

                                  Welche logs meinst du? Kannst du mir sagen, wo diese liegen?

                                  hier :

                                  Beispielbild :

                                  7b843b46-06a4-4792-a17e-e6185ec0aaba-grafik.png

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

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

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

                                    Klarheit was die Versionen angeht...

                                    Das frage ich ja auch schon die ganze Zeit .

                                    Mal ist es Nodejs 16 ( ist ja dein neustes Beta ) , mal 14

                                    Habe eine neue Instanz deployed ohne etwas zu ändern.

                                    root@iobroker-default:/opt/iobroker# npm -v                                                                                                                                                         
                                    6.14.17                                                                                                                                                                                             
                                    root@iobroker-default:/opt/iobroker# node -v                                                                                                                                                        
                                    v14.19.3                                                                                                                                                                                            
                                    root@iobroker-default:/opt/iobroker#
                                    

                                    Habe nun über die console ein Backup versuche

                                    root@iobroker-default:/opt/iobroker# pkill -u iobroker                                                                                                                                              
                                    root@iobroker-default:/opt/iobroker# iobroker restore backups/iobroker_2022_05_07-02_40_10_backupiobroker.tar.gz                                                                                    
                                    iobroker controller daemon is not running                                                                                                                                                           
                                    host.iobroker-default OK.                                                                                                                                                                           
                                    Removing current installation of iobroker.admin                                                                                                                                                     
                                    removed 21 packages in 22.107s                                                                                                                                                                      
                                                                                                                                                                                                                                        
                                    37 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                                           
                                    Removing current installation of iobroker.admin                                                                                                                                                     
                                    removed 21 packages in 22.107s                                                                                                                                                                      
                                                                                                                                                                                                                                        
                                    37 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                                                                                                                                                                                                                        
                                    Removing current installation of iobroker.backitup                                                                                                                                                  
                                    removed 98 packages in 18.525s                                                                                                                                                                      
                                                                                                                                                                                                                                        
                                    35 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                                                                                                                                                                                                                        
                                    Removing current installation of iobroker.discovery                                                                                                                                                 
                                    removed 93 packages in 15.548s                                                                                                                                                                      
                                                                                                                                                                                                                                        
                                    16 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                                                                                                                                                                                                                        
                                    host.iobroker-default Clear all objects and states...                                                                                                                                               
                                    clean 135 objects...                                                                                                                                                                                
                                    clean 94 states...                                                                                                                                                                                  
                                    host.iobroker-default done.                                                                                                                                                                         
                                    host.iobroker-default Processed 0/2039 objects                                                                                                                                                      
                                    host.iobroker-default Processed 200/2039 objects                                                                                                                                                    
                                    host.iobroker-default Processed 400/2039 objects                                                                                                                                                    
                                    host.iobroker-default Processed 600/2039 objects                                                                                                                                                    
                                    host.iobroker-default Processed 800/2039 objects                                                                                                                                                    
                                    host.iobroker-default Processed 1000/2039 objects                                                                                                                                                   
                                    host.iobroker-default Processed 1200/2039 objects                                                                                                                                                   
                                    host.iobroker-default Processed 1400/2039 objects                                                                                                                                                   
                                    host.iobroker-default Processed 1600/2039 objects                                                                                                                                                   
                                    host.iobroker-default Processed 1800/2039 objects                                                                                                                                                   
                                    host.iobroker-default Processed 2000/2039 objects                                                                                                                                                   
                                    2039 objects restored.                                                                                                                                                                              
                                    host.iobroker-default Processed 0/1612 states                                                                                                                                                       
                                    host.iobroker-default Processed 200/1612 states                                                                                                                                                     
                                    host.iobroker-default Processed 400/1612 states                                                                                                                                                     
                                    host.iobroker-default Processed 600/1612 states                                                                                                                                                     
                                    host.iobroker-default Processed 800/1612 states                                                                                                                                                     
                                    host.iobroker-default Processed 1000/1612 states                                                                                                                                                    
                                    host.iobroker-default Processed 1200/1612 states                                                                                                                                                    
                                    host.iobroker-default Processed 1400/1612 states                                                                                                                                                    
                                    host.iobroker-default Processed 1600/1612 states                                                                                                                                                    
                                    1612 states restored.
                                    .....
                                    host.iobroker-default Upload user file "vis.0/main/vis-views.json                                                                                                                                   
                                    Reinstalling adapter "admin" from "iobroker.admin@5.3.1"                                                                                                                                            
                                    + iobroker.admin@5.3.1                                                                                                                                                                              
                                    added 71 packages from 90 contributors in 43.167s                                                                                                                                                   
                                                                                                                                                                                                                                        
                                    20 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                                                                                                                                                                                                                        
                                    Reinstalling adapter "backitup" from "iobroker.backitup@2.3.3"                                                                                                                                      
                                    + iobroker.backitup@2.3.3                                                                                                                                                                           
                                    added 73 packages from 59 contributors in 30.069s                                                                                                                                                   
                                                                                                                                                                                                                                        
                                    24 packages are looking for funding                                                                                                                                                                 
                                      run `npm fund` for details                                                                                                                                                                        
                                    root@iobroker-default:/opt/iobroker# 
                                    

                                    Auch nicht mehr erreichbar über port 8081 und https (auch nicht über http)
                                    iobroker.2022-07-05.log

                                    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):

                                      Welche logs meinst du? Kannst du mir sagen, wo diese liegen?

                                      hier :

                                      Beispielbild :

                                      7b843b46-06a4-4792-a17e-e6185ec0aaba-grafik.png

                                      iobroker-default.html

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

                                        @simka

                                        iobroker status
                                        
                                        iobroker list instances
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @SimKa last edited by

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

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

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

                                          v16.15.1

                                          War das schon im Container oder hast du ein Update von 14 auf 16 gemacht !?

                                          Ich hab nur den Container erstellt, den Ordner gemountet und gestartet. Während der Container startete, sind einige Sachen installiert worden. Manuell habe ich nichts installiert.

                                          Das ist irgendwie verwirrend bei dir
                                          , denn der Container den du hast

                                          ist das :
                                          Image : v6.1.0
                                          mit :
                                          npm: 6.14.16
                                          node: v14.19.0

                                          und im ganzen Verlauf .... schreibst du , du hast nichts gemacht ,
                                          bist trotzdem

                                          " Iobroker startet nicht (no database) "
                                          mich hat es leider auch getroffen. Iobroker lässt sich nicht mehr starten.

                                          und hast ganz oben im Start-Thread wie ich schon mehere male erwähnt und auch nachgefragt Node in
                                          v16.15.1
                                          8.11.0

                                          , also das aktuelle.

                                          Von alleine geht das nicht !!

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

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

                                            Ich erstelle es von iobroker/iobroker:latest

                                            Latest ist schon mal nicht so gut. Aktuell scheint bei dir zwar noch v6.1.0 lokal zu liegen, wenn du da Image allerdings neu pullst würdest du die v7.0.0 bekommen. Das könnte dann noch andere Probleme geben. 🙂 Aber das ist eine andere Story.

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

                                            iobroker-default.html

                                            Dein Log von nem neuen Container sieht sauber aus. Image Version passt zur node version.
                                            26eb78a1-0230-4143-92f8-9e5cd6eb4abf-image.png

                                            Wenn ich es richtig verstehe, dann kommt der iobroker auch "jungfräulich" hoch, richtig?

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

                                            Habe nun über die console ein Backup versuche
                                            ...
                                            Auch nicht mehr erreichbar über port 8081 und https (auch nicht über http)
                                            iobroker.2022-07-05.log

                                            Dein Restore sieht m.E: auch schonmal gut aus.

                                            Jetzt kannst du über die Kommandozeile die beiden Kommandos die @Glasfaser gepostet hat mal ausführen. Gleichzeitig mal schauen welche Prozesse in deinem Container laufen:

                                            e904665d-489a-468f-a529-f2e5dd88d768-image.png

                                            Mag ja sein, dass alles läuft, du aber nur nich drauf kommst? Was sagt das Protokoll vom Container nach dem restore?

                                            MfG,
                                            André

                                            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

                                            738
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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