Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Diskussion zum HowTo nodejs-Installation und upgrade

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

      @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

      Quelle:
      https://www.netcologne.de/privatkunden/hilfe/eigenen-router-einrichten/vdsl/
      Deine Fritzbox war/ist also falsch eingestellt.

      Wenn man danach geht dann schon, oder?

      Auf Netcologne steht: Gut zu wissen: Hier bei NetCologne erfolgt die Umstellung von IPv4 auf IPv6 für Sie selbstverständlich vollautomatisch.

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

        @djsirius sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

        Auf Netcologne steht: Gut zu wissen: Hier bei NetCologne erfolgt die Umstellung von IPv4 auf IPv6 für Sie selbstverständlich vollautomatisch.

        Der Router muss aber dennoch richtig eingestellt sein/werden.
        Ich vermute, auf Leihgeräten von NetCologne ist das auch schon der Fall, wenn du da eigene Hardware einsetzt musst du das machen.

        Evtl. sieht NetCologne da auch die Fernwartung per TR-064 vor. Aber auch das müsste dann auf der Fritzbox aktiv sein, damit das funktionieren kann.

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

          Nur kurz zur Info, ich habe es endlich geschafft! Ich hatte meinen DSL-Anschluss damals, als ich die Fritzbox getauscht habe, übernommen. Dort war der Anschluß falsch konfiguriert. Nun funktioniert IPv6 und somit auch Nodejs und Npm.

          Vielen Dank an alle, die mir geholfen haben! 👍 👍 👍

          R Thomas Braun 2 Replies Last reply Reply Quote 0
          • R
            reutli @djsirius last edited by

            @djsirius

            Dann wäre es für andere. die nach einer Lösung suchen, schön, wenn Du die effektive Lösung hier posten würdest.
            Je konkreter desto besser.

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

              @djsirius sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

              Dort war der Anschluß falsch konfiguriert.

              Hab ich doch gleich gesagt... 😉

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

                Hallo zusammen,

                habe mein System seit langem auch mal wieder auf Stand gebracht, nur leider kann ich nachdem ich jetzt node-js und den js-controller geupdatet hab, keinerlei Adapter mehr aktualisieren. Hier mal die aktuelle Fehlermeldung:

                Would you like to upgrade zigbee from @1.8.13 to @1.10.3 now? [(y)es, (n)o]: y
                Update zigbee from @1.8.13 to @1.10.3
                NPM version: 10.5.0
                Installing iobroker.zigbee@1.10.3... (System call)
                
                <--- Last few GCs --->
                
                [2217:0x604ca00]   258911 ms: Mark-sweep 235.4 (249.0) -> 233.7 (249.0) MB, 1313.8 / 0.0 ms  (average mu = 0.350, current mu = 0.174) allocation failure; scavenge might not succeed
                [2217:0x604ca00]   260629 ms: Mark-sweep 235.4 (249.0) -> 234.0 (249.3) MB, 1443.9 / 0.0 ms  (average mu = 0.256, current mu = 0.160) allocation failure; GC in old space requested
                
                
                <--- JS stacktrace --->
                
                FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.raspberrypi Cannot install iobroker.zigbee@1.10.3: undefined
                

                Ist mein Raspberry mit 1GB RAM das Problem? Schaut ja nach einem Arbeitsspeicherproblem aus, oder? Gibt es irgendein Workaround?

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

                  @flubb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                  Ist mein Raspberry mit 1GB RAM das Problem?

                  Ja, mit ziemlicher Sicherheit ist das mittlerweile zu wenig.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DPO99 @flubb last edited by

                    @flubb Der Raspberry PI 5 (8GB) ist doch aktuell gut verfügbar. Da würde ich direkt mal zuschlagen 😉

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

                      Hello, ich habe nach der Anleitung node js aktualisiert

                      iob nodejs-update

                      mit folgendem Text:

                      ioBroker nodejs fixer 2024-05-23
                      
                      Recommended nodejs-version is: 18.20.3
                      Checking your installation now. Please be patient!
                      
                      Your current setup is:
                      /usr/bin/node 		v16.19.0
                      /usr/bin/npm 		8.19.3
                      /usr/bin/npx 		8.19.3
                      /usr/bin/corepack 	0.15.1
                      
                      We found these nodejs versions available for installation:
                      
                      nodejs:
                        Installed: 16.19.0-deb-1nodesource1
                        Candidate: 16.20.2-deb-1nodesource1
                        Version table:
                           16.20.2-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                       *** 16.19.0-deb-1nodesource1 100
                              100 /var/lib/dpkg/status
                           10.19.0~dfsg-3ubuntu1.6 500
                              500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
                              500 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages
                           10.19.0~dfsg-3ubuntu1 500
                              500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                      
                      
                      
                      Nothing to do - Your installation is using the correct paths.
                      
                      You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? 
                      
                      Press <y> to continue or any other key to quit
                      Trying to fix your installation now. Please be patient.
                      

                      nun ist allerdings 20.14 installiert und ich erhalte bei jedem Adapter Upgradeversuch einen npm error

                      npm error code EBADENGINE

                      laut Host Info ist Npm 10.7 nun installiert...

                      Habt ihr da Ideen dazu? welche logs braucht ihr?

                      DJMarc75 Thomas Braun 3 Replies Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @madjack84 last edited by

                        @madjack84
                        bitte die langfassung von

                        iob diag
                        

                        zeigen

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

                          @madjack84 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                          nun ist allerdings 20.14 installiert

                          Das ist richtig, nodejs@20 ist nämlich die aktuelle Empfehlung für ioBroker. (Auch wenn da noch 18 angezeigt wird...)

                          ich erhalte bei jedem Adapter Upgradeversuch einen npm error

                          Mehr Kontext... Mit der einen Zeile kann man nix anfangen.

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

                            @madjack84

                            Mach am besten einen eigenen Thread auf. Der hier ist schon zu lang für Einzelfälle.

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

                              @djmarc75 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              iob diag

                              here you go 🙂 Danke schonmal


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

                              Skript v.2024-05-22
                              
                              *** BASE SYSTEM ***
                                 Static hostname: ioalbrecht
                                       Icon name: computer-vm
                                         Chassis: vm
                                  Virtualization: kvm
                                Operating System: Ubuntu 20.04.6 LTS
                                          Kernel: Linux 5.4.0-182-generic
                                    Architecture: x86-64
                              
                              model name	: Common KVM processor
                              Docker          : false
                              Virtualization  : kvm
                              Kernel          : x86_64
                              Userland        : 64 bit
                              
                              Systemuptime and Load:
                               19:43:38 up 37 min,  1 user,  load average: 0.17, 0.11, 0.15
                              CPU threads: 2
                              
                              
                              *** Time and Time Zones ***
                                             Local time: Fri 2024-05-31 19:43:38 CEST
                                         Universal time: Fri 2024-05-31 17:43:38 UTC 
                                               RTC time: Fri 2024-05-31 17:43:39     
                                              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':
                              upgrade
                              HOME=/home/upgrade
                              GROUPS=upgrade adm dialout cdrom sudo dip plugdev lxd iobroker
                              
                              User that is running 'js-controller':
                              iobroker
                              HOME=/home/iobroker
                              GROUPS=iobroker tty dialout audio video redis
                              
                              *** Display-Server-Setup ***
                              Display-Server: false
                              Desktop: 	
                              Terminal: 	tty
                              Boot Target: 	graphical.target
                              
                              *** MEMORY ***
                                            total        used        free      shared  buff/cache   available
                              Mem:           3.9G        1.8G        1.3G        1.0M        866M        1.9G
                              Swap:          3.9G          0B        3.9G
                              Total:         7.9G        1.8G        5.2G
                              
                              Active iob-Instances: 	19
                              
                                       3920 M total memory
                                       1760 M used memory
                                       1960 M active memory
                                        470 M inactive memory
                                       1293 M free memory
                                         90 M buffer memory
                                        775 M swap cache
                                       3935 M total swap
                                          0 M used swap
                                       3935 M free swap
                              
                              *** top - Table Of Processes  ***
                              top - 19:43:39 up 37 min,  1 user,  load average: 0.17, 0.11, 0.15
                              Tasks: 145 total,   1 running, 144 sleeping,   0 stopped,   0 zombie
                              %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                              MiB Mem :   3920.1 total,   1293.8 free,   1760.0 used,    866.4 buff/cache
                              MiB Swap:   3936.0 total,   3936.0 free,      0.0 used.   1922.3 avail Mem 
                              
                              *** FAILED SERVICES ***
                              
                                UNIT                             LOAD   ACTIVE SUB    DESCRIPTION                                     
                              * snap.mosquitto.mosquitto.service loaded failed failed Service for snap application mosquitto.mosquitto
                              
                              LOAD   = Reflects whether the unit definition was properly loaded.
                              ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                              SUB    = The low-level unit activation state, values depend on unit type.
                              
                              1 loaded units listed.
                              
                              *** FILESYSTEM ***
                              Filesystem                        Type      Size  Used Avail Use% Mounted on
                              udev                              devtmpfs  1.9G     0  1.9G   0% /dev
                              tmpfs                             tmpfs     393M  1.1M  391M   1% /run
                              /dev/mapper/ubuntu--vg-ubuntu--lv ext4       20G   15G  4.3G  78% /
                              tmpfs                             tmpfs     2.0G     0  2.0G   0% /dev/shm
                              tmpfs                             tmpfs     5.0M     0  5.0M   0% /run/lock
                              tmpfs                             tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup
                              /dev/sda2                         ext4      974M  312M  595M  35% /boot
                              /dev/loop0                        squashfs   56M   56M     0 100% /snap/core18/2823
                              /dev/loop1                        squashfs   56M   56M     0 100% /snap/core18/2812
                              /dev/loop2                        squashfs   64M   64M     0 100% /snap/core20/2318
                              /dev/loop3                        squashfs  1.2M  1.2M     0 100% /snap/mosquitto/873
                              /dev/loop4                        squashfs   92M   92M     0 100% /snap/lxd/24061
                              /dev/loop5                        squashfs   64M   64M     0 100% /snap/core20/2264
                              /dev/loop6                        squashfs  1.2M  1.2M     0 100% /snap/mosquitto/856
                              /dev/loop7                        squashfs   92M   92M     0 100% /snap/lxd/23991
                              /dev/loop8                        squashfs   39M   39M     0 100% /snap/snapd/21465
                              /dev/loop9                        squashfs   39M   39M     0 100% /snap/snapd/21759
                              tmpfs                             tmpfs     393M     0  393M   0% /run/user/1000
                              
                              Messages concerning ext4 filesystem in dmesg:
                              [Fri May 31 19:06:31 2024] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
                              [Fri May 31 19:06:32 2024] EXT4-fs (dm-0): re-mounted. Opts: (null)
                              [Fri May 31 19:06:34 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
                              
                              Show mounted filesystems:
                              TARGET                                SOURCE                            FSTYPE      OPTIONS
                              /                                     /dev/mapper/ubuntu--vg-ubuntu--lv ext4        rw,relatime
                              |-/sys                                sysfs                             sysfs       rw,nosuid,nodev,noexec,relatime
                              | |-/sys/kernel/security              securityfs                        securityfs  rw,nosuid,nodev,noexec,relatime
                              | |-/sys/fs/cgroup                    tmpfs                             tmpfs       ro,nosuid,nodev,noexec,mode=755
                              | | |-/sys/fs/cgroup/unified          cgroup2                           cgroup2     rw,nosuid,nodev,noexec,relatime,nsdelegate
                              | | |-/sys/fs/cgroup/systemd          cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,xattr,name=systemd
                              | | |-/sys/fs/cgroup/devices          cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,devices
                              | | |-/sys/fs/cgroup/cpuset           cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,cpuset
                              | | |-/sys/fs/cgroup/net_cls,net_prio cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,net_cls,net_prio
                              | | |-/sys/fs/cgroup/memory           cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,memory
                              | | |-/sys/fs/cgroup/rdma             cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,rdma
                              | | |-/sys/fs/cgroup/cpu,cpuacct      cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,cpu,cpuacct
                              | | |-/sys/fs/cgroup/freezer          cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,freezer
                              | | |-/sys/fs/cgroup/hugetlb          cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,hugetlb
                              | | |-/sys/fs/cgroup/perf_event       cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,perf_event
                              | | |-/sys/fs/cgroup/pids             cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,pids
                              | | `-/sys/fs/cgroup/blkio            cgroup                            cgroup      rw,nosuid,nodev,noexec,relatime,blkio
                              | |-/sys/fs/pstore                    pstore                            pstore      rw,nosuid,nodev,noexec,relatime
                              | |-/sys/fs/bpf                       none                              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/kernel/config                configfs                          configfs    rw,nosuid,nodev,noexec,relatime
                              | `-/sys/fs/fuse/connections          fusectl                           fusectl     rw,nosuid,nodev,noexec,relatime
                              |-/proc                               proc                              proc        rw,nosuid,nodev,noexec,relatime
                              | `-/proc/sys/fs/binfmt_misc          systemd-1                         autofs      rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15764
                              |   `-/proc/sys/fs/binfmt_misc        binfmt_misc                       binfmt_misc rw,nosuid,nodev,noexec,relatime
                              |-/dev                                udev                              devtmpfs    rw,nosuid,noexec,relatime,size=1960344k,nr_inodes=490086,mode=755
                              | |-/dev/pts                          devpts                            devpts      rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
                              | |-/dev/shm                          tmpfs                             tmpfs       rw,nosuid,nodev
                              | |-/dev/hugepages                    hugetlbfs                         hugetlbfs   rw,relatime,pagesize=2M
                              | `-/dev/mqueue                       mqueue                            mqueue      rw,nosuid,nodev,noexec,relatime
                              |-/run                                tmpfs                             tmpfs       rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755
                              | |-/run/lock                         tmpfs                             tmpfs       rw,nosuid,nodev,noexec,relatime,size=5120k
                              | |-/run/rpc_pipefs                   sunrpc                            rpc_pipefs  rw,relatime
                              | |-/run/snapd/ns                     tmpfs[/snapd/ns]                  tmpfs       rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755
                              | | |-/run/snapd/ns/lxd.mnt           nsfs[mnt:[4026532318]]            nsfs        rw
                              | | `-/run/snapd/ns/mosquitto.mnt     nsfs[mnt:[4026532320]]            nsfs        rw
                              | `-/run/user/1000                    tmpfs                             tmpfs       rw,nosuid,nodev,relatime,size=401420k,mode=700,uid=1000,gid=1000
                              |-/boot                               /dev/sda2                         ext4        rw,relatime
                              |-/snap/core18/2823                   /dev/loop0                        squashfs    ro,nodev,relatime
                              |-/snap/core18/2812                   /dev/loop1                        squashfs    ro,nodev,relatime
                              |-/snap/core20/2318                   /dev/loop2                        squashfs    ro,nodev,relatime
                              |-/snap/mosquitto/873                 /dev/loop3                        squashfs    ro,nodev,relatime
                              |-/snap/lxd/24061                     /dev/loop4                        squashfs    ro,nodev,relatime
                              |-/snap/core20/2264                   /dev/loop5                        squashfs    ro,nodev,relatime
                              |-/snap/mosquitto/856                 /dev/loop6                        squashfs    ro,nodev,relatime
                              |-/snap/lxd/23991                     /dev/loop7                        squashfs    ro,nodev,relatime
                              |-/snap/snapd/21465                   /dev/loop8                        squashfs    ro,nodev,relatime
                              `-/snap/snapd/21759                   /dev/loop9                        squashfs    ro,nodev,relatime
                              
                              Files in neuralgic directories:
                              
                              /var:
                              2.4G	/var/
                              1.2G	/var/lib
                              926M	/var/lib/snapd
                              901M	/var/log
                              897M	/var/log/journal/9eafc192ff0e4f099ca8b43790018b7d
                              
                              Archived and active journals take up 896.1M in the file system.
                              
                              /opt/iobroker/backups:
                              352M	/opt/iobroker/backups/
                              
                              /opt/iobroker/iobroker-data:
                              1.4G	/opt/iobroker/iobroker-data/
                              726M	/opt/iobroker/iobroker-data/files
                              511M	/opt/iobroker/iobroker-data/files/ring.0
                              498M	/opt/iobroker/iobroker-data/files/ring.0/doorbell_91774976
                              386M	/opt/iobroker/iobroker-data/backup-objects
                              
                              The five largest files in iobroker-data are:
                              47M	/opt/iobroker/iobroker-data/states.jsonl
                              35M	/opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                              33M	/opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
                              29M	/opt/iobroker/iobroker-data/objects.jsonl
                              24M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
                              
                              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_DE2473751-if00
                              
                              Your zigbee.0 COM-Port is matching 'by-id'. Very good!
                              
                              
                              
                              *** NodeJS-Installation ***
                              
                              /usr/bin/nodejs 	v20.14.0
                              /usr/bin/node 		v20.14.0
                              /usr/bin/npm 		10.7.0
                              /usr/bin/npx 		10.7.0
                              /usr/bin/corepack 	0.28.1
                              
                              
                              nodejs:
                                Installed: 20.14.0-1nodesource1
                                Candidate: 20.14.0-1nodesource1
                                Version table:
                               *** 20.14.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                      100 /var/lib/dpkg/status
                                   20.13.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.13.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.12.2-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.12.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.12.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.11.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.11.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.10.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.9.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.8.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.8.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.7.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.6.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.6.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.5.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.5.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.4.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.3.1-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.3.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.2.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.1.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   20.0.0-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                   10.19.0~dfsg-3ubuntu1.6 500
                                      500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
                                      500 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages
                                   10.19.0~dfsg-3ubuntu1 500
                                      500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 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.12
                              admin: 		6.13.16
                              javascript: 	7.1.4
                              
                              nodejs modules from github: 	1
                              | +-- samsungtv@0.0.0 (git+https://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550)
                              
                              Adapter State
                              + system.adapter.admin.0                  : admin                 : ioalbrecht                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                              + system.adapter.alexa2.0                 : alexa2                : ioalbrecht                               -  enabled
                                system.adapter.alias-manager.0          : alias-manager         : ioalbrecht                               -  enabled
                              + system.adapter.backitup.0               : backitup              : ioalbrecht                               -  enabled
                                system.adapter.daswetter.0              : daswetter             : ioalbrecht                               -  enabled
                                system.adapter.devices.0                : devices               : ioalbrecht                               -  enabled
                                system.adapter.discovery.0              : discovery             : ioalbrecht                               - disabled
                                system.adapter.feiertage.0              : feiertage             : ioalbrecht                               -  enabled
                                system.adapter.flot.0                   : flot                  : ioalbrecht                               - disabled
                              + system.adapter.history.0                : history               : ioalbrecht                               -  enabled
                              + system.adapter.info.0                   : info                  : ioalbrecht                               -  enabled
                              + system.adapter.iot.0                    : iot                   : ioalbrecht                               -  enabled
                              + system.adapter.javascript.0             : javascript            : ioalbrecht                               -  enabled
                              + system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioalbrecht                               -  enabled, port: 54321
                              + system.adapter.mihome.0                 : mihome                : ioalbrecht                               -  enabled, port: 9898, bind: 0.0.0.0
                              + system.adapter.mqtt-client.0            : mqtt-client           : ioalbrecht                               -  enabled, port: 1883
                              + system.adapter.mqtt-client.1            : mqtt-client           : ioalbrecht                               -  enabled, port: 1883
                              + system.adapter.ping.0                   : ping                  : ioalbrecht                               -  enabled
                                system.adapter.ring.0                   : ring                  : ioalbrecht                               - disabled
                                system.adapter.samsung.0                : samsung               : ioalbrecht                               - disabled
                              + system.adapter.simple-api.0             : simple-api            : ioalbrecht                               -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                              + system.adapter.telegram.0               : telegram              : ioalbrecht                               -  enabled, port: 8443, bind: 0.0.0.0
                              + system.adapter.tr-064.0                 : tr-064                : ioalbrecht                               -  enabled
                              + system.adapter.vw-connect.0             : vw-connect            : ioalbrecht                               -  enabled
                              + system.adapter.web.0                    : web                   : ioalbrecht                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                system.adapter.wled.0                   : wled                  : ioalbrecht                               - disabled
                              + system.adapter.zigbee.0                 : zigbee                : ioalbrecht                               -  enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00
                              
                              + instance is alive
                              
                              Enabled adapters with bindings
                              + system.adapter.admin.0                  : admin                 : ioalbrecht                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                              + system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioalbrecht                               -  enabled, port: 54321
                              + system.adapter.mihome.0                 : mihome                : ioalbrecht                               -  enabled, port: 9898, bind: 0.0.0.0
                              + system.adapter.mqtt-client.0            : mqtt-client           : ioalbrecht                               -  enabled, port: 1883
                              + system.adapter.mqtt-client.1            : mqtt-client           : ioalbrecht                               -  enabled, port: 1883
                              + system.adapter.simple-api.0             : simple-api            : ioalbrecht                               -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                              + system.adapter.telegram.0               : telegram              : ioalbrecht                               -  enabled, port: 8443, bind: 0.0.0.0
                              + system.adapter.web.0                    : web                   : ioalbrecht                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                              + system.adapter.zigbee.0                 : zigbee                : ioalbrecht                               -  enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-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.4 [Updatable]
                              Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                              Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                              Adapter    "daswetter"    : 3.1.13   , installed 3.1.13
                              Adapter    "deconz"       : 1.4.1    , installed 1.3.19 [Updatable]
                              Adapter    "devices"      : 1.1.5    , installed 1.1.5
                              Adapter    "discovery"    : 4.4.0    , installed 3.1.0  [Updatable]
                              Adapter    "feiertage"    : 1.2.0    , installed 1.1.4  [Updatable]
                              Adapter    "flot"         : 1.12.0   , installed 1.12.0
                              Adapter    "history"      : 3.0.1    , installed 3.0.1
                              Adapter    "iot"          : 3.2.2    , installed 2.0.11 [Updatable]
                              Adapter    "javascript"   : 8.3.1    , installed 7.1.4  [Updatable]
                              Controller "js-controller": 5.0.19   , installed 5.0.12 [Updatable]
                              Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                              Adapter    "mihome-vacuum": 4.2.0    , installed 4.0.0  [Updatable]
                              Adapter    "mqtt-client"  : 1.8.0    , installed 1.7.0  [Updatable]
                              Adapter    "ping"         : 1.6.2    , installed 1.6.2
                              Adapter    "ring"         : 5.0.10   , installed 3.2.2  [Updatable]
                              Adapter    "samsung"      : 0.5.11   , installed 0.5.11
                              Adapter    "simple-api"   : 2.8.0    , installed 2.7.2  [Updatable]
                              Adapter    "socketio"     : 6.7.0    , installed 6.6.1  [Updatable]
                              Adapter    "telegram"     : 3.2.1    , installed 3.1.0  [Updatable]
                              Adapter    "tr-064"       : 4.3.0    , installed 4.2.18 [Updatable]
                              Adapter    "web"          : 6.2.5    , installed 6.2.5
                              Adapter    "wled"         : 0.7.2    , installed 0.7.2
                              Adapter    "ws"           : 2.6.1    , installed 2.5.11 [Updatable]
                              Adapter    "zigbee"       : 1.10.3   , installed 1.8.24 [Updatable]
                              
                              Objects and States
                              Please stand by - This may take a while
                              Objects: 	11401
                              States: 	9587
                              
                              *** OS-Repositories and Updates ***
                              Hit:1 http://phoscon.de/apt/deconz focal InRelease
                              Hit:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal InRelease
                              Hit:3 http://de.archive.ubuntu.com/ubuntu focal InRelease
                              Hit:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
                              Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
                              Hit:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
                              Hit:7 http://de.archive.ubuntu.com/ubuntu focal-security 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 127.0.0.53:53           0.0.0.0:*               LISTEN      101        22411      648/systemd-resolve 
                              tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          25267      721/sshd: /usr/sbin 
                              tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      0          24892      672/mosquitto       
                              tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       27453      669/iobroker.js-con 
                              tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       27394      669/iobroker.js-con 
                              tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          15775      1/init              
                              tcp6       0      0 :::22                   :::*                    LISTEN      0          25278      721/sshd: /usr/sbin 
                              tcp6       0      0 :::8087                 :::*                    LISTEN      1001       29602      1410/io.simple-api. 
                              tcp6       0      0 :::1883                 :::*                    LISTEN      0          24893      672/mosquitto       
                              tcp6       0      0 :::111                  :::*                    LISTEN      0          15783      1/init              
                              tcp6       0      0 :::8081                 :::*                    LISTEN      1001       27613      963/io.admin.0      
                              tcp6       0      0 :::8082                 :::*                    LISTEN      1001       31154      1569/io.web.0       
                              udp        0      0 0.0.0.0:9898            0.0.0.0:*                           1001       28129      1093/io.mihome.0    
                              udp        0      0 127.0.0.53:53           0.0.0.0:*                           101        22410      648/systemd-resolve 
                              udp        0      0 192.168.188.74:68       0.0.0.0:*                           100        22414      646/systemd-network 
                              udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          15778      1/init              
                              udp        0      0 0.0.0.0:53421           0.0.0.0:*                           1001       28081      1065/io.mihome-vacu 
                              udp6       0      0 :::111                  :::*                                0          15788      1/init              
                              udp6       0      0 fe80::e091:47ff:fe6:546 :::*                                100        22631      646/systemd-network 
                              
                              *** Log File - Last 25 Lines ***
                              
                              2024-05-31 19:29:58.040  - info: host.ioalbrecht iobroker npm error code EBADENGINE
                              2024-05-31 19:29:58.044  - info: host.ioalbrecht iobroker npm error engine Unsupported engine
                              2024-05-31 19:29:58.046  - info: host.ioalbrecht iobroker npm error engine Not compatible with your version of node/npm: ring-client-api@11.7.1
                              2024-05-31 19:29:58.047  - info: host.ioalbrecht iobroker npm error notsup Not compatible with your version of node/npm: ring-client-api@11.7.1npm error notsup Required: {"node":"^16 || ^18"}npm error notsup Actual:   {"npm":"10.7.0","node":"v20.14.0"}
                              2024-05-31 19:29:58.051  - info: host.ioalbrecht iobroker 
                              2024-05-31 19:29:58.053  - info: host.ioalbrecht iobroker npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-31T17_29_55_322Z-debug-0.log
                              2024-05-31 19:29:58.201  - info: host.ioalbrecht iobroker upload [17] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom.html custom.html text/html
                              2024-05-31 19:29:58.209  - info: host.ioalbrecht iobroker upload [16] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom_m.html custom_m.html text/html
                              2024-05-31 19:29:58.213  - info: host.ioalbrecht iobroker upload [15] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/de/translations.json i18n/de/translations.json application/json
                              2024-05-31 19:29:58.218  - info: host.ioalbrecht iobroker upload [14] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/en/translations.json i18n/en/translations.json application/json
                              2024-05-31 19:29:58.223  - info: host.ioalbrecht iobroker upload [13] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/es/translations.json i18n/es/translations.json application/json
                              2024-05-31 19:29:58.228  - info: host.ioalbrecht iobroker upload [12] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                              2024-05-31 19:29:58.233  - info: host.ioalbrecht iobroker upload [11] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/it/translations.json i18n/it/translations.json application/json
                              2024-05-31 19:29:58.238  - info: host.ioalbrecht iobroker upload [10] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                              2024-05-31 19:29:58.244  - info: host.ioalbrecht iobroker upload [9] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                              2024-05-31 19:29:58.249  - info: host.ioalbrecht iobroker upload [8] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                              2024-05-31 19:29:58.254  - info: host.ioalbrecht iobroker upload [7] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                              2024-05-31 19:29:58.259  - info: host.ioalbrecht iobroker upload [6] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                              2024-05-31 19:29:58.265  - info: host.ioalbrecht iobroker upload [5] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                              2024-05-31 19:29:58.269  - info: host.ioalbrecht iobroker upload [4] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index.html index.html text/html
                              2024-05-31 19:29:58.274  - info: host.ioalbrecht iobroker upload [3] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index_m.html index_m.html text/html
                              2024-05-31 19:29:58.279  - info: host.ioalbrecht iobroker upload [2] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/jsonCustom.json jsonCustom.json application/json
                              2024-05-31 19:29:58.284  - info: host.ioalbrecht iobroker upload [1] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/mqtt-client.png mqtt-client.png image/png
                              2024-05-31 19:29:58.289  - info: host.ioalbrecht iobroker upload [0] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/words.js words.js application/javascript
                              2024-05-31 19:29:59.304  - info: host.ioalbrecht iobroker exit 0
                              
                              

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

                              ufff jetzt hab ich erst alle 3 Antworten gelesen .... ich mach nen Thread auf. Link folgt gleich... ausser ne Lösung ist schon direkt in Sicht

                              eigener Thread ist hier:
                              https://forum.iobroker.net/topic/75026/node-js-update-npm-bad-error-ebadengine

                              1 Reply Last reply Reply Quote 0
                              • M
                                M-A-X last edited by

                                Hey,
                                Mir wurde gerade angezeigt, dass es ne neuere node.js Version gibt. Also wollte ich per

                                iob nodejs-update 
                                

                                ein Update machen. Allerdings sagt er immer noch, dass 18.x die empfohlene Version ist. Ich bin aber auf der 20.x
                                Kann man bzw wird das Skript irgendwann umgestellt, dass er merkt wenn man auf ner anderen Hauptversion ist und macht dann davon das update?
                                Danke im Voraus

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @M-A-X last edited by

                                  @m-a-x sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                  Allerdings sagt er immer noch, dass 18.x die empfohlene Version ist.

                                  Das ist richtig, weil das im Datenpunkt, der dazu ausgelesen wird, noch nicht richtig eingestellt wurde.

                                  Neue Versionen innerhalb des gleichen Major-Releases werden im übrigen NICHT per nodejs-update angepackt sondern wie üblich über deinen Paketmanager...

                                  iob stop
                                  sudo apt update
                                  sudo apt full-upgrade
                                  sudo reboot
                                  
                                  M S 2 Replies Last reply Reply Quote 0
                                  • M
                                    M-A-X @Thomas Braun last edited by

                                    @thomas-braun
                                    oh ok.
                                    Sorry. Bin über den 'uralten' Update Beitrag auf den Upgrade Beitrag gekommen und habe da überlesen dass nur die Version so geändert wird.

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @M-A-X last edited by Thomas Braun

                                      @m-a-x sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                      habe da überlesen dass nur die Version so geändert wird.

                                      Und zwar nur einmalig auf die aktuelle Major-Version. Im Weiteren läuft es dann wie üblich.

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

                                        @thomas-braun wann wird eigentlich die recommended version vom node-js auf Version 20 angehoben?

                                        Bei mir kommt auch die Meldung, dass Version 18 noch die aktuelle sei.

                                        Danke.

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

                                          @siggi0904 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                          wann wird eigentlich die recommended version vom node-js auf Version 20 angehoben?

                                          Seit ein paar Tagen ist das im js-controller6 drin.

                                          
                                          Nothing to do - Your installation is using the correct paths.
                                          
                                          You are running nodejs v22.4.1. Do you want to install recommended version 20.15.1? 
                                          
                                          Press <y> to continue or any other key to quit
                                          
                                          
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Siggi0904 @Thomas Braun last edited by

                                            @thomas-braun habe gerade iob nodejs-update gemacht und da wurde noch Version 18 gemeldet.

                                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            531
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            163046
                                            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