Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update: no connection to database...

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update: no connection to database...

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Puravida last edited by

      @puravida sagte in Update: no connection to database...:

      aber die genannten Lösungsvorschläge wie Timeout verlängern brachten leider keine Lösung dafür.

      wo und wie hast du die eingetragen?

      1 Reply Last reply Reply Quote 0
      • P
        Puravida @Thomas Braun last edited by

        @thomas-braun

        pi@raspberrypi4:/ $ iobroker start
        pi@raspberrypi4:/ $ iobroker update
        Used repository: stable
        Adapter    "admin"        : 6.2.22   , installed 6.2.22
        Adapter    "backitup"     : 2.4.12   , installed 2.4.12
        Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
        Adapter    "cloud"        : 4.2.2    , installed 4.2.2
        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
        Adapter    "email"        : 1.1.3    , installed 1.1.3
        Adapter    "flot"         : 1.11.0   , installed 1.11.0
        Adapter    "history"      : 2.2.0    , installed 2.2.0
        Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
        Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
        Adapter    "hue"          : 3.7.1    , installed 3.7.1
        Adapter    "info"         : 1.9.19   , installed 1.9.19
        Adapter    "iot"          : 1.11.9   , installed 1.11.9
        Adapter    "javascript"   : 6.0.3    , installed 6.0.3
        Controller "js-controller": 4.0.23   , installed 4.0.21 [Updatable]
        Adapter    "mobile"       : 1.0.1    , installed 1.0.1
        Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
        Adapter    "ping"         : 1.5.3    , installed 1.5.3
        Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
        Adapter    "scenes"       : 2.3.9    , installed 2.3.9
        Adapter    "shelly"       : 6.0.0    , installed 6.0.0
        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
        Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
        Adapter    "sql"          : 2.1.8    , installed 2.1.8
        Adapter    "unifi"        : 0.5.10   , installed 0.5.10
        Adapter    "vis"          : 1.4.15   , installed 1.4.15
        Adapter    "web"          : 4.3.0    , installed 4.3.0
        Adapter    "ws"           : 1.3.0    , installed 1.3.0
        

        Wenn er stoppt verliert er wohl die Verbindung zu DB?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • P
          Puravida last edited by

          @crunchip

          Hier: /opt/iobroker/iobroker-data/iobroker.json

          connectiTimeout von 2000 auf 5000

          Hier gefunden: https://forum.iobroker.net/topic/54757/no-connection-to-databases-possible/22

          crunchip Glasfaser 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Puravida last edited by

            @puravida

            Warum auch immer...

            Versuch es so:

            iobroker stop
            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller@4.0.23
            iobroker start
            iobroker update
            
            P 2 Replies Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Puravida last edited by

              @puravida ja, mach daraus mal eine 30000, für beides objects und states

              Editiere /opt/iobroker/iobroker-data/iobroker.json
              Unter objects und states gibt es ein ' "connectTimeout": 2000,`
              
              1 Reply Last reply Reply Quote 0
              • P
                Puravida @Thomas Braun last edited by

                @thomas-braun said in Update: no connection to database...:

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

                pi@raspberrypi4:/opt/iobroker $ iobroker update
                Used repository: stable
                Adapter    "admin"        : 6.2.22   , installed 6.2.22
                Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                Adapter    "email"        : 1.1.3    , installed 1.1.3
                Adapter    "flot"         : 1.11.0   , installed 1.11.0
                Adapter    "history"      : 2.2.0    , installed 2.2.0
                Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                Adapter    "hue"          : 3.7.1    , installed 3.7.1
                Adapter    "info"         : 1.9.19   , installed 1.9.19
                Adapter    "iot"          : 1.11.9   , installed 1.11.9
                Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                Controller "js-controller": 4.0.23   , installed 4.0.23
                Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
                Adapter    "ping"         : 1.5.3    , installed 1.5.3
                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                Adapter    "sql"          : 2.1.8    , installed 2.1.8
                Adapter    "unifi"        : 0.5.10   , installed 0.5.10
                Adapter    "vis"          : 1.4.15   , installed 1.4.15
                Adapter    "web"          : 4.3.0    , installed 4.3.0
                Adapter    "ws"           : 1.3.0    , installed 1.3.0
                

                Das hat jetzt funktioniert. Aber komisch, dass es anders nicht funktioniert hat.

                1 Reply Last reply Reply Quote 0
                • P
                  Puravida @Thomas Braun last edited by

                  @thomas-braun

                  Noch ein Nachtrag: Jetzt kommt der Fehler auch nicht mehr wenn ich den iobroker vorher stoppe. Auch iobroker status geht jetzt wenn der iobroker gestoppt ist.

                  Soll ich jetzt noch nodeJS updaten auf v16?

                  pi@raspberrypi4:/opt/iobroker $ iobroker stop
                  pi@raspberrypi4:/opt/iobroker $ iobroker update
                  Used repository: stable
                  Adapter    "admin"        : 6.2.22   , installed 6.2.22
                  Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                  Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                  Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                  Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                  Adapter    "email"        : 1.1.3    , installed 1.1.3
                  Adapter    "flot"         : 1.11.0   , installed 1.11.0
                  Adapter    "history"      : 2.2.0    , installed 2.2.0
                  Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                  Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                  Adapter    "hue"          : 3.7.1    , installed 3.7.1
                  Adapter    "info"         : 1.9.19   , installed 1.9.19
                  Adapter    "iot"          : 1.11.9   , installed 1.11.9
                  Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                  Controller "js-controller": 4.0.23   , installed 4.0.23
                  Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                  Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
                  Adapter    "ping"         : 1.5.3    , installed 1.5.3
                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                  Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                  Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                  Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                  Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                  Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                  Adapter    "sql"          : 2.1.8    , installed 2.1.8
                  Adapter    "unifi"        : 0.5.10   , installed 0.5.10
                  Adapter    "vis"          : 1.4.15   , installed 1.4.15
                  Adapter    "web"          : 4.3.0    , installed 4.3.0
                  Adapter    "ws"           : 1.3.0    , installed 1.3.0
                  pi@raspberrypi4:/opt/iobroker $ iobroker upgrade all
                  All adapters are up to date
                  pi@raspberrypi4:/opt/iobroker $ iobroker status
                  iobroker is not running on this host.
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Puravida last edited by

                    @puravida sagte in Update: no connection to database...:

                    Soll ich jetzt noch nodeJS updaten auf v16?

                    Könntest du machen. Siehe meine Signatur.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      Puravida @Thomas Braun last edited by

                      @thomas-braun Vielen, vielen Dank für Deine Hilfe!

                      @crunchip Nach dem update mit npm install läuft es jetzt, auch ohne der Änderung auf 30s. Danke Dir!

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

                        @puravida sagte in Update: no connection to database...:

                        connectiTimeout von 2000 auf 5000

                        Welche Einstellung hast du jetzt !?

                        @crunchip sagte in Update: no connection to database...:

                        @puravida ja, mach daraus mal eine 30000, für beides objects und states

                        hast du es danach noch geändert !?

                        EDIT :

                        Hat sich erledigt :

                        @puravida sagte in Update: no connection to database...:

                        auch ohne der Änderung auf 30s

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

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

                        381
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        6
                        38
                        2065
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo