Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. kann eigenes Bash-Script nicht ausführen

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    kann eigenes Bash-Script nicht ausführen

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

      Danke erst mal für die rege Diskussion.

      Das Ursprungsskript stammt von Stefan Strobel

      #!/bin/bash
       
      # by strobelstefan.org
      # 2019-10-23
      # Version: 2.0
      # https://strobelstefan.org/?p=5985
      #
      # This script creates a full clone of your Raspberry Pi´s SD card.
      ...
      

      Ja, 2019, und leider nicht mehr dort zu finden.
      Grob zusammengefasst stoppt es den ioBroker,
      erstellt eine Kopie der SD (während der Zeit könnte das BS etwas schreiben, stimmt. Ich hatte aber seit 5 Jahren kein erkennbares Problem damit)

      sudo dd if=/dev/mmcblk0 of=${STORAGEPATH}/${IMAGENAME}_$(date +%Y%m%d).img bs=1MB
      

      startet den ioBroker wieder und zippt die vorher gemachte Kopie. Das mache ich nur aus Kapazitätsgründen, da ich die Sicherung dann auf meine PC-Festplatte händisch verschiebe.

      Das ist aber nicht das Problem.
      Sondern, dass er meint, dieses Skript sein gar nicht vorhanden, wenn ich es aufrufe. Geschweige denn, dass es ausgeführt wird. Egal, ob ich es im Terminal mit Pfad oder oder wenn ich mich im Home-Ordner befinde.
      Dass ich das mit sudo aufrufe, denke ich mal stand in seiner Anleitung, kann es aber nicht mehr nachvollziehen. Auf dem alte RasPi funktioniert es, auf dem Neuen hab ich die Probleme....

      docadams 1 Reply Last reply Reply Quote 0
      • docadams
        docadams @docadams last edited by

        Hallo,
        kann ich das Thema noch mal hoch holen?

        Mein Problem ist, dass ein in meinem Home-Ordner befindliches Skript mit folgenden Rechten:

        xx@yy:~/skripte $ ls -l /home/xx/skripte/IMGbackup-shrink.sh
        -rwxr-xr-x 1 xx xx 9238  6. Mai 19:17 /home/xx/skripte/IMGbackup-shrink.sh
        

        beim Aufruf nicht mal gefunden wird:

        sudo /home/pi/IMGbackup-groß.sh
        sudo: unable to execute /home/pi/IMGbackup-groß.sh: No such file or directory
        

        Keine Fehlermeldung des Skripts oder falsche Besitzrechte.
        Auch über andere Wege geht es nicht:

        ls
        bin  IMGbackup-groß.sh  ramdisk  raspiBackupInstallUI.log  skripte
        xx@yy:~ $ ./IMGbackup-groß.sh
        -bash: ./IMGbackup-groß.sh: cannot execute: required file not found
        

        Oder interpretiere ich die Meldung falsch?
        Frohe Pfingsten bzw. ich wünsche, dass ihr schöne Pfingsten hattet.

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

          @docadams

          Zeig mal was unverändertes und vollständiges...

          ls -lah
          
          docadams 1 Reply Last reply Reply Quote 0
          • docadams
            docadams @Thomas Braun last edited by docadams

            Ich befinde mich im .../home/skripte-Ordner:

            pi@ioB5:~/skripte $ ls -lah
            insgesamt 36K
            drwxrwxrwx 2 xx xx 4,0K 18. Mai 11:59  .
            drwx------ 9 xx xx 4,0K 18. Mai 12:01  ..
            -rw-r--r-- 1 xx xx   428  6. Mai 19:34  IMGbackup-Beschreibung
            -rwxr-xr-x 1 xx xx 5,7K  6. Mai 19:48  IMGbackup-groß.sh
            -rwxr-xr-x 1 xx xx 9,1K  6. Mai 19:17  IMGbackup-shrink.sh
            -rw-r--r-- 1 xx xx  111 16. Mai 18:50 'über RasPi-BackUp'
            

            So?

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

              @docadams sagte in kann eigenes Bash-Script nicht ausführen:

              Ich befinde mich im .../home/skripte-Ordner:

              Vollständig bedeutet inklusive des LoginPrompts...

              Und der user und die Gruppe heißt xx?
              Du sollst NICHTS an der Ausgabe verändern. NICHTS wie GAR NICHTS!

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

                Ja, ab dem User-Ordner ist alles User und Gruppe gleich....

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

                  @docadams

                  Ich bin dann raus. So kann man dir nicht helfen.

                  docadams 2 Replies Last reply Reply Quote 1
                  • docadams
                    docadams @Thomas Braun last edited by

                    Hm, ist das das Loginprompt?

                    pi@ioB5:~/skripte $ ls -lah
                    insgesamt 36K
                    drwxrwxrwx 2 pi pi 4,0K 18. Mai 11:59  .
                    drwx------ 9 pi pi 4,0K 18. Mai 12:01  ..
                    -rw-r--r-- 1 pi pi   428  6. Mai 19:34  IMGbackup-Beschreibung
                    -rwxr-xr-x 1 pi pi 5,7K  6. Mai 19:48  IMGbackup-groß.sh
                    -rwxr-xr-x 1 pi pi 9,1K  6. Mai 19:17  IMGbackup-shrink.sh
                    -rw-r--r-- 1 pi pi  111 16. Mai 18:50 'über RasPi-BackUp'
                    
                    DJMarc75 1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @docadams last edited by

                      @docadams
                      ob Du mal wieder die Langfassung von

                      iob diag
                      

                      zeigen magst ?

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

                        @thomas-braun Kannst du mir bitte (wirklich bitte) sagen, was ich falsch gemacht habe, damit mir das nicht wieder passiert?

                        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                        • docadams
                          docadams @DJMarc75 last edited by

                          @djmarc75

                          ======================= SUMMARY =======================
                                                  v.2024-04-21
                          
                          
                           Static hostname: ioB5
                                 Icon name: computer
                          Operating System: Debian GNU/Linux 12 (bookworm)
                                    Kernel: Linux 6.6.20+rpt-rpi-2712
                              Architecture: arm64
                          
                          Installation:           native
                          Kernel:                 aarch64
                          Userland:               64 bit
                          Timezone:               Europe/Berlin (CEST, +0200)
                          User-ID:                1000
                          Display-Server:         false
                          Boot Target:            multi-user.target
                          
                          Pending OS-Updates:     0
                          Pending iob updates:    4
                          
                          Nodejs-Installation:
                          /usr/bin/nodejs         v18.20.2
                          /usr/bin/node           v18.20.2
                          /usr/bin/npm            10.5.0
                          /usr/bin/npx            10.5.0
                          /usr/bin/corepack       0.25.2
                          
                          Recommended versions are nodejs  and npm
                          Your nodejs installation is correct
                          
                          MEMORY:
                                         total        used        free      shared  buff/cache   available
                          Mem:            4.2G        2.8G        496M        5.7M        1.1G        1.5G
                          Swap:           104M          0B        104M
                          Total:          4.3G        2.8G        600M
                          
                          Active iob-Instances:   25
                          Active repo(s): stable
                          
                          ioBroker Core:          js-controller           5.0.19
                                                  admin                   6.13.16
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : ioB5                                     -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.web.0                    : web                   : ioB5                                     -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                19173
                          States:                 16267
                          
                          Size of iob-Database:
                          
                          42M     /opt/iobroker/iobroker-data/objects.jsonl
                          9.4M    /opt/iobroker/iobroker-data/states.jsonl
                          
                          
                          
                          =================== END OF SUMMARY ====================
                          
                          DJMarc75 1 Reply Last reply Reply Quote 0
                          • DJMarc75
                            DJMarc75 @docadams last edited by

                            @docadams Die Langfassung bitte 😉

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

                              @docadams sagte in kann eigenes Bash-Script nicht ausführen:

                              Kannst du mir bitte (wirklich bitte) sagen, was ich falsch gemacht habe, damit mir das nicht wieder passiert?

                              Du machst ja dann doch nicht das was man dir sagt sondern irgendwas anderes. Warum sollte mich das dann kümmern?

                              docadams 1 Reply Last reply Reply Quote 0
                              • docadams
                                docadams @DJMarc75 last edited by

                                @djmarc75 ich war voreilig:

                                Skript v.2024-04-21
                                
                                *** BASE SYSTEM ***
                                 Static hostname: ioB5
                                       Icon name: computer
                                Operating System: Debian GNU/Linux 12 (bookworm)
                                          Kernel: Linux 6.6.20+rpt-rpi-2712
                                    Architecture: arm64
                                
                                Model           : Raspberry Pi 5 Model B Rev 1.0
                                Docker          : false
                                Virtualization  : none
                                Kernel          : aarch64
                                Userland        : 64 bit
                                
                                Systemuptime and Load:
                                 16:58:34 up  3:31,  4 users,  load average: 0.33, 0.39, 0.41
                                CPU threads: 4
                                
                                
                                *** RASPBERRY THROTTLING ***
                                Current issues:
                                No throttling issues detected.
                                
                                Previously detected issues:
                                No throttling issues detected.
                                
                                *** Time and Time Zones ***
                                               Local time: Sat 2024-05-18 16:58:34 CEST
                                           Universal time: Sat 2024-05-18 14:58:34 UTC
                                                 RTC time: Sat 2024-05-18 14:58:34
                                                Time zone: Europe/Berlin (CEST, +0200)
                                System clock synchronized: yes
                                              NTP service: active
                                          RTC in local TZ: no
                                
                                *** Users and Groups ***
                                User that called 'iob diag':
                                pi
                                HOME=/home/pi
                                GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                                
                                User that is running 'js-controller':
                                iobroker
                                HOME=/home/iobroker
                                GROUPS=iobroker tty dialout audio video bluetooth gpio i2c
                                
                                *** Display-Server-Setup ***
                                pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
                                Try `pgrep -f' option to match against the complete command line.
                                Display-Server: false
                                Desktop:
                                Terminal:       tty
                                Boot Target:    multi-user.target
                                
                                *** MEMORY ***
                                               total        used        free      shared  buff/cache   available
                                Mem:            4.2G        2.8G        492M        5.7M        978M        1.4G
                                Swap:           104M          0B        104M
                                Total:          4.3G        2.8G        597M
                                
                                Active iob-Instances:   25
                                
                                         4045 M total memory
                                         2713 M used memory
                                         1673 M active memory
                                         1507 M inactive memory
                                          468 M free memory
                                          139 M buffer memory
                                          794 M swap cache
                                           99 M total swap
                                            0 M used swap
                                           99 M free swap
                                
                                *** top - Table Of Processes  ***
                                top - 16:58:34 up  3:31,  4 users,  load average: 0.33, 0.39, 0.41
                                Tasks: 199 total,   1 running, 198 sleeping,   0 stopped,   0 zombie
                                %Cpu(s): 50.0 us,  0.0 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                                MiB Mem :   4045.2 total,    468.2 free,   2713.9 used,    933.6 buff/cache
                                MiB Swap:    100.0 total,    100.0 free,      0.0 used.   1331.3 avail Mem
                                
                                *** FAILED SERVICES ***
                                
                                  UNIT LOAD ACTIVE SUB DESCRIPTION
                                0 loaded units listed.
                                
                                *** FILESYSTEM ***
                                Filesystem     Type      Size  Used Avail Use% Mounted on
                                udev           devtmpfs  1.9G     0  1.9G   0% /dev
                                tmpfs          tmpfs     405M  5.4M  400M   2% /run
                                /dev/mmcblk0p2 ext4       14G  9.6G  3.4G  74% /
                                tmpfs          tmpfs     2.0G     0  2.0G   0% /dev/shm
                                tmpfs          tmpfs     5.0M   48K  5.0M   1% /run/lock
                                tmpfs          tmpfs     4.0M     0  4.0M   0% /home/pi/ramdisk
                                /dev/mmcblk0p1 vfat      510M   63M  448M  13% /boot/firmware
                                /dev/sdb1      fuseblk    60G  1.8G   59G   3% /media/pishrink
                                /dev/sda1      ext4       15G   11G  3.1G  78% /media/usbstick2
                                tmpfs          tmpfs     405M     0  405M   0% /run/user/1000
                                
                                Messages concerning ext4 filesystem in dmesg:
                                [Sat May 18 13:26:56 2024] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=2C:CF:67:06:3C:82 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=1b8ad338-02 rootfstype=ext4 fsck.repair=yes rootwait
                                [Sat May 18 13:26:59 2024] EXT4-fs (mmcblk0p2): mounted filesystem 93c89e92-8f2e-4522-ad32-68faed883d2f ro with ordered data mode. Quota mode: none.
                                [Sat May 18 13:27:00 2024] EXT4-fs (mmcblk0p2): re-mounted 93c89e92-8f2e-4522-ad32-68faed883d2f r/w. Quota mode: none.
                                [Sat May 18 13:27:02 2024] EXT4-fs (sda1): mounted filesystem e8a037f8-b746-458b-b069-15306353f69c r/w with ordered data mode. Quota mode: none.
                                
                                Show mounted filesystems:
                                TARGET                                                  SOURCE         FSTYPE      OPTIONS
                                /                                                       /dev/mmcblk0p2 ext4        rw,noatime
                                |-/sys                                                  sysfs          sysfs       rw,nosuid,nodev,noexec,relatime
                                | |-/sys/kernel/security                                securityfs     securityfs  rw,nosuid,nodev,noexec,relatime
                                | |-/sys/fs/cgroup                                      cgroup2        cgroup2     rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
                                | |-/sys/fs/pstore                                      pstore         pstore      rw,nosuid,nodev,noexec,relatime
                                | |-/sys/fs/bpf                                         bpf            bpf         rw,nosuid,nodev,noexec,relatime,mode=700
                                | |-/sys/kernel/debug                                   debugfs        debugfs     rw,nosuid,nodev,noexec,relatime
                                | |-/sys/kernel/tracing                                 tracefs        tracefs     rw,nosuid,nodev,noexec,relatime
                                | |-/sys/fs/fuse/connections                            fusectl        fusectl     rw,nosuid,nodev,noexec,relatime
                                | `-/sys/kernel/config                                  configfs       configfs    rw,nosuid,nodev,noexec,relatime
                                |-/proc                                                 proc           proc        rw,relatime
                                | `-/proc/sys/fs/binfmt_misc                            systemd-1      autofs      rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1636
                                |   `-/proc/sys/fs/binfmt_misc                          binfmt_misc    binfmt_misc rw,nosuid,nodev,noexec,relatime
                                |-/dev                                                  udev           devtmpfs    rw,nosuid,relatime,size=1899360k,nr_inodes=118710,mode=755
                                | |-/dev/pts                                            devpts         devpts      rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
                                | |-/dev/shm                                            tmpfs          tmpfs       rw,nosuid,nodev
                                | `-/dev/mqueue                                         mqueue         mqueue      rw,nosuid,nodev,noexec,relatime
                                |-/run                                                  tmpfs          tmpfs       rw,nosuid,nodev,noexec,relatime,size=414240k,mode=755
                                | |-/run/lock                                           tmpfs          tmpfs       rw,nosuid,nodev,noexec,relatime,size=5120k
                                | |-/run/credentials/systemd-sysctl.service             ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
                                | |-/run/credentials/systemd-sysusers.service           ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
                                | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
                                | |-/run/rpc_pipefs                                     sunrpc         rpc_pipefs  rw,relatime
                                | |-/run/credentials/systemd-tmpfiles-setup.service     ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
                                | `-/run/user/1000                                      tmpfs          tmpfs       rw,nosuid,nodev,relatime,size=414224k,nr_inodes=103556,mode=700,uid=1000,gid=1000
                                |-/home/pi/ramdisk                                      tmpfs          tmpfs       rw,nosuid,nodev,relatime,size=4096k
                                |-/boot/firmware                                        /dev/mmcblk0p1 vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                |-/media/pishrink                                       /dev/sdb1      fuseblk     rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
                                `-/media/usbstick2                                      /dev/sda1      ext4        rw,relatime
                                
                                Files in neuralgic directories:
                                
                                /var:
                                812M    /var/
                                273M    /var/log/journal/50cd346a761b44d38a7bdfa202ef46c2
                                273M    /var/log/journal
                                273M    /var/log
                                268M    /var/cache
                                
                                Archived and active journals take up 272.1M in the file system.
                                
                                /opt/iobroker/backups:
                                141M    /opt/iobroker/backups/
                                
                                /opt/iobroker/iobroker-data:
                                761M    /opt/iobroker/iobroker-data/
                                576M    /opt/iobroker/iobroker-data/files
                                158M    /opt/iobroker/iobroker-data/files/vis-2
                                110M    /opt/iobroker/iobroker-data/backup-objects
                                81M     /opt/iobroker/iobroker-data/files/vis-2/static
                                
                                The five largest files in iobroker-data are:
                                43M     /opt/iobroker/iobroker-data/objects.jsonl
                                41M     /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map
                                36M     /opt/iobroker/iobroker-data/files/telegram-menu.admin/build/index.js.map
                                35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                                29M     /opt/iobroker/iobroker-data/states.jsonl
                                
                                USB-Devices by-id:
                                USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                                
                                /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2191391-if00
                                
                                Your zigbee.0 COM-Port is matching 'by-id'. Very good!
                                
                                
                                
                                *** NodeJS-Installation ***
                                
                                /usr/bin/nodejs         v18.20.2
                                /usr/bin/node           v18.20.2
                                /usr/bin/npm            10.5.0
                                /usr/bin/npx            10.5.0
                                /usr/bin/corepack       0.25.2
                                
                                
                                nodejs:
                                  Installed: 18.20.2-1nodesource1
                                  Candidate: 18.20.2-1nodesource1
                                  Version table:
                                 *** 18.20.2-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                        100 /var/lib/dpkg/status
                                     18.20.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.20.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.19.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.19.0+dfsg-6~deb12u1 500
                                        500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                                     18.19.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.18.2-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.18.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     18.18.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                     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+dfsg1-1 500
                                        500 http://deb.debian.org/debian bookworm/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
                                
                                Temp directories causing npm8 problem: 0
                                No problems detected
                                
                                Errors in npm tree:
                                
                                *** ioBroker-Installation ***
                                
                                ioBroker Status
                                iobroker is running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                Core adapters versions
                                js-controller:  5.0.19
                                admin:          6.13.16
                                javascript:     7.8.0
                                
                                nodejs modules from github:     0
                                
                                Adapter State
                                + system.adapter.admin.0                  : admin                 : ioB5                                     -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  system.adapter.alexa2.0                 : alexa2                : ioB5                                     - disabled
                                  system.adapter.alias-manager.0          : alias-manager         : ioB5                                     -  enabled
                                + system.adapter.backitup.0               : backitup              : ioB5                                     -  enabled
                                  system.adapter.birthdays.0              : birthdays             : ioB5                                     -  enabled
                                  system.adapter.bluelink.0               : bluelink              : ioB5                                     - disabled
                                + system.adapter.bydhvs.0                 : bydhvs                : ioB5                                     -  enabled
                                  system.adapter.daswetter.0              : daswetter             : ioB5                                     -  enabled
                                  system.adapter.devices.0                : devices               : ioB5                                     -  enabled
                                + system.adapter.discovery.0              : discovery             : ioB5                                     -  enabled
                                  system.adapter.dwd.0                    : dwd                   : ioB5                                     -  enabled
                                + system.adapter.energiefluss-erweitert.0 : energiefluss-erweitert: ioB5                                     -  enabled
                                  system.adapter.feiertage.0              : feiertage             : ioB5                                     -  enabled
                                  system.adapter.flot.0                   : flot                  : ioB5                                     -  enabled
                                + system.adapter.fritzdect.0              : fritzdect             : ioB5                                     -  enabled
                                + system.adapter.fronius-solarweb.0       : fronius-solarweb      : ioB5                                     -  enabled
                                + system.adapter.fronius.0                : fronius               : ioB5                                     -  enabled
                                + system.adapter.fronius.1                : fronius               : ioB5                                     -  enabled
                                + system.adapter.go-e.0                   : go-e                  : ioB5                                     -  enabled
                                + system.adapter.history.0                : history               : ioB5                                     -  enabled
                                  system.adapter.ical.0                   : ical                  : ioB5                                     -  enabled
                                  system.adapter.icons-material-svg.0     : icons-material-svg    : ioB5                                     -  enabled
                                  system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioB5                                     -  enabled
                                + system.adapter.javascript.0             : javascript            : ioB5                                     -  enabled
                                  system.adapter.material.0               : material              : ioB5                                     -  enabled
                                  system.adapter.mqtt.0                   : mqtt                  : ioB5                                     - disabled, port: 1883, bind: 0.0.0.0
                                  system.adapter.netatmo-crawler.0        : netatmo-crawler       : ioB5                                     -  enabled
                                + system.adapter.node-red.0               : node-red              : ioB5                                     -  enabled, port: 1880, bind: 0.0.0.0
                                  system.adapter.openweathermap.0         : openweathermap        : ioB5                                     -  enabled
                                  system.adapter.owfs.0                   : owfs                  : ioB5                                     - disabled, port: 4304
                                  system.adapter.ping.0                   : ping                  : ioB5                                     - disabled
                                  system.adapter.rpi2.0                   : rpi2                  : ioB5                                     - disabled
                                  system.adapter.schoolfree.0             : schoolfree            : ioB5                                     -  enabled
                                + system.adapter.shelly.0                 : shelly                : ioB5                                     -  enabled, port: 1882, bind: 0.0.0.0
                                + system.adapter.shelly.1                 : shelly                : ioB5                                     -  enabled, port: 1885, bind: 0.0.0.0
                                + system.adapter.sonoff.0                 : sonoff                : ioB5                                     -  enabled, port: 1888, bind: 192.168.178.103
                                + system.adapter.tankerkoenig.0           : tankerkoenig          : ioB5                                     -  enabled
                                  system.adapter.telegram-menu.0          : telegram-menu         : ioB5                                     - disabled
                                  system.adapter.telegram.0               : telegram              : ioB5                                     - disabled, port: 8443, bind: 0.0.0.0
                                + system.adapter.telegram.1               : telegram              : ioB5                                     -  enabled, port: 8443, bind: 0.0.0.0
                                + system.adapter.tibberlink.0             : tibberlink            : ioB5                                     -  enabled
                                + system.adapter.tr-064.0                 : tr-064                : ioB5                                     -  enabled
                                + system.adapter.tronity.0                : tronity               : ioB5                                     -  enabled
                                + system.adapter.vis-2.0                  : vis-2                 : ioB5                                     -  enabled
                                  system.adapter.vis-history.0            : vis-history           : ioB5                                     -  enabled
                                  system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioB5                                     -  enabled
                                  system.adapter.vis-map.0                : vis-map               : ioB5                                     -  enabled
                                  system.adapter.vis-material.0           : vis-material          : ioB5                                     -  enabled
                                  system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioB5                                     -  enabled
                                  system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioB5                                     -  enabled
                                  system.adapter.vis-weather.0            : vis-weather           : ioB5                                     -  enabled
                                  system.adapter.vis.0                    : vis                   : ioB5                                     -  enabled
                                  system.adapter.weatherunderground.0     : weatherunderground    : ioB5                                     -  enabled
                                + system.adapter.web.0                    : web                   : ioB5                                     -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                + system.adapter.zigbee.0                 : zigbee                : ioB5                                     -  enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2191391-if00
                                
                                + instance is alive
                                
                                Enabled adapters with bindings
                                + system.adapter.admin.0                  : admin                 : ioB5                                     -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.node-red.0               : node-red              : ioB5                                     -  enabled, port: 1880, bind: 0.0.0.0
                                + system.adapter.shelly.0                 : shelly                : ioB5                                     -  enabled, port: 1882, bind: 0.0.0.0
                                + system.adapter.shelly.1                 : shelly                : ioB5                                     -  enabled, port: 1885, bind: 0.0.0.0
                                + system.adapter.sonoff.0                 : sonoff                : ioB5                                     -  enabled, port: 1888, bind: 192.168.178.103
                                + system.adapter.telegram.1               : telegram              : ioB5                                     -  enabled, port: 8443, bind: 0.0.0.0
                                + system.adapter.web.0                    : web                   : ioB5                                     -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                + system.adapter.zigbee.0                 : zigbee                : ioB5                                     -  enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2191391-if00
                                
                                ioBroker-Repositories
                                stable        : http://download.iobroker.net/sources-dist.json
                                beta          : http://download.iobroker.net/sources-dist-latest.json
                                
                                Active repo(s): stable
                                
                                Installed ioBroker-Instances
                                Used repository: stable
                                Adapter    "admin"        : 6.13.16  , installed 6.13.16
                                Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
                                Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                                Adapter    "birthdays"    : 2.4.1    , installed 2.4.1
                                Adapter    "bluelink"     : 2.3.6    , installed 2.3.6
                                Adapter    "bydhvs"       : 1.5.0    , installed 1.5.0
                                Adapter    "daikin"       : 1.4.2    , installed 1.4.2
                                Adapter    "daswetter"    : 3.1.13   , installed 3.1.13
                                Adapter    "devices"      : 1.1.5    , installed 1.1.5
                                Adapter    "discovery"    : 4.4.0    , installed 4.4.0
                                Adapter    "dwd"          : 2.8.5    , installed 2.8.5
                                Adapter    "energiefluss-erweitert": 0.4.1, installed 0.4.1
                                Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
                                Adapter    "flot"         : 1.12.0   , installed 1.12.0
                                Adapter    "fritzdect"    : 2.5.9    , installed 2.5.9
                                Adapter    "fronius"      : 2.0.2    , installed 2.0.2
                                Adapter    "fronius-solarweb": 0.0.3 , installed 0.1.0
                                Adapter    "go-e"         : 1.0.29   , installed 1.0.29
                                Adapter    "history"      : 3.0.1    , installed 3.0.1
                                Adapter    "ical"         : 1.15.0   , installed 1.14.3 [Updatable]
                                Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                                Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                                Adapter    "javascript"   : 7.8.0    , installed 7.8.0
                                Controller "js-controller": 5.0.19   , installed 5.0.19
                                Adapter    "material"     : 1.3.1    , installed 1.3.1
                                Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
                                Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
                                Adapter    "node-red"     : 5.2.1    , installed 5.2.1
                                Adapter    "openweathermap": 1.0.4   , installed 1.0.4
                                Adapter    "owfs"         : 0.7.0    , installed 0.7.0
                                Adapter    "ping"         : 1.6.2    , installed 1.6.2
                                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                Adapter    "schoolfree"   : 1.1.4    , installed 1.1.4
                                Adapter    "shelly"       : 6.9.0    , installed 6.9.0
                                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                Adapter    "socketio"     : 6.7.0    , installed 6.7.0
                                Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
                                Adapter    "tankerkoenig" : 3.4.0    , installed 3.3.7  [Updatable]
                                Adapter    "telegram"     : 3.2.1    , installed 3.2.1
                                Adapter    "telegram-menu": 1.6.3    , installed 1.6.3
                                Adapter    "tibberlink"   : 3.0.1    , installed 2.3.2  [Updatable]
                                Adapter    "tr-064"       : 4.3.0    , installed 4.2.18 [Updatable]
                                Adapter    "tronity"      : 1.1.1    , installed 1.1.1
                                Adapter    "vis"          : 1.5.4    , installed 1.5.4
                                Adapter    "vis-2"        : 2.9.32   , installed 2.9.32
                                Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
                                Adapter    "vis-map"      : 1.0.5    , installed 1.0.5
                                Adapter    "vis-material" : 0.1.3    , installed 0.1.3
                                Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                                Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                Adapter    "vis-weather"  : 2.5.9    , installed 2.5.9
                                Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                                Adapter    "web"          : 6.2.5    , installed 6.2.5
                                Adapter    "ws"           : 2.6.1    , installed 2.6.1
                                Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
                                
                                Objects and States
                                Please stand by - This may take a while
                                Objects:        19173
                                States:         16267
                                
                                *** OS-Repositories and Updates ***
                                Hit:1 http://deb.debian.org/debian bookworm InRelease
                                Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                                Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                                Hit:4 http://deb.debian.org/debian bookworm-updates 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:1880            0.0.0.0:*               LISTEN      1001       3922       963/node-red
                                tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       6678       1073/io.shelly.0
                                tcp        0      0 0.0.0.0:1885            0.0.0.0:*               LISTEN      1001       6776       1168/io.shelly.1
                                tcp        0      0 192.168.178.103:1888    0.0.0.0:*               LISTEN      1001       6734       1123/io.sonoff.0
                                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       7336       809/iobroker.js-con
                                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       7329       809/iobroker.js-con
                                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          6369       817/sshd: /usr/sbin
                                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       3861       848/io.admin.0
                                tcp6       0      0 :::8082                 :::*                    LISTEN      1001       7843       1258/io.web.0
                                tcp6       0      0 :::22                   :::*                    LISTEN      0          6371       817/sshd: /usr/sbin
                                udp        0      0 0.0.0.0:36723           0.0.0.0:*                           104        7225       684/avahi-daemon: r
                                udp        0      0 192.168.178.103:5353    0.0.0.0:*                           1001       7616       1008/io.tr-064.0
                                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        7223       684/avahi-daemon: r
                                udp6       0      0 fe80::ed64:5869:656:546 :::*                                0          3830       772/NetworkManager
                                udp6       0      0 :::51817                :::*                                104        7226       684/avahi-daemon: r
                                udp6       0      0 :::5353                 :::*                                104        7224       684/avahi-daemon: r
                                
                                *** Log File - Last 25 Lines ***
                                
                                2024-05-18 16:35:02.955  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:36:00.009  - info: host.ioB5 instance system.adapter.dwd.0 started with pid 34065
                                2024-05-18 16:36:01.831  - info: host.ioB5 instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:37:57.783  - info: web.0 (1258) <== Disconnect system.user.admin from ::ffff:192.168.178.45 flot
                                2024-05-18 16:37:58.682  - info: web.0 (1258) ==> Connected system.user.admin from ::ffff:192.168.178.45
                                2024-05-18 16:40:00.009  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 started with pid 34583
                                2024-05-18 16:40:02.973  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:45:00.012  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 started with pid 35201
                                2024-05-18 16:45:03.247  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:45:04.018  - info: host.ioB5 instance system.adapter.dwd.0 started with pid 35217
                                2024-05-18 16:45:05.865  - info: host.ioB5 instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:45:08.023  - info: host.ioB5 instance system.adapter.daswetter.0 started with pid 35232
                                2024-05-18 16:45:19.039  - info: host.ioB5 instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:47:57.857  - info: web.0 (1258) <== Disconnect system.user.admin from ::ffff:192.168.178.45 flot
                                2024-05-18 16:47:58.853  - info: web.0 (1258) ==> Connected system.user.admin from ::ffff:192.168.178.45
                                2024-05-18 16:50:00.008  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 started with pid 35871
                                2024-05-18 16:50:03.265  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:54:00.014  - info: host.ioB5 instance system.adapter.dwd.0 started with pid 36373
                                2024-05-18 16:54:01.828  - info: host.ioB5 instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:54:04.020  - info: host.ioB5 instance system.adapter.openweathermap.0 started with pid 36388
                                2024-05-18 16:54:22.550  - info: host.ioB5 instance system.adapter.openweathermap.0 terminated with code 0 (NO_ERROR)
                                2024-05-18 16:55:00.009  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 started with pid 36518
                                2024-05-18 16:55:02.964  - info: host.ioB5 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2024-05-18 16:57:57.775  - info: web.0 (1258) <== Disconnect system.user.admin from ::ffff:192.168.178.45 flot
                                2024-05-18 16:57:58.762  - info: web.0 (1258) ==> Connected system.user.admin from ::ffff:192.168.178.45
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • docadams
                                  docadams @Thomas Braun last edited by

                                  @thomas-braun
                                  Dann aus Unvermögen, auf keinem Fall aus (böser) Absicht.

                                  Meister Mopper 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @docadams last edited by

                                    @docadams sagte in kann eigenes Bash-Script nicht ausführen:

                                    @thomas-braun Kannst du mir bitte (wirklich bitte) sagen, was ich falsch gemacht habe, damit mir das nicht wieder passiert?

                                    @thomas-braun sagte in kann eigenes Bash-Script nicht ausführen:

                                    der user und die Gruppe heißt xx?
                                    Du sollst NICHTS an der Ausgabe verändern. NICHTS wie GAR NICHTS!

                                    bezogen auf

                                    insgesamt 36K
                                    
                                    drwxrwxrwx 2 xx xx 4,0K 18. Mai 11:59  .
                                    drwx------ 9 xx xx 4,0K 18. Mai 12:01  ..
                                    -rw-r--r-- 1 xx xx   428  6. Mai 19:34  IMGbackup-Beschreibung
                                    -rwxr-xr-x 1 xx xx 5,7K  6. Mai 19:48  IMGbackup-groß.sh
                                    -rwxr-xr-x 1 xx xx 9,1K  6. Mai 19:17  IMGbackup-shrink.sh
                                    -rw-r--r-- 1 xx xx  111 16. Mai 18:50 'über RasPi-BackUp'
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Meister Mopper
                                      Meister Mopper @docadams last edited by

                                      @docadams sagte in kann eigenes Bash-Script nicht ausführen:

                                      @thomas-braun
                                      Dann aus Unvermögen, auf keinem Fall aus (böser) Absicht.

                                      Eine böse Absicht wurde dir ja auch gar nicht unterstellt, aber:

                                      Die Ursache der größten Mängel in Linux-Systemen stellte sich hier in der Vergangenheit mit dem Umgang mit den Zugriffsrechten auf Dateien dar.

                                      Viele Anwender konfigurieren ihre Systeme mit dem User root, und das führt in den meisten Fällen früher oder später zu Rechteproblemen.

                                      Jemand, der sich damit sehr gut auskennt, ist @Thomas-Braun.

                                      Wenn du die wichtigsten Informationen zu den Rechten (aus welchen unverständlichen Gründen auch immer) wie hier versteckst (xx),

                                      drwxrwxrwx 2 xx xx 4,0K 18. Mai 11:59  .
                                      drwx------ 9 xx xx 4,0K 18. Mai 12:01  ..
                                      -rw-r--r-- 1 xx xx   428  6. Mai 19:34  IMGbackup-Beschreibung
                                      -rwxr-xr-x 1 xx xx 5,7K  6. Mai 19:48  IMGbackup-groß.sh
                                      -rwxr-xr-x 1 xx xx 9,1K  6. Mai 19:17  IMGbackup-shrink.sh
                                      -rw-r--r-- 1 xx xx  111 16. Mai 18:50 'über RasPi-BackUp'
                                      

                                      kann natürlich niemand das wirkliche Problem erkennen und dir helfen.

                                      1 Reply Last reply Reply Quote 1
                                      • docadams
                                        docadams last edited by

                                        @meister-mopper

                                        Ja, ich hatte es zunächst unvollständig gepostet.
                                        Mein nächster Fehler war, dass ich auf seinen Einwand hin es in meinem unvollständigen Post korrigiert hatte.
                                        Erst danach hatte ich es noch mal vollständig gepostet. Zumindest hatte ich so seine Kritik verstanden. Ansonsten weiß ich nicht, was mit LoginPrompt gemeint ist.

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

                                          @docadams

                                          https://strobelstefan.de/blog/2022/02/23/imagebackup-skript-optimiert/
                                          oder
                                          https://raspibackup.linux-tips-and-tricks.de/de/home-deutsch/

                                          verwenden. Und in Dateinamen keine Sonderzeichen wie Umlaute; Leerzeichen und sonstiges Zeug verwenden.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          1.1k
                                          Online

                                          31.6k
                                          Users

                                          79.5k
                                          Topics

                                          1.3m
                                          Posts

                                          6
                                          25
                                          962
                                          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