Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspberry "friert ein" nach Aufruf von ioBroker

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspberry "friert ein" nach Aufruf von ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Greenhorn @Thomas Braun last edited by

      @thomas-braun Der Befehl diag" ergibt die Anzeige, dass nodejs nicht korrekt installiert ist und verweist auf https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
      Das probiere ich gerade, aber der Befehl sudo rm ´sudo find / -name nodesource.key´ wird mit "rm: missing operand" quittiert...
      was tun?

      Codierknecht Meister Mopper 2 Replies Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @Greenhorn last edited by

        @greenhorn sagte in Raspberry "friert ein" nach Aufruf von ioBroker:

        Der Befehl diag" ergibt die Anzeige

        Nicht erzählen: Zeigen!

        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

        1 Reply Last reply Reply Quote 0
        • Meister Mopper
          Meister Mopper @Greenhorn last edited by

          @greenhorn sagte in Raspberry "friert ein" nach Aufruf von ioBroker:

          @thomas-braun Der Befehl diag" ergibt die Anzeige, dass nodejs nicht korrekt installiert ist und verweist auf https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
          Das probiere ich gerade, aber der Befehl sudo rm ´sudo find / -name nodesource.key´ wird mit "rm: missing operand" quittiert...
          was tun?

          Mach mal ein

          sudo dpkg --configure -a
          

          so, wie es geschrieben stand.

          G 2 Replies Last reply Reply Quote 0
          • G
            Greenhorn @Meister Mopper last edited by

            @meister-mopper Es passiert nichts und die Eingabe-Aufforderung wird wieder angezeigt...

            Meister Mopper 1 Reply Last reply Reply Quote 0
            • G
              Greenhorn @Meister Mopper last edited by

              @meister-mopper said in Raspberry "friert ein" nach Aufruf von ioBroker:

              sudo dpkg --configure -a

              simon@iobroker:~ $ sudo dpkg --configure -a
              simon@iobroker:~ $

              wendy2702 1 Reply Last reply Reply Quote 0
              • Meister Mopper
                Meister Mopper @Greenhorn last edited by

                @greenhorn sagte in Raspberry "friert ein" nach Aufruf von ioBroker:

                @meister-mopper Es passiert nichts und die Eingabe-Aufforderung wird wieder angezeigt...

                Dann klöppel mal endlich ein iob diag hier rein (</>). Sonst geht es ja nicht weiter.

                G 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @Greenhorn last edited by

                  @greenhorn kannst du mal die komplette Ausgabe von dem

                     iob fix
                  

                  Und anschließend dem

                  NodeJS Update Befehl hier zeigen.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Greenhorn @Meister Mopper last edited by

                    @meister-mopper said in Raspberry "friert ein" nach Aufruf von ioBroker:

                    iob diag

                    Hoffe, das ist richtig:

                    Copy text starting here:

                    ======================= SUMMARY =======================
                    			v.2023-10-10
                    
                    
                       Static hostname: iobroker
                             Icon name: computer
                      Operating System: Debian GNU/Linux 11 (bullseye)
                                Kernel: Linux 6.1.21-v8+
                          Architecture: arm64
                    
                    Installation: 		native
                    Kernel: 		aarch64
                    Userland: 		arm64
                    Timezone: 		Europe/London (GMT, +0000)
                    User-ID: 		1000
                    X-Server: 		false
                    Boot Target: 		multi-user.target
                    
                    Pending OS-Updates: 	3
                    Pending iob updates: 	14
                    
                    Nodejs-Installation: 	/usr/bin/nodejs 	v12.22.12
                    			/usr/bin/node 		v12.22.12
                    /home/iobroker/.diag.sh: line 488: npm: command not found
                    			 		
                    /home/iobroker/.diag.sh: line 489: npx: command not found
                    			 		
                    /home/iobroker/.diag.sh: line 490: corepack: command not found
                    			 	
                    
                    Recommended versions are nodejs Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"! and npm 
                    *** nodejs is NOT correctly installed ***
                    Wrong installation path detected. This needs to be fixed.
                    
                    Please check
                    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                    for more information on how to fix these errors.
                    
                    MEMORY: 
                                   total        used        free      shared  buff/cache   available
                    Mem:            3.8G        2.0G        947M        1.0M        885M        2.0G
                    Swap:            99M          0B         99M
                    Total:          3.9G        2.0G        1.0G
                    
                    Active iob-Instances: 	9
                    Active repo(s): stable
                    
                    ioBroker Core: 		js-controller 		4.0.24
                    			admin 			6.8.0
                    
                    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                                 - disabled, port: 8081, 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: 		3908
                    States: 		3264
                    
                    Size of iob-Database:
                    
                    244M	/opt/iobroker/iobroker-data/objects.jsonl
                    2.5M	/opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    
                    =================== END OF SUMMARY ====================
                    

                    === Mark text until here for copying ===
                    simon@iobroker:~ $

                    wendy2702 1 Reply Last reply Reply Quote 0
                    • G
                      Greenhorn @wendy2702 last edited by

                      @wendy2702 said in Raspberry "friert ein" nach Aufruf von ioBroker:

                      iob
                      simon@iobroker:~ $ iob fix
                      library: loaded
                      Library version=2024-01-04
                      ioBroker or some processes are still running:
                      io.sonoff.0
                      io.hmip.0
                      io.mqtt.0
                      io.discovery.0
                      io.web.0
                      io.link.0
                      io.midea.0
                      io.iqontrol.0
                      Please stop them first and try again!
                      simon@iobroker:~ $

                      Hoffe, das ist richtig:

                      simon@iobroker:~ $ NODE_MAJOR=18
                      simon@iobroker:~ $ sudo apt update
                      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://apt.grafana.com stable InRelease
                      Get:6 https://repos.influxdata.com/debian bullseye InRelease [7,049 B]
                      Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
                      Err:6 https://repos.influxdata.com/debian bullseye InRelease
                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                      Reading package lists... Done
                      W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                      E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                      N: See apt-secure(8) manpage for repository creation and user configuration details.
                      simon@iobroker:~ $

                      1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @Greenhorn last edited by

                        @greenhorn ist zwar nur die Kurzfassung aber:

                        Altes OS mit uralter NodeJs Version.

                        Hast du Backups?

                        Dein Admin läuft nicht wenn ich das richtig sehe:

                           iob start admin.0
                        
                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Greenhorn @wendy2702 last edited by

                          @wendy2702 Nein, leider kein richtiges Backup...

                          wendy2702 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Greenhorn last edited by

                            @greenhorn

                            Du hast ein log vom fix Befehl gepostet.

                            Da steht am Ende drin das Iob noch läuft und zuerst gestoppt werden soll.

                            Hast du das gelesen und gemacht?

                            Das mit dem NodeJS was du gepostet hast, ist das was vollständiges?

                            G 2 Replies Last reply Reply Quote 0
                            • G
                              Greenhorn @wendy2702 last edited by

                              @wendy2702 Sorry, ich komme da leider nicht ganz mit. Wie kann ich das mit dem NodeJS vollständig erhalten?

                              1 Reply Last reply Reply Quote 0
                              • G
                                Greenhorn @wendy2702 last edited by

                                @wendy2702

                                simon@iobroker:~ $ iob stop
                                simon@iobroker:~ $ iob fix
                                library: loaded
                                Library version=2024-01-04

                                ==========================================================================

                                Welcome to the ioBroker installation fixer!
                                Script version: 2024-01-04
                                
                                You might need to enter your password a couple of times.
                                

                                ==========================================================================

                                ==========================================================================
                                Installing prerequisites (1/5)

                                Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                Hit:2 http://deb.debian.org/debian bullseye InRelease
                                Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                                Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,049 B]
                                Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                                Hit:7 https://apt.grafana.com stable InRelease
                                Err:5 https://repos.influxdata.com/debian bullseye InRelease
                                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                Reading package lists... Done
                                W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                N: See apt-secure(8) manpage for repository creation and user configuration details.

                                ==========================================================================
                                Checking ioBroker user and directory permissions (2/5)

                                Created /etc/sudoers.d/iobroker
                                Fixing directory permissions...

                                ==========================================================================
                                Check and cleanup npm temporary directories (3/5)

                                Done.

                                ==========================================================================
                                Database maintenance (4/5)

                                Checking for uncompressed JSONL databases... This might take a while!

                                usage: sudo -h | -K | -k | -V
                                usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
                                usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
                                usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
                                usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
                                main: line 14: [: -lt: unary operator expected
                                sudo: npm: command not found

                                ==========================================================================
                                Checking autostart (5/5)

                                Enabling autostart...
                                Autostart enabled!

                                ==========================================================================

                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                                

                                ==========================================================================

                                simon@iobroker:~ $ iobroker start
                                simon@iobroker:~ $

                                1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 last edited by wendy2702

                                  Diese Reihenfolge

                                  iob stop
                                  iob fix
                                  

                                  Dann die komplette Ausgabe davon hier als Text posten.

                                  Dann schauen wir mal weiter

                                  Edit: ht sich überschnitten mit deinem post

                                  1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 last edited by

                                    Dann jetzt mal

                                    iob diag
                                    

                                    Davon dann auch die Langfassung Ausgabe mal zeigen

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Greenhorn @wendy2702 last edited by

                                      @wendy2702 said in Raspberry "friert ein" nach Aufruf von ioBroker:

                                      iob diag

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

                                      Skript v.2023-10-10
                                      
                                      *** BASE SYSTEM ***
                                         Static hostname: iobroker
                                               Icon name: computer
                                        Operating System: Debian GNU/Linux 11 (bullseye)
                                                  Kernel: Linux 6.1.21-v8+
                                            Architecture: arm64
                                      
                                      Model		: Raspberry Pi 4 Model B Rev 1.5
                                      Docker          : false
                                      Virtualization  : none
                                      Kernel          : aarch64
                                      Userland        : arm64
                                      
                                      Systemuptime and Load:
                                       19:47:29 up 32 min,  1 user,  load average: 0.31, 0.55, 0.47
                                      CPU threads: 4
                                      
                                      
                                      *** RASPBERRY THROTTLING ***
                                      Current issues:
                                      No throttling issues detected.
                                      
                                      Previously detected issues:
                                      No throttling issues detected.
                                      
                                      *** Time and Time Zones ***
                                                     Local time: Sun 2024-02-25 19:47:30 GMT
                                                 Universal time: Sun 2024-02-25 19:47:30 UTC
                                                       RTC time: n/a
                                                      Time zone: Europe/London (GMT, +0000)
                                      System clock synchronized: yes
                                                    NTP service: active
                                                RTC in local TZ: no
                                      
                                      *** User and Groups ***
                                      simon
                                      /home/simon
                                      simon 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        955M        1.0M        1.0G        2.2G
                                      Swap:            99M          0B         99M
                                      Total:          3.9G        1.8G        1.1G
                                      
                                               3794 M total memory
                                               1830 M used memory
                                               1700 M active memory
                                                921 M inactive memory
                                                955 M free memory
                                                 75 M buffer memory
                                                932 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
                                      
                                      *** FAILED SERVICES ***
                                      
                                        UNIT LOAD ACTIVE SUB DESCRIPTION
                                      0 loaded units listed.
                                      
                                      *** FILESYSTEM ***
                                      Filesystem     Type      Size  Used Avail Use% Mounted on
                                      /dev/root      ext4       29G  4.7G   24G  17% /
                                      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/mmcblk0p1 vfat      255M   32M  223M  13% /boot
                                      tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
                                      
                                      Messages concerning ext4 filesystem in dmesg:
                                      [Sun Feb 25 19:14:33 2024] 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 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=D8:3A:DD:0F:E4:E2 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=fe379c38-02 rootfstype=ext4 fsck.repair=yes rootwait
                                      [Sun Feb 25 19:14:34 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                                      [Sun Feb 25 19:14:34 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                      [Sun Feb 25 19:14:37 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                                      
                                      Show mounted filesystems \(real ones only\):
                                      TARGET  SOURCE         FSTYPE OPTIONS
                                      /       /dev/mmcblk0p2 ext4   rw,noatime
                                      `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                      
                                      Files in neuralgic directories:
                                      
                                      /var:
                                      1.4G	/var/
                                      859M	/var/log
                                      841M	/var/log/journal/2afb5f7f70fe4270a1433886fb089ee5
                                      841M	/var/log/journal
                                      302M	/var/cache
                                      
                                      Archived and active journals take up 840.1M in the file system.
                                      
                                      /opt/iobroker/backups:
                                      55M	/opt/iobroker/backups/
                                      
                                      /opt/iobroker/iobroker-data:
                                      463M	/opt/iobroker/iobroker-data/
                                      135M	/opt/iobroker/iobroker-data/files
                                      52M	/opt/iobroker/iobroker-data/files/javascript.admin
                                      40M	/opt/iobroker/iobroker-data/backup-objects
                                      34M	/opt/iobroker/iobroker-data/files/javascript.admin/static
                                      
                                      The five largest files in iobroker-data are:
                                      285M	/opt/iobroker/iobroker-data/objects.jsonl
                                      7.1M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.f22de4ab.chunk.js.map
                                      6.3M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                                      5.8M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/550.cfbef968.chunk.js.map
                                      4.6M	/opt/iobroker/iobroker-data/files/javascript.admin/vs/language/typescript/tsWorker.js
                                      
                                      USB-Devices by-id:
                                      USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                                      
                                      find: '/dev/serial/by-id/': No such file or directory
                                      
                                      *** NodeJS-Installation ***
                                      
                                      /usr/bin/nodejs 	v12.22.12
                                      /usr/bin/node 		v12.22.12
                                      /home/iobroker/.diag.sh: line 279: npm: command not found
                                       		
                                      /home/iobroker/.diag.sh: line 280: npx: command not found
                                       		
                                      /home/iobroker/.diag.sh: line 281: corepack: command not found
                                       	
                                      /home/iobroker/.diag.sh: line 290: npm: command not found
                                      /home/iobroker/.diag.sh: line 291: npx: command not found
                                      *** nodejs is NOT correctly installed ***
                                      
                                      nodejs:
                                        Installed: 12.22.12~dfsg-1~deb11u4
                                        Candidate: 18.19.1-1nodesource1
                                        Version table:
                                           18.19.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.19.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.18.2-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.18.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.18.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.17.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.17.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.16.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.16.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.15.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.14.2-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.14.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.14.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.13.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.12.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.11.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.10.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.9.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.9.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.8.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.7.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.6.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.5.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.4.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.3.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.2.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.1.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                           18.0.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                       *** 12.22.12~dfsg-1~deb11u4 500
                                              500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                              500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                              100 /var/lib/dpkg/status
                                      
                                      Temp directories causing npm8 problem: 0
                                      No problems detected
                                      
                                      Errors in npm tree:
                                      /home/iobroker/.diag.sh: line 360: npm: command not found
                                      
                                      *** ioBroker-Installation ***
                                      
                                      ioBroker Status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: jsonl
                                      
                                      Core adapters versions
                                      js-controller: 	4.0.24
                                      admin: 		6.8.0
                                      javascript: 	7.1.4
                                      
                                      /home/iobroker/.diag.sh: line 375: npm: command not found
                                      Adapters from github: 	0
                                      
                                      Adapter State
                                        system.adapter.admin.0                  : admin                 : iobroker                                 - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        system.adapter.backitup.0               : backitup              : iobroker                                 - disabled
                                      + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                                      + system.adapter.hmip.0                   : hmip                  : iobroker                                 -  enabled
                                        system.adapter.influxdb.0               : influxdb              : iobroker                                 - disabled, port: 8086
                                      + system.adapter.iqontrol.0               : iqontrol              : iobroker                                 -  enabled
                                        system.adapter.jarvis.0                 : jarvis                : iobroker                                 - disabled
                                        system.adapter.javascript.0             : javascript            : iobroker                                 - disabled
                                      + system.adapter.link.0                   : link                  : iobroker                                 -  enabled
                                      + system.adapter.midea.0                  : midea                 : iobroker                                 -  enabled
                                      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 192.168.178.96
                                        system.adapter.shelly.0                 : shelly                : iobroker                                 - disabled, port: 1882, bind: 0.0.0.0
                                      + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
                                        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
                                        system.adapter.vis.0                    : vis                   : iobroker                                 - disabled
                                      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        system.adapter.zigbee.0                 : zigbee                : iobroker                                 - disabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0
                                        system.adapter.zigbee2mqtt.0            : zigbee2mqtt           : iobroker                                 - disabled
                                      
                                      + instance is alive
                                      
                                      Enabled adapters with bindings
                                      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 192.168.178.96
                                      + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, 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        : 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.8.0  [Updatable]
                                      Adapter    "backitup"     : 2.10.11  , installed 2.6.23 [Updatable]
                                      Adapter    "discovery"    : 4.2.0    , installed 3.1.0  [Updatable]
                                      Adapter    "hmip"         : 1.21.0   , installed 1.20.0 [Updatable]
                                      Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
                                      Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
                                      Adapter    "jarvis"       : 3.1.8    , installed 3.1.2  [Updatable]
                                      Adapter    "javascript"   : 7.8.0    , installed 7.1.4  [Updatable]
                                      Controller "js-controller": 5.0.19   , installed 4.0.24 [Updatable]
                                      Adapter    "link"         : 0.5.12   , installed 0.5.12
                                      Adapter    "midea"        : 0.0.7    , installed 0.0.7
                                      Adapter    "mqtt"         : 5.2.0    , installed 4.1.1  [Updatable]
                                      Adapter    "shelly"       : 6.6.1    , installed 6.4.1  [Updatable]
                                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                      Adapter    "socketio"     : 6.6.0    , installed 4.2.0  [Updatable]
                                      Adapter    "sonoff"       : 3.0.3    , installed 2.5.3  [Updatable]
                                      Adapter    "tuya"         : 3.15.0   , installed 3.15.0
                                      Adapter    "vis"          : 1.5.4    , installed 1.5.4
                                      Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
                                      Adapter    "web"          : 6.2.3    , installed 4.3.0  [Updatable]
                                      Adapter    "ws"           : 2.5.10   , installed 1.3.0  [Updatable]
                                      Adapter    "zigbee"       : 1.10.1   , installed 1.9.7  [Updatable]
                                      Adapter    "zigbee2mqtt"  : 2.13.4   , installed 2.13.4
                                      
                                      Objects and States
                                      Please stand by - This may take a while
                                      Objects: 	3908
                                      States: 	3264
                                      
                                      *** OS-Repositories and Updates ***
                                      W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                      Pending Updates: 3
                                      
                                      *** 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 127.0.0.1:8088          0.0.0.0:*               LISTEN      110        14428      512/influxd         
                                      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       28796      4257/io.sonoff.0    
                                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13142      553/sshd: /usr/sbin 
                                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       27223      4238/iobroker.js-co 
                                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       28486      4238/iobroker.js-co 
                                      tcp6       0      0 :::8086                 :::*                    LISTEN      110        14037      512/influxd         
                                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       27330      4313/io.web.0       
                                      tcp6       0      0 :::22                   :::*                    LISTEN      0          13153      553/sshd: /usr/sbin 
                                      tcp6       0      0 :::3000                 :::*                    LISTEN      111        14178      692/grafana         
                                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12258      400/avahi-daemon: r 
                                      udp        0      0 0.0.0.0:42522           0.0.0.0:*                           108        12260      400/avahi-daemon: r 
                                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14048      691/dhcpcd          
                                      udp6       0      0 :::5353                 :::*                                108        12259      400/avahi-daemon: r 
                                      udp6       0      0 :::57185                :::*                                108        12261      400/avahi-daemon: r 
                                      
                                      *** Log File - Last 25 Lines ***
                                      
                                      2024-02-25 19:41:36.839  - info: iqontrol.0 (4359) Creating Popup States...
                                      2024-02-25 19:41:37.570  - info: iqontrol.0 (4359) Creating Widget States...
                                      2024-02-25 19:41:37.571  - info: iqontrol.0 (4359) Lists deactivated.
                                      2024-02-25 19:41:37.572  - info: iqontrol.0 (4359) Deleting unused Objects...
                                      2024-02-25 19:41:37.574  - info: iqontrol.0 (4359) Subscribing to states...
                                      2024-02-25 19:41:37.575  - info: iqontrol.0 (4359) iQontrol ready.
                                      2024-02-25 19:41:43.883  - info: hmip.0 (4272) ws connection opened
                                      2024-02-25 19:41:44.152  - info: hmip.0 (4272) unknown channel type - DEVICE_BLOCKING - {"id":"3014F711A0002E9F29992FF7","type":"WALL_MOUNTED_KEY_PAD","homeId":"ef659a5d-aae8-47d2-a3b5-9223631a7821","lastStatusUpdate":1708888089958,"label":"Keypad Alarm + Haustürschloss","functionalChannels":{"0":{"label":"","deviceId":"3014F711A0002E9F29992FF7","index":0,"groupIndex":0,"functionalChannelType":"DEVICE_BLOCKING","groups":["31ff38e1-dd53-4727-b20e-1ea692736b01"],"unreach":false,"lowBat":false,"routerModuleEnabled":false,"multicastRoutingEnabled":false,"routerModuleSupported":false,"rssiDeviceValue":-73,"rssiPeerValue":null,"configPending":false,"dutyCycle":false,"deviceOverloaded":false,"coProUpdateFailure":false,"coProFaulty":false,"coProRestartNeeded":false,"deviceUndervoltage":false,"deviceOverheated":false,"temperatureOutOfRange":false,"devicePowerFailureDetected":false,"supportedOptionalFeatures":{"IFeatureGarageGroupSensorChannel":false,"IFeatureLightGroupSensorChannel":false,"IFeatureAccessAuthorizationSensorChannel":false,"IFeatureShadingGroupSensorChannel":false},"authorized":true,"actionParameter":"NOT_CUSTOMISABLE","actionCodeConfigured":false},"14":{"label":"","deviceId":"3014F711A0002E9F29992FF7","index":14,"groupIndex":7,"functionalChannelType":"CODE_PROTECTED_SECONDARY_ACTION_CHANNEL","groups":[],"supportedOptionalFeatures":{"IFeatureGarageGroupSensorChannel":false,"IFeatureLightGroupSensorChannel":false,"IFeatureAccessAuthorizationSensorChannel":false,"IFeatureShadingGroupSensorChannel":false}},"15":{"label":"","deviceId":"3014F711A0002E9F29992FF7","index":15,"groupIndex":8,"functionalChannelType":"CODE_PROTECTED_PRIMARY_ACTION_CHANNEL","groups":[],"channelRole":null,"supportedOptionalFeatures":{"IFeatureGarageGroupSensorChannel":false,"IFeatureLightGroupSensorChannel":false,"IFeatureAccessAuthorizationSensorChannel":false,"IFeatureShadingGroupSensorChannel":false},"authorized":true,"actionParameter":"NOT_CUSTOMISABLE","actionCodeConfigured":false},"16":{"label":"","deviceId":"3014F711A0002E9F29992FF7","index":16,"groupIndex":8,"functionalChannelType":"CODE_PROTECTED_SECONDARY_ACTION_CHANNEL","groups":[],"supportedOptionalFeatures":{"IFeatureGarageGroupSensorChannel":false,"IFeatureLightGroupSensorChannel":false,"IFeatureAccessAuthorizationSensorChannel":false,"IFeatureShadingGroupSensorChannel":false}}},"deviceArchetype":"HMIP","manuallyUpdateForced":true,"measuredAttributes":{},"updateState":"UP_TO_DATE","firmwareVersion":"1.0.12","modelType":"HmIP-WKP","permanentlyReachable":false,"connectionType":"HMIP_RF","firmwareVersionInteger":65548,"liveUpdateState":"LIVE_UPDATE_NOT_SUPPORTED","modelId":441,"availableFirmwareVersion":"1.0.12","serializedGlobalTradeItemNumber":"3014F711A0002E9F29992FF7","manufacturerCode":1,"oem":"eQ-3"}
                                      2024-02-25 19:41:54.684  - info: hmip.0 (4272) hmip adapter connected and ready
                                      
                                      

                                      Copy text starting here:

                                      ======================= SUMMARY =======================
                                      			v.2023-10-10
                                      
                                      
                                         Static hostname: iobroker
                                               Icon name: computer
                                        Operating System: Debian GNU/Linux 11 (bullseye)
                                                  Kernel: Linux 6.1.21-v8+
                                            Architecture: arm64
                                      
                                      Installation: 		native
                                      Kernel: 		aarch64
                                      Userland: 		arm64
                                      Timezone: 		Europe/London (GMT, +0000)
                                      User-ID: 		1000
                                      X-Server: 		false
                                      Boot Target: 		multi-user.target
                                      
                                      Pending OS-Updates: 	3
                                      Pending iob updates: 	14
                                      
                                      Nodejs-Installation: 	/usr/bin/nodejs 	v12.22.12
                                      			/usr/bin/node 		v12.22.12
                                      /home/iobroker/.diag.sh: line 488: npm: command not found
                                      			 		
                                      /home/iobroker/.diag.sh: line 489: npx: command not found
                                      			 		
                                      /home/iobroker/.diag.sh: line 490: corepack: command not found
                                      			 	
                                      
                                      Recommended versions are nodejs  and npm 
                                      *** nodejs is NOT correctly installed ***
                                      Wrong installation path detected. This needs to be fixed.
                                      
                                      Please check
                                      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                                      for more information on how to fix these errors.
                                      
                                      MEMORY: 
                                                     total        used        free      shared  buff/cache   available
                                      Mem:            3.8G        1.9G        909M        1.0M        998M        2.1G
                                      Swap:            99M          0B         99M
                                      Total:          3.9G        1.9G        1.0G
                                      
                                      Active iob-Instances: 	9
                                      Active repo(s): stable
                                      
                                      ioBroker Core: 		js-controller 		4.0.24
                                      			admin 			6.8.0
                                      
                                      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                                 - disabled, port: 8081, 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: 		3908
                                      States: 		3264
                                      
                                      Size of iob-Database:
                                      
                                      285M	/opt/iobroker/iobroker-data/objects.jsonl
                                      4.2M	/opt/iobroker/iobroker-data/states.jsonl
                                      
                                      
                                      
                                      =================== END OF SUMMARY ====================
                                      

                                      === Mark text until here for copying ===

                                      wendy2702 Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • G
                                        Greenhorn last edited by

                                        Musste zwischendrin etwas ausschneiden, weil der Eintrag sonst zu lang geworden wäre...

                                        1 Reply Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 @Greenhorn last edited by

                                          @greenhorn

                                          Jetzt

                                          iob nodejs-update
                                          

                                          Dauert wahrscheinlich was länger.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            Greenhorn @wendy2702 last edited by

                                            @wendy2702 said in Raspberry "friert ein" nach Aufruf von ioBroker:

                                            iob nodejs-update
                                            ioBroker nodejs updater 2023-10-13
                                            No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.

                                            Your current setup is:
                                            /usr/bin/nodejs v12.22.12
                                            /usr/bin/node v12.22.12
                                            /home/iobroker/.nodejs-update.sh: line 130: npm: command not found

                                            /home/iobroker/.nodejs-update.sh: line 131: npx: command not found

                                            /home/iobroker/.nodejs-update.sh: line 147: npm: command not found
                                            /home/iobroker/.nodejs-update.sh: line 148: npx: command not found

                                            *** nodejs is NOT correctly installed ***
                                            We found these nodejs versions available for installation:

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

                                            Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                            Press <y> to continue or any other key to quit

                                            Fixing your nodejs setup
                                            *** Deleting ***
                                            rm: cannot remove '': No such file or directory
                                            *** Deleting ***
                                            rm: cannot remove '': No such file or directory

                                            Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now

                                            You are running nodejs v12.22.12. Do you want to install latest version from nodejs v.18 tree?

                                            Press <y> to continue or any other key to quit

                                            Update der Installation läuft gerade noch...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            618
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            106
                                            5142
                                            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