Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Update: no connection to database...

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    721

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Update: no connection to database...

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
38 Beiträge 6 Kommentatoren 4.1k Aufrufe 6 Beobachtet
  • Ä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.
  • Thomas BraunT Thomas Braun

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

    118 packages can be upgraded.

    sudo apt update
    sudo apt full-upgrade
    sudo reboot
    

    Notieren und künftig REGELMÄßIG selber das System auf Stand halten.

    P Offline
    P Offline
    Puravida
    schrieb am zuletzt editiert von
    #14

    @thomas-braun

    Danke. Habe ich durchgeführt. Wie geht es jetzt weiter?

    Das:

    iobroker stop
    iobroker update
    iobroker upgrade
    

    stimmt doch noch grundsätzlich, ist das auch falsch?

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • P Puravida

      @thomas-braun

      Danke. Habe ich durchgeführt. Wie geht es jetzt weiter?

      Das:

      iobroker stop
      iobroker update
      iobroker upgrade
      

      stimmt doch noch grundsätzlich, ist das auch falsch?

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

      @puravida

      iobroker stop
      iobroker fix
      iobroker update
      iobroker upgrade all
      iobroker upgrade self
      iobroker start
      

      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

      P 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @puravida

        iobroker stop
        iobroker fix
        iobroker update
        iobroker upgrade all
        iobroker upgrade self
        iobroker start
        
        P Offline
        P Offline
        Puravida
        schrieb am zuletzt editiert von
        #16

        @thomas-braun

        An dem "no connection to database..." Fehler hat sich leider nichts geändert.

        pi@raspberrypi4:/opt/iobroker $ iobroker stop
        pi@raspberrypi4:/opt/iobroker $ iobroker fix
        library: loaded
        Library version=2022-06-15
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2022-06-03
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
        Hit:2 http://archive.raspberrypi.org/debian buster InRelease
        Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Reading package lists... Done
        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@raspberrypi4:/opt/iobroker $ iobroker update
        No connection to databases possible ...
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • P Puravida

          @thomas-braun

          An dem "no connection to database..." Fehler hat sich leider nichts geändert.

          pi@raspberrypi4:/opt/iobroker $ iobroker stop
          pi@raspberrypi4:/opt/iobroker $ iobroker fix
          library: loaded
          Library version=2022-06-15
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2022-06-03
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
          Hit:2 http://archive.raspberrypi.org/debian buster InRelease
          Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
          Reading package lists... Done
          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@raspberrypi4:/opt/iobroker $ iobroker update
          No connection to databases possible ...
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #17

          @puravida

          iobroker status
          

          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

          P 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @puravida

            iobroker status
            
            P Offline
            P Offline
            Puravida
            schrieb am zuletzt editiert von
            #18

            @thomas-braun

            Ich weiß nicht ob der iobroker laufen muss damit "iobroker status" funktioniert. Nachdem iobroker noch gestoppt war, hat es nicht funktioniert, nach dem Start schon:

            pi@raspberrypi4:/opt/iobroker $ iobroker status
            No connection to databases possible ...
            pi@raspberrypi4:/opt/iobroker $ iobroker start
            pi@raspberrypi4:/opt/iobroker $ iobroker status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: redis
            
            HomoranH Thomas BraunT 2 Antworten Letzte Antwort
            0
            • P Puravida

              @thomas-braun

              Ich weiß nicht ob der iobroker laufen muss damit "iobroker status" funktioniert. Nachdem iobroker noch gestoppt war, hat es nicht funktioniert, nach dem Start schon:

              pi@raspberrypi4:/opt/iobroker $ iobroker status
              No connection to databases possible ...
              pi@raspberrypi4:/opt/iobroker $ iobroker start
              pi@raspberrypi4:/opt/iobroker $ iobroker status
              iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: redis
              
              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #19

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

              States type: redis

              hast du redis installiert?

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Antwort Letzte Antwort
              0
              • P Puravida

                @thomas-braun

                Ich weiß nicht ob der iobroker laufen muss damit "iobroker status" funktioniert. Nachdem iobroker noch gestoppt war, hat es nicht funktioniert, nach dem Start schon:

                pi@raspberrypi4:/opt/iobroker $ iobroker status
                No connection to databases possible ...
                pi@raspberrypi4:/opt/iobroker $ iobroker start
                pi@raspberrypi4:/opt/iobroker $ iobroker status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: redis
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #20

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

                Ich weiß nicht ob der iobroker laufen muss damit "iobroker status" funktioniert.

                Nein, muss er nicht.

                apt policy redis
                

                sagt?

                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

                P 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

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

                  Ich weiß nicht ob der iobroker laufen muss damit "iobroker status" funktioniert.

                  Nein, muss er nicht.

                  apt policy redis
                  

                  sagt?

                  P Offline
                  P Offline
                  Puravida
                  schrieb am zuletzt editiert von Puravida
                  #21

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

                  apt policy redis

                  pi@raspberrypi4:/opt/iobroker $ apt policy redis
                  redis:
                    Installed: (none)
                    Candidate: 5:5.0.14-1+deb10u2
                    Version table:
                       5:5.0.14-1+deb10u2 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  

                  @Homoran Betreiffend redis: Nicht das ich wüßte. Kann ich das irgendwie nachsehen? Ah, da steht es ja schon... ich bin schon zum copy und paste Affen verkommen. :-) Freue mich aber sehr über eure Hilfe!!

                  Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                  0
                  • P Puravida

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

                    apt policy redis

                    pi@raspberrypi4:/opt/iobroker $ apt policy redis
                    redis:
                      Installed: (none)
                      Candidate: 5:5.0.14-1+deb10u2
                      Version table:
                         5:5.0.14-1+deb10u2 500
                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                    

                    @Homoran Betreiffend redis: Nicht das ich wüßte. Kann ich das irgendwie nachsehen? Ah, da steht es ja schon... ich bin schon zum copy und paste Affen verkommen. :-) Freue mich aber sehr über eure Hilfe!!

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

                    @puravida
                    Dann installier redis auch, wenn der iobroker schon so konfiguriert ist.

                    sudo apt install redis
                    iobroker restart
                    iobroker status
                    

                    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

                    P 1 Antwort Letzte Antwort
                    0
                    • P Puravida

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

                      apt policy redis

                      pi@raspberrypi4:/opt/iobroker $ apt policy redis
                      redis:
                        Installed: (none)
                        Candidate: 5:5.0.14-1+deb10u2
                        Version table:
                           5:5.0.14-1+deb10u2 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      

                      @Homoran Betreiffend redis: Nicht das ich wüßte. Kann ich das irgendwie nachsehen? Ah, da steht es ja schon... ich bin schon zum copy und paste Affen verkommen. :-) Freue mich aber sehr über eure Hilfe!!

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

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

                      Ah, da steht es ja schon..

                      nein, da steht, dass iobroker states für redis konfiguriert sind, aber

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

                      redis:
                      Installed: (none)

                      zeigt dass redis nicht installiert ist.
                      Da stellt sich die Frage warum die states dafür konfiguriert wurden.

                      kein Support per PN! - Fragen im Forum stellen -
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @puravida
                        Dann installier redis auch, wenn der iobroker schon so konfiguriert ist.

                        sudo apt install redis
                        iobroker restart
                        iobroker status
                        
                        P Offline
                        P Offline
                        Puravida
                        schrieb am zuletzt editiert von
                        #24

                        @thomas-braun

                        pi@raspberrypi4:/opt/iobroker $ sudo apt install redis
                        Reading package lists... Done
                        Building dependency tree
                        Reading state information... Done
                        The following NEW packages will be installed:
                          redis
                        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                        Need to get 56.1 kB of archives.
                        After this operation, 67.6 kB of additional disk space will be used.
                        Get:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf redis all 5:5.0.14-1+deb10u2 [56.1 kB]
                        Fetched 56.1 kB in 1s (94.1 kB/s)
                        Selecting previously unselected package redis.
                        (Reading database ... 57311 files and directories currently installed.)
                        Preparing to unpack .../redis_5%3a5.0.14-1+deb10u2_all.deb ...
                        Unpacking redis (5:5.0.14-1+deb10u2) ...
                        Setting up redis (5:5.0.14-1+deb10u2) ...
                        pi@raspberrypi4:/opt/iobroker $ iobroker restart
                        pi@raspberrypi4:/opt/iobroker $ iobroker status
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: redis
                        pi@raspberrypi4:/opt/iobroker $ apt policy redis
                        redis:
                          Installed: 5:5.0.14-1+deb10u2
                          Candidate: 5:5.0.14-1+deb10u2
                          Version table:
                         *** 5:5.0.14-1+deb10u2 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        

                        @Homoran

                        Das ist eine gute Frage warum es so konfiguriert ist. Der iobroker läuft jetzt schon lange und ich habe bisher auch keine Probleme mit dem Update gehabt. Habe ich halt immer durch die Anleitungen gesucht. Auf dem Raspi läuft auch noch pi-hole. Wobei die beiden sich bisher immer gut vertragen haben.

                        Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                        0
                        • P Puravida

                          @thomas-braun

                          pi@raspberrypi4:/opt/iobroker $ sudo apt install redis
                          Reading package lists... Done
                          Building dependency tree
                          Reading state information... Done
                          The following NEW packages will be installed:
                            redis
                          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                          Need to get 56.1 kB of archives.
                          After this operation, 67.6 kB of additional disk space will be used.
                          Get:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf redis all 5:5.0.14-1+deb10u2 [56.1 kB]
                          Fetched 56.1 kB in 1s (94.1 kB/s)
                          Selecting previously unselected package redis.
                          (Reading database ... 57311 files and directories currently installed.)
                          Preparing to unpack .../redis_5%3a5.0.14-1+deb10u2_all.deb ...
                          Unpacking redis (5:5.0.14-1+deb10u2) ...
                          Setting up redis (5:5.0.14-1+deb10u2) ...
                          pi@raspberrypi4:/opt/iobroker $ iobroker restart
                          pi@raspberrypi4:/opt/iobroker $ iobroker status
                          iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: redis
                          pi@raspberrypi4:/opt/iobroker $ apt policy redis
                          redis:
                            Installed: 5:5.0.14-1+deb10u2
                            Candidate: 5:5.0.14-1+deb10u2
                            Version table:
                           *** 5:5.0.14-1+deb10u2 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                          

                          @Homoran

                          Das ist eine gute Frage warum es so konfiguriert ist. Der iobroker läuft jetzt schon lange und ich habe bisher auch keine Probleme mit dem Update gehabt. Habe ich halt immer durch die Anleitungen gesucht. Auf dem Raspi läuft auch noch pi-hole. Wobei die beiden sich bisher immer gut vertragen haben.

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

                          @puravida

                          Nochmal:

                          iobroker stop
                          iobroker fix
                          iobroker update
                          iobroker upgrade all
                          iobroker upgrade self
                          iobroker start
                          

                          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

                          P 1 Antwort Letzte Antwort
                          0
                          • P Puravida

                            @thomas-braun

                            pi@raspberrypi4:/opt/iobroker $ sudo apt install redis
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            The following NEW packages will be installed:
                              redis
                            0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                            Need to get 56.1 kB of archives.
                            After this operation, 67.6 kB of additional disk space will be used.
                            Get:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf redis all 5:5.0.14-1+deb10u2 [56.1 kB]
                            Fetched 56.1 kB in 1s (94.1 kB/s)
                            Selecting previously unselected package redis.
                            (Reading database ... 57311 files and directories currently installed.)
                            Preparing to unpack .../redis_5%3a5.0.14-1+deb10u2_all.deb ...
                            Unpacking redis (5:5.0.14-1+deb10u2) ...
                            Setting up redis (5:5.0.14-1+deb10u2) ...
                            pi@raspberrypi4:/opt/iobroker $ iobroker restart
                            pi@raspberrypi4:/opt/iobroker $ iobroker status
                            iobroker is running on this host.
                            
                            
                            Objects type: jsonl
                            States  type: redis
                            pi@raspberrypi4:/opt/iobroker $ apt policy redis
                            redis:
                              Installed: 5:5.0.14-1+deb10u2
                              Candidate: 5:5.0.14-1+deb10u2
                              Version table:
                             *** 5:5.0.14-1+deb10u2 500
                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    100 /var/lib/dpkg/status
                            

                            @Homoran

                            Das ist eine gute Frage warum es so konfiguriert ist. Der iobroker läuft jetzt schon lange und ich habe bisher auch keine Probleme mit dem Update gehabt. Habe ich halt immer durch die Anleitungen gesucht. Auf dem Raspi läuft auch noch pi-hole. Wobei die beiden sich bisher immer gut vertragen haben.

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

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

                            Das ist eine gute Frage warum es so konfiguriert ist.

                            das passiert nich von alleine, das muss manuell geändert werden.

                            und wenn die (redis) database nicht installiert ist kann sich iobroker auch nicht dahin verbinden!

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @puravida

                              Nochmal:

                              iobroker stop
                              iobroker fix
                              iobroker update
                              iobroker upgrade all
                              iobroker upgrade self
                              iobroker start
                              
                              P Offline
                              P Offline
                              Puravida
                              schrieb am zuletzt editiert von
                              #27

                              @thomas-braun

                              Leider noch immer mit dem Fehler

                              pi@raspberrypi4:~ $ iobroker status
                              iobroker is running on this host.
                              
                              
                              Objects type: jsonl
                              States  type: redis
                              pi@raspberrypi4:~ $ iobroker stop
                              pi@raspberrypi4:~ $ iobroker fix
                              library: loaded
                              Library version=2022-06-15
                              
                              ==========================================================================
                              
                                  Welcome to the ioBroker installation fixer!
                                  Script version: 2022-06-03
                              
                                  You might need to enter your password a couple of times.
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/3)
                              ==========================================================================
                              
                              Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                              Hit:2 https://deb.nodesource.com/node_14.x buster InRelease
                              Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
                              Fetched 424 kB in 1s (388 kB/s)
                              Reading package lists... Done
                              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@raspberrypi4:~ $ iobroker update
                              No connection to databases possible ...
                              

                              @Homoran
                              Ich kann mich nicht erinnern, dass geändert zu haben. Eventuell durch Zufall mal? Wieso läuft dann der iobroker ohne Probleme wenn es die Datenbank gar nicht gibt wo er sich hinverbinden will? Oder ist das eine ganz andere Datenbank die mit dem normalen Betrieb nichts zu tun hat?

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • P Puravida

                                @thomas-braun

                                Leider noch immer mit dem Fehler

                                pi@raspberrypi4:~ $ iobroker status
                                iobroker is running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: redis
                                pi@raspberrypi4:~ $ iobroker stop
                                pi@raspberrypi4:~ $ iobroker fix
                                library: loaded
                                Library version=2022-06-15
                                
                                ==========================================================================
                                
                                    Welcome to the ioBroker installation fixer!
                                    Script version: 2022-06-03
                                
                                    You might need to enter your password a couple of times.
                                
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Installing prerequisites (1/3)
                                ==========================================================================
                                
                                Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                                Hit:2 https://deb.nodesource.com/node_14.x buster InRelease
                                Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
                                Fetched 424 kB in 1s (388 kB/s)
                                Reading package lists... Done
                                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@raspberrypi4:~ $ iobroker update
                                No connection to databases possible ...
                                

                                @Homoran
                                Ich kann mich nicht erinnern, dass geändert zu haben. Eventuell durch Zufall mal? Wieso läuft dann der iobroker ohne Probleme wenn es die Datenbank gar nicht gibt wo er sich hinverbinden will? Oder ist das eine ganz andere Datenbank die mit dem normalen Betrieb nichts zu tun hat?

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

                                @puravida

                                iobroker start
                                iobroker update
                                

                                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

                                P 1 Antwort Letzte Antwort
                                0
                                • P Puravida

                                  Hi Zusammen!

                                  Ich bekomme folgende Meldung beim Versuch den iobroker upzudaten:

                                  pi@raspberrypi4:/opt/iobroker $ sudo iobroker stop
                                  pi@raspberrypi4:/opt/iobroker $ sudo iobroker update
                                  No connection to databases possible ...
                                  

                                  Ich habe die dazu vorhandenen Threads gelesen aber die genannten Lösungsvorschläge wie Timeout verlängern brachten leider keine Lösung dafür.

                                  pi@raspberrypi4:/opt/iobroker $ free -ht
                                                total        used        free      shared  buff/cache   available
                                  Mem:          7.7Gi       1.0Gi       5.6Gi        14Mi       1.1Gi       6.7Gi
                                  Swap:          99Mi          0B        99Mi
                                  Total:        7.8Gi       1.0Gi       5.7Gi
                                  
                                  pi@raspberrypi4:/opt/iobroker $ who -r
                                           run-level 5  2022-10-13 13:44
                                  
                                  pi@raspberrypi4:/opt/iobroker $ date && date -u
                                  Thu 13 Oct 17:03:41 BST 2022
                                  Thu 13 Oct 16:03:41 UTC 2022
                                  

                                  Das sind so Dinge die in den Threads gefragt wurden. Für mehr Infos gerne, bin aber ein Linux DAU.

                                  crunchipC Abwesend
                                  crunchipC Abwesend
                                  crunchip
                                  Forum Testing Most Active Developer
                                  schrieb am zuletzt editiert von
                                  #29

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

                                  umgestiegen von Proxmox auf Unraid

                                  1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @puravida

                                    iobroker start
                                    iobroker update
                                    
                                    P Offline
                                    P Offline
                                    Puravida
                                    schrieb am zuletzt editiert von
                                    #30

                                    @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 BraunT 1 Antwort Letzte Antwort
                                    0
                                    • P Offline
                                      P Offline
                                      Puravida
                                      schrieb am zuletzt editiert von
                                      #31

                                      @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

                                      crunchipC GlasfaserG 2 Antworten Letzte Antwort
                                      0
                                      • P Puravida

                                        @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 BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #32

                                        @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
                                        

                                        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

                                        P 2 Antworten Letzte Antwort
                                        0
                                        • P Puravida

                                          @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

                                          crunchipC Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active Developer
                                          schrieb am zuletzt editiert von
                                          #33

                                          @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,`
                                          

                                          umgestiegen von Proxmox auf Unraid

                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          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

                                          487

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          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
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe