Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Synology Docker]Iobroker startet nicht (no database)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

[Synology Docker]Iobroker startet nicht (no database)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
130 Beiträge 11 Kommentatoren 15.4k Aufrufe 9 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Offline
    S Offline
    SimKa
    schrieb am zuletzt editiert von
    #1

    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

    HomoranH andreA GlasfaserG 3 Antworten Letzte Antwort
    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

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #2

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

      Wobei dann dieser Fehler kam

      warum sudo wenn du schon root bist?
      Willst du SuperDuperMonsterRootrechte bekommen?

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

      The package-lock.json file was created with an old version of npm,

      also löschen/umbenennen und hoffen, dass es das war.

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

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

      S 2 Antworten Letzte Antwort
      0
      • HomoranH Homoran

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

        Wobei dann dieser Fehler kam

        warum sudo wenn du schon root bist?
        Willst du SuperDuperMonsterRootrechte bekommen?

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

        The package-lock.json file was created with an old version of npm,

        also löschen/umbenennen und hoffen, dass es das war.

        S Offline
        S Offline
        SimKa
        schrieb am zuletzt editiert von
        #3

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

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

        Wobei dann dieser Fehler kam

        warum sudo wenn du schon root bist?
        Willst du SuperDuperMonsterRootrechte bekommen?

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

        The package-lock.json file was created with an old version of npm,

        also löschen/umbenennen und hoffen, dass es das war.

        Gesagt, getan. Leider ohne erfolg.

        root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
        root@iobroker:/opt/iobroker# 
        
        2022-07-04 20:22:23.724  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
        2022-07-04 20:22:23.740  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-04 20:22:23.741  - info: host.iobroker hostname: iobroker, node: v16.15.1
        2022-07-04 20:22:23.743  - info: host.iobroker ip addresses: 172.17.0.2
        2022-07-04 20:22:53.787  - error: host.iobroker No connection to databases possible, restart
        2022-07-04 20:22:53.811  - info: host.iobroker iobroker _restart
        2022-07-04 20:22:59.906  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
        2022-07-04 20:22:59.918  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-04 20:22:59.919  - info: host.iobroker hostname: iobroker, node: v16.15.1
        2022-07-04 20:22:59.921  - info: host.iobroker ip addresses: 172.17.0.2
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • S SimKa

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

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

          Wobei dann dieser Fehler kam

          warum sudo wenn du schon root bist?
          Willst du SuperDuperMonsterRootrechte bekommen?

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

          The package-lock.json file was created with an old version of npm,

          also löschen/umbenennen und hoffen, dass es das war.

          Gesagt, getan. Leider ohne erfolg.

          root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
          root@iobroker:/opt/iobroker# 
          
          2022-07-04 20:22:23.724  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
          2022-07-04 20:22:23.740  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2022-07-04 20:22:23.741  - info: host.iobroker hostname: iobroker, node: v16.15.1
          2022-07-04 20:22:23.743  - info: host.iobroker ip addresses: 172.17.0.2
          2022-07-04 20:22:53.787  - error: host.iobroker No connection to databases possible, restart
          2022-07-04 20:22:53.811  - info: host.iobroker iobroker _restart
          2022-07-04 20:22:59.906  - info: host.iobroker iobroker.js-controller version 4.0.21 js-controller starting
          2022-07-04 20:22:59.918  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2022-07-04 20:22:59.919  - info: host.iobroker hostname: iobroker, node: v16.15.1
          2022-07-04 20:22:59.921  - info: host.iobroker ip addresses: 172.17.0.2
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #4

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

          ip addresses: 172.17.0.2

          Wasn das für eine IP?
          Die ist nicht aus dem Privaten IP Pool.

          €dith: Ach, doch. Aber ungewöhnlich.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          S 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

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

            ip addresses: 172.17.0.2

            Wasn das für eine IP?
            Die ist nicht aus dem Privaten IP Pool.

            €dith: Ach, doch. Aber ungewöhnlich.

            S Offline
            S Offline
            SimKa
            schrieb am zuletzt editiert von
            #5

            @thomas-braun said in [Synology Docker]Iobroker startet nicht (no database):

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

            ip addresses: 172.17.0.2

            Wasn das für eine IP?
            Die ist nicht aus dem Privaten IP Pool.

            Die wurde automatisch von Docker vergeben. Ist nur ne interne Docker IP. Von "außen" lokal ist der Docker/iobroker mit 192.168.115.252 erreichbar (Synology IP) Port Weiterleitung steht auch, bin ja den Wizard durchgegangen

            1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

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

              Wobei dann dieser Fehler kam

              warum sudo wenn du schon root bist?
              Willst du SuperDuperMonsterRootrechte bekommen?

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

              The package-lock.json file was created with an old version of npm,

              also löschen/umbenennen und hoffen, dass es das war.

              S Offline
              S Offline
              SimKa
              schrieb am zuletzt editiert von
              #6

              @homoran
              Ah Sorry, falsch verstanden. Habe den js-controller install Befehl erneut ausgeführt

              root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
              No connection to databases possible ...                                                                                                                                                             
              root@iobroker:/opt/iobroker#                                                                                                                                                                        
              root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
              Starting iobroker controller daemon...                                                                                                                                                              
              iobroker controller daemon started. PID: 5414                                                                                                                                                       
              root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
              Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                                   
              root@iobroker:/opt/iobroker# 
              

              Kann ich die /opt/iobroker/iobroker-data/states.jsonl auch einfach löschen und noch ma probieren?

              Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
              0
              • S SimKa

                @homoran
                Ah Sorry, falsch verstanden. Habe den js-controller install Befehl erneut ausgeführt

                root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
                No connection to databases possible ...                                                                                                                                                             
                root@iobroker:/opt/iobroker#                                                                                                                                                                        
                root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
                Starting iobroker controller daemon...                                                                                                                                                              
                iobroker controller daemon started. PID: 5414                                                                                                                                                       
                root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
                Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                                   
                root@iobroker:/opt/iobroker# 
                

                Kann ich die /opt/iobroker/iobroker-data/states.jsonl auch einfach löschen und noch ma probieren?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #7

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

                iobroker -H npm install iobroker.js-controller

                Was soll der Befehl bezwecken?

                Vermutlich sollte das

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

                werden.
                Und meld dich nicht als root an sonder als user. Geht wohl auch auf einem Synology-Docker.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                GlasfaserG 1 Antwort Letzte Antwort
                0
                • S SimKa

                  @homoran
                  Ah Sorry, falsch verstanden. Habe den js-controller install Befehl erneut ausgeführt

                  root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
                  No connection to databases possible ...                                                                                                                                                             
                  root@iobroker:/opt/iobroker#                                                                                                                                                                        
                  root@iobroker:/opt/iobroker# iobroker start                                                                                                                                                         
                  Starting iobroker controller daemon...                                                                                                                                                              
                  iobroker controller daemon started. PID: 5414                                                                                                                                                       
                  root@iobroker:/opt/iobroker# iobroker -H npm install iobroker.js-controller                                                                                                                         
                  Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!                                                                                   
                  root@iobroker:/opt/iobroker# 
                  

                  Kann ich die /opt/iobroker/iobroker-data/states.jsonl auch einfach löschen und noch ma probieren?

                  GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #8

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

                  root@iobroker:/opt/iobroker# iobroker start

                  Das macht man nicht im Container !!!!!

                  Der Container wird neu gestartet über die Syn Oberfläche !!!

                  Zeige mal

                  ps auxwww |grep io
                  

                  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 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

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

                    iobroker -H npm install iobroker.js-controller

                    Was soll der Befehl bezwecken?

                    Vermutlich sollte das

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

                    werden.
                    Und meld dich nicht als root an sonder als user. Geht wohl auch auf einem Synology-Docker.

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    schrieb am zuletzt editiert von Glasfaser
                    #9

                    @thomas-braun sagte in [Synology Docker]Iobroker startet nicht (no database):

                    Und meld dich nicht als root an sonder als user. Geht wohl auch auf einem Synology-Docker.

                    Das ist mir neu , es sei denn @andre hat da was umgebaut in der neuesten Beta Version !

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

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      SimKa
                      schrieb am zuletzt editiert von
                      #10

                      @thomas-braun
                      Habe ich in dem Thread gelesen
                      https://forum.iobroker.net/topic/53378/server-cannot-start-inmem-objects-on-port-9001/50
                      Post 50 von Jaridian

                      Hat leider auch nicht funktioniert

                      root@iobroker:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller                                                                                                                 
                      (###########⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:@serialport/parser-inter-byte-timeout: http fetch GET 200 https://registry.npmjs.org/@serialport/parser-inter-byte-timeout/-/parser-inter-byte-timeout-10.3.0.t
                      (###########⠂⠂⠂⠂⠂⠂⠂) ⠧ reify:@serialport/bindings-interface: http fetch GET 200 https://registry.npmjs.org/@serialport/bindings-interface/-/bindings-interface-1.2.2.tgz 11973ms (cache miss
                      npm ERR! code 22                                                                                                                                                                                    
                      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! No connection to databases possible ...                                                                                                                                                    
                                                                                                                                                                                                                          
                      npm ERR! A complete log of this run can be found in:                                                                                                                                                
                      npm ERR!     /opt/iobroker/.npm/_logs/2022-07-04T18_45_02_222Z-debug-0.log                                                                                                                          
                      root@iobroker:/opt/iobroker#  
                      

                      2022-07-04T18_45_02_222Z-debug-0.log

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • GlasfaserG Glasfaser

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

                        root@iobroker:/opt/iobroker# iobroker start

                        Das macht man nicht im Container !!!!!

                        Der Container wird neu gestartet über die Syn Oberfläche !!!

                        Zeige mal

                        ps auxwww |grep io
                        
                        S Offline
                        S Offline
                        SimKa
                        schrieb am zuletzt editiert von
                        #11

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

                        ps auxwww |grep io

                        root@iobroker:/opt/iobroker# ps auxwww |grep io                                                                                                                                                     
                        root         1  0.0  0.0   7296   876 pts/0    Ss+  19:34   0:00 /bin/bash /opt/scripts/iobroker_startup.sh                                                                                         
                        root      7141  0.0  0.0   6504   968 pts/1    S+   20:53   0:00 grep io                                                                                                                            
                        root@iobroker:/opt/iobroker# 
                        
                        GlasfaserG 1 Antwort Letzte Antwort
                        0
                        • S SimKa

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

                          ps auxwww |grep io

                          root@iobroker:/opt/iobroker# ps auxwww |grep io                                                                                                                                                     
                          root         1  0.0  0.0   7296   876 pts/0    Ss+  19:34   0:00 /bin/bash /opt/scripts/iobroker_startup.sh                                                                                         
                          root      7141  0.0  0.0   6504   968 pts/1    S+   20:53   0:00 grep io                                                                                                                            
                          root@iobroker:/opt/iobroker# 
                          
                          GlasfaserG Offline
                          GlasfaserG Offline
                          Glasfaser
                          schrieb am zuletzt editiert von
                          #12

                          @simka

                          Hast du jetzt den Container mal neu gestartet !?

                          Nutzt du Portainer !?

                          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 Antwort Letzte Antwort
                          0
                          • GlasfaserG Glasfaser

                            @simka

                            Hast du jetzt den Container mal neu gestartet !?

                            Nutzt du Portainer !?

                            S Offline
                            S Offline
                            SimKa
                            schrieb am zuletzt editiert von
                            #13

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

                            @simka

                            Hast du jetzt den Container mal neu gestartet !?

                            Nutzt du Portainer !?

                            Habs eben neugestartet, log hänge ich an

                            Portainer sagt mir nichts

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

                            GlasfaserG 1 Antwort Letzte Antwort
                            0
                            • S SimKa

                              @thomas-braun
                              Habe ich in dem Thread gelesen
                              https://forum.iobroker.net/topic/53378/server-cannot-start-inmem-objects-on-port-9001/50
                              Post 50 von Jaridian

                              Hat leider auch nicht funktioniert

                              root@iobroker:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller                                                                                                                 
                              (###########⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:@serialport/parser-inter-byte-timeout: http fetch GET 200 https://registry.npmjs.org/@serialport/parser-inter-byte-timeout/-/parser-inter-byte-timeout-10.3.0.t
                              (###########⠂⠂⠂⠂⠂⠂⠂) ⠧ reify:@serialport/bindings-interface: http fetch GET 200 https://registry.npmjs.org/@serialport/bindings-interface/-/bindings-interface-1.2.2.tgz 11973ms (cache miss
                              npm ERR! code 22                                                                                                                                                                                    
                              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! No connection to databases possible ...                                                                                                                                                    
                                                                                                                                                                                                                                  
                              npm ERR! A complete log of this run can be found in:                                                                                                                                                
                              npm ERR!     /opt/iobroker/.npm/_logs/2022-07-04T18_45_02_222Z-debug-0.log                                                                                                                          
                              root@iobroker:/opt/iobroker#  
                              

                              2022-07-04T18_45_02_222Z-debug-0.log

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #14

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

                              Habe ich in dem Thread gelesen

                              Aber nicht richtig. Der Befehl dort lautet anders.
                              Nämlich so wie ich das oben geschrieben habe.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              S 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

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

                                Habe ich in dem Thread gelesen

                                Aber nicht richtig. Der Befehl dort lautet anders.
                                Nämlich so wie ich das oben geschrieben habe.

                                S Offline
                                S Offline
                                SimKa
                                schrieb am zuletzt editiert von
                                #15

                                @thomas-braun said in [Synology Docker]Iobroker startet nicht (no database):

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

                                Habe ich in dem Thread gelesen

                                Aber nicht richtig. Der Befehl dort lautet anders.
                                Nämlich so wie ich das oben geschrieben habe.

                                Hab den Befehl nach deinen Angaben ausgeführt, aber auch gleicher Fehler.

                                1 Antwort Letzte Antwort
                                0
                                • S SimKa

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

                                  @simka

                                  Hast du jetzt den Container mal neu gestartet !?

                                  Nutzt du Portainer !?

                                  Habs eben neugestartet, log hänge ich an

                                  Portainer sagt mir nichts

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

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #16

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

                                  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 Antwort Letzte Antwort
                                  0
                                  • GlasfaserG Glasfaser

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

                                    S Offline
                                    S Offline
                                    SimKa
                                    schrieb am zuletzt editiert von
                                    #17

                                    @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 1 Antwort Letzte Antwort
                                    0
                                    • 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
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      0
                                      • GlasfaserG Glasfaser

                                        @simka

                                        iobroker status
                                        
                                        S Offline
                                        S Offline
                                        SimKa
                                        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                        0
                                        • GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          339

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe