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.
    • 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
                          • C
                            chaos99 @Thomas Braun last edited by chaos99

                            @thomas-braun sagte in no connection to database:

                            dmesg -T

                            und nein nur terminal

                            [Sa Aug 14 15:09:16 2021] usb usb3: SerialNumber: 1c14400.usb
                            [Sa Aug 14 15:09:16 2021] hub 3-0:1.0: USB hub found
                            [Sa Aug 14 15:09:16 2021] hub 3-0:1.0: 1 port detected
                            [Sa Aug 14 15:09:16 2021] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
                            [Sa Aug 14 15:09:16 2021] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
                            [Sa Aug 14 15:09:16 2021] ohci-platform 1c1c400.usb: irq 38, io mem 0x01c1c400
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: bus rate = 300000000
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: mod rate = 384000000
                            [Sa Aug 14 15:09:16 2021] [TTM] Zone  kernel: Available graphics memory: 375406 kiB
                            [Sa Aug 14 15:09:16 2021] [TTM] Zone highmem: Available graphics memory: 1026716 kiB
                            [Sa Aug 14 15:09:16 2021] [TTM] Initializing pool allocator
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
                            [Sa Aug 14 15:09:16 2021] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
                            [Sa Aug 14 15:09:16 2021] [drm] Initialized lima 1.0.0 20170325 for 1c40000.gpu on minor 1
                            [Sa Aug 14 15:09:16 2021] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
                            [Sa Aug 14 15:09:16 2021] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                            [Sa Aug 14 15:09:16 2021] usb usb4: Product: Generic Platform OHCI controller
                            [Sa Aug 14 15:09:16 2021] usb usb4: Manufacturer: Linux 4.19.62-sunxi ohci_hcd
                            [Sa Aug 14 15:09:16 2021] usb usb4: SerialNumber: 1c1c400.usb
                            [Sa Aug 14 15:09:16 2021] hub 4-0:1.0: USB hub found
                            [Sa Aug 14 15:09:16 2021] hub 4-0:1.0: 1 port detected
                            [Sa Aug 14 15:09:16 2021] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
                            [Sa Aug 14 15:09:16 2021] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
                            [Sa Aug 14 15:09:16 2021] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
                            [Sa Aug 14 15:09:16 2021] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5
                            [Sa Aug 14 15:09:16 2021] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
                            [Sa Aug 14 15:09:16 2021] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                            [Sa Aug 14 15:09:16 2021] usb usb5: Product: MUSB HDRC host driver
                            [Sa Aug 14 15:09:16 2021] usb usb5: Manufacturer: Linux 4.19.62-sunxi musb-hcd
                            [Sa Aug 14 15:09:16 2021] usb usb5: SerialNumber: musb-hdrc.1.auto
                            [Sa Aug 14 15:09:16 2021] hub 5-0:1.0: USB hub found
                            [Sa Aug 14 15:09:16 2021] hub 5-0:1.0: 1 port detected
                            [Sa Aug 14 15:09:16 2021] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok
                            [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:18 2021] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
                            [Sa Aug 14 15:09:18 2021] sun7i-dwmac 1c50000.ethernet eth0: No Safety Features support found
                            [Sa Aug 14 15:09:18 2021] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
                            [Sa Aug 14 15:09:18 2021] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
                            [Sa Aug 14 15:09:18 2021] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
                            [Sa Aug 14 15:09:18 2021] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
                            [Sa Aug 14 15:09:18 2021] zram: Added device: zram0
                            [Sa Aug 14 15:09:18 2021] zram: Added device: zram1
                            [Sa Aug 14 15:09:18 2021] zram: Added device: zram2
                            [Sa Aug 14 15:09:18 2021] zram1: detected capacity change from 0 to 1051357184
                            [Sa Aug 14 15:09:18 2021] Adding 1026712k swap on /dev/zram1.  Priority:5 extents:1 across:1026712k SSFS
                            [Sa Aug 14 15:09:19 2021] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
                            [Sa Aug 14 15:09:19 2021] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
                            [Sa Aug 14 15:09:19 2021] zram0: detected capacity change from 0 to 52428800
                            [Sa Aug 14 15:09:20 2021] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
                            [Sa Aug 14 15:09:22 2021] random: crng init done
                            [Sa Aug 14 15:09:22 2021] random: 7 urandom warning(s) missed due to ratelimiting
                            [Sa Aug 14 15:09:27 2021] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
                            [Sa Aug 14 15:09:27 2021] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
                            [Sa Aug 14 15:09:30 2021] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred
                            [Sa Aug 14 15:09:30 2021] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
                            [Sa Aug 14 15:09:30 2021] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @chaos99 last edited by

                              @chaos99

                              date && date -u && who -r
                              
                              C 1 Reply Last reply Reply Quote 0
                              • C
                                chaos99 @Thomas Braun last edited by

                                @thomas-braun sagte in no connection to database:

                                date && date -u && who -r

                                benny@cubietruck:~$ date && date -u && who -r
                                Sa 14. Aug 15:30:29 UTC 2021
                                Sa 14. Aug 15:30:29 UTC 2021
                                         run-level 5  2021-08-14 15:09
                                benny@cubietruck:~$
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @chaos99 last edited by

                                  @chaos99 Falsche Zeitzone, falscher RunLevel.

                                  C 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @chaos99 last edited by

                                    @chaos99 sagte in no connection to database:

                                    wo ich mit iobroker angefangen habe vor 10 Jahren

                                    Dann warst du deiner Zeit aber mächtig voraus

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

                                      @thomas-braun

                                      okay , wie ändere ich das dann , und meinst daran kann das liegen?

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

                                        @homoran

                                        du hast mir doch auch schon paar mal geholfen (-:

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

                                          @chaos99
                                          Möglich. Die richtige Zeitzone ist jedenfalls extrem wichtig. RunLevel 3 auch, für den reinen Serverbetrieb.

                                          Ich muss jetzt aber weg. Musst du selber mal schauen wie man das auf dem Cubieding am besten einstellt.

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

                                            @thomas-braun

                                            mach ich , und danke

                                            haselchen 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

                                            802
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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