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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst]no connection to database

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                              • haselchen
                                haselchen Most Active @chaos99 last edited by

                                @chaos99

                                Probier mal in der Console

                                sudo dpkg-reconfigure tzdata

                                für die Zeitzone

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

                                  @haselchen

                                  google hilft , zeitzone , hab ich gemacht, jetzt schaue ich noch nach dem runlevel

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Thomas Braun last edited by

                                    @thomas-braun sagte in no connection to database:

                                    wie man das auf dem Cubieding am besten einstellt.

                                    @chaos99
                                    bei armbian wäre alles unter sudo armbian-config

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

                                      also zeitzone geht , aber ich finde nicht wie / wo ich das runlevel ändere

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

                                        ich muss auch erstmal los,

                                        merkwürdig ist aber wenn iobroker gestartet ist , ist nach einigen minuten iobroker update möglich ,

                                        nach iobroker stop , kommt bei jedem befehl nur no connection DB

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

                                          so ich habe jetzt noch etwas getestet,

                                          wenn iobroker gestartet ist , kann ich iobroker update, iobroker backup ausführen, alle adapter sind jetzt up to date (auch admin 5.1.23) nur js-controler ist noch 3,2,16

                                          iobroker uograde self kommt natürlich der fehler , iobroker erst stopen,

                                          iobroker stop

                                          ab dann ist wieder nichts mehr möglich , bei allen commands kommt no connection to DB

                                          starte ich jetzt wieder iobroker , gehen nach einigen Minuten auch wieder update etc.

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dipsy @crunchip last edited by

                                            So ich hab mein System auf einer neuen SD-Karte frisch installiert. Um ein Backup von Juni zu war es leider nötig mit einem 10.x node und 5.x npm anzufangen aber ich habe wieder vollen Zugriff.

                                            user@cubietruck:~$ iobroker status
                                            iobroker is running on this host.
                                            
                                            
                                            Objects type: file
                                            States  type: file
                                            user@cubietruck:~$ npm -v
                                            5.10.0
                                            user@cubietruck:~$ nodejs -v
                                            v10.24.1
                                            user@cubietruck:~$ node -v
                                            v10.24.1
                                            user@cubietruck:~$ iobroker list adapters
                                            system.adapter.admin                   : admin          - v4.1.11
                                            system.adapter.backitup                : backitup       - v2.1.6
                                            system.adapter.discovery               : discovery      - v2.6.1
                                            system.adapter.enigma2                 : enigma2        - v1.2.9
                                            system.adapter.fb-checkpresence        : fb-checkpresence - v1.1.5
                                            system.adapter.feiertage               : feiertage      - v1.0.17
                                            system.adapter.flot                    : flot           - v1.10.6
                                            system.adapter.followthesun            : followthesun   - v0.2.5
                                            system.adapter.fritzbox                : fritzbox       - v0.2.1
                                            system.adapter.hm-rega                 : hm-rega        - v3.0.16
                                            system.adapter.hm-rpc                  : hm-rpc         - v1.14.37
                                            system.adapter.ical                    : ical           - v1.7.4
                                            system.adapter.info                    : info           - v1.7.14
                                            system.adapter.javascript              : javascript     - v5.1.3
                                            system.adapter.kodi                    : kodi           - v2.0.5
                                            system.adapter.moma                    : moma           - v1.2.8
                                            system.adapter.mqtt                    : mqtt           - v2.4.0
                                            system.adapter.panasonic-viera         : panasonic-viera - v1.0.2
                                            system.adapter.pollenflug              : pollenflug     - v1.0.6
                                            system.adapter.pushover                : pushover       - v2.0.3
                                            system.adapter.radar2                  : radar2         - v1.0.9
                                            system.adapter.sayit                   : sayit          - v1.12.2
                                            system.adapter.simple-api              : simple-api     - v2.6.1
                                            system.adapter.socketio                : socketio       - v3.0.13
                                            system.adapter.sonos                   : sonos          - v2.1.1
                                            system.adapter.sql                     : sql            - v1.15.7
                                            system.adapter.tankerkoenig            : tankerkoenig   - v2.0.5
                                            system.adapter.tr-064                  : tr-064         - v4.2.12
                                            system.adapter.vis                     : vis            - v1.3.9
                                            system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
                                            system.adapter.vis-weather             : vis-weather    - v2.5.3
                                            system.adapter.weatherunderground      : weatherunderground - v3.3.0
                                            system.adapter.web                     : web            - v3.4.1
                                            user@cubietruck:~$ iobroker list instances
                                            + system.adapter.admin.0                  : admin                 : cubietruck                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.backitup.0               : backitup              : cubietruck                               -  enabled
                                            + system.adapter.discovery.0              : discovery             : cubietruck                               -  enabled
                                              system.adapter.enigma2.0                : enigma2               : cubietruck                               - disabled
                                              system.adapter.fb-checkpresence.0       : fb-checkpresence      : cubietruck                               - disabled
                                              system.adapter.feiertage.0              : feiertage             : cubietruck                               -  enabled
                                              system.adapter.flot.0                   : flot                  : cubietruck                               - disabled
                                            + system.adapter.fritzbox.0               : fritzbox              : cubietruck                               -  enabled
                                            + system.adapter.hm-rega.0                : hm-rega               : cubietruck                               -  enabled
                                            + system.adapter.hm-rpc.0                 : hm-rpc                : cubietruck                               -  enabled, port: 18701
                                            + system.adapter.hm-rpc.1                 : hm-rpc                : cubietruck                               -  enabled, port: 12001
                                            + system.adapter.hm-rpc.2                 : hm-rpc                : cubietruck                               -  enabled, port: 12010
                                              system.adapter.ical.0                   : ical                  : cubietruck                               -  enabled
                                            + system.adapter.javascript.0             : javascript            : cubietruck                               -  enabled
                                              system.adapter.kodi.0                   : kodi                  : cubietruck                               - disabled, port: 8080
                                              system.adapter.moma.0                   : moma                  : cubietruck                               - disabled
                                            + system.adapter.mqtt.0                   : mqtt                  : cubietruck                               -  enabled, port: 1883, bind: 0.0.0.0
                                            + system.adapter.pollenflug.0             : pollenflug            : cubietruck                               -  enabled
                                            + system.adapter.pushover.0               : pushover              : cubietruck                               -  enabled
                                            + system.adapter.radar2.0                 : radar2                : cubietruck                               -  enabled
                                              system.adapter.sayit.0                  : sayit                 : cubietruck                               - disabled, port: 0
                                              system.adapter.sonos.0                  : sonos                 : cubietruck                               - disabled
                                            + system.adapter.sql.0                    : sql                   : cubietruck                               -  enabled, port: 3306
                                            + system.adapter.tankerkoenig.0           : tankerkoenig          : cubietruck                               -  enabled
                                              system.adapter.tr-064.0                 : tr-064                : cubietruck                               - disabled
                                              system.adapter.vis-timeandweather.0     : vis-timeandweather    : cubietruck                               - disabled
                                              system.adapter.vis-weather.0            : vis-weather           : cubietruck                               - disabled
                                              system.adapter.vis.0                    : vis                   : cubietruck                               -  enabled
                                              system.adapter.weatherunderground.0     : weatherunderground    : cubietruck                               -  enabled
                                            + system.adapter.web.0                    : web                   : cubietruck                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            + instance is alive
                                            user@cubietruck:
                                            

                                            Wie ihr seht jetzt auch als normaler user. Jetzt möchte ich als erstes ein anständiges Image der SD-Karte ziehen und danach die Updates fahren und auf Redis umstellen. Könnt ihr mir ein anständiges Tool zum ziehen des images empfehlen?

                                            greetz dipsy

                                            Thomas Braun Homoran 2 Replies 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

                                            668
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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