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. Einsteigerfragen
  4. Installation
  5. No connection to databases possible ...

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

No connection to databases possible ...

Scheduled Pinned Locked Moved Installation
29 Posts 3 Posters 8.7k Views 3 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.
  • CaskstrengtherC Caskstrengther

    @thomas-braun
    Jetzt sind wir leider wieder bei dem Urproblem.

    pi@raspberrypi:~ $ iob stop

    pi@raspberrypi:~ $ iob upgrade self

    No connection to databases possible ...
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #21

    @caskstrengther

    Setz mal das timeout höher. Ich weiß so aus dem Kopf allerdings nicht wo das geht.

    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

    1 Reply Last reply
    0
    • CaskstrengtherC Caskstrengther

      @thomas-braun
      Jetzt sind wir leider wieder bei dem Urproblem.

      pi@raspberrypi:~ $ iob stop

      pi@raspberrypi:~ $ iob upgrade self

      No connection to databases possible ...
      
      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by
      #22

      @caskstrengther

      Wichtig: Falls es bei Updates von js-controller 3.2.x bei update oder upgrade einen Fehler gibt "No connection to database" dann bitte nochmals versuchen und wenn es wieder passiert folgende Schritte ausführen:
      
          Editiere /opt/iobroker/iobroker-data/iobroker.json
          Unter objects und states gibt es jeweils ein ' "connectTimeout": 2000,`
          Zahl ändern auf 5000
          Neu versuchen
          Der Wert kann so bleiben weil er eh beim js-controller 4 der neue Standardwert ist
      

      https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-für-alle-user-im-stable

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

      CaskstrengtherC 1 Reply Last reply
      0
      • GlasfaserG Glasfaser

        @caskstrengther

        Wichtig: Falls es bei Updates von js-controller 3.2.x bei update oder upgrade einen Fehler gibt "No connection to database" dann bitte nochmals versuchen und wenn es wieder passiert folgende Schritte ausführen:
        
            Editiere /opt/iobroker/iobroker-data/iobroker.json
            Unter objects und states gibt es jeweils ein ' "connectTimeout": 2000,`
            Zahl ändern auf 5000
            Neu versuchen
            Der Wert kann so bleiben weil er eh beim js-controller 4 der neue Standardwert ist
        

        https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-für-alle-user-im-stable

        CaskstrengtherC Offline
        CaskstrengtherC Offline
        Caskstrengther
        wrote on last edited by
        #23

        @glasfaser

        Ich habe die Timeout-Werte auf 5000 erhöht - leider brachte das nicht den gewünschten Erfolg.

        iobroker update

        Used repository: Stable (default)
        Adapter    "admin"        : 5.3.8    , installed 5.4.3
        Adapter    "backitup"     : 2.4.6    , installed 2.4.6
        Adapter    "discovery"    : 3.0.3    , installed 3.0.3
        Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
        Adapter    "info"         : 1.9.18   , installed 1.9.19
        Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
        Adapter    "simple-api"   : 2.6.4    , installed 2.6.5
        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
        Adapter    "vis"          : 1.4.15   , installed 1.4.15
        Adapter    "web"          : 4.2.3    , installed 4.3.0
        Adapter    "ws"           : 1.2.0    , installed 1.3.0
        Adapter    "yahka"        : 0.13.1   , installed 0.13.1
        

        pi@raspberrypi:~ $ iobroker stop
        pi@raspberrypi:~ $ iobroker fix

        library: loaded
        Library version=2022-02-10
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2022-02-13
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:2 http://archive.raspberrypi.org/debian buster InRelease
        OK:3 https://deb.nodesource.com/node_14.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Installed gcc-c++
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/3)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Checking autostart (3/3)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        

        pi@raspberrypi:~ $ iobroker upgrade self

        No connection to databases possible ...
        
        GlasfaserG Thomas BraunT 4 Replies Last reply
        0
        • CaskstrengtherC Caskstrengther

          @glasfaser

          Ich habe die Timeout-Werte auf 5000 erhöht - leider brachte das nicht den gewünschten Erfolg.

          iobroker update

          Used repository: Stable (default)
          Adapter    "admin"        : 5.3.8    , installed 5.4.3
          Adapter    "backitup"     : 2.4.6    , installed 2.4.6
          Adapter    "discovery"    : 3.0.3    , installed 3.0.3
          Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
          Adapter    "info"         : 1.9.18   , installed 1.9.19
          Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
          Adapter    "simple-api"   : 2.6.4    , installed 2.6.5
          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
          Adapter    "vis"          : 1.4.15   , installed 1.4.15
          Adapter    "web"          : 4.2.3    , installed 4.3.0
          Adapter    "ws"           : 1.2.0    , installed 1.3.0
          Adapter    "yahka"        : 0.13.1   , installed 0.13.1
          

          pi@raspberrypi:~ $ iobroker stop
          pi@raspberrypi:~ $ iobroker fix

          library: loaded
          Library version=2022-02-10
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2022-02-13
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          OK:2 http://archive.raspberrypi.org/debian buster InRelease
          OK:3 https://deb.nodesource.com/node_14.x buster InRelease
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/3)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Checking autostart (3/3)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          

          pi@raspberrypi:~ $ iobroker upgrade self

          No connection to databases possible ...
          
          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          wrote on last edited by Glasfaser
          #24

          @caskstrengther sagte in No connection to databases possible ...:

          Used repository: Stable (default)

          Du hast Beta drauf , laut deinem Log !

          Beispiel :

          Adapter "admin" : 5.3.8 , installed 5.4.3

          EDIT :

          OK ... wurde oben schon gesagt... habe nicht alles verfolgt :

          @thomas-braun sagte in No connection to databases possible ...:
          jetzt haste alles andere auch auf Beta gestellt.

          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 Reply Last reply
          0
          • CaskstrengtherC Caskstrengther

            @glasfaser

            Ich habe die Timeout-Werte auf 5000 erhöht - leider brachte das nicht den gewünschten Erfolg.

            iobroker update

            Used repository: Stable (default)
            Adapter    "admin"        : 5.3.8    , installed 5.4.3
            Adapter    "backitup"     : 2.4.6    , installed 2.4.6
            Adapter    "discovery"    : 3.0.3    , installed 3.0.3
            Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
            Adapter    "info"         : 1.9.18   , installed 1.9.19
            Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
            Adapter    "simple-api"   : 2.6.4    , installed 2.6.5
            Adapter    "socketio"     : 4.2.0    , installed 4.2.0
            Adapter    "vis"          : 1.4.15   , installed 1.4.15
            Adapter    "web"          : 4.2.3    , installed 4.3.0
            Adapter    "ws"           : 1.2.0    , installed 1.3.0
            Adapter    "yahka"        : 0.13.1   , installed 0.13.1
            

            pi@raspberrypi:~ $ iobroker stop
            pi@raspberrypi:~ $ iobroker fix

            library: loaded
            Library version=2022-02-10
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2022-02-13
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/3)
            ==========================================================================
            
            OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:2 http://archive.raspberrypi.org/debian buster InRelease
            OK:3 https://deb.nodesource.com/node_14.x buster InRelease
            Paketlisten werden gelesen... Fertig
            Installed gcc-c++
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/3)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            
            ==========================================================================
                Checking autostart (3/3)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            

            pi@raspberrypi:~ $ iobroker upgrade self

            No connection to databases possible ...
            
            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            wrote on last edited by
            #25

            @caskstrengther sagte in No connection to databases possible ...:

            leider brachte das nicht den gewünschten Erfolg.

            Stoppe alle Adapter , außer den Admin .
            Dann dein komplettes System neu starten und dann versuchen .

            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 Reply Last reply
            0
            • CaskstrengtherC Caskstrengther

              @glasfaser

              Ich habe die Timeout-Werte auf 5000 erhöht - leider brachte das nicht den gewünschten Erfolg.

              iobroker update

              Used repository: Stable (default)
              Adapter    "admin"        : 5.3.8    , installed 5.4.3
              Adapter    "backitup"     : 2.4.6    , installed 2.4.6
              Adapter    "discovery"    : 3.0.3    , installed 3.0.3
              Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
              Adapter    "info"         : 1.9.18   , installed 1.9.19
              Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
              Adapter    "simple-api"   : 2.6.4    , installed 2.6.5
              Adapter    "socketio"     : 4.2.0    , installed 4.2.0
              Adapter    "vis"          : 1.4.15   , installed 1.4.15
              Adapter    "web"          : 4.2.3    , installed 4.3.0
              Adapter    "ws"           : 1.2.0    , installed 1.3.0
              Adapter    "yahka"        : 0.13.1   , installed 0.13.1
              

              pi@raspberrypi:~ $ iobroker stop
              pi@raspberrypi:~ $ iobroker fix

              library: loaded
              Library version=2022-02-10
              
              ==========================================================================
              
                  Welcome to the ioBroker installation fixer!
                  Script version: 2022-02-13
              
                  You might need to enter your password a couple of times.
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/3)
              ==========================================================================
              
              OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
              OK:2 http://archive.raspberrypi.org/debian buster InRelease
              OK:3 https://deb.nodesource.com/node_14.x buster InRelease
              Paketlisten werden gelesen... Fertig
              Installed gcc-c++
              
              ==========================================================================
                  Checking ioBroker user and directory permissions (2/3)
              ==========================================================================
              
              Created /etc/sudoers.d/iobroker
              Fixing directory permissions...
              
              ==========================================================================
                  Checking autostart (3/3)
              ==========================================================================
              
              Enabling autostart...
              Autostart enabled!
              
              ==========================================================================
              
                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!
              
              ==========================================================================
              

              pi@raspberrypi:~ $ iobroker upgrade self

              No connection to databases possible ...
              
              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              wrote on last edited by
              #26

              @caskstrengther sagte in No connection to databases possible ...:

              Controller "js-controller": 4.0.23 , installed 4.0.21 [Updatable]

              .... versuche mal den Timeout auf : 30000

              Ich weiß nicht , ob es einen Zusammenhang dazu gibt ,

              hier auch von 4.0.21 auf 4.0.23

              https://forum.iobroker.net/topic/54570/gelöst-iob-update-no-connection-to-databases-possible

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

              CaskstrengtherC 1 Reply Last reply
              0
              • CaskstrengtherC Caskstrengther

                @glasfaser

                Ich habe die Timeout-Werte auf 5000 erhöht - leider brachte das nicht den gewünschten Erfolg.

                iobroker update

                Used repository: Stable (default)
                Adapter    "admin"        : 5.3.8    , installed 5.4.3
                Adapter    "backitup"     : 2.4.6    , installed 2.4.6
                Adapter    "discovery"    : 3.0.3    , installed 3.0.3
                Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
                Adapter    "info"         : 1.9.18   , installed 1.9.19
                Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
                Adapter    "simple-api"   : 2.6.4    , installed 2.6.5
                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                Adapter    "vis"          : 1.4.15   , installed 1.4.15
                Adapter    "web"          : 4.2.3    , installed 4.3.0
                Adapter    "ws"           : 1.2.0    , installed 1.3.0
                Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                

                pi@raspberrypi:~ $ iobroker stop
                pi@raspberrypi:~ $ iobroker fix

                library: loaded
                Library version=2022-02-10
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2022-02-13
                
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Installed gcc-c++
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/3)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Checking autostart (3/3)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                

                pi@raspberrypi:~ $ iobroker upgrade self

                No connection to databases possible ...
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #27

                @caskstrengther

                Zur Not

                cd /opt/iobroker
                sudo -H -u iobroker npm install iobroker.js-controller
                

                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

                1 Reply Last reply
                0
                • GlasfaserG Glasfaser

                  @caskstrengther sagte in No connection to databases possible ...:

                  Controller "js-controller": 4.0.23 , installed 4.0.21 [Updatable]

                  .... versuche mal den Timeout auf : 30000

                  Ich weiß nicht , ob es einen Zusammenhang dazu gibt ,

                  hier auch von 4.0.21 auf 4.0.23

                  https://forum.iobroker.net/topic/54570/gelöst-iob-update-no-connection-to-databases-possible

                  CaskstrengtherC Offline
                  CaskstrengtherC Offline
                  Caskstrengther
                  wrote on last edited by
                  #28

                  @glasfaser
                  Der Timeout-Wert 30000 hat es jetzt gebracht.

                  Ich danke Dir und natürlich auch Thomas für Eure Hilfe und Geduld mit mir! :+1:
                  Wieder etwas gelernt...

                  Ich glaube, ich bleibe jetzt auch in Stable, oder?

                  Thomas BraunT 1 Reply Last reply
                  0
                  • CaskstrengtherC Caskstrengther

                    @glasfaser
                    Der Timeout-Wert 30000 hat es jetzt gebracht.

                    Ich danke Dir und natürlich auch Thomas für Eure Hilfe und Geduld mit mir! :+1:
                    Wieder etwas gelernt...

                    Ich glaube, ich bleibe jetzt auch in Stable, oder?

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #29

                    @caskstrengther

                    Ja, besser in Stable bleiben.

                    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

                    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

                    459

                    Online

                    32.5k

                    Users

                    81.7k

                    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