Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. iob node fix - Skript

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

iob node fix - Skript

Scheduled Pinned Locked Moved ioBroker Allgemein
198 Posts 34 Posters 46.2k Views 37 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    Hinweis vorab: Wenn das Skript ausgeführt wurde und sein Werk getan hat, funktionieren Updates innerhalb der nodejs-Version wieder wie gehabt über

    sudo apt update
    sudo apt full-upgrade
    

    Erneutes ausführen des Skriptes bei einem gewöhnlichen Update ist nicht notwendig!

    __
    BETA-TESTING
    (Nachdem das Skript jetzt auch offiziell Teil vom ioBroker in Form des Kommandos iob nodejs-update geworden ist wird hier im Thread an Beta-Versionen gewerkelt. Mit den üblichen Gefahren. Es kann hier Code in jeglicher Form und Lauffähigkeit vorgefunden werden. Bitte hier nur 'todesmutige' Tester mit Backup für den Fall der Fälle. )

    Ich habe mich ja lange dagegen ausgesprochen, so grundlegende Dinge wie die Installation von nodejs über windige 'Toolz' machen zu lassen. Aber sei es wie es ist, hier ist ein Skript, das verfummelte nodejs-Installationen wieder weitgehend gerade ziehen sollte und auch das aktuelle Repository für nodejs in der Version von nodesource inkl. der Schlüssel usw. installiert.

    Flugs heruntergeladen und ausgeführt per

    curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
    chmod 744 iob_node_update
    ./iob_node_update
    

    Optional kann man dem Skript auch einen nodejs-Zweig mit geben, dann wird die letzte Version aus diesem Zweig installiert.

    ./iob_node_update XX
    

    Wobei der Zweig natürlich existent sein muss. Zur Zeit ist also XX = 18 , 20 oder 22 möglich.

    Noch ein Hinweis: Gegebenenfalls (wenn z. B. mehrere verschachtelte Fehler vorliegen) das Skript nochmal laufen lassen. Wenn alles senkrecht ist sieht die Meldung am Ende so aus:

    Nothing to do, your installation is using the correct paths.
    Nothing to do, your installed version is the recommended one.
    

    Also 2x 'nothing to do'.
    (2x aber nur, wenn die Empfehlung aus dem iobroker herausgelesen werden konnte. Das funktioniert aber nicht immer, für Multihost-Setups z.B. nur für das Hauptsystem)

    Meinungen? Anregungen? Wünsche?
    Wer da tiefer einsteigen möchte und vielleicht selber kochen möchte:
    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

    F Offline
    F Offline
    fastfoot
    wrote on last edited by
    #2

    @thomas-braun sehr gut dass du dich dazu durchgerungen hast! Ich hoffe bzw. bin mir sicher dass das auch deine unermüdliche Arbeit hier leichter machen wird

    Ein paar Dinge hätte ich dazu noch anzumerken, komme leider jedoch erst morgen dazu das ausführlicher zu schreiben

    iobroker läuft unter Docker auf QNAP TS-451+
    SkriptRecovery: https://forum.iobroker.net/post/930558

    F 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      Hinweis vorab: Wenn das Skript ausgeführt wurde und sein Werk getan hat, funktionieren Updates innerhalb der nodejs-Version wieder wie gehabt über

      sudo apt update
      sudo apt full-upgrade
      

      Erneutes ausführen des Skriptes bei einem gewöhnlichen Update ist nicht notwendig!

      __
      BETA-TESTING
      (Nachdem das Skript jetzt auch offiziell Teil vom ioBroker in Form des Kommandos iob nodejs-update geworden ist wird hier im Thread an Beta-Versionen gewerkelt. Mit den üblichen Gefahren. Es kann hier Code in jeglicher Form und Lauffähigkeit vorgefunden werden. Bitte hier nur 'todesmutige' Tester mit Backup für den Fall der Fälle. )

      Ich habe mich ja lange dagegen ausgesprochen, so grundlegende Dinge wie die Installation von nodejs über windige 'Toolz' machen zu lassen. Aber sei es wie es ist, hier ist ein Skript, das verfummelte nodejs-Installationen wieder weitgehend gerade ziehen sollte und auch das aktuelle Repository für nodejs in der Version von nodesource inkl. der Schlüssel usw. installiert.

      Flugs heruntergeladen und ausgeführt per

      curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
      chmod 744 iob_node_update
      ./iob_node_update
      

      Optional kann man dem Skript auch einen nodejs-Zweig mit geben, dann wird die letzte Version aus diesem Zweig installiert.

      ./iob_node_update XX
      

      Wobei der Zweig natürlich existent sein muss. Zur Zeit ist also XX = 18 , 20 oder 22 möglich.

      Noch ein Hinweis: Gegebenenfalls (wenn z. B. mehrere verschachtelte Fehler vorliegen) das Skript nochmal laufen lassen. Wenn alles senkrecht ist sieht die Meldung am Ende so aus:

      Nothing to do, your installation is using the correct paths.
      Nothing to do, your installed version is the recommended one.
      

      Also 2x 'nothing to do'.
      (2x aber nur, wenn die Empfehlung aus dem iobroker herausgelesen werden konnte. Das funktioniert aber nicht immer, für Multihost-Setups z.B. nur für das Hauptsystem)

      Meinungen? Anregungen? Wünsche?
      Wer da tiefer einsteigen möchte und vielleicht selber kochen möchte:
      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

      Meister MopperM Away
      Meister MopperM Away
      Meister Mopper
      wrote on last edited by Meister Mopper
      #3

      @thomas-braun

      1. So, ich habe das mal auf einem bookworm lxc (ioBroker master) ausgeführt.

      Vorab der Eintrag in nodesource.list

      thomas@iobroker:~$ cat /etc/apt/sources.list.d/nodesource.list
      
      deb https://deb.nodesource.com/node_18.x bookworm main
      deb-src https://deb.nodesource.com/node_18.x bookworm main
      

      Ich habe da somit an den Schlüsseln bisher nichts geändert.
      Hier die Ausgabe des Skripts:

      ioBroker nodejs fixer 2023-09-02
      Recommended nodejs-version is: 18.17.1
      Checking your installation now. Please be patient!
      
      Your current setup is:
      /usr/bin/nodejs         v18.17.1
      /usr/bin/node           v18.17.1
      /usr/bin/npm            9.6.7
      /usr/bin/npx            9.6.7
      /usr/bin/corepack       0.18.0
      
      I found these versions available:
      
      nodejs:
        Installed: 18.17.1-deb-1nodesource1
        Candidate: 18.17.1-deb-1nodesource1
        Version table:
       *** 18.17.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
              100 /var/lib/dpkg/status
           18.13.0+dfsg1-1 500
              500 http://deb.debian.org/debian bookworm/main amd64 Packages
      
      
      
      Nothing to do, your installation seems to be correct
      
      1. Ich habe es auch auf einem Raspberrypi 4 mit bullseye (ioBroker slave) ausgeführt und erhalte:
      thomas@rpizigbee:~ $ cat /etc/apt/sources.list.d/nodesource.list
      # node 18
      deb https://deb.nodesource.com/node_18.x bullseye main
      deb-src https://deb.nodesource.com/node_18.x bullseye main
      
      ioBroker nodejs fixer 2023-09-02
      Could not detect recommended nodejs-version. Please run 'iob node-update' again.
      

      iob diag auf diesem Raspberrypi ergibt:

      Skript v.2023-04-16
      
      *** BASE SYSTEM ***
      Model           : Raspberry Pi 4 Model B Rev 1.2
      Architecture    : aarch64
      Docker          : false
      Virtualization  : none
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 11 (bullseye)
      Release:        11
      Codename:       bullseye
      
      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
      NAME="Raspbian GNU/Linux"
      VERSION_ID="11"
      VERSION="11 (bullseye)"
      VERSION_CODENAME=bullseye
      ID=raspbian
      ID_LIKE=debian
      HOME_URL="http://www.raspbian.org/"
      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
      
      Systemuptime and Load:
       10:24:15 up 39 days, 20:46,  2 users,  load average: 1.56, 1.59, 1.61
      CPU threads: 4
      
      Raspberry only:
      throttled=0x0
      Other values than 0x0 hint to temperature/voltage problems
      temp=56.0'C
      volt=0.8563V
      
      *** Time and Time Zones ***
                     Local time: Sun 2023-09-03 10:24:15 CEST
                 Universal time: Sun 2023-09-03 08:24:15 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CEST, +0200)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** User and Groups ***
      thomas
      /home/thomas
      thomas adm video lpadmin iobroker
      
      *** X-Server-Setup ***
      X-Server:       false
      Desktop:
      Terminal:       tty
      Boot Target:    multi-user.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            3.8G        915M        684M        1.0M        2.2G        2.8G
      Swap:             0B          0B          0B
      Total:          3.8G        915M        684M
      
               3793 M total memory
                915 M used memory
               1284 M active memory
               1486 M inactive memory
                683 M free memory
               1044 M buffer memory
               1149 M swap cache
                  0 M total swap
                  0 M used swap
                  0 M free swap
      
      Raspberry only:
      oom events: 0
      lifetime oom required: 0 Mbytes
      total time in oom handler: 0 ms
      max time spent in oom handler: 0 ms
      
      *** FILESYSTEM ***
      Filesystem                           Type      Size  Used Avail Use% Mounted on
      /dev/root                            ext4      459G  7.6G  433G   2% /
      devtmpfs                             devtmpfs  1.7G     0  1.7G   0% /dev
      tmpfs                                tmpfs     1.9G     0  1.9G   0% /dev/shm
      tmpfs                                tmpfs     759M  836K  758M   1% /run
      tmpfs                                tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      /dev/sda1                            vfat      253M   51M  202M  20% /boot
      tmpfs                                tmpfs     380M   24K  380M   1% /run/user/1000
      //192.168.178.100/homes/pi/rpizigbee cifs      7.0T  3.1T  4.0T  44% /mnt/nas
      tmpfs                                tmpfs     380M   24K  380M   1% /run/user/1001
      
      Messages concerning ext4 filesystem in dmesg:
      [Tue Jul 25 13:37:52 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:60:B6:CA vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=b5ea4336-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      [Tue Jul 25 13:37:55 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
      [Tue Jul 25 13:37:55 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
      [Tue Jul 25 13:37:58 2023] EXT4-fs (sda2): re-mounted. Quota mode: none.
      
      Show mounted filesystems (real ones only):
      TARGET     SOURCE                               FSTYPE OPTIONS
      /          /dev/sda2                            ext4   rw,noatime
      |-/boot    /dev/sda1                            vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
      `-/mnt/nas //192.168.178.100/homes/pi/rpizigbee cifs   rw,relatime,vers=3.1.1,cache=strict,username=pi,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.100,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5
      
      Files in neuralgic directories:
      
      /var:
      1.4G    /var/
      617M    /var/log
      500M    /var/cache
      488M    /var/cache/apt
      424M    /var/cache/apt/archives
      
      Archived and active journals take up 264.0M in the file system.
      
      /opt/iobroker/backups:
      44K     /opt/iobroker/backups/
      4.0K    /opt/iobroker/backups/redistmp
      
      /opt/iobroker/iobroker-data:
      8.2M    /opt/iobroker/iobroker-data/
      3.4M    /opt/iobroker/iobroker-data/files
      2.8M    /opt/iobroker/iobroker-data/files/info.admin
      2.4M    /opt/iobroker/iobroker-data/files/info.admin/lib
      1.2M    /opt/iobroker/iobroker-data/backup-objects
      
      The five largest files in iobroker-data are:
      1.5M    /opt/iobroker/iobroker-data/objects.json.bak
      1.5M    /opt/iobroker/iobroker-data/objects.json
      444K    /opt/iobroker/iobroker-data/backup-objects/2020-06-12_11-00_objects.json.gz
      444K    /opt/iobroker/iobroker-data/backup-objects/2020-06-12_10-45_objects.json.gz
      440K    /opt/iobroker/iobroker-data/files/info.admin/lib/fonts/fontawesome-webfont.svg
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v18.17.1
      /usr/bin/node           v18.17.1
      /usr/bin/npm            9.6.7
      /usr/bin/npx            9.6.7
      
      
      nodejs:
        Installed: 18.17.1-deb-1nodesource1
        Candidate: 18.17.1-deb-1nodesource1
        Version table:
       *** 18.17.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
              100 /var/lib/dpkg/status
           12.22.12~dfsg-1~deb11u4 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      At least one iobroker host is running.
      
      Objects type: jsonl
      States  type: redis
      
      MULTIHOSTSERVICE/enabled: false
      
      Core adapters versions
      js-controller:  4.0.24
      admin:          6.8.0
      javascript:     7.0.3
      
      Adapters from github:   0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
      + system.adapter.backitup.1               : backitup              : rpizigbee                                -  enabled
      + system.adapter.bluelink.0               : bluelink              : iobroker                                 -  enabled
      + system.adapter.chromecast.0             : chromecast            : iobroker                                 -  enabled
        system.adapter.daswetter.0              : daswetter             : rpizigbee                                -  enabled
      + system.adapter.denon.0                  : denon                 : iobroker                                 -  enabled
      + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
        system.adapter.dwd.0                    : dwd                   : rpizigbee                                -  enabled
      + system.adapter.enigma2.0                : enigma2               : iobroker                                 -  enabled
      + system.adapter.enigma2.1                : enigma2               : iobroker                                 -  enabled
        system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
      + system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 -  enabled
      + system.adapter.harmony.0                : harmony               : iobroker                                 -  enabled
      + system.adapter.heos.0                   : heos                  : iobroker                                 -  enabled
      + system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled
      + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
      + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 12010
      + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 80
        system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
        system.adapter.ical.1                   : ical                  : iobroker                                 -  enabled
        system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 - disabled
        system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : iobroker                                 - disabled
        system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 - disabled
        system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 -  enabled
        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
        system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 - disabled
      + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
      + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
      + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
      + system.adapter.linux-control.0          : linux-control         : rpizigbee                                -  enabled
      + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
      + system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
      + system.adapter.nut.0                    : nut                   : iobroker                                 -  enabled
      + system.adapter.nut.1                    : nut                   : iobroker                                 -  enabled
      + system.adapter.ocpp.0                   : ocpp                  : rpizigbee                                -  enabled, port: 9220
      + system.adapter.openligadb.0             : openligadb            : iobroker                                 -  enabled
      + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
      + system.adapter.pi-hole.1                : pi-hole               : iobroker                                 -  enabled
      + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
      + system.adapter.pollenflug.0             : pollenflug            : iobroker                                 -  enabled
      + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
      + system.adapter.rpi2.0                   : rpi2                  : rpizigbee                                -  enabled
      + system.adapter.sayit.0                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.sayit.1                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.sayit.2                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.sayit.3                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.sayit.4                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.sayit.5                  : sayit                 : iobroker                                 -  enabled
      + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
      + system.adapter.smartmeter.0             : smartmeter            : rpizigbee                                -  enabled
      + system.adapter.solax.0                  : solax                 : iobroker                                 -  enabled
      + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 8883, bind: 0.0.0.0
      + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
      + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
      + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
      + system.adapter.tuya.0                   : tuya                  : rpizigbee                                -  enabled
      + system.adapter.unifi.0                  : unifi                 : iobroker                                 -  enabled
      + system.adapter.vaillant.0               : vaillant              : rpizigbee                                -  enabled
        system.adapter.vis-bars.0               : vis-bars              : iobroker                                 - disabled
        system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 - disabled
        system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
        system.adapter.vis-history.0            : vis-history           : iobroker                                 - disabled
        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 - disabled
        system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 - disabled
        system.adapter.vis-map.0                : vis-map               : rpizigbee                                -  enabled
        system.adapter.vis-players.0            : vis-players           : iobroker                                 - disabled
        system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 - disabled
        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.yeelight-2.0             : yeelight-2            : iobroker                                 -  enabled
      + system.adapter.zigbee.0                 : zigbee                : rpizigbee                                -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L1100MSJ-if00
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
      + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 12010
      + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 80
      + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
      + system.adapter.ocpp.0                   : ocpp                  : rpizigbee                                -  enabled, port: 9220
      + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
      + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
      + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 8883, bind: 0.0.0.0
      + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.zigbee.0                 : zigbee                : rpizigbee                                -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L1100MSJ-if00
      
      ioBroker-Repositories
      (stable) default: http://download.iobroker.net/sources-dist.json
      (beta) latest : http://download.iobroker.net/sources-dist-latest.json
      stable-live   : http://iobroker.live/repo/sources-dist.json
      latest-live   : http://iobroker.live/repo/sources-dist-latest.json
      
      Active repo(s): (stable) default
      
      Installed ioBroker-Instances
      Used repository: (stable) default
      Adapter    "admin"        : 6.8.0    , installed 6.8.0
      Adapter    "backitup"     : 2.6.23   , installed 2.6.23
      Adapter    "bluelink"     : 2.3.6    , installed 2.3.6
      Adapter    "daswetter"    : 3.1.10   , installed 3.1.10
      Adapter    "denon"        : 1.15.3   , installed 1.15.3
      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
      Adapter    "dwd"          : 2.8.5    , installed 2.8.5
      Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
      Adapter    "history"      : 2.2.6    , installed 2.2.6
      Adapter    "hm-rega"      : 3.0.47   , installed 3.0.47
      Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
      Adapter    "homekit-controller": 0.5.8, installed 0.5.8
      Adapter    "hue"          : 3.9.5    , installed 3.9.5
      Adapter    "info"         : 1.9.26   , installed 1.9.26
      Adapter    "javascript"   : 7.0.3    , installed 7.0.3
      Controller "js-controller": 4.0.24   , installed 4.0.24
      Adapter    "linux-control": 1.1.3    , installed 1.1.3
      Adapter    "ocpp"         : 0.12.5   , installed 0.12.5
      Adapter    "openligadb"   : 1.2.4    , installed 1.2.4
      Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
      Adapter    "signal-cmb"   : 0.3.0    , installed 0.3.0
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
      Adapter    "socketio"     : 6.5.2    , installed 6.5.2
      Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
      Adapter    "spotify-premium": 1.2.2  , installed 1.2.2
      Adapter    "telegram"     : 1.16.0   , installed 1.16.0
      Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
      Adapter    "trashschedule": 2.2.0    , installed 2.2.0
      Adapter    "tuya"         : 3.14.2   , installed 3.14.2
      Adapter    "upnp"         : 1.0.21   , installed 1.0.21
      Adapter    "vaillant"     : 0.1.2    , installed 0.1.2
      Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
      Adapter    "web"          : 6.1.0    , installed 6.1.0
      Adapter    "ws"           : 2.5.3    , installed 2.5.3
      Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
      
      Objects and States
      Please stand by - This may take a while
      Objects:        20365
      States:         22441
      
      *** OS-Repositories and Updates ***
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Get:3 https://deb.nodesource.com/node_18.x bullseye InRelease [4586 B]
      Fetched 4586 B in 1s (5084 B/s)
      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:631           0.0.0.0:*               LISTEN      0          117298392  28647/cupsd
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          3685       495/sshd: /usr/sbin
      tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      0          13662      377/connmand
      tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      118        3697       475/redis-server 12
      tcp6       0      0 :::6556                 :::*                    LISTEN      0          3511       1/init
      tcp6       0      0 ::1:6379                :::*                    LISTEN      118        3698       475/redis-server 12
      tcp6       0      0 :::22                   :::*                    LISTEN      0          3687       495/sshd: /usr/sbin
      tcp6       0      0 ::1:53                  :::*                    LISTEN      0          13666      377/connmand
      tcp6       0      0 ::1:631                 :::*                    LISTEN      0          117298391  28647/cupsd
      tcp6       0      0 :::9220                 :::*                    LISTEN      1002       115702107  9742/io.ocpp.0
      udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          117299454  28660/cups-browsed
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        3577       374/avahi-daemon: r
      udp        0      0 0.0.0.0:52646           0.0.0.0:*                           108        3579       374/avahi-daemon: r
      udp        0      0 127.0.0.1:53            0.0.0.0:*                           0          13654      377/connmand
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13858      501/dhcpcd
      udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1002       56200601   29275/io.tuya.0
      udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1002       56200602   29275/io.tuya.0
      udp6       0      0 :::5353                 :::*                                108        3578       374/avahi-daemon: r
      udp6       0      0 ::1:53                  :::*                                0          13658      377/connmand
      udp6       0      0 :::51362                :::*                                108        3580       374/avahi-daemon: r
      udp6       0      0 :::546                  :::*                                0          3860       501/dhcpcd
      
      *** Log File - Last 25 Lines ***
      
      
      
      ============ Mark until here for C&P =============
      
      iob diag has finished.
      

      Erwartet hatte ich, dass auf beiden Systemen nodesource.list geändert wird und die neue Schlüsselvariante angewendet wird.

      Proxmox und HA

      Thomas BraunT 1 Reply Last reply
      0
      • Meister MopperM Meister Mopper

        @thomas-braun

        1. So, ich habe das mal auf einem bookworm lxc (ioBroker master) ausgeführt.

        Vorab der Eintrag in nodesource.list

        thomas@iobroker:~$ cat /etc/apt/sources.list.d/nodesource.list
        
        deb https://deb.nodesource.com/node_18.x bookworm main
        deb-src https://deb.nodesource.com/node_18.x bookworm main
        

        Ich habe da somit an den Schlüsseln bisher nichts geändert.
        Hier die Ausgabe des Skripts:

        ioBroker nodejs fixer 2023-09-02
        Recommended nodejs-version is: 18.17.1
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v18.17.1
        /usr/bin/node           v18.17.1
        /usr/bin/npm            9.6.7
        /usr/bin/npx            9.6.7
        /usr/bin/corepack       0.18.0
        
        I found these versions available:
        
        nodejs:
          Installed: 18.17.1-deb-1nodesource1
          Candidate: 18.17.1-deb-1nodesource1
          Version table:
         *** 18.17.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
                100 /var/lib/dpkg/status
             18.13.0+dfsg1-1 500
                500 http://deb.debian.org/debian bookworm/main amd64 Packages
        
        
        
        Nothing to do, your installation seems to be correct
        
        1. Ich habe es auch auf einem Raspberrypi 4 mit bullseye (ioBroker slave) ausgeführt und erhalte:
        thomas@rpizigbee:~ $ cat /etc/apt/sources.list.d/nodesource.list
        # node 18
        deb https://deb.nodesource.com/node_18.x bullseye main
        deb-src https://deb.nodesource.com/node_18.x bullseye main
        
        ioBroker nodejs fixer 2023-09-02
        Could not detect recommended nodejs-version. Please run 'iob node-update' again.
        

        iob diag auf diesem Raspberrypi ergibt:

        Skript v.2023-04-16
        
        *** BASE SYSTEM ***
        Model           : Raspberry Pi 4 Model B Rev 1.2
        Architecture    : aarch64
        Docker          : false
        Virtualization  : none
        Distributor ID: Raspbian
        Description:    Raspbian GNU/Linux 11 (bullseye)
        Release:        11
        Codename:       bullseye
        
        PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
        NAME="Raspbian GNU/Linux"
        VERSION_ID="11"
        VERSION="11 (bullseye)"
        VERSION_CODENAME=bullseye
        ID=raspbian
        ID_LIKE=debian
        HOME_URL="http://www.raspbian.org/"
        SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
        BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
        
        Systemuptime and Load:
         10:24:15 up 39 days, 20:46,  2 users,  load average: 1.56, 1.59, 1.61
        CPU threads: 4
        
        Raspberry only:
        throttled=0x0
        Other values than 0x0 hint to temperature/voltage problems
        temp=56.0'C
        volt=0.8563V
        
        *** Time and Time Zones ***
                       Local time: Sun 2023-09-03 10:24:15 CEST
                   Universal time: Sun 2023-09-03 08:24:15 UTC
                         RTC time: n/a
                        Time zone: Europe/Berlin (CEST, +0200)
        System clock synchronized: yes
                      NTP service: active
                  RTC in local TZ: no
        
        *** User and Groups ***
        thomas
        /home/thomas
        thomas adm video lpadmin iobroker
        
        *** X-Server-Setup ***
        X-Server:       false
        Desktop:
        Terminal:       tty
        Boot Target:    multi-user.target
        
        *** MEMORY ***
                       total        used        free      shared  buff/cache   available
        Mem:            3.8G        915M        684M        1.0M        2.2G        2.8G
        Swap:             0B          0B          0B
        Total:          3.8G        915M        684M
        
                 3793 M total memory
                  915 M used memory
                 1284 M active memory
                 1486 M inactive memory
                  683 M free memory
                 1044 M buffer memory
                 1149 M swap cache
                    0 M total swap
                    0 M used swap
                    0 M free swap
        
        Raspberry only:
        oom events: 0
        lifetime oom required: 0 Mbytes
        total time in oom handler: 0 ms
        max time spent in oom handler: 0 ms
        
        *** FILESYSTEM ***
        Filesystem                           Type      Size  Used Avail Use% Mounted on
        /dev/root                            ext4      459G  7.6G  433G   2% /
        devtmpfs                             devtmpfs  1.7G     0  1.7G   0% /dev
        tmpfs                                tmpfs     1.9G     0  1.9G   0% /dev/shm
        tmpfs                                tmpfs     759M  836K  758M   1% /run
        tmpfs                                tmpfs     5.0M  4.0K  5.0M   1% /run/lock
        /dev/sda1                            vfat      253M   51M  202M  20% /boot
        tmpfs                                tmpfs     380M   24K  380M   1% /run/user/1000
        //192.168.178.100/homes/pi/rpizigbee cifs      7.0T  3.1T  4.0T  44% /mnt/nas
        tmpfs                                tmpfs     380M   24K  380M   1% /run/user/1001
        
        Messages concerning ext4 filesystem in dmesg:
        [Tue Jul 25 13:37:52 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:60:B6:CA vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=b5ea4336-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
        [Tue Jul 25 13:37:55 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
        [Tue Jul 25 13:37:55 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
        [Tue Jul 25 13:37:58 2023] EXT4-fs (sda2): re-mounted. Quota mode: none.
        
        Show mounted filesystems (real ones only):
        TARGET     SOURCE                               FSTYPE OPTIONS
        /          /dev/sda2                            ext4   rw,noatime
        |-/boot    /dev/sda1                            vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
        `-/mnt/nas //192.168.178.100/homes/pi/rpizigbee cifs   rw,relatime,vers=3.1.1,cache=strict,username=pi,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.100,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5
        
        Files in neuralgic directories:
        
        /var:
        1.4G    /var/
        617M    /var/log
        500M    /var/cache
        488M    /var/cache/apt
        424M    /var/cache/apt/archives
        
        Archived and active journals take up 264.0M in the file system.
        
        /opt/iobroker/backups:
        44K     /opt/iobroker/backups/
        4.0K    /opt/iobroker/backups/redistmp
        
        /opt/iobroker/iobroker-data:
        8.2M    /opt/iobroker/iobroker-data/
        3.4M    /opt/iobroker/iobroker-data/files
        2.8M    /opt/iobroker/iobroker-data/files/info.admin
        2.4M    /opt/iobroker/iobroker-data/files/info.admin/lib
        1.2M    /opt/iobroker/iobroker-data/backup-objects
        
        The five largest files in iobroker-data are:
        1.5M    /opt/iobroker/iobroker-data/objects.json.bak
        1.5M    /opt/iobroker/iobroker-data/objects.json
        444K    /opt/iobroker/iobroker-data/backup-objects/2020-06-12_11-00_objects.json.gz
        444K    /opt/iobroker/iobroker-data/backup-objects/2020-06-12_10-45_objects.json.gz
        440K    /opt/iobroker/iobroker-data/files/info.admin/lib/fonts/fontawesome-webfont.svg
        
        *** NodeJS-Installation ***
        
        /usr/bin/nodejs         v18.17.1
        /usr/bin/node           v18.17.1
        /usr/bin/npm            9.6.7
        /usr/bin/npx            9.6.7
        
        
        nodejs:
          Installed: 18.17.1-deb-1nodesource1
          Candidate: 18.17.1-deb-1nodesource1
          Version table:
         *** 18.17.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u4 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        
        Temp directories causing npm8 problem: 0
        No problems detected
        
        *** ioBroker-Installation ***
        
        ioBroker Status
        iobroker is running on this host.
        
        At least one iobroker host is running.
        
        Objects type: jsonl
        States  type: redis
        
        MULTIHOSTSERVICE/enabled: false
        
        Core adapters versions
        js-controller:  4.0.24
        admin:          6.8.0
        javascript:     7.0.3
        
        Adapters from github:   0
        
        Adapter State
        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
        + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
        + system.adapter.backitup.1               : backitup              : rpizigbee                                -  enabled
        + system.adapter.bluelink.0               : bluelink              : iobroker                                 -  enabled
        + system.adapter.chromecast.0             : chromecast            : iobroker                                 -  enabled
          system.adapter.daswetter.0              : daswetter             : rpizigbee                                -  enabled
        + system.adapter.denon.0                  : denon                 : iobroker                                 -  enabled
        + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
          system.adapter.dwd.0                    : dwd                   : rpizigbee                                -  enabled
        + system.adapter.enigma2.0                : enigma2               : iobroker                                 -  enabled
        + system.adapter.enigma2.1                : enigma2               : iobroker                                 -  enabled
          system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
        + system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 -  enabled
        + system.adapter.harmony.0                : harmony               : iobroker                                 -  enabled
        + system.adapter.heos.0                   : heos                  : iobroker                                 -  enabled
        + system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled
        + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 12010
        + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 80
          system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
          system.adapter.ical.1                   : ical                  : iobroker                                 -  enabled
          system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 - disabled
          system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : iobroker                                 - disabled
          system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 - disabled
          system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 -  enabled
          system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
          system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 - disabled
        + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
        + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
        + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
        + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
        + system.adapter.linux-control.0          : linux-control         : rpizigbee                                -  enabled
        + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
        + system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
        + system.adapter.nut.0                    : nut                   : iobroker                                 -  enabled
        + system.adapter.nut.1                    : nut                   : iobroker                                 -  enabled
        + system.adapter.ocpp.0                   : ocpp                  : rpizigbee                                -  enabled, port: 9220
        + system.adapter.openligadb.0             : openligadb            : iobroker                                 -  enabled
        + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
        + system.adapter.pi-hole.1                : pi-hole               : iobroker                                 -  enabled
        + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
        + system.adapter.pollenflug.0             : pollenflug            : iobroker                                 -  enabled
        + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
        + system.adapter.rpi2.0                   : rpi2                  : rpizigbee                                -  enabled
        + system.adapter.sayit.0                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.sayit.1                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.sayit.2                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.sayit.3                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.sayit.4                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.sayit.5                  : sayit                 : iobroker                                 -  enabled
        + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        + system.adapter.smartmeter.0             : smartmeter            : rpizigbee                                -  enabled
        + system.adapter.solax.0                  : solax                 : iobroker                                 -  enabled
        + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 8883, bind: 0.0.0.0
        + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
        + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
        + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
        + system.adapter.tuya.0                   : tuya                  : rpizigbee                                -  enabled
        + system.adapter.unifi.0                  : unifi                 : iobroker                                 -  enabled
        + system.adapter.vaillant.0               : vaillant              : rpizigbee                                -  enabled
          system.adapter.vis-bars.0               : vis-bars              : iobroker                                 - disabled
          system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 - disabled
          system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
          system.adapter.vis-history.0            : vis-history           : iobroker                                 - disabled
          system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
          system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 - disabled
          system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 - disabled
          system.adapter.vis-map.0                : vis-map               : rpizigbee                                -  enabled
          system.adapter.vis-players.0            : vis-players           : iobroker                                 - disabled
          system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 - disabled
          system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.yeelight-2.0             : yeelight-2            : iobroker                                 -  enabled
        + system.adapter.zigbee.0                 : zigbee                : rpizigbee                                -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L1100MSJ-if00
        
        + instance is alive
        
        Enabled adapters with bindings
        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
        + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 12010
        + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 80
        + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
        + system.adapter.ocpp.0                   : ocpp                  : rpizigbee                                -  enabled, port: 9220
        + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
        + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 8883, bind: 0.0.0.0
        + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.zigbee.0                 : zigbee                : rpizigbee                                -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L1100MSJ-if00
        
        ioBroker-Repositories
        (stable) default: http://download.iobroker.net/sources-dist.json
        (beta) latest : http://download.iobroker.net/sources-dist-latest.json
        stable-live   : http://iobroker.live/repo/sources-dist.json
        latest-live   : http://iobroker.live/repo/sources-dist-latest.json
        
        Active repo(s): (stable) default
        
        Installed ioBroker-Instances
        Used repository: (stable) default
        Adapter    "admin"        : 6.8.0    , installed 6.8.0
        Adapter    "backitup"     : 2.6.23   , installed 2.6.23
        Adapter    "bluelink"     : 2.3.6    , installed 2.3.6
        Adapter    "daswetter"    : 3.1.10   , installed 3.1.10
        Adapter    "denon"        : 1.15.3   , installed 1.15.3
        Adapter    "discovery"    : 3.1.0    , installed 3.1.0
        Adapter    "dwd"          : 2.8.5    , installed 2.8.5
        Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
        Adapter    "history"      : 2.2.6    , installed 2.2.6
        Adapter    "hm-rega"      : 3.0.47   , installed 3.0.47
        Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
        Adapter    "homekit-controller": 0.5.8, installed 0.5.8
        Adapter    "hue"          : 3.9.5    , installed 3.9.5
        Adapter    "info"         : 1.9.26   , installed 1.9.26
        Adapter    "javascript"   : 7.0.3    , installed 7.0.3
        Controller "js-controller": 4.0.24   , installed 4.0.24
        Adapter    "linux-control": 1.1.3    , installed 1.1.3
        Adapter    "ocpp"         : 0.12.5   , installed 0.12.5
        Adapter    "openligadb"   : 1.2.4    , installed 1.2.4
        Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
        Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
        Adapter    "signal-cmb"   : 0.3.0    , installed 0.3.0
        Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
        Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
        Adapter    "socketio"     : 6.5.2    , installed 6.5.2
        Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
        Adapter    "spotify-premium": 1.2.2  , installed 1.2.2
        Adapter    "telegram"     : 1.16.0   , installed 1.16.0
        Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
        Adapter    "trashschedule": 2.2.0    , installed 2.2.0
        Adapter    "tuya"         : 3.14.2   , installed 3.14.2
        Adapter    "upnp"         : 1.0.21   , installed 1.0.21
        Adapter    "vaillant"     : 0.1.2    , installed 0.1.2
        Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
        Adapter    "web"          : 6.1.0    , installed 6.1.0
        Adapter    "ws"           : 2.5.3    , installed 2.5.3
        Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
        
        Objects and States
        Please stand by - This may take a while
        Objects:        20365
        States:         22441
        
        *** OS-Repositories and Updates ***
        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
        Get:3 https://deb.nodesource.com/node_18.x bullseye InRelease [4586 B]
        Fetched 4586 B in 1s (5084 B/s)
        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:631           0.0.0.0:*               LISTEN      0          117298392  28647/cupsd
        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          3685       495/sshd: /usr/sbin
        tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      0          13662      377/connmand
        tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      118        3697       475/redis-server 12
        tcp6       0      0 :::6556                 :::*                    LISTEN      0          3511       1/init
        tcp6       0      0 ::1:6379                :::*                    LISTEN      118        3698       475/redis-server 12
        tcp6       0      0 :::22                   :::*                    LISTEN      0          3687       495/sshd: /usr/sbin
        tcp6       0      0 ::1:53                  :::*                    LISTEN      0          13666      377/connmand
        tcp6       0      0 ::1:631                 :::*                    LISTEN      0          117298391  28647/cupsd
        tcp6       0      0 :::9220                 :::*                    LISTEN      1002       115702107  9742/io.ocpp.0
        udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          117299454  28660/cups-browsed
        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        3577       374/avahi-daemon: r
        udp        0      0 0.0.0.0:52646           0.0.0.0:*                           108        3579       374/avahi-daemon: r
        udp        0      0 127.0.0.1:53            0.0.0.0:*                           0          13654      377/connmand
        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13858      501/dhcpcd
        udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1002       56200601   29275/io.tuya.0
        udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1002       56200602   29275/io.tuya.0
        udp6       0      0 :::5353                 :::*                                108        3578       374/avahi-daemon: r
        udp6       0      0 ::1:53                  :::*                                0          13658      377/connmand
        udp6       0      0 :::51362                :::*                                108        3580       374/avahi-daemon: r
        udp6       0      0 :::546                  :::*                                0          3860       501/dhcpcd
        
        *** Log File - Last 25 Lines ***
        
        
        
        ============ Mark until here for C&P =============
        
        iob diag has finished.
        

        Erwartet hatte ich, dass auf beiden Systemen nodesource.list geändert wird und die neue Schlüsselvariante angewendet wird.

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #4

        @meister-mopper sagte in iob node fix - Skript:

        Erwartet hatte ich, dass auf beiden Systemen nodesource.list geändert wird und die neue Schlüsselvariante angewendet wird.

        Da passiert nur, wenn die empfohlene Version und die installierte Version ungleich sind. Bei einer empfohlenen v18.17.2 würde das z. B. umgestellt. So bist du aber aber ja schon auf der aktuellen Version, wenn auch im Moment noch aus dem alten Repo. Installier mal ein nodejs@16 oder 20. Dann wird ein nodejs@18 installiert werden.

        Could not detect recommended nodejs-version. Please run 'iob node-update' again.

        Ist ein Timinig Problem beim Auslesen der iob-Datenbank.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        Meister MopperM 2 Replies Last reply
        1
        • Thomas BraunT Thomas Braun

          @meister-mopper sagte in iob node fix - Skript:

          Erwartet hatte ich, dass auf beiden Systemen nodesource.list geändert wird und die neue Schlüsselvariante angewendet wird.

          Da passiert nur, wenn die empfohlene Version und die installierte Version ungleich sind. Bei einer empfohlenen v18.17.2 würde das z. B. umgestellt. So bist du aber aber ja schon auf der aktuellen Version, wenn auch im Moment noch aus dem alten Repo. Installier mal ein nodejs@16 oder 20. Dann wird ein nodejs@18 installiert werden.

          Could not detect recommended nodejs-version. Please run 'iob node-update' again.

          Ist ein Timinig Problem beim Auslesen der iob-Datenbank.

          Meister MopperM Away
          Meister MopperM Away
          Meister Mopper
          wrote on last edited by
          #5

          @thomas-braun sagte in iob node fix - Skript:

          Ist ein Timinig Problem beim Auslesen der iob-Datenbank.

          Ich bekomme jedoch dieselbe Meldung, wenn ich das Skript erneut (und, und, und) aufrufe.

          Proxmox und HA

          Thomas BraunT 1 Reply Last reply
          0
          • Meister MopperM Meister Mopper

            @thomas-braun sagte in iob node fix - Skript:

            Ist ein Timinig Problem beim Auslesen der iob-Datenbank.

            Ich bekomme jedoch dieselbe Meldung, wenn ich das Skript erneut (und, und, und) aufrufe.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #6

            @meister-mopper

            Mit Slaves hab ich das zugegeben nicht getestet.
            Was passiert bei dir mit dem Code:

            iobroker state getValue system.host.`hostname`.versions.nodeNewestNext
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            Meister MopperM 1 Reply Last reply
            1
            • Thomas BraunT Thomas Braun

              @meister-mopper

              Mit Slaves hab ich das zugegeben nicht getestet.
              Was passiert bei dir mit dem Code:

              iobroker state getValue system.host.`hostname`.versions.nodeNewestNext
              
              Meister MopperM Away
              Meister MopperM Away
              Meister Mopper
              wrote on last edited by
              #7

              @thomas-braun sagte in iob node fix - Skript:

              Was passiert bei dir mit dem Code:

              thomas@rpizigbee:~ $ iobroker state getValue system.host.`hostname`.versions.nodeNewestNext
              The state system.host.rpizigbee.versions.nodeNewestNext was not found!
              

              Proxmox und HA

              Thomas BraunT 1 Reply Last reply
              0
              • Meister MopperM Meister Mopper

                @thomas-braun sagte in iob node fix - Skript:

                Was passiert bei dir mit dem Code:

                thomas@rpizigbee:~ $ iobroker state getValue system.host.`hostname`.versions.nodeNewestNext
                The state system.host.rpizigbee.versions.nodeNewestNext was not found!
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by Thomas Braun
                #8

                @meister-mopper
                Gib mal statt
                ``hostname`
                da den Hostname des Masters ein.

                Also

                iobroker state getValue system.host.iobroker.versions.nodeNewestNext
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                Meister MopperM 1 Reply Last reply
                1
                • Thomas BraunT Thomas Braun

                  @meister-mopper
                  Gib mal statt
                  ``hostname`
                  da den Hostname des Masters ein.

                  Also

                  iobroker state getValue system.host.iobroker.versions.nodeNewestNext
                  
                  Meister MopperM Away
                  Meister MopperM Away
                  Meister Mopper
                  wrote on last edited by
                  #9

                  @thomas-braun sagte in iob node fix - Skript:

                  Hostname des Masters

                  thomas@rpizigbee:~ $ iobroker state getValue system.host.iobroker.versions.nodeNewestNext
                  18.17.1
                  

                  Proxmox und HA

                  Thomas BraunT 2 Replies Last reply
                  0
                  • Meister MopperM Meister Mopper

                    @thomas-braun sagte in iob node fix - Skript:

                    Hostname des Masters

                    thomas@rpizigbee:~ $ iobroker state getValue system.host.iobroker.versions.nodeNewestNext
                    18.17.1
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #10

                    @meister-mopper

                    Okay. Dann hab ich das Problem, das ich noch nicht herausgefunden habe wie man zweifelsfrei erkennt ob es ein Master oder ein Slave System ist.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    HomoranH 1 Reply Last reply
                    1
                    • Meister MopperM Meister Mopper

                      @thomas-braun sagte in iob node fix - Skript:

                      Hostname des Masters

                      thomas@rpizigbee:~ $ iobroker state getValue system.host.iobroker.versions.nodeNewestNext
                      18.17.1
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #11

                      @meister-mopper

                      Schau nochmal wie sich der Slave nun verhält. Hab da was angepasst.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      Meister MopperM 1 Reply Last reply
                      1
                      • Thomas BraunT Thomas Braun

                        @meister-mopper

                        Okay. Dann hab ich das Problem, das ich noch nicht herausgefunden habe wie man zweifelsfrei erkennt ob es ein Master oder ein Slave System ist.

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #12

                        @thomas-braun sagte in iob node fix - Skript:

                        ob es ein Master oder ein Slave System ist.

                        nur mal ins unreine;
                        iob setup custom müsste dann beim slave die IP/den Hostnamen enthalten, der nicht der eigene ist.

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        1
                        • Thomas BraunT Thomas Braun

                          @meister-mopper

                          Schau nochmal wie sich der Slave nun verhält. Hab da was angepasst.

                          Meister MopperM Away
                          Meister MopperM Away
                          Meister Mopper
                          wrote on last edited by
                          #13

                          @thomas-braun sagte in iob node fix - Skript:

                          Schau nochmal wie sich der Slave nun verhält.

                          Ok, jetzt wird geliefert:

                          ioBroker nodejs fixer 2023-09-03
                          Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                          
                          Your current setup is:
                          /usr/bin/nodejs         v18.17.1
                          /usr/bin/node           v18.17.1
                          /usr/bin/npm            9.6.7
                          /usr/bin/npx            9.6.7
                          /usr/bin/corepack       0.18.0
                          
                          I found these versions available:
                          
                          nodejs:
                            Installed: 18.17.1-deb-1nodesource1
                            Candidate: 18.17.1-deb-1nodesource1
                            Version table:
                           *** 18.17.1-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                                  100 /var/lib/dpkg/status
                               12.22.12~dfsg-1~deb11u4 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          
                          
                          
                          Nothing to do, your installation seems to be correct
                          
                          Could not detect recommended nodejs-version. Please run 'iob node-update' again.
                          

                          Proxmox und HA

                          1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            Hinweis vorab: Wenn das Skript ausgeführt wurde und sein Werk getan hat, funktionieren Updates innerhalb der nodejs-Version wieder wie gehabt über

                            sudo apt update
                            sudo apt full-upgrade
                            

                            Erneutes ausführen des Skriptes bei einem gewöhnlichen Update ist nicht notwendig!

                            __
                            BETA-TESTING
                            (Nachdem das Skript jetzt auch offiziell Teil vom ioBroker in Form des Kommandos iob nodejs-update geworden ist wird hier im Thread an Beta-Versionen gewerkelt. Mit den üblichen Gefahren. Es kann hier Code in jeglicher Form und Lauffähigkeit vorgefunden werden. Bitte hier nur 'todesmutige' Tester mit Backup für den Fall der Fälle. )

                            Ich habe mich ja lange dagegen ausgesprochen, so grundlegende Dinge wie die Installation von nodejs über windige 'Toolz' machen zu lassen. Aber sei es wie es ist, hier ist ein Skript, das verfummelte nodejs-Installationen wieder weitgehend gerade ziehen sollte und auch das aktuelle Repository für nodejs in der Version von nodesource inkl. der Schlüssel usw. installiert.

                            Flugs heruntergeladen und ausgeführt per

                            curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
                            chmod 744 iob_node_update
                            ./iob_node_update
                            

                            Optional kann man dem Skript auch einen nodejs-Zweig mit geben, dann wird die letzte Version aus diesem Zweig installiert.

                            ./iob_node_update XX
                            

                            Wobei der Zweig natürlich existent sein muss. Zur Zeit ist also XX = 18 , 20 oder 22 möglich.

                            Noch ein Hinweis: Gegebenenfalls (wenn z. B. mehrere verschachtelte Fehler vorliegen) das Skript nochmal laufen lassen. Wenn alles senkrecht ist sieht die Meldung am Ende so aus:

                            Nothing to do, your installation is using the correct paths.
                            Nothing to do, your installed version is the recommended one.
                            

                            Also 2x 'nothing to do'.
                            (2x aber nur, wenn die Empfehlung aus dem iobroker herausgelesen werden konnte. Das funktioniert aber nicht immer, für Multihost-Setups z.B. nur für das Hauptsystem)

                            Meinungen? Anregungen? Wünsche?
                            Wer da tiefer einsteigen möchte und vielleicht selber kochen möchte:
                            https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                            David G.D Online
                            David G.D Online
                            David G.
                            wrote on last edited by
                            #14

                            @thomas-braun

                            Bei mir läuft es auch Problemlos

                            ioBroker nodejs fixer 2023-09-03
                            Recommended nodejs-version is: 18.17.1
                            Checking your installation now. Please be patient!
                            
                            Your current setup is:
                            /usr/bin/nodejs         v18.17.1                              /usr/bin/node           v18.17.1
                            /usr/bin/npm            9.6.7                                 /usr/bin/npx            9.6.7
                            /usr/bin/corepack       0.18.0                                
                            I found these versions available:                             nodejs:
                              Installed: 18.17.1-deb-1nodesource1
                              Candidate: 18.17.1-deb-1nodesource1
                              Version table:                                               *** 18.17.1-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 12.22.12~dfsg-1~deb11u4 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            
                            
                            Nothing to do, your installation seems to be correct
                            

                            Zeigt eure Lovelace-Visualisierung klick
                            (Auch ideal um sich Anregungen zu holen)

                            Meine Tabellen für eure Visualisierung klick

                            1 Reply Last reply
                            0
                            • F fastfoot

                              @thomas-braun sehr gut dass du dich dazu durchgerungen hast! Ich hoffe bzw. bin mir sicher dass das auch deine unermüdliche Arbeit hier leichter machen wird

                              Ein paar Dinge hätte ich dazu noch anzumerken, komme leider jedoch erst morgen dazu das ausführlicher zu schreiben

                              F Offline
                              F Offline
                              fastfoot
                              wrote on last edited by
                              #15

                              @fastfoot sagte in iob node fix - Skript:

                              Ein paar Dinge hätte ich dazu noch anzumerken

                              @Thomas-Braun die haben sich über Nacht wohl aufgelöst 🙂 Aber in Zeile 254 hat sich noch ein Fehler eingeschlichen. Ersetze mal durch:
                              if [[ $NODEINSTMAJOR > $NODE_MAJOR || "$NODERECOMNF" = 1 ]]

                              die double-braces sind hier wichtig.

                              Tolle Arbeit!

                              iobroker läuft unter Docker auf QNAP TS-451+
                              SkriptRecovery: https://forum.iobroker.net/post/930558

                              Thomas BraunT 1 Reply Last reply
                              1
                              • F fastfoot

                                @fastfoot sagte in iob node fix - Skript:

                                Ein paar Dinge hätte ich dazu noch anzumerken

                                @Thomas-Braun die haben sich über Nacht wohl aufgelöst 🙂 Aber in Zeile 254 hat sich noch ein Fehler eingeschlichen. Ersetze mal durch:
                                if [[ $NODEINSTMAJOR > $NODE_MAJOR || "$NODERECOMNF" = 1 ]]

                                die double-braces sind hier wichtig.

                                Tolle Arbeit!

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #16

                                @fastfoot sagte in iob node fix - Skript:

                                die double-braces sind hier wichtig.

                                Die sind auch schon raus. Hab den Code an der Stelle umgestellt.
                                Die ist aber im Moment noch der Punkt wo es hakelt...
                                Ohne ausgelesenem state aus der iob-Datenbank was die empfohlene Version angeht komme ich da ins Schleudern.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                F 1 Reply Last reply
                                1
                                • Thomas BraunT Thomas Braun

                                  @fastfoot sagte in iob node fix - Skript:

                                  die double-braces sind hier wichtig.

                                  Die sind auch schon raus. Hab den Code an der Stelle umgestellt.
                                  Die ist aber im Moment noch der Punkt wo es hakelt...
                                  Ohne ausgelesenem state aus der iob-Datenbank was die empfohlene Version angeht komme ich da ins Schleudern.

                                  F Offline
                                  F Offline
                                  fastfoot
                                  wrote on last edited by
                                  #17

                                  @thomas-braun sagte in iob node fix - Skript:

                                  Hab den Code an der Stelle umgestellt.

                                  hat aber nicht funktioniert 🙂 Mach mal wie beschrieben, da kommt kein Fehler mehr

                                  iobroker läuft unter Docker auf QNAP TS-451+
                                  SkriptRecovery: https://forum.iobroker.net/post/930558

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • F fastfoot

                                    @thomas-braun sagte in iob node fix - Skript:

                                    Hab den Code an der Stelle umgestellt.

                                    hat aber nicht funktioniert 🙂 Mach mal wie beschrieben, da kommt kein Fehler mehr

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #18

                                    @fastfoot
                                    Ist doch drin?

                                    if [[ $NODEINSTMAJOR -gt $NODE_MAJOR || "$NODERECOMNF" -eq 1 ]]
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    F 1 Reply Last reply
                                    1
                                    • Thomas BraunT Thomas Braun

                                      @fastfoot
                                      Ist doch drin?

                                      if [[ $NODEINSTMAJOR -gt $NODE_MAJOR || "$NODERECOMNF" -eq 1 ]]
                                      
                                      F Offline
                                      F Offline
                                      fastfoot
                                      wrote on last edited by
                                      #19

                                      @thomas-braun sagte in iob node fix - Skript:

                                      @fastfoot
                                      Ist doch drin?

                                      if [[ $NODEINSTMAJOR -gt $NODE_MAJOR || "$NODERECOMNF" -eq 1 ]]
                                      

                                      yep, so schnell kann man gar nicht nachladen 🙂 so funktionieren upgrades als auch downgrades.

                                      evtl. könnte man noch die Ausgabe von apt policy unterdrücken, die bringt eh nur die verfügbaren versionen der current installation, nicht der recommended

                                      iobroker läuft unter Docker auf QNAP TS-451+
                                      SkriptRecovery: https://forum.iobroker.net/post/930558

                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • F fastfoot

                                        @thomas-braun sagte in iob node fix - Skript:

                                        @fastfoot
                                        Ist doch drin?

                                        if [[ $NODEINSTMAJOR -gt $NODE_MAJOR || "$NODERECOMNF" -eq 1 ]]
                                        

                                        yep, so schnell kann man gar nicht nachladen 🙂 so funktionieren upgrades als auch downgrades.

                                        evtl. könnte man noch die Ausgabe von apt policy unterdrücken, die bringt eh nur die verfügbaren versionen der current installation, nicht der recommended

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #20

                                        @fastfoot sagte in iob node fix - Skript:

                                        evtl. könnte man noch die Ausgabe von apt policy unterdrücken, die bringt eh nur die verfügbaren versionen der current installation, nicht der recommended

                                        Ja, das nehme ich noch raus, dient im Moment noch zum debuggen. Damit ich sehe was da passiert. Die Ausgaben leite ich nach /dev/null, wenn es stabil läuft.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        E F 3 Replies Last reply
                                        1
                                        • Thomas BraunT Thomas Braun

                                          @fastfoot sagte in iob node fix - Skript:

                                          evtl. könnte man noch die Ausgabe von apt policy unterdrücken, die bringt eh nur die verfügbaren versionen der current installation, nicht der recommended

                                          Ja, das nehme ich noch raus, dient im Moment noch zum debuggen. Damit ich sehe was da passiert. Die Ausgaben leite ich nach /dev/null, wenn es stabil läuft.

                                          E Online
                                          E Online
                                          emil70
                                          wrote on last edited by
                                          #21

                                          @thomas-braun

                                          Lief auf Docker sauber durch

                                          ioBroker nodejs fixer 2023-09-03
                                          Recommended nodejs-version is: 18.17.1
                                          Checking your installation now. Please be patient!
                                          
                                          Your current setup is:
                                          /usr/bin/nodejs         v18.17.0
                                          /usr/bin/node           v18.17.0
                                          /usr/bin/npm            9.6.7
                                          /usr/bin/npx            9.6.7
                                          /usr/bin/corepack       0.18.0
                                          
                                          I found these versions available:
                                          
                                          nodejs:
                                            Installed: 18.17.0-deb-1nodesource1
                                            Candidate: 18.17.1-deb-1nodesource1
                                            Version table:
                                               18.17.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                                           *** 18.17.0-deb-1nodesource1 100
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u4 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                               12.22.12~dfsg-1~deb11u3 500
                                                  500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                          
                                          
                                          
                                          Nothing to do, your installation seems to be correct
                                          
                                          !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
                                          
                                          You are running nodejs v18.17.0. Do you want to install recommended nodejs v18.17.1?  
                                          *** DO NOT TRY THIS FIX ON NON-LINUX-SYSTEMS! ***
                                          
                                          Press <y> to continue or any other key to quit
                                          
                                          root@iobroker:/opt/iobroker# 
                                          

                                          gruss emil70

                                          iobroker(V9) und Pi-hole läuft über docker (js-controller 6.0.11 und admin v7.1.15) auf einem synology DS918+ mit DSM 7.1.1-42962 Update 6

                                          HomoranH Thomas BraunT 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          366

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe