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.
    • S
      SimKa @Glasfaser last edited by SimKa

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

      @simka

      iobroker status
      
      root@iobroker:/opt/iobroker# iobroker status                                                                                                                                                        
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001                                                                                                                                        
      Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                                   
      root@iobroker:/opt/iobroker#       
      
      1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser last edited by

        @simka

        kill 1057
        

        ausnahmsweise :

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

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

          iobroker start

          root@iobroker:/opt/iobroker# kill 1057                                                                                                                                                              
          bash: kill: (1057) - No such process                                                                                                                                                                
          root@iobroker:/opt/iobroker# ps                                                                                                                                                                     
            PID TTY          TIME CMD                                                                                                                                                                         
            986 pts/1    00:00:00 bash                                                                                                                                                                        
           2095 pts/1    00:00:00 ps                                                                                                                                                                          
          root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
          iobroker controller daemon already running. PID: 2135                                                                                                                                               
          root@iobroker:/opt/iobroker# kill 2135                                                                                                                                                              
          root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
          Starting iobroker controller daemon...                                                                                                                                                              
          iobroker controller daemon started. PID: 2208                                                                                                                                                       
          root@iobroker:/opt/iobroker# 
          

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

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

            @simka

            Da stimmt was nicht es werden Zwei Controller gestartet !!

            einmal 4.0.21 und dann 4.0.23

            2022-07-04 19:57:00.141  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
            2022-07-04 19:57:00.159  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2022-07-04 19:57:00.161  - info: host.iobroker hostname: iobroker, node: v16.15.1
            2022-07-04 19:57:00.164  - info: host.iobroker ip addresses: 172.17.0.2
            2022-07-04 19:57:30.237  - error: host.iobroker No connection to databases possible, restart
            2022-07-04 19:57:30.260  - info: host.iobroker iobroker _restart
            2022-07-04 19:57:37.079  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
            2022-07-04 19:57:37.094  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2022-07-04 19:57:37.096  - info: host.iobroker hostname: iobroker, node: v16.15.1
            2022-07-04 19:57:37.097  - info: host.iobroker ip addresses: 172.17.0.2
            
            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

              Da stimmt was nicht es werden Zwei Controller gestartet !!

              einmal 4.0.21 und dann 4.0.23

              2022-07-04 19:57:00.141  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
              2022-07-04 19:57:00.159  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
              2022-07-04 19:57:00.161  - info: host.iobroker hostname: iobroker, node: v16.15.1
              2022-07-04 19:57:00.164  - info: host.iobroker ip addresses: 172.17.0.2
              2022-07-04 19:57:30.237  - error: host.iobroker No connection to databases possible, restart
              2022-07-04 19:57:30.260  - info: host.iobroker iobroker _restart
              2022-07-04 19:57:37.079  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
              2022-07-04 19:57:37.094  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
              2022-07-04 19:57:37.096  - info: host.iobroker hostname: iobroker, node: v16.15.1
              2022-07-04 19:57:37.097  - info: host.iobroker ip addresses: 172.17.0.2
              

              Vielleicht durch den js-controller Befehl gekommen. Gibt es einen uninstall Befehl oder soll ich eine neue Docker Instanz bauen und den Ordner mounten?

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

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

                eine neue Docker Instanz bauen und den Ordner mounten?

                Jipp , mach das .

                du hast da was quer installiert !

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

                  eine neue Docker Instanz bauen und den Ordner mounten?

                  Jipp , mach das .

                  du hast da was quer installiert !

                  Erledigt, leider immer noch nicht 😕

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

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

                    @simka

                    Wie geht das einmal Node 16 dann 14

                    2022-07-04 21:21:03.074  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
                    2022-07-04 21:21:03.086  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                    2022-07-04 21:21:03.088  - info: host.iobroker hostname: iobroker, node: v16.15.1
                    2022-07-04 21:21:03.089  - info: host.iobroker ip addresses: 172.17.0.2
                    2022-07-04 21:26:04.283  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
                    2022-07-04 21:26:04.300  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                    2022-07-04 21:26:04.302  - info: host.iobroker hostname: iobroker, node: v14.19.3
                    2022-07-04 21:26:04.304  - info: host.iobroker ip addresses: 172.17.0.2
                    
                    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

                      Weg geht das einmal Node 16 dann 14

                      2022-07-04 21:21:03.074  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
                      2022-07-04 21:21:03.086  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                      2022-07-04 21:21:03.088  - info: host.iobroker hostname: iobroker, node: v16.15.1
                      2022-07-04 21:21:03.089  - info: host.iobroker ip addresses: 172.17.0.2
                      2022-07-04 21:26:04.283  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
                      2022-07-04 21:26:04.300  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                      2022-07-04 21:26:04.302  - info: host.iobroker hostname: iobroker, node: v14.19.3
                      2022-07-04 21:26:04.304  - info: host.iobroker ip addresses: 172.17.0.2
                      

                      Is das im in einer Datei hinterlegt?

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

                        @simka

                        Hast du kein Backup über Backitup !?

                        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

                          Hast du kein Backup über Backitup !?

                          Dock, habe es über das Webinterface eingespielt und anschließend die gleichen Probleme bekommen

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            757
                                            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