Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @crunchip last edited by

      @crunchip Ich habe es gar nicht mit CIFS geschafft.
      Iobroker im nicht priorisierten LXC-Container unter Proxmox mit Bullseye.

      martin@iobroker-test-sicher:/etc/apt/sources.list.d$ mount -a       
      mount.cifs: permission denied
      mount.cifs: permission denied
      mount.cifs: permission denied
      martin@iobroker-test-sicher:/etc/apt/sources.list.d$ sudo mount -a
      [sudo] password for martin: 
      mount error(1): Operation not permitted
      Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
      mount error(1): Operation not permitted
      Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
      mount error(1): Operation not permitted
      Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
      martin@iobroker-test-sicher:/etc/apt/sources.list.d$ 
      

      Ich mache nun lokale Backups auf der virtuellen Platte des Containers, und schiebe diese Backups mit einem Cron Job per rsync auf das Backupsystem.

      Vielleicht liegt es am nicht priorisierten Container ...

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

        @martinp sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

        Ich mache nun lokale Backups auf der virtuellen Platte des Containers, und schiebe diese Backups mit einem Cron Job per rsync auf das Backupsystem.

        Das dürfte nicht betroffen sein. Lokale Backups und Dateioperationen auf dem NAS funktionieren soweit wie wir das sehen. Es geht in erster Linie wohl um Aktionen im gemounteten Dateisystem.

        R 1 Reply Last reply Reply Quote 0
        • R
          Radi @Thomas Braun last edited by Radi

          @thomas-braun Ja, auf eine USB-Festplatte die per CIFS angebunden ist.
          Anbei noch ein Screenshot des Verzeichnisses mit dem Inhalt vor und nach Installation von node 18.18.0.0dbbb625-9fd2-4a10-a457-8e289747dd9c-grafik.png

          1 Reply Last reply Reply Quote 0
          • U
            UV-on-fire @Thomas Braun last edited by

            @thomas-braun
            Habe eben auf 18.8 akttualisiert und das gleiche Problem.
            Backup war vorher 11MB jetzt 16kb.
            Javaskript ebenso von 292k auf 11k geschrumpft.
            Homematic (Rasberrymatic) 4.7MB auf 64k geschrumpft.
            Vorhergehende Backups wurden jeweils gestern Nacht automatisch erstellt.

            Läuft alles auf nem NUC unter Proxmox. Iobroker als LXC, Rasberrymatic als VM.
            Backup auf Platte am Fritz.nas mit CIFS.

            kurz:


            ======================= SUMMARY =======================
            v.2023-06-20

            Static hostname: iobroker
            Icon name: computer-container
            Chassis: container
            Machine ID: c337b259b2a44b9da1e2356e14b395e6
            Boot ID: 00d0c433c7104a35ba5be38a7e596927
            Virtualization: lxc
            Operating System: Debian GNU/Linux 11 (bullseye)
            Kernel: Linux 5.15.74-1-pve
            Architecture: x86-64

            Installation: lxc
            Kernel: x86_64
            Userland: amd64
            Timezone: Europe/Berlin (CEST, +0200)
            User-ID: 1000
            X-Server: false
            Boot Target: graphical.target

            Pending OS-Updates: 0
            Pending iob updates: 0

            Nodejs-Installation: /usr/bin/nodejs v18.18.0
            /usr/bin/node v18.18.0
            /usr/bin/npm 9.8.1
            /usr/bin/npx 9.8.1

            Recommended versions are nodejs 18.x.y and npm 9.x.y
            Your nodejs installation is correct

            MEMORY:
            total used free shared buff/cache available
            Mem: 4.1G 2.2G 1.2G 0.0K 707M 1.9G
            Swap: 512M 0B 512M
            Total: 4.6G 2.2G 1.7G

            Active iob-Instances: 31
            Active repo(s): Beta (latest)

            ioBroker Core: js-controller 5.0.12
            admin 6.10.4

            ioBroker Status: iobroker is running on this host.

            Objects type: jsonl
            States type: jsonl

            Status admin and web instance:

            • system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 192.168.178.213, run as: admin
            • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

            Objects: 19164
            States: 17129

            Size of iob-Database:

            37M /opt/iobroker/iobroker-data/objects.jsonl
            26M /opt/iobroker/iobroker-data/states.jsonl

            =================== END OF SUMMARY ====================

            lang


            ======== Start marking the full check here =========

            Skript v.2023-06-20
            
            *** BASE SYSTEM ***
               Static hostname: iobroker
                     Icon name: computer-container
                       Chassis: container
                    Machine ID: c337b259b2a44b9da1e2356e14b395e6
                       Boot ID: 00d0c433c7104a35ba5be38a7e596927
                Virtualization: lxc
              Operating System: Debian GNU/Linux 11 (bullseye)
                        Kernel: Linux 5.15.74-1-pve
                  Architecture: x86-64
            
            model name      : Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
            Docker          : false
            Virtualization  : lxc
            Kernel          : x86_64
            Userland        : amd64
            
            Systemuptime and Load:
             10:29:21 up 16 min,  1 user,  load average: 0.51, 0.73, 0.80
            CPU threads: 1
            
            
            *** Time and Time Zones ***
                           Local time: Tue 2023-10-03 10:29:21 CEST
                       Universal time: Tue 2023-10-03 08:29:21 UTC
                             RTC time: n/a
                            Time zone: Europe/Berlin (CEST, +0200)
            System clock synchronized: yes
                          NTP service: inactive
                      RTC in local TZ: no
            
            *** User and Groups ***
            uviob
            /home/uviob
            uviob sudo iobroker
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop: 
            Terminal: 
            Boot Target:    graphical.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            4.1G        2.2G        1.2G        0.0K        707M        1.9G
            Swap:           512M          0B        512M
            Total:          4.6G        2.2G        1.7G
            
                     4096 M total memory
                     2189 M used memory
                      256 M active memory
                     2441 M inactive memory
                     1198 M free memory
                        0 M buffer memory
                      707 M swap cache
                      512 M total swap
                        0 M used swap
                      512 M free swap
            
            *** FILESYSTEM ***
            Filesystem                       Type   Size  Used Avail Use% Mounted on
            /dev/mapper/pve-vm--210--disk--1 ext4   9.8G  7.0G  2.4G  76% /
            none                             tmpfs  492K  4.0K  488K   1% /dev
            tmpfs                            tmpfs  7.8G     0  7.8G   0% /dev/shm
            tmpfs                            tmpfs  3.1G  104K  3.1G   1% /run
            tmpfs                            tmpfs  5.0M     0  5.0M   0% /run/lock
            
            Messages concerning ext4 filesystem in dmesg:
            [Mon Jun 12 03:04:37 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jun 12 03:11:35 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jun 12 03:11:35 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jun 12 03:15:49 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Tue Jun 13 20:30:24 2023] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Thu Jun 15 20:23:19 2023] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jun 19 03:04:21 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jun 19 03:11:21 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jun 19 03:11:21 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jun 19 03:15:36 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jun 26 03:04:03 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jun 26 03:11:06 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jun 26 03:11:06 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jun 26 03:15:24 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul  3 03:03:40 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul  3 03:10:43 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jul  3 03:10:43 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jul  3 03:15:12 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 10 03:03:24 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 10 03:10:31 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jul 10 03:10:31 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jul 10 03:15:02 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 17 11:28:29 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 17 11:35:18 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jul 17 11:35:18 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jul 17 11:39:46 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 24 03:02:24 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 24 03:09:12 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jul 24 03:09:12 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jul 24 03:13:37 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 31 03:02:03 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Jul 31 03:08:52 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Jul 31 03:08:52 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Jul 31 03:13:19 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Tue Aug  1 20:05:22 2023] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug  7 03:01:49 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug  7 03:08:30 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Aug  7 03:08:30 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Aug  7 03:13:06 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 14 03:01:28 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 14 03:08:10 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Aug 14 03:08:10 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Aug 14 03:12:48 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 21 03:01:10 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 21 03:07:52 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Aug 21 03:07:52 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Aug 21 03:12:13 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Thu Aug 24 16:49:41 2023] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 28 03:00:39 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Aug 28 03:07:19 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Aug 28 03:07:19 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Aug 28 03:11:47 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep  4 03:00:18 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep  4 03:07:01 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Sep  4 03:07:01 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Sep  4 03:11:38 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 11 02:59:58 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 11 03:06:36 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Sep 11 03:06:36 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Sep 11 03:11:11 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 18 02:59:42 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 18 03:06:20 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Sep 18 03:06:20 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Sep 18 03:10:57 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 25 02:59:20 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Sep 25 03:06:31 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Sep 25 03:06:31 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Sep 25 03:11:09 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Oct  2 02:58:56 2023] EXT4-fs (dm-9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Mon Oct  2 03:05:35 2023] EXT4-fs (dm-10): write access unavailable, skipping orphan cleanup
            [Mon Oct  2 03:05:35 2023] EXT4-fs (dm-10): mounted filesystem without journal. Opts: noload. Quota mode: none.
            [Mon Oct  2 03:10:13 2023] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Tue Oct  3 10:05:04 2023] EXT4-fs (dm-8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            
            Show mounted filesystems (real ones only):
            TARGET SOURCE                           FSTYPE OPTIONS
            /      /dev/mapper/pve-vm--210--disk--1 ext4   rw,relatime,stripe=16
            
            Files in neuralgic directories:
            
            /var:
            919M    /var/
            402M    /var/log
            401M    /var/log/journal/c337b259b2a44b9da1e2356e14b395e6
            401M    /var/log/journal
            376M    /var/cache
            
            Hint: You are currently not seeing messages from other users and the system.
                  Users in groups 'adm', 'systemd-journal' can see all messages.
                  Pass -q to turn off this notice.
            Archived and active journals take up 96.0M in the file system.
            
            /opt/iobroker/backups:
            69M     /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            595M    /opt/iobroker/iobroker-data/
            453M    /opt/iobroker/iobroker-data/files
            80M     /opt/iobroker/iobroker-data/files/vis
            80M     /opt/iobroker/iobroker-data/backup-objects
            78M     /opt/iobroker/iobroker-data/files/icons-open-icon-library-png
            
            The five largest files in iobroker-data are:
            37M     /opt/iobroker/iobroker-data/objects.jsonl
            27M     /opt/iobroker/iobroker-data/states.jsonl
            21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.9aab3e1f.js.map
            21M     /opt/iobroker/iobroker-data/files/cameras.admin/static/js/main.22196004.js.map
            18M     /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.274a4d8d.js.map
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v18.18.0
            /usr/bin/node           v18.18.0
            /usr/bin/npm            9.8.1
            /usr/bin/npx            9.8.1
            
            
            nodejs:
              Installed: 18.18.0-1nodesource1
              Candidate: 18.18.0-1nodesource1
              Version table:
             *** 18.18.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                    100 /var/lib/dpkg/status
                 18.17.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.17.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.15.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://security.debian.org bullseye-security/main amd64 Packages
                 12.22.12~dfsg-1~deb11u3 500
                    500 http://ftp.debian.org/debian bullseye/main amd64 Packages
            
            Temp directories causing npm8 problem: 0
            No problems detected
            
            Errors in npm tree: 0
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            No configuration change needed.
            
            
            Multihost discovery server: disabled
            Discovery authentication:   enabled
            Persistent activation:      disabled
            Objects:                    jsonl on 127.0.0.1
            States:                     jsonl on 127.0.0.1
            
            Core adapters versions
            js-controller:  5.0.12
            admin:          6.10.4
            javascript:     7.1.4
            
            Adapters from github:   0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.213, run as: admin
              system.adapter.alias-manager.0          : alias-manager         : iobroker                                 -  enabled
            + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
              system.adapter.bmw.0                    : bmw                   : iobroker                                 - disabled
              system.adapter.cameras.0                : cameras               : iobroker                                 - disabled, port: 8200, bind: 127.0.0.1
            + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
              system.adapter.daswetter.0              : daswetter             : iobroker                                 -  enabled
              system.adapter.devices.0                : devices               : iobroker                                 -  enabled
            + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
              system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
            + system.adapter.fitbit-fitness.0         : fitbit-fitness        : iobroker                                 -  enabled
              system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
            + system.adapter.fritzdect.0              : fritzdect             : iobroker                                 -  enabled
            + system.adapter.heizoel.0                : heizoel               : iobroker                                 -  enabled
            + system.adapter.history.0                : history               : iobroker                                 -  enabled
            + system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled
            + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.2                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.4                 : hm-rpc                : iobroker                                 -  enabled, port: 0
              system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
              system.adapter.ical.1                   : ical                  : iobroker                                 -  enabled
              system.adapter.ical.2                   : ical                  : iobroker                                 -  enabled
              system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 -  enabled
              system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : iobroker                                 -  enabled
              system.adapter.icons-icons8.0           : icons-icons8          : iobroker                                 -  enabled
              system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 -  enabled
              system.adapter.icons-material-svg.0     : icons-material-svg    : iobroker                                 -  enabled
              system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 -  enabled
              system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
              system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 -  enabled
              system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : iobroker                                 -  enabled
            + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
            + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 192.168.178.213
            + system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
            + system.adapter.netatmo.0                : netatmo               : iobroker                                 -  enabled
              system.adapter.openweathermap.0         : openweathermap        : iobroker                                 -  enabled
            + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
            + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
            + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
            + system.adapter.sprinklecontrol.0        : sprinklecontrol       : iobroker                                 -  enabled
            + system.adapter.tahoma.0                 : tahoma                : iobroker                                 -  enabled
            + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
            + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
            + system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
            + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
              system.adapter.tvspielfilm.0            : tvspielfilm           : iobroker                                 -  enabled
              system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : iobroker                                 -  enabled
              system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : iobroker                                 -  enabled
              system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker                                 -  enabled
              system.adapter.vis-bars.0               : vis-bars              : iobroker                                 -  enabled
              system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 -  enabled
              system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 -  enabled
              system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
              system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
              system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 -  enabled
            + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
              system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 -  enabled
              system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 -  enabled
              system.adapter.vis-lcars.0              : vis-lcars             : iobroker                                 -  enabled
              system.adapter.vis-material-webfont.0   : vis-material-webfont  : iobroker                                 -  enabled
              system.adapter.vis-materialdesign.0     : vis-materialdesign    : iobroker                                 -  enabled
              system.adapter.vis-metro.0              : vis-metro             : iobroker                                 -  enabled
              system.adapter.vis-plumb.0              : vis-plumb             : iobroker                                 -  enabled
              system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
              system.adapter.vis-weather.0            : vis-weather           : iobroker                                 -  enabled
              system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            + system.adapter.wled.0                   : wled                  : iobroker                                 -  enabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.213, run as: admin
            + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.2                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.hm-rpc.4                 : hm-rpc                : iobroker                                 -  enabled, port: 0
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 192.168.178.213
            + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
            + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
            + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            ioBroker-Repositories
            Stable (default): http://download.iobroker.net/sources-dist.json
            Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
            
            Active repo(s): Beta (latest)
            
            Installed ioBroker-Instances
            Used repository: Beta (latest)
            Adapter    "admin"        : 6.10.4   , installed 6.10.4
            Adapter    "alias-manager": 1.2.6    , installed 1.2.6
            Adapter    "backitup"     : 2.8.2    , installed 2.8.2
            Adapter    "bmw"          : 2.6.2    , installed 2.6.2
            Adapter    "cameras"      : 1.3.0    , installed 1.3.0
            Adapter    "cloud"        : 4.4.1    , installed 4.4.1
            Adapter    "daswetter"    : 3.1.10   , installed 3.1.10
            Adapter    "devices"      : 1.1.5    , installed 1.1.5
            Adapter    "discovery"    : 4.1.0    , installed 4.1.0
            Adapter    "feiertage"    : 1.1.4    , installed 1.1.4
            Adapter    "fitbit-fitness": 0.4.11  , installed 0.4.11
            Adapter    "flot"         : 1.12.0   , installed 1.12.0
            Adapter    "fritzdect"    : 2.4.1    , installed 2.4.1
            Adapter    "heizoel"      : 1.0.3    , installed 1.0.3
            Adapter    "history"      : 3.0.0    , installed 3.0.0
            Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
            Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
            Adapter    "ical"         : 1.13.3   , installed 1.13.3
            Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
            Adapter    "icons-fatcow-hosting": 0.1.0, installed 0.1.0
            Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
            Adapter    "icons-material-png": 0.1.0, installed 0.1.0
            Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
            Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
            Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
            Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.3
            Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
            Adapter    "info"         : 2.0.0    , installed 2.0.0
            Adapter    "javascript"   : 7.1.4    , installed 7.1.4
            Controller "js-controller": 5.0.12   , installed 5.0.12
            Adapter    "mqtt"         : 5.0.0    , installed 5.0.0
            Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
            Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
            Adapter    "openweathermap": 0.4.4   , installed 0.4.4
            Adapter    "panasonic-viera": 2.0.0  , installed 2.0.0
            Adapter    "ping"         : 1.6.2    , installed 1.6.2
            Adapter    "proxmox"      : 2.1.0    , installed 2.1.0
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "socketio"     : 6.5.6    , installed 6.5.6
            Adapter    "sprinklecontrol": 0.2.13 , installed 0.2.13
            Adapter    "tahoma"       : 0.10.2   , installed 0.10.2
            Adapter    "telegram"     : 1.16.0   , installed 1.16.0
            Adapter    "text2command" : 3.0.2    , installed 3.0.2
            Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
            Adapter    "trashschedule": 2.2.0    , installed 2.2.0
            Adapter    "tvspielfilm"  : 2.0.5    , installed 2.0.5
            Adapter    "vis"          : 1.4.16   , installed 1.4.16
            Adapter    "vis-2-widgets-energy": 0.3.8, installed 0.3.8
            Adapter    "vis-2-widgets-gauges": 0.2.0, installed 0.2.0
            Adapter    "vis-2-widgets-material": 1.2.1, installed 1.2.1
            Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
            Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
            Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
            Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
            Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
            Adapter    "vis-icontwo"  : 0.96.0   , installed 0.96.0
            Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
            Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
            Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
            Adapter    "vis-lcars"    : 1.1.1    , installed 1.1.1
            Adapter    "vis-material-webfont": 0.0.3, installed 0.0.3
            Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
            Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
            Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
            Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
            Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
            Adapter    "web"          : 6.1.3    , installed 6.1.3
            Adapter    "wled"         : 0.7.1    , installed 0.7.1
            Adapter    "ws"           : 2.5.6    , installed 2.5.6
            
            Objects and States
            Please stand by - This may take a while
            Objects:        19164
            States:         17129
            
            *** OS-Repositories and Updates ***
            Hit:1 http://security.debian.org bullseye-security InRelease
            Hit:2 http://ftp.debian.org/debian bullseye InRelease
            Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
            Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
            Reading package lists...
            Pending Updates: 0
            
            *** Listening Ports ***
            Active Internet connections (only servers)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
            tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          497506546  1/init              
            tcp        0      0 192.168.178.213:8081    0.0.0.0:*               LISTEN      1001       497508582  311/io.admin.0      
            tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        497506990  83/systemd-resolved 
            tcp        0      0 192.168.178.213:8701    0.0.0.0:*               LISTEN      1001       497509579  590/io.hm-rpc.4     
            tcp        0      0 192.168.178.213:1883    0.0.0.0:*               LISTEN      1001       497512724  1428/io.mqtt.0      
            tcp        0      0 192.168.178.213:2001    0.0.0.0:*               LISTEN      1001       497508974  484/io.hm-rpc.0     
            tcp        0      0 192.168.178.213:2010    0.0.0.0:*               LISTEN      1001       497509175  529/io.hm-rpc.2     
            tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      104        497506983  83/systemd-resolved 
            tcp        0      0 192.168.178.213:9292    0.0.0.0:*               LISTEN      1001       497509111  505/io.hm-rpc.1     
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       497507075  119/iobroker.js-con 
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       497507150  119/iobroker.js-con 
            tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          497507221  297/master          
            tcp6       0      0 :::22                   :::*                    LISTEN      0          497506841  1/init              
            tcp6       0      0 :::111                  :::*                    LISTEN      0          497506554  1/init              
            tcp6       0      0 ::1:25                  :::*                    LISTEN      0          497507222  297/master          
            tcp6       0      0 :::5355                 :::*                    LISTEN      104        497506986  83/systemd-resolved 
            tcp6       0      0 :::8082                 :::*                    LISTEN      1001       497521909  2679/io.web.0       
            tcp6       0      0 :::8087                 :::*                    LISTEN      1001       497519140  2515/io.simple-api. 
            udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        497506989  83/systemd-resolved 
            udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          497506549  1/init              
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       497521948  2698/io.wled.0      
            udp        0      0 192.168.178.213:5353    0.0.0.0:*                           1001       497511049  1037/io.tr-064.0    
            udp        0      0 0.0.0.0:5355            0.0.0.0:*                           104        497506982  83/systemd-resolved 
            udp6       0      0 :::111                  :::*                                0          497506559  1/init              
            udp6       0      0 :::5355                 :::*                                104        497506985  83/systemd-resolved 
            
            *** Log File - Last 25 Lines ***
            
            2023-10-03 10:29:40.002  - error: javascript.0 (369) script.js.Materialdesign.Netzwerk: [netzwerkStatus] error: Cannot read properties of null (reading 'common'), stack: TypeError: Cannot read properties of null (reading 'common')
                at Object.netzwerkStatus (script.js.Materialdesign.Netzwerk:2433:33)
                at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1617:34)
                at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15)
                at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28
                at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7)
                at listOnTimeout (node:internal/timers:569:17)
                at processTimers (node:internal/timers:512:7)
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.uptime' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.cpu' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.mem' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.maxmem' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.mem_lev' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.disk' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.maxdisk' not exist!
            2023-10-03 10:29:43.503  - warn: javascript.0 (369) script.js.Materialdesign.Proxmox: [updateVm - lxc_Proxy] datapoint 'proxmox.0.lxc_Proxy.disk_lev' not exist!
            2023-10-03 10:29:50.001  - warn: javascript.0 (369) script.js.Materialdesign.Netzwerk: Object "tr-064.0.devices.PC-F8-0D-60-48-43-94" does not exist
            2023-10-03 10:29:50.002  - error: javascript.0 (369) script.js.Materialdesign.Netzwerk: [netzwerkStatus] error: Cannot read properties of null (reading 'common'), stack: TypeError: Cannot read properties of null (reading 'common')
                at Object.netzwerkStatus (script.js.Materialdesign.Netzwerk:2433:33)
                at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1617:34)
                at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15)
                at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28
                at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7)
                at listOnTimeout (node:internal/timers:569:17)
                at processTimers (node:internal/timers:512:7)
            
            

            ============ Mark until here for C&P =============

            MartinP 1 Reply Last reply Reply Quote 0
            • MartinP
              MartinP @UV-on-fire last edited by

              @uv-on-fire Wo ist der Fritz.nas CIFS gemountet? Im Proxmox, und dann durchgereicht auf den LXC Container oder direkt im Linux des LXC Containers?

              U 1 Reply Last reply Reply Quote 0
              • U
                UV-on-fire @MartinP last edited by UV-on-fire

                @martinp
                Ich meine direkt im Linux. Hab da ne weile herum experimentiert.

                EDIT: Glaub habe gerade quatsch erzählt. Ich meine für Backitup war es nicht nötig die Platte zu mounten wenn ich mich richtig erinnere. Wo ich ewig rum gemacht habe war das Einbinden der Platte für die eigentlichen Proxmox Backups. War ziemlich viel try and error da ich in Linux nicht wirklich fit bin.

                1 Reply Last reply Reply Quote 0
                • R
                  Radi @Thomas Braun last edited by

                  @thomas-braun Für mich sieht es so aus, als ob die lokal im IOBroker unter /opt/iobroker/backups abgelegten Files genauso korrupt sind, wie die auf dem FRITZ-Nas abgelegten. Siehe Screenshot aus WinSCP:

                  f4266a1d-aa64-4bd1-8bd7-27e2f12fbd42-grafik.png

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

                    @radi sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                    Für mich sieht es so aus, als ob die lokal im IOBroker unter /opt/iobroker/backups abgelegten Files genauso korrupt sind, wie die auf dem FRITZ-Nas abgelegten.

                    Wenn das NAS gerade gemounted ist dann ist das die gleiche Datei.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      Radi @Thomas Braun last edited by

                      @thomas-braun Okay, dann habe ich gerade wieder etwas dazu gelernt. Hab es gerade noch mal ausprobiert, nach dem umount ist dieses Verzeichnis wieder leer.

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

                        @radi sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                        Hab es gerade noch mal ausprobiert, nach dem umount ist dieses Verzeichnis wieder leer.

                        So ist es richtig.

                        1 Reply Last reply Reply Quote 0
                        • O S
                          O S @Thomas Braun last edited by

                          @thomas-braun

                          Habe das gleiche Problem.

                          Skript v.2023-06-20
                          
                          *** BASE SYSTEM ***
                             Static hostname: iobroker6
                                   Icon name: computer
                                  Machine ID: 6cdd9ef1128b465193e49cc4ea80f5af
                                     Boot ID: 41b5da8e46ba4fd897de0fa6a4711922
                            Operating System: Debian GNU/Linux 11 (bullseye)
                                      Kernel: Linux 6.1.21-v8+
                                Architecture: arm64
                          
                          Model           : Raspberry Pi 4 Model B Rev 1.2
                          Docker          : false
                          Virtualization  : none
                          Kernel          : aarch64
                          Userland        : arm64
                          
                          Systemuptime and Load:
                           17:43:34 up  3:51,  1 user,  load average: 0.84, 0.88, 0.88
                          CPU threads: 4
                          
                          Raspberry only:
                          throttled=0x0
                          Other values than 0x0 hint to temperature/voltage problems
                          temp=67.6'C
                          volt=0.8438V
                          
                          *** Time and Time Zones ***
                                         Local time: Tue 2023-10-03 17:43:34 CEST
                                     Universal time: Tue 2023-10-03 15:43:34 UTC
                                           RTC time: n/a
                                          Time zone: Europe/Berlin (CEST, +0200)
                          System clock synchronized: yes
                                        NTP service: active
                                    RTC in local TZ: no
                          
                          *** User and Groups ***
                          pi
                          /home/pi
                          pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                          
                          *** X-Server-Setup ***
                          X-Server:       false
                          Desktop:        
                          Terminal:       tty
                          Boot Target:    multi-user.target
                          
                          *** MEMORY ***
                                         total        used        free      shared  buff/cache   available
                          Mem:            3.8G        1.8G        1.6G        1.0M        419M        1.9G
                          Swap:            99M          0B         99M
                          Total:          3.9G        1.8G        1.7G
                          
                                   3793 M total memory
                                   1803 M used memory
                                   1851 M active memory
                                    250 M inactive memory
                                   1570 M free memory
                                     54 M buffer memory
                                    364 M swap cache
                                     99 M total swap
                                      0 M used swap
                                     99 M free swap
                          
                          Raspberry only:
                          oom events: 0
                          lifetime oom required: 0 Mbytes
                          total time in oom handler: 0 ms
                          max time spent in oom handler: 0 ms
                          
                          *** FILESYSTEM ***
                          Filesystem     Type      Size  Used Avail Use% Mounted on
                          /dev/root      ext4       28G  3.2G   24G  12% /
                          devtmpfs       devtmpfs  1.7G     0  1.7G   0% /dev
                          tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                          tmpfs          tmpfs     759M  1.2M  758M   1% /run
                          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                          /dev/sdb1      vfat      255M   31M  225M  13% /boot
                          tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
                          
                          Messages concerning ext4 filesystem in dmesg:
                          [Tue Oct  3 13:52:15 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:05:E5:E6 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=85bcf00a-02 rootfstype=ext4 fsck.repair=yes rootwait
                          [Tue Oct  3 13:52:18 2023] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Quota mode: none.
                          [Tue Oct  3 13:52:18 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
                          [Tue Oct  3 13:52:20 2023] EXT4-fs (sdb2): re-mounted. Quota mode: none.
                          
                          Show mounted filesystems (real ones only):
                          TARGET  SOURCE    FSTYPE OPTIONS
                          /       /dev/sdb2 ext4   rw,noatime
                          `-/boot /dev/sdb1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                          
                          Files in neuralgic directories:
                          
                          /var:
                          535M    /var/
                          182M    /var/cache
                          176M    /var/cache/apt
                          147M    /var/lib
                          122M    /var/lib/apt/lists
                          
                          Archived and active journals take up 104.0M in the file system.
                          
                          /opt/iobroker/backups:
                          4.0K    /opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          196M    /opt/iobroker/iobroker-data/
                          165M    /opt/iobroker/iobroker-data/files
                          52M     /opt/iobroker/iobroker-data/files/javascript.admin
                          34M     /opt/iobroker/iobroker-data/files/javascript.admin/static
                          33M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                          
                          The five largest files in iobroker-data are:
                          25M     /opt/iobroker/iobroker-data/objects.jsonl
                          21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.e564fb87.js.map
                          19M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map
                          8.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.e564fb87.js
                          8.2M    /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js
                          
                          *** NodeJS-Installation ***
                          
                          /usr/bin/nodejs         v18.17.1
                          /usr/bin/node           v18.17.1
                          /usr/bin/npm            9.6.7
                          /usr/bin/npx            9.6.7
                          
                          
                          nodejs:
                            Installed: 18.17.1-deb-1nodesource1
                            Candidate: 18.17.1-deb-1nodesource1
                            Version table:
                           *** 18.17.1-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages
                                  100 /var/lib/dpkg/status
                               12.22.12~dfsg-1~deb11u4 500
                                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                               12.22.12~dfsg-1~deb11u3 500
                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                          
                          Temp directories causing npm8 problem: 0
                          No problems detected
                          
                          Errors in npm tree: 0
                          
                          *** ioBroker-Installation ***
                          
                          ioBroker Status
                          iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          No configuration change needed.
                          
                          
                          Multihost discovery server: disabled
                          Discovery authentication:   enabled
                          Persistent activation:      disabled
                          Objects:                    jsonl on 0.0.0.0
                          States:                     jsonl on 0.0.0.0
                          
                          Core adapters versions
                          js-controller:  5.0.12
                          admin:          6.10.1
                          javascript:     7.1.4
                          
                          Adapters from github:   0
                          
                          Adapter State
                          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
                          + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
                          + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                          + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                            system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
                          + system.adapter.fritzbox.0               : fritzbox              : iobroker                                 -  enabled
                          + system.adapter.fritzdect.0              : fritzdect             : iobroker                                 -  enabled
                          + system.adapter.history.0                : history               : iobroker                                 -  enabled
                          + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
                          + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
                          + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                            system.adapter.mobile.0                 : mobile                : iobroker                                 -  enabled
                          + system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
                          + system.adapter.octoprint.0              : octoprint             : iobroker                                 -  enabled
                          + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
                          + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                          + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
                          + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
                          + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                          + system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
                            system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : iobroker                                 -  enabled
                            system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 -  enabled
                            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
                            system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 -  enabled
                            system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          + system.adapter.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8085, bind: 0.0.0.0, run as: admin
                          
                          + instance is alive
                          
                          Enabled adapters with bindings
                          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
                          + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                          + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
                          + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          + system.adapter.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8085, bind: 0.0.0.0, run as: admin
                          
                          ioBroker-Repositories
                          Stable (default): http://download.iobroker.net/sources-dist.json
                          Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
                          
                          Active repo(s): Stable (default)
                          
                          Installed ioBroker-Instances
                          Used repository: Stable (default)
                          Adapter    "admin"        : 6.10.1   , installed 6.10.1
                          Adapter    "alexa2"       : 3.25.2   , installed 3.25.2
                          Adapter    "backitup"     : 2.8.1    , installed 2.8.1
                          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                          Adapter    "flot"         : 1.12.0   , installed 1.12.0
                          Adapter    "fritzbox"     : 0.5.0    , installed 0.5.0
                          Adapter    "fritzdect"    : 2.3.1    , installed 2.3.1
                          Adapter    "history"      : 2.2.6    , installed 2.2.6
                          Adapter    "info"         : 2.0.0    , installed 2.0.0
                          Adapter    "iot"          : 1.14.5   , installed 1.14.5
                          Adapter    "javascript"   : 7.1.4    , installed 7.1.4
                          Controller "js-controller": 5.0.12   , installed 5.0.12
                          Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                          Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                          Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
                          Adapter    "ping"         : 1.6.2    , installed 1.6.2
                          Adapter    "shelly"       : 6.4.1    , installed 6.4.1
                          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                          Adapter    "socketio"     : 6.5.5    , installed 6.5.5
                          Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                          Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                          Adapter    "telegram"     : 1.16.0   , installed 1.16.0
                          Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
                          Adapter    "vis"          : 1.4.16   , installed 1.4.16
                          Adapter    "vis-canvas-gauges": 1.0.1, installed 1.0.1
                          Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                          Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
                          Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                          Adapter    "web"          : 6.1.2    , installed 6.1.0  [Updatable]
                          Adapter    "ws"           : 2.5.5    , installed 2.5.5
                          
                          Objects and States
                          Please stand by - This may take a while
                          Objects:        6978
                          States:         12775
                          
                          *** OS-Repositories and Updates ***
                          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                          Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                          Reading package lists...
                          Pending Updates: 0
                          
                          *** Listening Ports ***
                          Active Internet connections (only servers)
                          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15401      544/sshd: /usr/sbin 
                          tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       14593      508/iobroker.js-con 
                          tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       15434      508/iobroker.js-con 
                          tcp        0      0 0.0.0.0:1884            0.0.0.0:*               LISTEN      1001       15751      1171/io.sonoff.0    
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          15403      544/sshd: /usr/sbin 
                          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       300189     15081/io.web.0      
                          tcp6       0      0 :::8085                 :::*                    LISTEN      1001       297932     15070/io.ws.0       
                          tcp6       0      0 :::7777                 :::*                    LISTEN      1001       299942     15273/io.admin.0    
                          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12530      810/dhcpcd          
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14543      399/avahi-daemon: r 
                          udp        0      0 0.0.0.0:58602           0.0.0.0:*                           108        14545      399/avahi-daemon: r 
                          udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       13024      1148/io.shelly.0    
                          udp6       0      0 :::546                  :::*                                0          15429      810/dhcpcd          
                          udp6       0      0 :::5353                 :::*                                108        14544      399/avahi-daemon: r 
                          udp6       0      0 :::42372                :::*                                108        14546      399/avahi-daemon: r 
                          
                          *** Log File - Last 25 Lines ***
                          
                          2023-10-03 16:48:52.372  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 16:48:53.170  - info: admin.0 (15273) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 16:48:54.431  - info: admin.0 (15273) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 16:49:00.673  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 16:51:14.699  - info: admin.0 (15273) <== Disconnect system.user.admin from ::ffff:192.168.178.203 
                          2023-10-03 16:51:14.699  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 vis.0
                          2023-10-03 16:51:14.701  - info: admin.0 (15273) <== Disconnect system.user.admin from ::ffff:192.168.178.203 admin
                          2023-10-03 16:51:14.701  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 flot
                          2023-10-03 17:29:27.500  - warn: octoprint.0 (1324) received 502 response from /api/version with content: "<html><body><h1>502 Bad Gateway</h1>\nThe server returned an invalid or incomplete response.\n</body></html>\n"
                          2023-10-03 17:30:18.149  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:30:18.677  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 flot
                          2023-10-03 17:30:19.290  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:30:20.314  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:30:45.434  - info: admin.0 (15273) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:30:46.614  - info: admin.0 (15273) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:31:00.543  - info: admin.0 (15273) <== Disconnect system.user.admin from ::ffff:192.168.178.203 
                          2023-10-03 17:40:42.148  - info: admin.0 (15273) <== Disconnect system.user.admin from ::ffff:192.168.178.203 admin
                          2023-10-03 17:40:42.148  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 flot
                          2023-10-03 17:40:42.153  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 vis.0
                          2023-10-03 17:40:48.430  - info: admin.0 (15273) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:40:49.815  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:40:58.838  - info: web.0 (15081) ==> Connected system.user.admin from ::ffff:192.168.178.203
                          2023-10-03 17:42:44.448  - info: admin.0 (15273) <== Disconnect system.user.admin from ::ffff:192.168.178.203 admin
                          2023-10-03 17:42:44.451  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 vis.0
                          2023-10-03 17:42:44.455  - info: web.0 (15081) <== Disconnect system.user.admin from ::ffff:192.168.178.203 flo
                          
                          ======================= SUMMARY =======================
                                               v.2023-06-20
                          
                          
                             Static hostname: iobroker
                                   Icon name: computer
                                  Machine ID: 6cdd9ef1128b465193e49cc4ea80f5af
                                     Boot ID: 41b5da8e46ba4fd897de0fa6a4711922
                            Operating System: Debian GNU/Linux 11 (bullseye)
                                      Kernel: Linux 6.1.21-v8+
                                Architecture: arm64
                          
                          Installation:           native
                          Kernel:                 aarch64
                          Userland:               arm64
                          Timezone:               Europe/Berlin (CEST, +0200)
                          User-ID:                1000
                          X-Server:               false
                          Boot Target:            multi-user.target
                          
                          Pending OS-Updates:     0
                          Pending iob updates:    1
                          
                          Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                                  /usr/bin/node           v18.17.1
                                                  /usr/bin/npm            9.6.7
                                                  /usr/bin/npx            9.6.7
                          
                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                          Your nodejs installation is correct
                          
                          MEMORY: 
                                         total        used        free      shared  buff/cache   available
                          Mem:            3.8G        1.8G        1.3G        1.0M        676M        1.9G
                          Swap:            99M          0B         99M
                          Total:          3.9G        1.8G        1.4G
                          
                          Active iob-Instances:   21
                          Active repo(s): Stable (default)
                          
                          ioBroker Core:          js-controller           5.0.12
                                                  admin                   6.10.1
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
                          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                6978
                          States:                 12775
                          
                          Size of iob-Database:
                          
                          25M     /opt/iobroker/iobroker-data/objects.jsonl
                          4.2M    /opt/iobroker/iobroker-data/states.jsonl
                            
                          Hoffentlich hilft das.
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @O S last edited by

                            @o-s sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                            18.17.1

                            Mit nodejs 18.17.1 bist du der erste. Bislang ist das nur bei 18.18.0 und nodejs@20 aufgefallen.

                            1 Reply Last reply Reply Quote 0
                            • O S
                              O S last edited by

                              @thomas-braun


                              Copy text starting here:

                              ======================= SUMMARY =======================
                                                   v.2023-06-20
                              
                              
                                 Static hostname: iobroker
                                       Icon name: computer
                                      Machine ID: 6cdd9ef1128b465193e49cc4ea80f5af
                                         Boot ID: 41b5da8e46ba4fd897de0fa6a4711922
                                Operating System: Debian GNU/Linux 11 (bullseye)
                                          Kernel: Linux 6.1.21-v8+
                                    Architecture: arm64
                              
                              Installation:           native
                              Kernel:                 aarch64
                              Userland:               arm64
                              Timezone:               Europe/Berlin (CEST, +0200)
                              User-ID:                1000
                              X-Server:               false
                              Boot Target:            multi-user.target
                              
                              Pending OS-Updates:     0
                              Pending iob updates:    1
                              
                              Nodejs-Installation:    /usr/bin/nodejs         v18.18.0
                                                      /usr/bin/node           v18.18.0
                                                      /usr/bin/npm            9.8.1
                                                      /usr/bin/npx            9.8.1
                              
                              Recommended versions are nodejs 18.x.y and npm 9.x.y
                              Your nodejs installation is correct
                              
                              MEMORY:
                                             total        used        free      shared  buff/cache   available
                              Mem:            3.8G        1.5G        1.3G        1.0M        949M        2.2G
                              Swap:            99M          0B         99M
                              Total:          3.9G        1.5G        1.4G
                              
                              Active iob-Instances:   21
                              Active repo(s): Stable (default)
                              
                              ioBroker Core:          js-controller           5.0.12
                                                      admin                   6.10.1
                              
                              ioBroker Status:        iobroker is running on this host.
                              
                              
                              Objects type: jsonl
                              States  type: jsonl
                              
                              Status admin and web instance:
                              + system.adapter.admin.0                  : admin                 : iobroker
                              + system.adapter.web.0                    : web                   : iobroker
                              
                              Objects:                6978
                              States:                 12775
                              
                              Size of iob-Database:
                              
                              27M     /opt/iobroker/iobroker-data/objects.jsonl
                              2.6M    /opt/iobroker/iobroker-data/states.jsonl
                              
                              
                              
                              =================== END OF SUMMARY ====================
                              
                              [s=]
                               ======== Start marking the full check here =========
                              
                              

                              Skript v.2023-06-20

                              *** BASE SYSTEM ***
                              Static hostname: iobroker
                              Icon name: computer
                              Machine ID: 6cdd9ef1128b465193e49cc4ea80f5af
                              Boot ID: 41b5da8e46ba4fd897de0fa6a4711922
                              Operating System: Debian GNU/Linux 11 (bullseye)
                              Kernel: Linux 6.1.21-v8+
                              Architecture: arm64

                              Model : Raspberry Pi 4 Model B Rev 1.2
                              Docker : false
                              Virtualization : none
                              Kernel : aarch64
                              Userland : arm64

                              Systemuptime and Load:
                              18:48:07 up 4:55, 1 user, load average: 1.04, 1.14, 1.28
                              CPU threads: 4

                              Raspberry only:
                              throttled=0x0
                              Other values than 0x0 hint to temperature/voltage problems
                              temp=62.3'C
                              volt=0.8438V

                              *** Time and Time Zones ***
                              Local time: Tue 2023-10-03 18:48:07 CEST
                              Universal time: Tue 2023-10-03 16:48:07 UTC
                              RTC time: n/a
                              Time zone: Europe/Berlin (CEST, +0200)
                              System clock synchronized: yes
                              NTP service: active
                              RTC in local TZ: no

                              *** User and Groups ***
                              pi
                              /home/pi
                              pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker

                              *** X-Server-Setup ***
                              X-Server: false
                              Desktop:
                              Terminal: tty
                              Boot Target: multi-user.target

                              *** MEMORY ***
                              total used free shared buff/cache available
                              Mem: 3.8G 1.5G 1.4G 1.0M 948M 2.2G
                              Swap: 99M 0B 99M
                              Total: 3.9G 1.5G 1.5G

                                   3793 M total memory
                                   1492 M used memory
                                   1502 M active memory
                                    766 M inactive memory
                                   1352 M free memory
                                    118 M buffer memory
                                    830 M swap cache
                                     99 M total swap
                                      0 M used swap
                                     99 M free swap
                              

                              Raspberry only:
                              oom events: 0
                              lifetime oom required: 0 Mbytes
                              total time in oom handler: 0 ms
                              max time spent in oom handler: 0 ms

                              *** FILESYSTEM ***
                              Filesystem Type Size Used Avail Use% Mounted on
                              /dev/root ext4 28G 3.2G 24G 12% /
                              devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev
                              tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
                              tmpfs tmpfs 759M 1.2M 758M 1% /run
                              tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
                              /dev/sdb1 vfat 255M 31M 225M 13% /boot
                              //fritz.box/fritz.nas/intenso/iobroker cifs 961G 521G 441G 55% /opt/iobroker/backups
                              tmpfs tmpfs 380M 0 380M 0% /run/user/1000

                              Messages concerning ext4 filesystem in dmesg:
                              [Tue Oct 3 13:52:15 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=E4:5F:01:05:E5:E6 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=85bcf00a-02 rootfstype=ext4 fsck.repair=yes rootwait
                              [Tue Oct 3 13:52:18 2023] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Quota mode: none.
                              [Tue Oct 3 13:52:18 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
                              [Tue Oct 3 13:52:20 2023] EXT4-fs (sdb2): re-mounted. Quota mode: none.

                              Show mounted filesystems (real ones only):
                              TARGET SOURCE FSTYPE OPTIONS
                              / /dev/sdb2 ext4 rw,noatime
                              |-/boot /dev/sdb1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                              `-/opt/iobroker/backups //fritz.box/fritz.nas/intenso/iobroker cifs rw,relatime,vers=3.1.1,cache=strict,username=IoBroker2,uid=1001,noforceuid,gid=1001,noforcegid,addr=192.168.178.1,file_mode=0777,dir_mode=0777,soft,nounix,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5

                              Files in neuralgic directories:

                              /var:
                              563M /var/
                              209M /var/cache
                              204M /var/cache/apt
                              147M /var/lib
                              123M /var/lib/apt

                              Archived and active journals take up 104.0M in the file system.

                              /opt/iobroker/backups:
                              129M /opt/iobroker/backups/

                              /opt/iobroker/iobroker-data:
                              203M /opt/iobroker/iobroker-data/
                              165M /opt/iobroker/iobroker-data/files
                              52M /opt/iobroker/iobroker-data/files/javascript.admin
                              34M /opt/iobroker/iobroker-data/files/javascript.admin/static
                              33M /opt/iobroker/iobroker-data/files/javascript.admin/static/js

                              The five largest files in iobroker-data are:
                              27M /opt/iobroker/iobroker-data/objects.jsonl
                              21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.e564fb87.js.map
                              19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map
                              8.3M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.e564fb87.js
                              8.2M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js

                              *** NodeJS-Installation ***

                              /usr/bin/nodejs v18.18.0
                              /usr/bin/node v18.18.0
                              /usr/bin/npm 9.8.1
                              /usr/bin/npx 9.8.1

                              nodejs:
                              Installed: 18.18.0-1nodesource1
                              Candidate: 18.18.0-1nodesource1
                              Version table:
                              *** 18.18.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              100 /var/lib/dpkg/status
                              18.17.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.17.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.16.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.16.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.15.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.14.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.14.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.14.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.13.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.12.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.11.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.10.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.9.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.9.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.8.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.7.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.6.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.5.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.4.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.3.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.2.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.1.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              18.0.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              12.22.12~dfsg-1~deb11u4 500
                              500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                              12.22.12~dfsg-1~deb11u3 500
                              500 http://deb.debian.org/debian bullseye/main arm64 Packages

                              Temp directories causing npm8 problem: 0
                              No problems detected

                              Errors in npm tree: 0

                              *** ioBroker-Installation ***

                              ioBroker Status
                              iobroker is running on this host.

                              Objects type: jsonl
                              States type: jsonl

                              No configuration change needed.

                              Multihost discovery server: disabled
                              Discovery authentication: enabled
                              Persistent activation: disabled
                              Objects: jsonl on 0.0.0.0
                              States: jsonl on 0.0.0.0

                              Core adapters versions
                              js-controller: 5.0.12
                              admin: 6.10.1
                              javascript: 7.1.4

                              Adapters from github: 0

                              Adapter State

                              • system.adapter.admin.0 : admin : iobroker - enabled, port: 7777, bind: 0.0.0.0, run as: admin

                              • system.adapter.alexa2.0 : alexa2 : iobroker - enabled

                              • system.adapter.backitup.0 : backitup : iobroker - enabled

                              • system.adapter.discovery.0 : discovery : iobroker - enabled
                                system.adapter.flot.0 : flot : iobroker - enabled

                              • system.adapter.fritzbox.0 : fritzbox : iobroker - enabled

                              • system.adapter.fritzdect.0 : fritzdect : iobroker - enabled

                              • system.adapter.history.0 : history : iobroker - enabled

                              • system.adapter.info.0 : info : iobroker - enabled

                              • system.adapter.iot.0 : iot : iobroker - enabled

                              • system.adapter.javascript.0 : javascript : iobroker - enabled
                                system.adapter.mobile.0 : mobile : iobroker - enabled

                              • system.adapter.net-tools.0 : net-tools : iobroker - enabled

                              • system.adapter.octoprint.0 : octoprint : iobroker - enabled

                              • system.adapter.ping.0 : ping : iobroker - enabled

                              • system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0

                              • system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1884, bind: 0.0.0.0

                              • system.adapter.tankerkoenig.0 : tankerkoenig : iobroker - enabled

                              • system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0

                              • system.adapter.tr-064.0 : tr-064 : iobroker - enabled
                                system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iobroker - enabled
                                system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iobroker - enabled
                                system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker - enabled
                                system.adapter.vis-justgage.0 : vis-justgage : iobroker - enabled
                                system.adapter.vis.0 : vis : iobroker - enabled

                              • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

                              • system.adapter.ws.0 : ws : iobroker - enabled, port: 8085, bind: 0.0.0.0, run as: admin

                              • instance is alive

                              Enabled adapters with bindings

                              • system.adapter.admin.0 : admin : iobroker - enabled, port: 7777, bind: 0.0.0.0, run as: admin
                              • system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0
                              • system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1884, bind: 0.0.0.0
                              • system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0
                              • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
                              • system.adapter.ws.0 : ws : iobroker - enabled, port: 8085, bind: 0.0.0.0, run as: admin

                              ioBroker-Repositories
                              Stable (default): http://download.iobroker.net/sources-dist.json
                              Beta (latest) : http://download.iobroker.net/sources-dist-latest.json

                              Active repo(s): Stable (default)

                              Installed ioBroker-Instances
                              Used repository: Stable (default)
                              Adapter "admin" : 6.10.1 , installed 6.10.1
                              Adapter "alexa2" : 3.25.2 , installed 3.25.2
                              Adapter "backitup" : 2.8.1 , installed 2.8.1
                              Adapter "discovery" : 3.1.0 , installed 3.1.0
                              Adapter "flot" : 1.12.0 , installed 1.12.0
                              Adapter "fritzbox" : 0.5.0 , installed 0.5.0
                              Adapter "fritzdect" : 2.3.1 , installed 2.3.1
                              Adapter "history" : 2.2.6 , installed 2.2.6
                              Adapter "info" : 2.0.0 , installed 2.0.0
                              Adapter "iot" : 1.14.5 , installed 1.14.5
                              Adapter "javascript" : 7.1.4 , installed 7.1.4
                              Controller "js-controller": 5.0.12 , installed 5.0.12
                              Adapter "mobile" : 1.0.1 , installed 1.0.1
                              Adapter "net-tools" : 0.2.0 , installed 0.2.0
                              Adapter "octoprint" : 4.0.0 , installed 4.0.0
                              Adapter "ping" : 1.6.2 , installed 1.6.2
                              Adapter "shelly" : 6.4.1 , installed 6.4.1
                              Adapter "simple-api" : 2.7.2 , installed 2.7.2
                              Adapter "socketio" : 6.5.5 , installed 6.5.5
                              Adapter "sonoff" : 2.5.3 , installed 2.5.3
                              Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7
                              Adapter "telegram" : 1.16.0 , installed 1.16.0
                              Adapter "tr-064" : 4.2.18 , installed 4.2.18
                              Adapter "vis" : 1.4.16 , installed 1.4.16
                              Adapter "vis-canvas-gauges": 1.0.1, installed 1.0.1
                              Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0
                              Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0
                              Adapter "vis-justgage" : 1.0.2 , installed 1.0.2
                              Adapter "web" : 6.1.2 , installed 6.1.0 [Updatable]
                              Adapter "ws" : 2.5.5 , installed 2.5.5

                              Objects and States
                              Please stand by - This may take a while
                              Objects: 6978
                              States: 12775

                              *** OS-Repositories and Updates ***
                              Hit:1 http://deb.debian.org/debian bullseye InRelease
                              Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                              Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                              Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                              Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
                              Reading package lists...
                              Pending Updates: 0

                              *** Listening Ports ***
                              Active Internet connections (only servers)
                              Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
                              tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15401 544/sshd: /usr/sbin
                              tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 531479 28146/iobroker.js-c
                              tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1001 531484 28146/iobroker.js-c
                              tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 530826 28332/io.sonoff.0
                              tcp6 0 0 :::22 :::* LISTEN 0 15403 544/sshd: /usr/sbin
                              tcp6 0 0 :::8082 :::* LISTEN 1001 533936 28695/io.web.0
                              tcp6 0 0 :::8085 :::* LISTEN 1001 534754 28728/io.ws.0
                              tcp6 0 0 :::7777 :::* LISTEN 1001 531536 28172/io.admin.0
                              udp 0 0 0.0.0.0:55170 0.0.0.0:* 1001 619670 28311/io.shelly.0
                              udp 0 0 0.0.0.0:68 0.0.0.0:* 0 12530 810/dhcpcd
                              udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 14543 399/avahi-daemon: r
                              udp 0 0 0.0.0.0:58602 0.0.0.0:* 108 14545 399/avahi-daemon: r
                              udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 531837 28311/io.shelly.0
                              udp6 0 0 :::546 :::* 0 15429 810/dhcpcd
                              udp6 0 0 :::5353 :::* 108 14544 399/avahi-daemon: r
                              udp6 0 0 :::42372 :::* 108 14546 399/avahi-daemon: r

                              *** Log File - Last 25 Lines ***

                              2023-10-03 18:12:13.047 - info: admin.0 (28172) ==> Connected system.user.admin from ::ffff:192.168.178.205
                              2023-10-03 18:12:14.080 - info: net-tools.0 (28559) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.net-tools, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:14.436 - info: net-tools.0 (28559) Scanning for open ports (20, 21, 22, 23, 25, 53, 80, 110, 119, 123, 143, 161, 162, 194, 443, 445, 3306, 3389, 5900, 6379, 8080, 8443, 9090, 9200, 9999) at localhost, please wait
                              2023-10-03 18:12:15.808 - info: admin.0 (28172) ==> Connected system.user.admin from ::ffff:192.168.178.205
                              2023-10-03 18:12:16.743 - info: net-tools.0 (28559) Port scan finished
                              2023-10-03 18:12:21.610 - info: tankerkoenig.0 (28637) starting. Version 3.3.7 in /opt/iobroker/node_modules/iobroker.tankerkoenig, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:21.704 - info: tankerkoenig.0 (28637) Adapter is already in daemon mode
                              2023-10-03 18:12:21.706 - warn: tankerkoenig.0 (28637) Sync time was too short (5). New sync time is 10 min
                              2023-10-03 18:12:21.708 - info: tankerkoenig.0 (28637) Sync time set to 10 minutes or 600000 ms
                              2023-10-03 18:12:24.672 - info: vis.0 (28658) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:25.224 - info: vis.0 (28658) vis license is OK.
                              2023-10-03 18:12:28.304 - info: vis.0 (28658) Terminated (NO_ERROR): Without reason
                              2023-10-03 18:12:29.942 - info: web.0 (28695) starting. Version 6.1.0 in /opt/iobroker/node_modules/iobroker.web, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:30.679 - info: web.0 (28695) socket.io server listening on port 8082
                              2023-10-03 18:12:30.703 - info: web.0 (28695) http server listening on port 8082
                              2023-10-03 18:12:32.633 - info: ws.0 (28728) starting. Version 2.5.5 in /opt/iobroker/node_modules/iobroker.ws, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:32.745 - warn: ws.0 (28728) Information for Developer: Using the direct "Let's encrypt" module import is deprecated and will be removed in the next js-controller version, use @iobroker/webserver instead
                              2023-10-03 18:12:32.772 - info: ws.0 (28728) socket.io server listening on port 8085
                              2023-10-03 18:12:40.622 - info: info.0 (28749) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.info, node: v18.18.0, js-controller: 5.0.12
                              2023-10-03 18:12:41.016 - info: info.0 (28749) Reading/updating systemdata.
                              2023-10-03 18:12:45.286 - info: tankerkoenig.0 (28637) Start first request
                              2023-10-03 18:12:45.312 - info: info.0 (28749) cpu Temp res = {"main":66.218,"cores":[],"max":66.218,"socket":[],"chipset":null}
                              2023-10-03 18:16:19.824 - info: admin.0 (28172) ==> Connected system.user.admin from ::ffff:192.168.178.205
                              2023-10-03 18:16:27.936 - info: admin.0 (28172) ==> Connected system.user.admin from ::ffff:192.168.178.205
                              2023-10-03 18:29:49.271 - info: admin.0 (28172) ==> Connected system.user.admin from ::ffff:192.168.178.205

                              Backitup bei node 18.17.1: 6,7 MB
                              Backitup bei node 18.18.0: 16 KB

                              O S 1 Reply Last reply Reply Quote 0
                              • O S
                                O S @O S last edited by

                                @o-s

                                Besser habe ich es nicht gekonnt!
                                Gruß Otto

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fastfoot last edited by

                                  ui, sind ja doch einige mit Fehlern. Ich bin gerade dabei ein Skript zu schreiben welches neben dem derzeitigen Verfahren(backitup/iobroker cli) auch eine evtl. Lösung anbieten soll. Diese Lösung ist zur Zeit noch nicht wirklich brauchbar da sie mehr Zeit benötigt, dient aber dazu zu prüfen ob der Fehler damit erstmal weg ist. Das Skript erstellt kein Backup sondern nutzt nur dessen Mechanismus, es werden auch keine Änderungen am System vorgenommen, man könnte es also auch in einer Produktivumgebung nutzen

                                  Ich hoffe es finden sich einige die Lust zum Testen haben, am Ende wird das hoffentlich gute Ergebnis als Grundlage für einen PR verwendet welcher dann das Problem im iobroker fixt.

                                  schonmal Danke im Voraus, stay tuned

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    fastfoot @fastfoot last edited by fastfoot

                                    hier das Skript für diejenigen die testen wollen

                                    • das Skript läuft nur auf Linux Systemen
                                    • das Skript ist für die cifs Verbindung zur Fritz Box konzipiert
                                      • für andere Systeme kann der mount-Befehl aus dem LOG des backitup Adapters gelesen werden
                                    • LXC Container benötigen für cifs den Privileged Mode
                                    • Docker Container benötigen Privileged Mode oder
                                      • cap_add:
                                        • SYS_ADMIN
                                        • DAC_READ_SEARCH

                                    Kleine Anleitung zur Erstellung und Aufruf

                                    • Das Skript muss in /opt/iobroker erstellt werden, wegen der Pfade
                                    • Der Name ist egal, z.B. cifs_test.js, die Endung .js ist wichtig
                                    • Die Einstellungen in den Zeilen 33-37 vornehmen
                                    • Aufruf von der Konsole in /opt/iobroker mit node cifs_test
                                    • umount und mount erfolgen im Skript

                                    "use strict";
                                    /**
                                     * Name:    cifs.js
                                     * Zweck:   Dient ausschliesslich dem Test von Fehlern im Zusammenhang mit
                                     *          cifs(smb) mit Fritz Box, Node >= 18.18.0 und BackitUp-Adapter
                                     *          bzw. iobroker-cli(iob backup)
                                     * Datum:   2023-10-08
                                     * Author:  @fastfoot
                                     * Forum:   https://forum.iobroker.net/post/1054910
                                     */
                                    
                                    const fs_extra_1 = require("fs-extra");
                                    const path_1 = require("path");
                                    const promisify_child_process_1 = require("promisify-child-process");
                                    const { pipeline } = require("node:stream/promises");
                                    const tar_1 = require("tar");
                                    const zlib = require("node:zlib");
                                    const os = require("os");
                                    const { exit } = require("process");
                                    const { createWriteStream } = require("fs");
                                    if (os.platform != "linux") {
                                      console.log("This script can only work under Linux OS, terminating now...");
                                      exit(1);
                                    }
                                    
                                    //
                                    //                                 fixe Einstellungen, möglichst nicht ändern
                                    //
                                    const tmpDir = "/opt/iobroker/node_modules"; // simuliert den tmp Ordner des Backitup-Adapters, NICHT ändern!
                                    const targetDir = "/opt/iobroker/backups"; // Standard Ordner für Backup Dateien, NICHT ändern!
                                    const fritzNasShare = "//fritz.box/fritz.nas"; // Standard Share der FritzBox, NICHT ändern!
                                    
                                    //
                                    //                                 Einstellungen
                                    //
                                    const fritzNasDir = "Backup"; // Individueller Ordner des Fritz!NAS
                                    const fritzPasswd = "iobrokertest"; // Passwort
                                    const fritzUser = "iobroker"; // User
                                    const fritzSMBVers = "3.1.1"; // gültige SMB Version ("1.0","2.0","3.0","3.0.2","3.1.1")oder ""
                                    const noserverinoOpt = true; // Verwendung noserverino Option true/false
                                    //
                                    //                                           Ab hier Finger weg!
                                    //
                                    const umountCmd = `sudo umount ${targetDir}`;
                                    const mountCmd = `sudo mount -t cifs -o username=${fritzUser},password=${fritzPasswd}${
                                      noserverinoOpt ? ",noserverino" : ""
                                    },rw,file_mode=0777,dir_mode=0777${
                                      fritzSMBVers ? ",vers=3.1.1" : ""
                                    } ${fritzNasShare}/${fritzNasDir} ${targetDir}`;
                                    
                                    test();
                                    
                                    async function test() {
                                      console.log("Copy output from below \n\n```");
                                      try {
                                        const { stdout } = await promisify_child_process_1.exec(umountCmd);
                                        console.log(`${targetDir} unmounted`);
                                      } catch (e) {
                                        console.log("umount not possible");
                                      }
                                      try {
                                        await promisify_child_process_1.exec(mountCmd);
                                        console.log(`${fritzNasShare}/${fritzNasDir} mounted into ${targetDir}\n`);
                                      } catch (e) {
                                        console.log("mount not possible: " + e + "\n");
                                      }
                                      try {
                                        let res1 = await alternative2(`test_pipeline_compressed_tar.tar.gz`, true);
                                        console.log(`file ${res1} done`);
                                        await countFilesInTar(res1);
                                    
                                        res1 = await alternative3(`test_pipeline_compressed_zlib.tar.gz`, false);
                                        console.log(`file ${res1} done`);
                                        await countFilesInTar(res1);
                                    
                                        res1 = await alternative4(`test_pipeline_uncompressed.tar`, false);
                                        console.log(`file ${res1} done`);
                                        await countFilesInTar(res1);
                                    
                                    
                                        const { stdout } = await promisify_child_process_1.exec(
                                          `ls -lt ${targetDir}/test_*`
                                        );
                                        console.log(`listing of created files in ${targetDir}\n` + stdout);
                                      } catch (e) {
                                        console.log(e);
                                      }
                                      console.error("```\n\nEnd of output to copy");
                                    }
                                    /*
                                    function standard(name, compression) {
                                      return new Promise((resolve, reject) => {
                                        const f = fs_extra_1.createWriteStream(`${targetDir}/${name}`);
                                        f.on("finish", () => {
                                          resolve(path_1.normalize(name));
                                        });
                                        f.on("error", (e) => {
                                          console.error("error! : " + e);
                                          reject("Fehler im Stream");
                                        });
                                        try {
                                          tar_1
                                            .create({ gzip: compression, cwd: `${tmpDir}/` }, [
                                              "iobroker.js-controller",
                                            ])
                                            .pipe(f);
                                          console.log(`file ${name} created`);
                                        } catch (e) {
                                          console.error("error! : " + e);
                                          reject(e);
                                        }
                                      });
                                    }
                                    
                                    function alternative(name, compression = true) {
                                      return new Promise((resolve, reject) => {
                                        try {
                                          tar_1
                                            .create(
                                              {
                                                //file: `${targetDir}/${name}`,
                                                file: `${name}`,
                                                gzip: compression,
                                                cwd: `${tmpDir}/`,
                                              },
                                              ["iobroker.js-controller"]
                                            )
                                            .then(async () => {
                                              await promisify_child_process_1.exec(`mv ${name} ${targetDir}`);
                                              console.log(`file ${name} created`);
                                              resolve(path_1.normalize(name));
                                            });
                                        } catch (e) {
                                          console.error("error! : " + e);
                                          reject(e);
                                        }
                                      });
                                    }
                                    */
                                    function alternative2(name, compression = true) {
                                      return new Promise(async (resolve, reject) => {
                                        try {
                                          await pipeline(
                                            tar_1.create(
                                              {
                                                gzip: compression,
                                                cwd: `${tmpDir}/`,
                                              },
                                              ["iobroker.js-controller"]
                                            ),
                                            //zlib.createGzip(),
                                            fs_extra_1.createWriteStream(`${targetDir}/${name}`),
                                          );
                                          console.log(`file ${name} created`);
                                          resolve(name);
                                        } catch (e) {
                                          console.error("error! : " + e);
                                          reject(e);
                                        }
                                      });
                                    }
                                    
                                    function alternative3(name, compression = true) {
                                      return new Promise(async (resolve, reject) => {
                                        try {
                                          await pipeline(
                                            tar_1.create(
                                              {
                                                gzip: compression,
                                                cwd: `${tmpDir}/`,
                                              },
                                              ["iobroker.js-controller"]
                                            ),
                                            zlib.createGzip(),
                                            fs_extra_1.createWriteStream(`${targetDir}/${name}`),
                                          );
                                          console.log(`file ${name} created`);
                                          resolve(name);
                                        } catch (e) {
                                          console.error("error! : " + e);
                                          reject(e);
                                        }
                                      });
                                    }
                                    
                                    function alternative4(name, compression = true) {
                                      const { pipeline } = require("node:stream/promises");
                                    
                                      return new Promise(async (resolve, reject) => {
                                        //const f = fs_extra_1.createWriteStream(`${targetDir}/${name}`);
                                        //f.on("finish", () => {
                                        //  resolve(path_1.normalize(name));
                                        //});
                                        //f.on("error", (e) => {
                                        //  console.error("error! : " + e);
                                        //  reject("Fehler im Stream");
                                        //});
                                        try {
                                          await pipeline(
                                            tar_1.create(
                                              {
                                                //file: `${targetDir}/${name}`,
                                                //file: `${name}`,
                                                gzip: compression,
                                                cwd: `${tmpDir}/`,
                                              },
                                              ["iobroker.js-controller"]
                                            ),
                                            //zlib.createGzip(),
                                            fs_extra_1.createWriteStream(`${targetDir}/${name}`),
                                          );
                                          console.log(`file ${name} created`);
                                          resolve(name);
                                        } catch (e) {
                                          console.error("error! : " + e);
                                          reject(e);
                                        }
                                      });
                                    }
                                    
                                    async function countFilesInTar(name) {
                                      let { stdout } = await promisify_child_process_1.exec(
                                        `tar -tf ${targetDir}/${name}|wc -l`
                                      );
                                      console.log(`number of files in ${name}: ${stdout}`);
                                    }
                                    

                                    Bei Fagen, fragen!

                                    R O S 3 Replies Last reply Reply Quote 0
                                    • R
                                      Radi @fastfoot last edited by Radi

                                      @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                      node cifs_test

                                      Hier mal die Ausgabe deines Testscripts auf meinem System:

                                      /opt/iobroker/backups unmounted
                                      //192.168.69.254/fritz.nas/Volume/backup2 mounted into /opt/iobroker/backups
                                      
                                      file test_standard.tar.gz created
                                      file test_standard.tar.gz done
                                      number of files in test_standard.tar.gz: 0
                                      
                                      file test_nocompression.tar created
                                      file test_nocompression.tar done
                                      number of files in test_nocompression.tar: 5
                                      
                                      file test_alternative.tar.gz created
                                      file test_alternative.tar.gz done
                                      number of files in test_alternative.tar.gz: 0
                                      
                                      listing of created files in /opt/iobroker/backups
                                      -rwxrwxrwx 1 root root  16384  4. Okt 09:01 /opt/iobroker/backups/test_alternative.tar.gz
                                      -rwxrwxrwx 1 root root 251392  4. Okt 09:01 /opt/iobroker/backups/test_nocompression.tar
                                      -rwxrwxrwx 1 root root  16394  4. Okt 09:01 /opt/iobroker/backups/test_standard.tar.gz
                                      
                                      

                                      End of output to copy

                                      Ich hoffe, es hilft weiter, den Fehler einzugrenzen.

                                      Achtung, habe den Artikel noch mal bearbeitet.

                                      F 1 Reply Last reply Reply Quote 0
                                      • O S
                                        O S @fastfoot last edited by

                                        @fastfoot
                                        Hier meine Ausgabe deines Testscriptes:

                                        umount not possible
                                        mount not possible: Error: Command failed: sudo mount -t cifs -o username=iobroker,password=iobrokertest,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //fritz.box/fritz.nas/Backup /opt/iobroker/backups
                                        mount error(13): Permission denied
                                        Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

                                        file test_standard.tar.gz created
                                        file test_standard.tar.gz done
                                        number of files in test_standard.tar.gz: 155

                                        file test_nocompression.tar created
                                        file test_nocompression.tar done
                                        number of files in test_nocompression.tar: 155

                                        file test_alternative.tar.gz created
                                        file test_alternative.tar.gz done
                                        number of files in test_alternative.tar.gz: 155

                                        listing of created files in /opt/iobroker/backups
                                        -rw-rw-r--+ 1 pi pi 10724080 Oct 4 12:50 /opt/iobroker/backups/test_alternative.tar.gz
                                        -rw-rw-r--+ 1 pi pi 41432576 Oct 4 12:50 /opt/iobroker/backups/test_nocompression.tar
                                        -rw-rw-r--+ 1 pi pi 10724080 Oct 4 12:50 /opt/iobroker/backups/test_standard.tar.gz

                                        Gruß Otto

                                        End of output to copy
                                        1 Reply Last reply Reply Quote 0
                                        • O S
                                          O S @fastfoot last edited by

                                          @fastfoot

                                          hier die korrigierte Fassung:


                                          umount not possible
                                          //fritz.box/fritz.nas/intenso/iobroker mounted into /opt/iobroker/backups

                                          file test_standard.tar.gz created
                                          file test_standard.tar.gz done
                                          number of files in test_standard.tar.gz: 155

                                          file test_nocompression.tar created
                                          file test_nocompression.tar done
                                          number of files in test_nocompression.tar: 155

                                          file test_alternative.tar.gz created
                                          file test_alternative.tar.gz done
                                          number of files in test_alternative.tar.gz: 155

                                          listing of created files in /opt/iobroker/backups
                                          -rwxrwxrwx 1 root root 10724083 Oct 4 13:36 /opt/iobroker/backups/test_alternative.tar.gz
                                          -rwxrwxrwx 1 root root 41432576 Oct 4 13:35 /opt/iobroker/backups/test_nocompression.tar
                                          -rwxrwxrwx 1 root root 10724083 Oct 4 13:35 /opt/iobroker/backups/test_standard.tar.gz

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            fastfoot @Radi last edited by

                                            @radi Das sieht mir sehr nach Schrott aus, ich denke da werden die falschen Parameter für das mounten benutzt. Bitte schau mal in deinen Backitup Adapter welche Settings du da benutzt, es geht um die SMB version und die noserverino Option, einzustellen im Skript in den Zeilen 36 + 37

                                            const fritzSMBVers = "3.1.1"; // gültige SMB Version ("1.0","2.0","3.0","3.0.2","3.1.1")oder ""
                                            const noserverinoOpt = true; // Verwendung noserverino Option true/false
                                            

                                            bitte abändern und nochmal laufen lassen

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            906
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            204
                                            15400
                                            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