Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker backup Problem

    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

    iobroker backup Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      highline last edited by

      Hallo Zusammen, wenn ich versuche ein backup zu erstellen, erhalte ich folgende Meldung:

      pi@raspberrypin:/opt/iobroker $ ./iobroker backup
      host.raspberrypin 1650 states saved
      host.raspberrypin 1704 objects saved
      ./iobroker: line 8:  8902 Killed                  sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
      

      Was mache ich falsch?

      PS: Ich habe den iobroker vor dem Backup gestoppt.

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

        @highline
        Eigentlich nichts.
        Ich würde nur nicht so 'umständlich' agieren.

        iobroker backup
        

        irgendwo im System sollte eigentlich reichen.

        Ich vermute aber die Meldung ist rechts abgeschnitten.

        iobroker -v
        

        bringt?

        H 1 Reply Last reply Reply Quote 0
        • H
          highline @Thomas Braun last edited by highline

          @thomas-braun 3.2.16 bringt iobroker -v

          ...es ist nichts abgeschnitten

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

            @highline

            which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
            

            Funktioniert das Backup über den Backitup-Adapter? (Den würde ich ohnehin empfehlen)

            H 2 Replies Last reply Reply Quote 0
            • H
              highline @Thomas Braun last edited by highline

              pi@raspberrypin:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v14.16.1
              v14.16.1
              6.14.12
              nodejs:
                Installed: 14.16.1-1nodesource1
                Candidate: 14.16.1-1nodesource1
                Version table:
               *** 14.16.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              

              Neuer Versuch bringt weiter diese Meldung:

              pi@raspberrypin:/opt/iobroker $ iobroker stop
              pi@raspberrypin:/opt/iobroker $ iobroker backup
              host.raspberrypin 1679 states saved
              host.raspberrypin 1740 objects saved
              /usr/bin/iobroker: line 8: 11790 Killed                  sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
              
              1 Reply Last reply Reply Quote 0
              • H
                highline @Thomas Braun last edited by

                @thomas-braun said in iobroker backup Problem:

                @highline

                which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                

                Funktioniert das Backup über den Backitup-Adapter? (Den würde ich ohnehin empfehlen)

                nein, der funktioniert ebenso nicht und bleibt stehen

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

                  @highline

                  iobroker stop
                  iobroker fix
                  

                  Und schau dir mal die

                  cat /usr/bin/iobroker
                  

                  an.

                  Sollte so aussehen:

                  #!/bin/bash
                  if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                  sudo systemctl $1 iobroker
                  elif [ "$1" = "fix" ]; then
                  curl -sL https://iobroker.net/fix.sh | bash -
                  else
                  sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                  fi
                  
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    highline @Thomas Braun last edited by highline

                    cat /usr/bin/iobroker kommt zu diesem Ergebnis, welches korrekt ist, oder?

                    #!/bin/bash
                    if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                    sudo systemctl $1 iobroker
                    elif [ "$1" = "fix" ]; then
                    curl -sL https://iobroker.net/fix.sh | bash -
                    else
                    sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                    fi
                    

                    ein backup ohne den iobroker vorher zu stoppen bringt:

                    pi@raspberrypin:~ $ iobroker backup
                    host.raspberrypin 1679 states saved
                    host.raspberrypin 1740 objects saved
                     Objects database error: read ECONNRESET
                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @highline last edited by

                      @highline

                      iobroker status
                      
                      H 1 Reply Last reply Reply Quote 0
                      • H
                        highline @Thomas Braun last edited by

                        nachdem Versuch des Backups, musste ich den pi kurz vom Strom trennen um ihn aus der Schleife zu holen.

                        pi@raspberrypin:~ $ iobroker status
                        iobroker is running on this host.
                        
                        
                        Objects type: file
                        States  type: file
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @highline last edited by

                          @highline
                          Gar nicht gut.
                          Immer sauber herunterfahren. Zur Not mit dem Linux-Affengriff.

                          Nochmal frisch rebooten und dann

                          dmesg -T
                          
                          H 1 Reply Last reply Reply Quote 0
                          • H
                            highline @Thomas Braun last edited by

                            pi@raspberrypin:~ $ dmesg -T
                            [Thu Apr 29 08:28:56 2021] Booting Linux on physical CPU 0x0
                            [Thu Apr 29 08:28:56 2021] Linux version 5.10.17-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1403 SMP Mon Feb 22 11:29:51 GMT 2021
                            [Thu Apr 29 08:28:56 2021] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
                            [Thu Apr 29 08:28:56 2021] CPU: div instructions available: patching division code
                            [Thu Apr 29 08:28:56 2021] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
                            [Thu Apr 29 08:28:56 2021] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
                            [Thu Apr 29 08:28:56 2021] Memory policy: Data cache writealloc
                            [Thu Apr 29 08:28:56 2021] Reserved memory: created CMA memory pool at 0x37400000, size 64 MiB
                            [Thu Apr 29 08:28:56 2021] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
                            [Thu Apr 29 08:28:56 2021] Zone ranges:
                            [Thu Apr 29 08:28:56 2021]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
                            [Thu Apr 29 08:28:56 2021]   Normal   empty
                            [Thu Apr 29 08:28:56 2021] Movable zone start for each node
                            [Thu Apr 29 08:28:56 2021] Early memory node ranges
                            [Thu Apr 29 08:28:56 2021]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
                            [Thu Apr 29 08:28:56 2021] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
                            [Thu Apr 29 08:28:56 2021] On node 0 totalpages: 242688
                            [Thu Apr 29 08:28:56 2021]   DMA zone: 2133 pages used for memmap
                            [Thu Apr 29 08:28:56 2021]   DMA zone: 0 pages reserved
                            [Thu Apr 29 08:28:56 2021]   DMA zone: 242688 pages, LIFO batch:63
                            [Thu Apr 29 08:28:56 2021] percpu: Embedded 20 pages/cpu s50700 r8192 d23028 u81920
                            [Thu Apr 29 08:28:56 2021] pcpu-alloc: s50700 r8192 d23028 u81920 alloc=20*4096
                            [Thu Apr 29 08:28:56 2021] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
                            [Thu Apr 29 08:28:56 2021] Built 1 zonelists, mobility grouping on.  Total pages: 240555
                            [Thu Apr 29 08:28:56 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                            [Thu Apr 29 08:28:56 2021] Kernel parameter elevator= does not have any effect anymore.
                                                       Please use sysfs to set IO scheduler for individual devices.
                            [Thu Apr 29 08:28:56 2021] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
                            [Thu Apr 29 08:28:56 2021] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
                            [Thu Apr 29 08:28:56 2021] mem auto-init: stack:off, heap alloc:off, heap free:off
                            [Thu Apr 29 08:28:56 2021] Memory: 879832K/970752K available (9216K kernel code, 1311K rwdata, 2940K rodata, 1024K init, 860K bss, 25384K reserved, 65536K cma-reserved)
                            [Thu Apr 29 08:28:56 2021] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
                            [Thu Apr 29 08:28:56 2021] ftrace: allocating 31910 entries in 63 pages
                            [Thu Apr 29 08:28:56 2021] ftrace: allocated 63 pages with 6 groups
                            [Thu Apr 29 08:28:56 2021] rcu: Hierarchical RCU implementation.
                            [Thu Apr 29 08:28:56 2021] 	Rude variant of Tasks RCU enabled.
                            [Thu Apr 29 08:28:56 2021] 	Tracing variant of Tasks RCU enabled.
                            [Thu Apr 29 08:28:56 2021] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
                            [Thu Apr 29 08:28:56 2021] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
                            [Thu Apr 29 08:28:56 2021] random: get_random_bytes called from start_kernel+0x3ac/0x580 with crng_init=0
                            [Thu Apr 29 08:28:56 2021] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
                            [Thu Apr 29 08:28:56 2021] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
                            [Thu Apr 29 08:28:56 2021] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
                            [Thu Apr 29 08:28:56 2021] Switching to timer-based delay loop, resolution 52ns
                            [Thu Apr 29 08:28:56 2021] Console: colour dummy device 80x30
                            [Thu Apr 29 08:28:56 2021] printk: console [tty1] enabled
                            [Thu Apr 29 08:28:56 2021] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
                            [Thu Apr 29 08:28:56 2021] pid_max: default: 32768 minimum: 301
                            [Thu Apr 29 08:28:56 2021] LSM: Security Framework initializing
                            [Thu Apr 29 08:28:56 2021] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
                            [Thu Apr 29 08:28:56 2021] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
                            [Thu Apr 29 08:28:56 2021] Disabling memory control group subsystem
                            [Thu Apr 29 08:28:56 2021] CPU: Testing write buffer coherency: ok
                            [Thu Apr 29 08:28:56 2021] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
                            [Thu Apr 29 08:28:56 2021] Setting up static identity map for 0x100000 - 0x10003c
                            [Thu Apr 29 08:28:56 2021] rcu: Hierarchical SRCU implementation.
                            [Thu Apr 29 08:28:56 2021] smp: Bringing up secondary CPUs ...
                            [Thu Apr 29 08:28:56 2021] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
                            [Thu Apr 29 08:28:56 2021] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
                            [Thu Apr 29 08:28:56 2021] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
                            [Thu Apr 29 08:28:56 2021] smp: Brought up 1 node, 4 CPUs
                            [Thu Apr 29 08:28:56 2021] SMP: Total of 4 processors activated (153.60 BogoMIPS).
                            [Thu Apr 29 08:28:56 2021] CPU: All CPU(s) started in HYP mode.
                            [Thu Apr 29 08:28:56 2021] CPU: Virtualization extensions available.
                            [Thu Apr 29 08:28:56 2021] devtmpfs: initialized
                            [Thu Apr 29 08:28:56 2021] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
                            [Thu Apr 29 08:28:56 2021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
                            [Thu Apr 29 08:28:56 2021] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
                            [Thu Apr 29 08:28:56 2021] pinctrl core: initialized pinctrl subsystem
                            [Thu Apr 29 08:28:56 2021] NET: Registered protocol family 16
                            [Thu Apr 29 08:28:56 2021] DMA: preallocated 1024 KiB pool for atomic coherent allocations
                            [Thu Apr 29 08:28:56 2021] audit: initializing netlink subsys (disabled)
                            [Thu Apr 29 08:28:56 2021] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
                            [Thu Apr 29 08:28:56 2021] thermal_sys: Registered thermal governor 'step_wise'
                            [Thu Apr 29 08:28:56 2021] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
                            [Thu Apr 29 08:28:56 2021] hw-breakpoint: maximum watchpoint size is 8 bytes.
                            [Thu Apr 29 08:28:56 2021] Serial: AMBA PL011 UART driver
                            [Thu Apr 29 08:28:56 2021] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
                            [Thu Apr 29 08:28:56 2021] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-02-25T12:12:09, variant start
                            [Thu Apr 29 08:28:56 2021] raspberrypi-firmware soc:firmware: Firmware hash is 564e5f9b852b23a330b1764bcf0b2d022a20afd0
                            [Thu Apr 29 08:28:56 2021] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
                            [Thu Apr 29 08:28:56 2021] SCSI subsystem initialized
                            [Thu Apr 29 08:28:56 2021] usbcore: registered new interface driver usbfs
                            [Thu Apr 29 08:28:56 2021] usbcore: registered new interface driver hub
                            [Thu Apr 29 08:28:56 2021] usbcore: registered new device driver usb
                            [Thu Apr 29 08:28:56 2021] clocksource: Switched to clocksource arch_sys_counter
                            [Thu Apr 29 08:28:57 2021] VFS: Disk quotas dquot_6.6.0
                            [Thu Apr 29 08:28:57 2021] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
                            [Thu Apr 29 08:28:57 2021] FS-Cache: Loaded
                            [Thu Apr 29 08:28:57 2021] CacheFiles: Loaded
                            [Thu Apr 29 08:28:57 2021] NET: Registered protocol family 2
                            [Thu Apr 29 08:28:57 2021] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
                            [Thu Apr 29 08:28:57 2021] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
                            [Thu Apr 29 08:28:57 2021] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
                            [Thu Apr 29 08:28:57 2021] TCP: Hash tables configured (established 8192 bind 8192)
                            [Thu Apr 29 08:28:57 2021] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
                            [Thu Apr 29 08:28:57 2021] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
                            [Thu Apr 29 08:28:57 2021] NET: Registered protocol family 1
                            [Thu Apr 29 08:28:57 2021] RPC: Registered named UNIX socket transport module.
                            [Thu Apr 29 08:28:57 2021] RPC: Registered udp transport module.
                            [Thu Apr 29 08:28:57 2021] RPC: Registered tcp transport module.
                            [Thu Apr 29 08:28:57 2021] RPC: Registered tcp NFSv4.1 backchannel transport module.
                            [Thu Apr 29 08:28:57 2021] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
                            [Thu Apr 29 08:28:57 2021] Initialise system trusted keyrings
                            [Thu Apr 29 08:28:57 2021] workingset: timestamp_bits=14 max_order=18 bucket_order=4
                            [Thu Apr 29 08:28:57 2021] zbud: loaded
                            [Thu Apr 29 08:28:57 2021] FS-Cache: Netfs 'nfs' registered for caching
                            [Thu Apr 29 08:28:57 2021] NFS: Registering the id_resolver key type
                            [Thu Apr 29 08:28:57 2021] Key type id_resolver registered
                            [Thu Apr 29 08:28:57 2021] Key type id_legacy registered
                            [Thu Apr 29 08:28:57 2021] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
                            [Thu Apr 29 08:28:57 2021] Key type asymmetric registered
                            [Thu Apr 29 08:28:57 2021] Asymmetric key parser 'x509' registered
                            [Thu Apr 29 08:28:57 2021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
                            [Thu Apr 29 08:28:57 2021] io scheduler mq-deadline registered
                            [Thu Apr 29 08:28:57 2021] io scheduler kyber registered
                            [Thu Apr 29 08:28:57 2021] bcm2708_fb soc:fb: FB found 1 display(s)
                            [Thu Apr 29 08:28:57 2021] Console: switching to colour frame buffer device 82x26
                            [Thu Apr 29 08:28:57 2021] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
                            [Thu Apr 29 08:28:57 2021] bcm2835-rng 3f104000.rng: hwrng registered
                            [Thu Apr 29 08:28:57 2021] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
                            [Thu Apr 29 08:28:57 2021] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
                            [Thu Apr 29 08:28:58 2021] brd: module loaded
                            [Thu Apr 29 08:28:58 2021] loop: module loaded
                            [Thu Apr 29 08:28:58 2021] Loading iSCSI transport class v2.0-870.
                            [Thu Apr 29 08:28:58 2021] libphy: Fixed MDIO Bus: probed
                            [Thu Apr 29 08:28:58 2021] usbcore: registered new interface driver lan78xx
                            [Thu Apr 29 08:28:58 2021] usbcore: registered new interface driver smsc95xx
                            [Thu Apr 29 08:28:58 2021] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
                            [Thu Apr 29 08:28:58 2021] Core Release: 2.80a
                            [Thu Apr 29 08:28:58 2021] Setting default values for core params
                            [Thu Apr 29 08:28:58 2021] Finished setting default values for core params
                            [Thu Apr 29 08:28:58 2021] Using Buffer DMA mode
                            [Thu Apr 29 08:28:58 2021] Periodic Transfer Interrupt Enhancement - disabled
                            [Thu Apr 29 08:28:58 2021] Multiprocessor Interrupt Enhancement - disabled
                            [Thu Apr 29 08:28:58 2021] OTG VER PARAM: 0, OTG VER FLAG: 0
                            [Thu Apr 29 08:28:58 2021] Dedicated Tx FIFOs mode
                            
                            [Thu Apr 29 08:28:58 2021] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = b7514000 dma = 0xf7514000 len=9024
                            [Thu Apr 29 08:28:59 2021] FIQ FSM acceleration enabled for :
                                                       Non-periodic Split Transactions
                                                       Periodic Split Transactions
                                                       High-Speed Isochronous Endpoints
                                                       Interrupt/Control Split Transaction hack enabled
                            [Thu Apr 29 08:28:59 2021] dwc_otg: Microframe scheduler enabled
                            
                            [Thu Apr 29 08:28:59 2021] WARN::hcd_init_fiq:457: FIQ on core 1
                            
                            [Thu Apr 29 08:28:59 2021] WARN::hcd_init_fiq:458: FIQ ASM at 807be568 length 36
                            
                            [Thu Apr 29 08:28:59 2021] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
                            [Thu Apr 29 08:28:59 2021] dwc_otg 3f980000.usb: DWC OTG Controller
                            [Thu Apr 29 08:28:59 2021] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
                            [Thu Apr 29 08:28:59 2021] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
                            [Thu Apr 29 08:28:59 2021] Init: Port Power? op_state=1
                            [Thu Apr 29 08:28:59 2021] Init: Power Port (0)
                            [Thu Apr 29 08:28:59 2021] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
                            [Thu Apr 29 08:28:59 2021] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                            [Thu Apr 29 08:28:59 2021] usb usb1: Product: DWC OTG Controller
                            [Thu Apr 29 08:28:59 2021] usb usb1: Manufacturer: Linux 5.10.17-v7+ dwc_otg_hcd
                            [Thu Apr 29 08:28:59 2021] usb usb1: SerialNumber: 3f980000.usb
                            [Thu Apr 29 08:28:59 2021] hub 1-0:1.0: USB hub found
                            [Thu Apr 29 08:28:59 2021] hub 1-0:1.0: 1 port detected
                            [Thu Apr 29 08:28:59 2021] dwc_otg: FIQ enabled
                            [Thu Apr 29 08:28:59 2021] dwc_otg: NAK holdoff enabled
                            [Thu Apr 29 08:28:59 2021] dwc_otg: FIQ split-transaction FSM enabled
                            [Thu Apr 29 08:28:59 2021] Module dwc_common_port init
                            [Thu Apr 29 08:28:59 2021] usbcore: registered new interface driver usb-storage
                            [Thu Apr 29 08:28:59 2021] mousedev: PS/2 mouse device common for all mice
                            [Thu Apr 29 08:28:59 2021] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
                            [Thu Apr 29 08:28:59 2021] sdhci: Secure Digital Host Controller Interface driver
                            [Thu Apr 29 08:28:59 2021] sdhci: Copyright(c) Pierre Ossman
                            [Thu Apr 29 08:28:59 2021] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
                            [Thu Apr 29 08:28:59 2021] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
                            [Thu Apr 29 08:28:59 2021] sdhci-pltfm: SDHCI platform and OF driver helper
                            [Thu Apr 29 08:28:59 2021] ledtrig-cpu: registered to indicate activity on CPUs
                            [Thu Apr 29 08:28:59 2021] hid: raw HID events driver (C) Jiri Kosina
                            [Thu Apr 29 08:28:59 2021] usbcore: registered new interface driver usbhid
                            [Thu Apr 29 08:28:59 2021] usbhid: USB HID core driver
                            [Thu Apr 29 08:28:59 2021] Initializing XFRM netlink socket
                            [Thu Apr 29 08:28:59 2021] NET: Registered protocol family 17
                            [Thu Apr 29 08:28:59 2021] Key type dns_resolver registered
                            [Thu Apr 29 08:28:59 2021] Registering SWP/SWPB emulation handler
                            [Thu Apr 29 08:28:59 2021] registered taskstats version 1
                            [Thu Apr 29 08:28:59 2021] Loading compiled-in X.509 certificates
                            [Thu Apr 29 08:28:59 2021] Key type ._fscrypt registered
                            [Thu Apr 29 08:28:59 2021] Key type .fscrypt registered
                            [Thu Apr 29 08:28:59 2021] Key type fscrypt-provisioning registered
                            [Thu Apr 29 08:28:59 2021] uart-pl011 3f201000.serial: cts_event_workaround enabled
                            [Thu Apr 29 08:28:59 2021] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
                            [Thu Apr 29 08:28:59 2021] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
                            [Thu Apr 29 08:28:59 2021] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
                            [Thu Apr 29 08:28:59 2021] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
                            [Thu Apr 29 08:28:59 2021] sdhost: log_buf @ (ptrval) (f7513000)
                            [Thu Apr 29 08:28:59 2021] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
                            [Thu Apr 29 08:28:59 2021] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
                            [Thu Apr 29 08:28:59 2021] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
                            [Thu Apr 29 08:28:59 2021] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
                            [Thu Apr 29 08:28:59 2021] of_cfs_init
                            [Thu Apr 29 08:28:59 2021] of_cfs_init: OK
                            [Thu Apr 29 08:28:59 2021] Waiting for root device PARTUUID=738a4d67-02...
                            [Thu Apr 29 08:28:59 2021] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
                            [Thu Apr 29 08:28:59 2021] Indeed it is in host mode hprt0 = 00021501
                            [Thu Apr 29 08:28:59 2021] random: fast init done
                            [Thu Apr 29 08:28:59 2021] mmc0: host does not support reading read-only switch, assuming write-enable
                            [Thu Apr 29 08:28:59 2021] mmc0: new high speed SDXC card at address aaaa
                            [Thu Apr 29 08:28:59 2021] mmcblk0: mmc0:aaaa SN128 119 GiB
                            [Thu Apr 29 08:28:59 2021] mmc1: new high speed SDIO card at address 0001
                            [Thu Apr 29 08:28:59 2021]  mmcblk0: p1 p2
                            [Thu Apr 29 08:28:59 2021] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                            [Thu Apr 29 08:28:59 2021] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                            [Thu Apr 29 08:28:59 2021] usb 1-1: new high-speed USB device number 2 using dwc_otg
                            [Thu Apr 29 08:28:59 2021] Indeed it is in host mode hprt0 = 00001101
                            [Thu Apr 29 08:28:59 2021] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
                            [Thu Apr 29 08:28:59 2021] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                            [Thu Apr 29 08:28:59 2021] hub 1-1:1.0: USB hub found
                            [Thu Apr 29 08:28:59 2021] hub 1-1:1.0: 4 ports detected
                            [Thu Apr 29 08:28:59 2021] EXT4-fs (mmcblk0p2): recovery complete
                            [Thu Apr 29 08:28:59 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                            [Thu Apr 29 08:28:59 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                            [Thu Apr 29 08:28:59 2021] devtmpfs: mounted
                            [Thu Apr 29 08:28:59 2021] Freeing unused kernel memory: 1024K
                            [Thu Apr 29 08:28:59 2021] Run /sbin/init as init process
                            [Thu Apr 29 08:28:59 2021]   with arguments:
                            [Thu Apr 29 08:28:59 2021]     /sbin/init
                            [Thu Apr 29 08:28:59 2021]   with environment:
                            [Thu Apr 29 08:28:59 2021]     HOME=/
                            [Thu Apr 29 08:28:59 2021]     TERM=linux
                            [Thu Apr 29 08:29:00 2021] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
                            [Thu Apr 29 08:29:00 2021] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
                            [Thu Apr 29 08:29:00 2021] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                            [Thu Apr 29 08:29:00 2021] hub 1-1.1:1.0: USB hub found
                            [Thu Apr 29 08:29:00 2021] hub 1-1.1:1.0: 3 ports detected
                            [Thu Apr 29 08:29:00 2021] systemd[1]: System time before build time, advancing clock.
                            [Thu Apr 29 08:29:00 2021] dwc_otg_handle_wakeup_detected_intr lxstate = 2
                            [Thu Apr 29 08:29:00 2021] NET: Registered protocol family 10
                            [Thu Apr 29 08:29:00 2021] Segment Routing with IPv6
                            [Thu Apr 29 08:29:00 2021] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
                            [Thu Apr 29 08:29:00 2021] systemd[1]: Detected architecture arm.
                            [Thu Apr 29 08:29:00 2021] systemd[1]: Set hostname to <raspberrypin>.
                            [Thu Apr 29 08:29:01 2021] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
                            [Thu Apr 29 08:29:01 2021] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
                            [Thu Apr 29 08:29:01 2021] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                            [Thu Apr 29 08:29:01 2021] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
                            [Thu Apr 29 08:29:01 2021] libphy: lan78xx-mdiobus: probed
                            [Thu Apr 29 08:29:01 2021] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
                            [Thu Apr 29 08:29:01 2021] random: systemd: uninitialized urandom read (16 bytes read)
                            [Thu Apr 29 08:29:01 2021] random: systemd: uninitialized urandom read (16 bytes read)
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Listening on fsck to fsckd communication Socket.
                            [Thu Apr 29 08:29:01 2021] random: systemd: uninitialized urandom read (16 bytes read)
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Listening on Journal Socket.
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Mounting RPC Pipe File System...
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Mounting Kernel Debug File System...
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Listening on Journal Audit Socket.
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Created slice system-getty.slice.
                            [Thu Apr 29 08:29:01 2021] systemd[1]: Listening on Syslog Socket.
                            [Thu Apr 29 08:29:02 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                            [Thu Apr 29 08:29:03 2021] systemd-journald[113]: Received request to flush runtime journal from PID 1
                            [Thu Apr 29 08:29:03 2021] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] mc: Linux media interface: v0.10
                            [Thu Apr 29 08:29:03 2021] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
                            [Thu Apr 29 08:29:03 2021] [vc_sm_connected_init]: start
                            [Thu Apr 29 08:29:03 2021] [vc_sm_connected_init]: installed successfully
                            [Thu Apr 29 08:29:03 2021] videodev: Linux video capture interface: v2.00
                            [Thu Apr 29 08:29:03 2021] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835_audio bcm2835_audio: card created with 8 channels
                            [Thu Apr 29 08:29:03 2021] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
                            [Thu Apr 29 08:29:03 2021] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
                            [Thu Apr 29 08:29:03 2021] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
                            [Thu Apr 29 08:29:04 2021] cfg80211: Loading compiled-in X.509 certificates for regulatory database
                            [Thu Apr 29 08:29:04 2021] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
                            [Thu Apr 29 08:29:04 2021] brcmfmac: F1 signature read @0x18000000=0x15264345
                            [Thu Apr 29 08:29:04 2021] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
                            [Thu Apr 29 08:29:04 2021] usbcore: registered new interface driver brcmfmac
                            [Thu Apr 29 08:29:04 2021] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error -2
                            [Thu Apr 29 08:29:04 2021] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
                            [Thu Apr 29 08:29:04 2021] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
                            [Thu Apr 29 08:29:04 2021] random: crng init done
                            [Thu Apr 29 08:29:04 2021] random: 7 urandom warning(s) missed due to ratelimiting
                            [Thu Apr 29 08:29:06 2021] uart-pl011 3f201000.serial: no DMA platform data
                            [Thu Apr 29 08:29:06 2021] 8021q: 802.1Q VLAN Support v1.8
                            [Thu Apr 29 08:29:06 2021] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
                            [Thu Apr 29 08:29:06 2021] 8021q: adding VLAN 0 to HW filter on device eth0
                            [Thu Apr 29 08:29:06 2021] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
                            [Thu Apr 29 08:29:08 2021] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
                            [Thu Apr 29 08:29:13 2021] Bluetooth: Core ver 2.22
                            [Thu Apr 29 08:29:13 2021] NET: Registered protocol family 31
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI device and connection manager initialized
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI socket layer initialized
                            [Thu Apr 29 08:29:13 2021] Bluetooth: L2CAP socket layer initialized
                            [Thu Apr 29 08:29:13 2021] Bluetooth: SCO socket layer initialized
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI UART driver ver 2.3
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI UART protocol H4 registered
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI UART protocol Three-wire (H5) registered
                            [Thu Apr 29 08:29:13 2021] Bluetooth: HCI UART protocol Broadcom registered
                            [Thu Apr 29 08:29:13 2021] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
                            [Thu Apr 29 08:29:13 2021] Bluetooth: BNEP filters: protocol multicast
                            [Thu Apr 29 08:29:13 2021] Bluetooth: BNEP socket layer initialized
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active last edited by Thomas Braun

                              @highline

                              dmesg -T | grep -i ext4
                              

                              Und bitte Neustarten, die Datei ist ja von 8:irgendwas, da sollte eine aktuelle Uhrzeit in den Timestamps sein.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                highline @Thomas Braun last edited by

                                pi@raspberrypin:~ $ dmesg -T | grep -i ext4
                                [Thu Apr 29 09:00:38 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                                [Thu Apr 29 09:00:41 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                                [Thu Apr 29 09:00:41 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                [Thu Apr 29 09:00:44 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @highline last edited by

                                  @highline
                                  Deine Zeitzone ist noch auf Londoner Zeit eingestellt.
                                  Stell das auf Berlin um.

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    highline @Thomas Braun last edited by highline

                                    pi@raspberrypin:~ $ sudo raspi-config
                                    
                                    Current default time zone: 'Europe/Berlin'
                                    Local time is now:      Thu Apr 29 10:13:05 CEST 2021.
                                    Universal Time is now:  Thu Apr 29 08:13:05 UTC 2021.
                                    
                                    pi@raspberrypin:~ $ iobroker stop
                                    pi@raspberrypin:~ $ iobroker backup
                                    host.raspberrypin 1679 states saved
                                    host.raspberrypin 1740 objects saved
                                    /usr/bin/iobroker: line 8:  1609 Killed                  sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                    
                                    
                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      highline @highline last edited by highline

                                      Gibt es eventuell noch andere Möglichkeiten das Backup wieder zum laufen zu bekommen? Sonst bleibt nur die Kopie von iobroker-data, richtig?

                                      Noch eine andere Info: Nach dem iobroker backup-Befehl kommt

                                      pi@raspberrypin:~ $ iobroker backup
                                      host.raspberrypin 1679 states saved
                                      host.raspberrypin 1740 objects saved
                                      

                                      dann läuft RAM und Swap voll/über:

                                      MiB Mem :    924.2 total,     20.7 free,    890.6 used,     12.9 buff/cache
                                      MiB Swap:    100.0 total,      0.0 free,    100.0 used.      2.9 avail Mem 
                                      

                                      nach einer Weile fängt sich RAM/SWAP wieder und dann läuft bis zum sudo reboot in einer Schleife dies ab:

                                      Objects database error: read ECONNRESET
                                       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                       States database error: connect ECONNREFUSED 127.0.0.1:9000
                                       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                       States database error: connect ECONNREFUSED 127.0.0.1:9000
                                      

                                      normal sieht es so aus

                                      MiB Mem :    924.2 total,    293.3 free,    376.4 used,    254.5 buff/cache
                                      MiB Swap:    100.0 total,    100.0 free,      0.0 used.    540.0 avail Mem 
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @highline last edited by

                                        @highline
                                        1GB Ram ist halt äußerst knapp bemessen.

                                        ps aux | grep -i xorg
                                        

                                        liefert?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          highline @Thomas Braun last edited by

                                          pi@raspberrypin:~ $ ps aux | grep -i xorg
                                          pi        1892  0.0  0.0   7348   500 pts/0    S+   14:50   0:00 grep --color=auto -i xorg
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @highline last edited by

                                            @highline
                                            Okay, dann läuft schon mal kein X mit.
                                            Wieviel Zeug liegt denn im iobroker an?

                                            iobroker list instances | grep +
                                            
                                            H 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

                                            589
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            31
                                            1343
                                            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