Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. npm Update

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    npm Update

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

      Hallo zusammen,

      auf meiner Proxmox VM mache ich regelmäßig Updates mit apt. Dabei wird immer auch nodejs auf den aktuellen Stand gebracht, aber mit npm klappt das irgendwie nicht. Die Version ist aktuell 10.5.0 und ich würde die gerne auch auf den aktuellen Stand bringen.

      Kann mir jemand einen Tipp geben wie das geht? Kann ich das irgendwie auch so regeln das es auch mit apt durchgeführt werden kann das Update von npm?

      Danke für eure Hilfe hierbei.

      DJMarc75 2 Replies Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @hotspot_2 last edited by

        @hotspot_2 sagte in npm Update:

        ich würde die gerne auch auf den aktuellen Stand bringen

        bitte nicht, denn die aktuelle NPM kommt immer automatisch mit der NODEJS.

        Keine Experimente machen 😉

        für alle Fälle zeig mal bitte die Langfassung von

        iob diag
        

        schön in Codetags gepostet - dann kann man gleich mal sehen ob Du schon was verbogen hast

        1 Reply Last reply Reply Quote 0
        • H
          hotspot_2 last edited by hotspot_2

          @djmarc75 Alles klar.

          Skript v.2024-05-22
          
          *** BASE SYSTEM ***
           Static hostname: iobroker
                 Icon name: computer-container
                   Chassis: container ☐
            Virtualization: lxc
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.5.13-3-pve
              Architecture: x86-64
          
          model name      : Intel(R) Core(TM) i3-8109U CPU @ 3.00GHz
          Docker          : false
          Virtualization  : lxc
          Kernel          : x86_64
          Userland        : 64 bit
          
          Systemuptime and Load:
           17:51:56 up 14 days, 21:21,  2 users,  load average: 0.31, 0.14, 0.10
          CPU threads: 2
          
          
          *** Time and Time Zones ***
                         Local time: Wed 2024-05-29 17:51:56 CEST
                     Universal time: Wed 2024-05-29 15:51:56 UTC
                           RTC time: n/a
                          Time zone: Europe/Berlin (CEST, +0200)
          System clock synchronized: yes
                        NTP service: inactive
                    RTC in local TZ: no
          
          *** Users and Groups ***
          User that called 'iob diag':
          marcus
          HOME=/home/marcus
          GROUPS=marcus sudo users iobroker
          
          User that is running 'js-controller':
          iobroker
          HOME=/home/iobroker
          GROUPS=iobroker tty dialout audio video
          
          *** Display-Server-Setup ***
          Display-Server: false
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:             17G        2.9G        8.4G        163K        5.4G         14G
          Swap:           2.1G          0B        2.1G
          Total:           19G        2.9G         10G
          
          Active iob-Instances:   20
          
                  16384 M total memory
                   2765 M used memory
                   4414 M active memory
                   3697 M inactive memory
                   7987 M free memory
                      0 M buffer memory
                   5149 M swap cache
                   2048 M total swap
                      0 M used swap
                   2048 M free swap
          
          *** top - Table Of Processes  ***
          top - 17:51:56 up 14 days, 21:21,  2 users,  load average: 0.31, 0.14, 0.10
          Tasks:  55 total,   2 running,  53 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 :  16384.0 total,   7986.3 free,   2766.5 used,   5149.3 buff/cache
          MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.  13617.5 avail Mem
          
          *** FAILED SERVICES ***
          
            UNIT LOAD ACTIVE SUB DESCRIPTION
          0 loaded units listed.
          
          *** FILESYSTEM ***
          Filesystem                       Type   Size  Used Avail Use% Mounted on
          /dev/mapper/pve-vm--113--disk--0 ext4   148G   12G  129G   9% /
          none                             tmpfs  492K  4.0K  488K   1% /dev
          tmpfs                            tmpfs   16G     0   16G   0% /dev/shm
          tmpfs                            tmpfs  6.3G  156K  6.3G   1% /run
          tmpfs                            tmpfs  5.0M     0  5.0M   0% /run/lock
          tmpfs                            tmpfs  3.2G     0  3.2G   0% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Tue May 14 20:24:13 2024] EXT4-fs (dm-1): mounted filesystem 511fdb6d-9aae-4ff6-99e6-40a448c6b426 ro with ordered data mode. Quota mode: none.
          [Tue May 14 20:24:14 2024] EXT4-fs (dm-1): re-mounted 511fdb6d-9aae-4ff6-99e6-40a448c6b426 r/w. Quota mode: none.
          [Tue May 14 20:24:24 2024] EXT4-fs (dm-6): mounted filesystem 3e3c54eb-5371-4e3c-8722-638851ac476a r/w with ordered data mode. Quota mode: none.
          [Tue May 14 20:26:40 2024] EXT4-fs (dm-6): unmounting filesystem 3e3c54eb-5371-4e3c-8722-638851ac476a.
          [Tue May 14 20:30:17 2024] EXT4-fs (dm-6): mounted filesystem 3e3c54eb-5371-4e3c-8722-638851ac476a r/w with ordered data mode. Quota mode: none.
          
          Show mounted filesystems:
          TARGET                                                  SOURCE                           FSTYPE     OPTIONS
          /                                                       /dev/mapper/pve-vm--113--disk--0 ext4       rw,relatime,stripe=16
          |-/run                                                  tmpfs                            tmpfs      rw,nosuid,nodev,size=6544424k,nr_inodes=819200,mode=755,inode64
          | |-/run/lock                                           tmpfs                            tmpfs      rw,nosuid,nodev,noexec,relatime,size=5120k,inode64
          | |-/run/credentials/systemd-sysusers.service           ramfs                            ramfs      ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs                            ramfs      ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/credentials/systemd-tmpfiles-setup.service     ramfs                            ramfs      ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/rpc_pipefs                                     sunrpc                           rpc_pipefs rw,relatime
          | |-/run/credentials/systemd-sysctl.service             ramfs                            ramfs      ro,nosuid,nodev,noexec,relatime,mode=700
          | `-/run/user/1000                                      tmpfs                            tmpfs      rw,nosuid,nodev,relatime,size=3272208k,nr_inodes=818052,mode=700,uid=1000,gid=1000,inode64
          |-/dev                                                  none                             tmpfs      rw,relatime,size=492k,mode=755,inode64
          | |-/dev/shm                                            tmpfs                            tmpfs      rw,nosuid,nodev,inode64
          | |-/dev/hugepages                                      hugetlbfs                        hugetlbfs  rw,relatime,pagesize=2M
          | |-/dev/mqueue                                         mqueue                           mqueue     rw,nosuid,nodev,noexec,relatime
          | |-/dev/.lxc/proc                                      proc                             proc       rw,relatime
          | |-/dev/.lxc/sys                                       sys                              sysfs      rw,relatime
          | |-/dev/pts                                            devpts                           devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1026
          | |-/dev/ptmx                                           devpts[/ptmx]                    devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1026
          | |-/dev/console                                        devpts[/0]                       devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1026
          | |-/dev/tty1                                           devpts[/1]                       devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1026
          | `-/dev/tty2                                           devpts[/2]                       devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1026
          |-/proc                                                 proc                             proc       rw,nosuid,nodev,noexec,relatime
          | |-/proc/sys                                           proc[/sys]                       proc       ro,relatime
          | | |-/proc/sys/kernel/random/boot_id                   none[/.lxc-boot-id]              tmpfs      ro,nosuid,nodev,noexec,relatime,size=492k,mode=755,inode64
          | | `-/proc/sys/net                                     proc[/sys/net]                   proc       rw,nosuid,nodev,noexec,relatime
          | |-/proc/sysrq-trigger                                 proc[/sysrq-trigger]             proc       ro,relatime
          | |-/proc/cpuinfo                                       lxcfs[/proc/cpuinfo]             fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/diskstats                                     lxcfs[/proc/diskstats]           fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/loadavg                                       lxcfs[/proc/loadavg]             fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/meminfo                                       lxcfs[/proc/meminfo]             fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/slabinfo                                      lxcfs[/proc/slabinfo]            fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/stat                                          lxcfs[/proc/stat]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | |-/proc/swaps                                         lxcfs[/proc/swaps]               fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          | `-/proc/uptime                                        lxcfs[/proc/uptime]              fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          `-/sys                                                  sysfs                            sysfs      ro,nosuid,nodev,noexec,relatime
            |-/sys/fs/fuse/connections                            fusectl                          fusectl    rw,nosuid,nodev,noexec,relatime
            |-/sys/devices/virtual/net                            sysfs[/devices/virtual/net]      sysfs      rw,nosuid,nodev,noexec,relatime
            |-/sys/fs/cgroup                                      none                             cgroup2    rw,nosuid,nodev,noexec,relatime
            `-/sys/devices/system/cpu                             lxcfs[/sys/devices/system/cpu]   fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
          
          Files in neuralgic directories:
          
          /var:
          5.8G    /var/
          4.1G    /var/log/journal/40a88338732f4185aa0ce65a6a30a70c
          4.1G    /var/log/journal
          4.1G    /var/log
          1.4G    /var/lib
          
          Hint: You are currently not seeing messages from other users and the system.
                Users in groups 'adm', 'systemd-journal' can see all messages.
                Pass -q to turn off this notice.
          Archived and active journals take up 58.4M in the file system.
          
          /opt/iobroker/backups:
          888M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          430M    /opt/iobroker/iobroker-data/
          280M    /opt/iobroker/iobroker-data/files
          124M    /opt/iobroker/iobroker-data/files/javascript.admin
          103M    /opt/iobroker/iobroker-data/files/javascript.admin/static
          102M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
          
          The five largest files in iobroker-data are:
          38M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.3d563dc9.js.map
          29M     /opt/iobroker/iobroker-data/objects.jsonl
          24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
          22M     /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js.map
          8.8M    /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js
          
          USB-Devices by-id:
          USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
          
          No Devices found 'by-id'
          
          
          
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.20.3
          /usr/bin/node           v18.20.3
          /usr/bin/npm            10.7.0
          /usr/bin/npx            10.7.0
          /usr/bin/corepack       0.28.0
          
          
          nodejs:
            Installed: 18.20.3-1nodesource1
            Candidate: 18.20.3-1nodesource1
            Version table:
           *** 18.20.3-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                  100 /var/lib/dpkg/status
               18.20.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.20.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.20.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.19.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.19.0+dfsg-6~deb12u1 500
                  500 http://security.debian.org bookworm-security/main amd64 Packages
               18.19.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
               18.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree:
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Core adapters versions
          js-controller:  5.0.19
          admin:          6.17.14
          javascript:     8.3.1
          
          nodejs modules from github:     5
          +-- iobroker.jarvis@3.2.0-beta.10 (git+ssh://git@github.com/Zefau/ioBroker.jarvis.git#fca82c9bb7a5af7f1c1fd3ef869e17270c819ebc)
          +-- iobroker.javascript@8.3.1 (git+ssh://git@github.com/ioBroker/ioBroker.javascript.git#552c2ec9ad65b26934d0d5f50c6496cffb664555)
          +-- iobroker.mqtt@5.2.0 (git+ssh://git@github.com/ioBroker/ioBroker.mqtt.git#90032987cf68e6eee0e0b002f0ebbe21faba342b)
          +-- iobroker.node-red@5.2.1 (git+ssh://git@github.com/ioBroker/ioBroker.node-red.git#fe86abf699b9c64c53adac10895fc11ee93d9c6e)
          +-- iobroker.operating-hours@1.0.6 (git+ssh://git@github.com/BenAhrdt/ioBroker.operating-hours.git#ce972fbd490f6c88cc942b621f53e46c9fd5dd17)
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
          + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
          + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
            system.adapter.dwd.0                    : dwd                   : iobroker                                 -  enabled
          + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
            system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
          + system.adapter.go-e.0                   : go-e                  : iobroker                                 -  enabled
            system.adapter.ical.0                   : ical                  : iobroker                                 - disabled
          + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
          + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
          + system.adapter.jarvis.0                 : jarvis                : iobroker                                 -  enabled
          + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
          + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
          + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.node-red.0               : node-red              : iobroker                                 -  enabled, port: 1880, bind: 0.0.0.0
          + system.adapter.operating-hours.0        : operating-hours       : iobroker                                 -  enabled
          + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
          + system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
          + system.adapter.sma-em.0                 : sma-em                : iobroker                                 -  enabled
          + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
            system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
            system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 -  enabled
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
          + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.node-red.0               : node-red              : iobroker                                 -  enabled, port: 1880, 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.17.14
          Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
          Adapter    "backitup"     : 2.11.0   , installed 2.11.0
          Adapter    "discovery"    : 4.4.0    , installed 4.4.0
          Adapter    "dwd"          : 2.8.5    , installed 2.8.5
          Adapter    "email"        : 1.3.0    , installed 1.3.0
          Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
          Adapter    "go-e"         : 1.0.29   , installed 1.0.29
          Adapter    "ical"         : 1.15.0   , installed 1.15.0
          Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
          Adapter    "iot"          : 3.2.2    , installed 3.2.2
          Adapter    "jarvis"       : 3.1.8    , installed 3.2.0-beta.10
          Adapter    "javascript"   : 8.3.1    , installed 8.3.1
          Controller "js-controller": 5.0.19   , installed 5.0.19
          Adapter    "modbus"       : 6.1.0    , installed 6.1.0
          Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
          Adapter    "node-red"     : 5.2.1    , installed 5.2.1
          Adapter    "operating-hours": 1.0.6  , installed 1.0.6
          Adapter    "ping"         : 1.6.2    , installed 1.6.2
          Adapter    "pushover"     : 3.0.6    , installed 3.0.6
          Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
          Adapter    "sma-em"       : 1.0.1    , installed 1.0.1
          Adapter    "socketio"     : 6.7.0    , installed 6.7.0
          Adapter    "trashschedule": 3.3.0    , installed 3.3.0
          Adapter    "vis"          : 1.5.4    , installed 1.5.4
          Adapter    "weatherunderground": 3.7.0, installed 3.7.0
          Adapter    "web"          : 6.2.5    , installed 6.2.5
          Adapter    "ws"           : 2.6.1    , installed 2.6.1
          
          Objects and States
          Please stand by - This may take a while
          Objects:        4454
          States:         3684
          
          *** OS-Repositories and Updates ***
          Hit:1 http://security.debian.org bookworm-security InRelease
          Hit:2 http://deb.debian.org/debian bookworm InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:4 https://repos.influxdata.com/debian stable InRelease
          Hit:5 https://apt.grafana.com stable InRelease
          Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
          Reading package lists...
          Pending Updates: 0
          
          *** Listening Ports ***
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        45602      163/influxd
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          45176      1/init
          tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      105        45455      154/mosquitto
          tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      1001       47352      459/node-red
          tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          46446      337/master
          tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       52258      693/io.jarvis.0
          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       45727      345/iobroker.js-con
          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       45720      345/iobroker.js-con
          tcp6       0      0 :::3000                 :::*                    LISTEN      106        8111965    45781/grafana
          tcp6       0      0 :::22                   :::*                    LISTEN      0          46163      1/init
          tcp6       0      0 :::111                  :::*                    LISTEN      0          45178      1/init
          tcp6       0      0 :::1883                 :::*                    LISTEN      105        45456      154/mosquitto
          tcp6       0      0 :::8086                 :::*                    LISTEN      999        45661      163/influxd
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       52536      770/io.web.0
          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       40975133   223106/io.admin.0
          tcp6       0      0 ::1:25                  :::*                    LISTEN      0          46447      337/master
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          45314      87/dhclient
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          45177      1/init
          udp        0      0 0.0.0.0:9522            0.0.0.0:*                           1001       52335      723/io.sma-em.0
          udp6       0      0 :::111                  :::*                                0          45179      1/init
          
          *** Log File - Last 25 Lines ***
          
          2024-05-29 17:25:00.608  - info: dwd.0 (228022) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:25:00.825  - info: dwd.0 (228022) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:25:01.338  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2024-05-29 17:30:00.032  - info: host.iobroker instance system.adapter.dwd.0 started with pid 228071
          2024-05-29 17:30:00.569  - info: dwd.0 (228071) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:30:00.785  - info: dwd.0 (228071) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:30:01.299  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2024-05-29 17:30:59.048  - info: admin.0 (223106) ==> Connected system.user.admin from ::ffff:192.168.1.66
          2024-05-29 17:35:00.021  - info: host.iobroker instance system.adapter.dwd.0 started with pid 228120
          2024-05-29 17:35:00.654  - info: dwd.0 (228120) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:35:00.874  - info: dwd.0 (228120) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:35:01.386  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2024-05-29 17:40:00.019  - info: host.iobroker instance system.adapter.dwd.0 started with pid 228169
          2024-05-29 17:40:00.610  - info: dwd.0 (228169) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:40:00.837  - info: dwd.0 (228169) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:40:01.355  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2024-05-29 17:45:00.020  - info: host.iobroker instance system.adapter.dwd.0 started with pid 228218
          2024-05-29 17:45:00.654  - info: dwd.0 (228218) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:45:00.927  - info: dwd.0 (228218) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:45:01.439  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2024-05-29 17:47:04.003  - error: javascript.0 (139444) script.js.Laufende_Skripte.Display_Keller: timeout of 4000ms exceeded
          2024-05-29 17:50:00.027  - info: host.iobroker instance system.adapter.dwd.0 started with pid 228267
          2024-05-29 17:50:00.621  - info: dwd.0 (228267) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
          2024-05-29 17:50:00.852  - info: dwd.0 (228267) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2024-05-29 17:50:01.364  - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          
          
          DJMarc75 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @hotspot_2 last edited by

            @hotspot_2 in Codetags bitte ... das ist das Symbol </>

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

              @hotspot_2 sagte in npm Update:

              Die Version ist aktuell 10.5.0

              passt doch alles:

              Du hast nodejs 18.20.3 und da gehört eben die installierte NPM 10.7.0 dazu.

              Wenn Du auf die Nodejs 20 gehst dann wird auch die passende NPM installiert.

              Immer Finger weg von NPM 😉

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

                @djmarc75 Danke! Hab gerade festgestellt das bei mir dann ja alles passt.

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

                  @hotspot_2

                  Und mit der ganz aktuellen nodejs 20.14 ist auch npm 10.7 dabei.

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

                    @thomas-braun Danke Euch!

                    Ich habe aktuell Probleme mit dem iot Adapter (der stürzt häufig ab und im Protokoll steht immer was von "Type error"). Auf Github war die Empfehlung alles zu aktualisieren.

                    Node.js 18.20.2
                    Npm 10.7.0

                    War die Empfehlung. Aber das passt ja bei mir.

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

                      @hotspot_2 sagte in npm Update:

                      der stürzt häufig ab und im Protokoll steht immer was von "Type error"

                      bitte das Log auch zeigen - nicht nacherzählen 😉

                      In Codetags natürlich

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

                        @hotspot_2 sagte in npm Update:

                        War die Empfehlung. Aber das passt ja bei mir.

                        Dann bring es auf 20, das ist nämlich die aktuelle Empfehlung für den ioBroker.

                        iob nodejs-update 20
                        
                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hotspot_2 @DJMarc75 last edited by hotspot_2

                          @djmarc75 Klar.

                          2024-05-29 15:05:00.029 - info: host.iobroker instance system.adapter.dwd.0 started with pid 226574
                          2024-05-29 15:05:00.610 - info: dwd.0 (226574) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.20.3, js-controller: 5.0.19
                          2024-05-29 15:05:00.820 - info: dwd.0 (226574) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                          2024-05-29 15:05:01.333 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                          2024-05-29 15:07:18.585 - info: iot.0 (225009) Connection changed: disconnect
                          2024-05-29 15:07:18.586 - info: iot.0 (225009) Connection lost
                          2024-05-29 15:07:18.589 - error: iot.0 (225009) uncaught exception: Cannot convert undefined or null to object
                          2024-05-29 15:07:18.589 - error: iot.0 (225009) TypeError: Cannot convert undefined or null to object
                          at Function.keys ()
                          at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29)
                          at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22)
                          at DeviceClient.emit (node:events:517:28)
                          at DeviceClient.emit (node:domain:489:12)
                          at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12)
                          at MqttClient.emit (node:events:529:35)
                          at MqttClient.emit (node:domain:489:12)
                          at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:360:10)
                          at TLSSocket.emit (node:events:529:35)
                          2024-05-29 15:07:18.589 - error: iot.0 (225009) Cannot convert undefined or null to object
                          2024-05-29 15:07:18.597 - info: iot.0 (225009) terminating
                          2024-05-29 15:07:18.598 - warn: iot.0 (225009) Terminated (UNCAUGHT_EXCEPTION): Without reason
                          2024-05-29 15:07:19.098 - info: iot.0 (225009) terminating
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: TypeError: Cannot convert undefined or null to object
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at Function.keys ()
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at DeviceClient.emit (node:events:517:28)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at DeviceClient.emit (node:domain:489:12)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at MqttClient.emit (node:events:529:35)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at MqttClient.emit (node:domain:489:12)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:360:10)
                          2024-05-29 15:07:19.125 - error: host.iobroker Caught by controller[0]: at TLSSocket.emit (node:events:529:35)
                          2024-05-29 15:07:19.125 - error: host.iobroker instance system.adapter.iot.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                          2024-05-29 15:07:19.125 - info: host.iobroker Restart adapter system.adapter.iot.0 because enabled
                          2024-05-29 15:07:49.152 - info: host.iobroker instance system.adapter.iot.0 started with pid 226608
                          2024-05-29 15:07:49.845 - info: iot.0 (226608) starting. Version 3.2.2 in /opt/iobroker/node_modules/iobroker.iot, node: v18.20.3, js-controller: 5.0.19
                          2024-05-29 15:07:49.866 - info: iot.0 (226608) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                          2024-05-29 15:08:20.035 - info: iot.0 (226608) Connection changed: disconnect
                          2024-05-29 15:08:20.038 - error: iot.0 (226608) uncaught exception: Cannot convert undefined or null to object
                          2024-05-29 15:08:20.038 - error: iot.0 (226608) TypeError: Cannot convert undefined or null to object
                          at Function.keys ()
                          at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29)
                          at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22)
                          at DeviceClient.emit (node:events:517:28)
                          at DeviceClient.emit (node:domain:489:12)
                          at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12)
                          at MqttClient.emit (node:events:529:35)
                          at MqttClient.emit (node:domain:489:12)
                          at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:360:10)
                          at TLSSocket.emit (node:events:529:35)
                          2024-05-29 15:08:20.039 - error: iot.0 (226608) Cannot convert undefined or null to object
                          2024-05-29 15:08:20.046 - info: iot.0 (226608) terminating
                          2024-05-29 15:08:20.047 - warn: iot.0 (226608) Terminated (UNCAUGHT_EXCEPTION): Without reason
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: TypeError: Cannot convert undefined or null to object
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at Function.keys ()
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at DeviceClient.emit (node:events:517:28)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at DeviceClient.emit (node:domain:489:12)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at MqttClient.emit (node:events:529:35)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at MqttClient.emit (node:domain:489:12)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:360:10)
                          2024-05-29 15:08:20.259 - error: host.iobroker Caught by controller[0]: at TLSSocket.emit (node:events:529:35)
                          2024-05-29 15:08:20.259 - error: host.iobroker instance system.adapter.iot.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          2024-05-29 15:08:20.259 - info: host.iobroker Restart adapter system.adapter.iot.0 because enabled
                          

                          Das passiert so mehrmals täglich und der Adapter startet häufig neu. Wird dann auch mal komplett deaktiviert automatisch.

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

                            @thomas-braun sagte in npm Update:

                            iob nodejs-update 20

                            Wenn ich das eingebe erhalte ich das hier als Meldung:

                            marcus@iobroker:~$ iob nodejs-update 20
                            iobroker nodejs-update [<major-version>]
                            
                            Upgrade the Node.JS installation to the current LTS
                            
                            Options:
                              --help  Show help  [boolean]
                            
                            

                            Was muss ich da noch tun?

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

                              @hotspot_2 sagte in npm Update:

                              Was muss ich da noch tun?

                              Dein System zuvor auf Stand bringen....

                              iob stop
                              iob fix
                              iob nodejs-update 20
                              
                              H 1 Reply Last reply Reply Quote 0
                              • H
                                hotspot_2 @Thomas Braun last edited by

                                @thomas-braun Jetzt hat alles geklappt. Jetzt schau ich mal ob der iot-Adapter besser läuft.

                                Danke für eure Hilfe!

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                901
                                Online

                                31.7k
                                Users

                                79.7k
                                Topics

                                1.3m
                                Posts

                                3
                                14
                                531
                                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