Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Synology Docker]Iobroker startet nicht (no database)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    12
    1
    125

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

[Synology Docker]Iobroker startet nicht (no database)

Scheduled Pinned Locked Moved ioBroker Allgemein
130 Posts 11 Posters 17.7k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S SimKa

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

    ps auxwww |grep io

    War vor dem Neustart
    Jetzt noch ma nach einem Neustart :-)

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

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

    Habs eben neugestartet, log hänge ich an

    ist der Befehl den ich dir gegeben habe vor oder nach dem Container neustart.

    ps auxwww |grep io
    

    Zeige noch mal !

    War vor dem Neustart
    Jetzt aber nach dem Neustart :-)

    root@iobroker:/opt/iobroker# ps auxwww |grep io                                                                                                                                                     
    root         1  0.0  0.0   7292  1796 pts/0    Ss+  20:55   0:00 /bin/bash /opt/scripts/iobroker_startup.sh                                                                                         
    iobroker  1057  122  5.3 805700 214860 ?       Rsl  21:04   0:28 iobroker.js-controller                                                                                                             
    root      1081  0.0  0.0   6504   964 pts/1    S+   21:05   0:00 grep io                                                                                                                            
    root@iobroker:/opt/iobroker#
    
    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    wrote on last edited by
    #18

    @simka

    iobroker status
    

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    S 1 Reply Last reply
    0
    • GlasfaserG Glasfaser

      @simka

      iobroker status
      
      S Offline
      S Offline
      SimKa
      wrote on last edited by SimKa
      #19

      @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
      0
      • GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        wrote on last edited by
        #20

        @simka

        kill 1057
        

        ausnahmsweise :

        iobroker start
        

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        S 1 Reply Last reply
        0
        • GlasfaserG Glasfaser

          @simka

          kill 1057
          

          ausnahmsweise :

          iobroker start
          
          S Offline
          S Offline
          SimKa
          wrote on last edited by SimKa
          #21

          @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
          0
          • GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            wrote on last edited by
            #22

            @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
            

            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

            S 1 Reply Last reply
            0
            • GlasfaserG Glasfaser

              @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 Offline
              S Offline
              SimKa
              wrote on last edited by
              #23

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

              GlasfaserG 1 Reply Last reply
              0
              • S SimKa

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

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                wrote on last edited by
                #24

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

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                S 1 Reply Last reply
                0
                • GlasfaserG Glasfaser

                  @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 Offline
                  S Offline
                  SimKa
                  wrote on last edited by
                  #25

                  @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

                  GlasfaserG 1 Reply Last reply
                  0
                  • S SimKa

                    @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

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    wrote on last edited by Glasfaser
                    #26

                    @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
                    

                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                    S 1 Reply Last reply
                    0
                    • GlasfaserG 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 Offline
                      S Offline
                      SimKa
                      wrote on last edited by
                      #27

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

                      GlasfaserG 2 Replies Last reply
                      0
                      • S SimKa

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

                        GlasfaserG Offline
                        GlasfaserG Offline
                        Glasfaser
                        wrote on last edited by
                        #28

                        @simka

                        Hast du kein Backup über Backitup !?

                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                        S 1 Reply Last reply
                        0
                        • GlasfaserG Glasfaser

                          @simka

                          Hast du kein Backup über Backitup !?

                          S Offline
                          S Offline
                          SimKa
                          wrote on last edited by
                          #29

                          @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
                          0
                          • S SimKa

                            iobroker.2022-07-04 (9).log Hallo zusammen,

                            mich hat es leider auch getroffen. Iobroker lässt sich nicht mehr starten. Log im Anhang
                            Ich habe verschiedene Befehle wie z.B.

                            iobroker fix
                            

                            oder

                            curl -fsL https://iobroker.net/fix.sh | bash -
                            

                            und anschließend

                            sudo -u iobroker -H npm install iobroker.js-controller
                            

                            Wobei dann dieser Fehler kam

                            root@iobroker:/opt/iobroker# sudo -u iobroker -H npm install iobroker.js-controller                                                                                                                 
                            npm WARN old lockfile                                                                                                                                                                               
                            npm WARN old lockfile The package-lock.json file was created with an old version of npm,                                                                                                            
                            npm WARN old lockfile so supplemental metadata must be fetched from the registry.                                                                                                                   
                            npm WARN old lockfile                                                                                                                                                                               
                            npm WARN old lockfile This is a one-time fix-up, please be patient...                                                                                                                               
                            npm WARN old lockfile                                                                                                                                                                               
                            (################⠂⠂) ⠼ idealTree:inflate:node_modules/@samverschueren/stream-to-observable/node_modules/any-observable: sill inflate node_modules/@samverschueren/stream-to-observable/node_modul
                            (################⠂⠂) ⠼ idealTree:inflate:node_modules/@samverschueren/stream-to-observable/node_modules/any-observable: sill inflate node_modules/@samverschueren/stream-to-observable/node_modul
                            npm ERR! code 24                                                                                                                                                                                    
                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller                                                                                                                                     
                            npm ERR! command failed                                                                                                                                                                             
                            npm ERR! command sh -c node iobroker.js setup first                                                                                                                                                 
                            npm ERR! Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                          
                                                                                                                                                                                                                                
                            npm ERR! A complete log of this run can be found in:                                                                                                                                                
                            npm ERR!     /opt/iobroker/.npm/_logs/2022-07-04T17_55_42_289Z-debug-0.log                                                                                                                          
                            root@iobroker:/opt/iobroker# 
                            

                            Das /opt/iobroker/.npm/_logs/2022-07-04T17_55_42_289Z-debug-0.log im Anhang.
                            Die Lockfiles habe ich auch bereits gelöscht.
                            Ich benutzte iobroker in einem Docker auf einer Synology mit folgenden Verionen

                            root@iobroker:/opt/iobroker# npm -v                                                                                                                                                                 
                            8.11.0                                                                                                                                                                                              
                            root@iobroker:/opt/iobroker#
                            

                            und

                            root@iobroker:/opt/iobroker# node -v                                                                                                                                                                
                            v16.15.1                                                                                                                                                                                            
                            root@iobroker:/opt/iobroker# 
                            

                            Das curiose ist, dass ich eine weitere Docker Instanz gestartet habe, bei der ich den Wizard durch gegangen bin und nachdem ich das Backup eingespielt habe, ebenfalls nicht mehr startete

                            Ich hoffe, dass ich alle benötigten Informationen, für eine Fehlerdiagnose, zusammen habe ansonsten liefere ich diese noch nach.

                            Vielen Dank schonmal im vorraus.

                            LG
                            2022-07-04T18_06_06_635Z-debug-0.log
                            iobroker.2022-07-04 (9).log

                            andreA Offline
                            andreA Offline
                            andre
                            Developer
                            wrote on last edited by
                            #30

                            @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

                            Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                            S 1 Reply Last reply
                            1
                            • andreA andre

                              @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 Offline
                              S Offline
                              SimKa
                              wrote on last edited by
                              #31

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

                              andreA 1 Reply Last reply
                              0
                              • S SimKa

                                iobroker.2022-07-04 (9).log Hallo zusammen,

                                mich hat es leider auch getroffen. Iobroker lässt sich nicht mehr starten. Log im Anhang
                                Ich habe verschiedene Befehle wie z.B.

                                iobroker fix
                                

                                oder

                                curl -fsL https://iobroker.net/fix.sh | bash -
                                

                                und anschließend

                                sudo -u iobroker -H npm install iobroker.js-controller
                                

                                Wobei dann dieser Fehler kam

                                root@iobroker:/opt/iobroker# sudo -u iobroker -H npm install iobroker.js-controller                                                                                                                 
                                npm WARN old lockfile                                                                                                                                                                               
                                npm WARN old lockfile The package-lock.json file was created with an old version of npm,                                                                                                            
                                npm WARN old lockfile so supplemental metadata must be fetched from the registry.                                                                                                                   
                                npm WARN old lockfile                                                                                                                                                                               
                                npm WARN old lockfile This is a one-time fix-up, please be patient...                                                                                                                               
                                npm WARN old lockfile                                                                                                                                                                               
                                (################⠂⠂) ⠼ idealTree:inflate:node_modules/@samverschueren/stream-to-observable/node_modules/any-observable: sill inflate node_modules/@samverschueren/stream-to-observable/node_modul
                                (################⠂⠂) ⠼ idealTree:inflate:node_modules/@samverschueren/stream-to-observable/node_modules/any-observable: sill inflate node_modules/@samverschueren/stream-to-observable/node_modul
                                npm ERR! code 24                                                                                                                                                                                    
                                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller                                                                                                                                     
                                npm ERR! command failed                                                                                                                                                                             
                                npm ERR! command sh -c node iobroker.js setup first                                                                                                                                                 
                                npm ERR! Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                          
                                                                                                                                                                                                                                    
                                npm ERR! A complete log of this run can be found in:                                                                                                                                                
                                npm ERR!     /opt/iobroker/.npm/_logs/2022-07-04T17_55_42_289Z-debug-0.log                                                                                                                          
                                root@iobroker:/opt/iobroker# 
                                

                                Das /opt/iobroker/.npm/_logs/2022-07-04T17_55_42_289Z-debug-0.log im Anhang.
                                Die Lockfiles habe ich auch bereits gelöscht.
                                Ich benutzte iobroker in einem Docker auf einer Synology mit folgenden Verionen

                                root@iobroker:/opt/iobroker# npm -v                                                                                                                                                                 
                                8.11.0                                                                                                                                                                                              
                                root@iobroker:/opt/iobroker#
                                

                                und

                                root@iobroker:/opt/iobroker# node -v                                                                                                                                                                
                                v16.15.1                                                                                                                                                                                            
                                root@iobroker:/opt/iobroker# 
                                

                                Das curiose ist, dass ich eine weitere Docker Instanz gestartet habe, bei der ich den Wizard durch gegangen bin und nachdem ich das Backup eingespielt habe, ebenfalls nicht mehr startete

                                Ich hoffe, dass ich alle benötigten Informationen, für eine Fehlerdiagnose, zusammen habe ansonsten liefere ich diese noch nach.

                                Vielen Dank schonmal im vorraus.

                                LG
                                2022-07-04T18_06_06_635Z-debug-0.log
                                iobroker.2022-07-04 (9).log

                                GlasfaserG Offline
                                GlasfaserG Offline
                                Glasfaser
                                wrote on last edited by
                                #32

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

                                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                S 1 Reply Last reply
                                0
                                • GlasfaserG Glasfaser

                                  @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 Offline
                                  S Offline
                                  SimKa
                                  wrote on last edited by
                                  #33

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

                                  GlasfaserG 1 Reply Last reply
                                  0
                                  • S SimKa

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

                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    wrote on last edited by Glasfaser
                                    #34

                                    @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

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    S 2 Replies Last reply
                                    0
                                    • GlasfaserG 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 Offline
                                      S Offline
                                      SimKa
                                      wrote on last edited by
                                      #35

                                      @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
                                      0
                                      • GlasfaserG 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 Offline
                                        S Offline
                                        SimKa
                                        wrote on last edited by
                                        #36

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

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          SimKa
                                          wrote on last edited by
                                          #37

                                          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

                                          GlasfaserG 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          590

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe