Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst]no connection to database

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst]no connection to database

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @chaos99 last edited by Thomas Braun

      @chaos99 Schon lange nicht mehr.
      Da dürfte auch keiner mehr ein aktuelles Node für backen. Würde mich sehr wundern, wenn nodesource noch Stretch im Repo hat.

      C haselchen 2 Replies Last reply Reply Quote 0
      • C
        chaos99 @Thomas Braun last edited by

        @thomas-braun

        ok so tief bin ich dann nicht mehr drin , heist komplett neu machen oder gibt es da eine art update was ich machen kann?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @chaos99 last edited by Thomas Braun

          @chaos99 Kann man versuchen. Mit den Eigenheiten deines OS auf dem Cubie kenn ich mich aber nicht aus.
          Musst du selber mal schauen wie man das auf Buster bekommt.

          Zur Not Backup des iobrokers und von Grund auf neu installieren.

          Übrigens ist heute der Veröffentlichungstag des Nach-Nachfolgers von Stretch...

          1 Reply Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @Thomas Braun last edited by

            @thomas-braun

            Hab gestern erst von Jessie auf Stretch geupdatet und Nodejs 12.22.5 mitbekommen.
            Bis Juni 22 wird das OS noch per LTS supported.
            Hab dann aber noch weiter auf Buster geupdatet.

            C Thomas Braun 2 Replies Last reply Reply Quote 0
            • C
              chaos99 @haselchen last edited by

              deine Anleitung zum update NODE ist ja für eine neue instalation , wie lösche ich die alte erst?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @haselchen last edited by

                @haselchen
                LTS ist auch das letzte Sammelbecken für ganz große Schlafmützen. Das verlässt man auch schnellstmöglich, da macht man es sich nicht bequem.

                haselchen 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @chaos99 last edited by

                  @chaos99
                  Nein, damit kann man auch ganz geschmeidig die Version wechseln.
                  Gefüllte Repos vorausgesetzt.

                  1 Reply Last reply Reply Quote 0
                  • haselchen
                    haselchen Most Active @Thomas Braun last edited by

                    @thomas-braun

                    Deswegen der Schritt weiter auf Buster 😉
                    Ich wollte nur auf deine Aussage antworten, dass Stretch noch 12.22.5 mitgibt bei einem Update.

                    C Thomas Braun 2 Replies Last reply Reply Quote 0
                    • C
                      chaos99 @haselchen last edited by

                      ich bin da so was von raus, wo ich mit iobroker angefangen habe vor 10 Jahren , hatte ich mehr Ahnung , aber seit dem es so stabil läuft bin ich raus

                      C Homoran 2 Replies Last reply Reply Quote 0
                      • C
                        chaos99 @chaos99 last edited by chaos99

                        benny@cubietruck:~$ which nodejs node npm && nodejs -v && node -v && npm -v && a                   pt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v12.22.5
                        v12.22.5
                        6.14.14
                        nodejs:
                          Installed: 12.22.5-1nodesource1
                          Candidate: 12.22.5-1nodesource1
                          Version table:
                         *** 12.22.5-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                100 /var/lib/dpkg/status
                             8.11.1~dfsg-2~bpo9+1 100
                                100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages
                             4.8.2~dfsg-1 500
                                500 http://httpredir.debian.org/debian stretch/main armhf Packages
                        benny@cubietruck:~$
                        
                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @haselchen last edited by Thomas Braun

                          @haselchen

                          Hast Recht. Unterstützte Versionen seitens nodesource:

                          Debian 9 / oldstable (Stretch)
                          Debian 10 / stable (Buster)
                          Debian unstable (Sid)
                          Debian testing (Bullseye)
                          

                          Allerdings ändert sich das per heute, da wird Bullseye zu stable und die Vorgänger rutschen eins hoch. Stretch dürfte damit rausfallen, old-oldstable machen die offenbar nicht mehr.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            chaos99 @Thomas Braun last edited by chaos99

                            so jetzt hab ich wieder das problem mit de DB

                            benny@cubietruck:~$ iobroker update
                            No connection to databases possible ...
                            

                            nach update der NodeJS auf 12 , reboot.... iobroker stop, iobroker update

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @chaos99 last edited by

                              @chaos99

                              Bitte CodeTags verwenden. Auch in den vorherigen Postings.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                chaos99 @Thomas Braun last edited by

                                @thomas-braun

                                code Tags ?

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

                                  @chaos99

                                  </> Icon anklicken, Text aus der Konsole zwischen die erschienen CodeTags kopieren.

                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @chaos99 last edited by

                                    @chaos99

                                    free -ht
                                    
                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      chaos99 @Thomas Braun last edited by chaos99

                                      @thomas-braun sagte in no connection to database:

                                      free -ht

                                      benny@cubietruck:~$ free -ht
                                                    total        used        free      shared  buff/cache   available
                                      Mem:           2,0G        922M        754M        4,1M        328M        1,2G
                                      Swap:          1,0G          0B        1,0G
                                      Total:         2,9G        922M        1,7G
                                      benny@cubietruck:~$
                                      

                                      edit:
                                      nach dem 5 mal iobroker update, mit db problem , geht es jetzt wieder

                                      scheint sporadisch zu sein, da dies aber auch andere haben , müsste man mal prüfen was wir gemeinsam haben

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @chaos99 last edited by

                                        @chaos99
                                        Das ist okay.

                                        dmesg - T | grep -i ext4
                                        
                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          chaos99 @Thomas Braun last edited by

                                          @thomas-braun

                                          benny@cubietruck:~$ dmesg -T | grep -i ext4
                                          [Sa Aug 14 15:09:08 2021] Kernel command line: root=UUID=0eaf4553-34e0-4a0d-9ffa-328163d773be rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=da9ebe37-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
                                          [Sa Aug 14 15:09:12 2021] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
                                          [Sa Aug 14 15:09:13 2021] EXT4-fs (sda1): re-mounted. Opts: commit=600,errors=remount-ro
                                          [Sa Aug 14 15:09:17 2021] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: commit=600,errors=remount-ro
                                          [Sa Aug 14 15:09:20 2021] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
                                          benny@cubietruck:~$ ^C
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @chaos99 last edited by Thomas Braun

                                            @chaos99 Schaut auch gut aus.

                                            Mal die letzten ca. 30 Zeilen von

                                            dmesg -T
                                            

                                            Läuft da ein Desktop?

                                            C 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

                                            667
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            88
                                            9930
                                            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