Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  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.2k

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

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

iob node fix - Skript

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
198 Beiträge 34 Kommentatoren 46.3k Aufrufe 37 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Meister MopperM Meister Mopper

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

    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.

    Ich habe das mal nachgestellt. Die Umstellung auf nodejs@16 hat nicht funktioniert aber die auf nodejs@20.

    Dann habe ich das Skript gestartet und ich erhielt dies:

    ioBroker nodejs fixer 2023-09-05
    
    Recommended nodejs-version is: 18.17.1
    Checking your installation now. Please be patient!
    
    Your current setup is:
    /usr/bin/nodejs         v20.5.1
    /usr/bin/node           v20.5.1
    /usr/bin/npm            9.8.0
    /usr/bin/npx            9.8.0
    /usr/bin/corepack       0.19.0
    
    
    
    
    I found these versions available for installation:
    
    nodejs:
      Installed: 20.5.1-deb-1nodesource1
      Candidate: 20.5.1-deb-1nodesource1
      Version table:
     *** 20.5.1-deb-1nodesource1 500
            500 https://deb.nodesource.com/node_20.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 is using the correct paths.
    
    !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
    
    You are running nodejs v20.5.1. Do you want to install recommended nodejs 18.17.1?
    
    Press <y> to continue or any other key to quit
    Trying to fix your installation now. Please be patient.
    find: '/sys/kernel/debug': Permission denied
    find: '/sys/fs/fuse/connections/60': Permission denied
    find: '/sys/fs/fuse/connections/55': Permission denied
    find: '/dev/.lxc/sys/kernel': Permission denied
    find: '/dev/.lxc/sys/power': Permission denied
    find: '/dev/.lxc/sys/class': Permission denied
    find: '/dev/.lxc/sys/devices': Permission denied
    find: '/dev/.lxc/sys/dev': Permission denied
    find: '/dev/.lxc/sys/hypervisor': Permission denied
    find: '/dev/.lxc/sys/fs': Permission denied
    find: '/dev/.lxc/sys/bus': Permission denied
    find: '/dev/.lxc/sys/firmware': Permission denied
    find: '/dev/.lxc/sys/block': Permission denied
    find: '/dev/.lxc/sys/module': Permission denied
    find: '/dev/.lxc/proc/fs': Permission denied
    find: '/dev/.lxc/proc/bus': Permission denied
    find: '/dev/.lxc/proc/irq': Permission denied
    find: '/dev/.lxc/proc/spl': Permission denied
    find: '/dev/.lxc/proc/sys': Permission denied
    find: '/dev/.lxc/proc/tty': Permission denied
    find: '/dev/.lxc/proc/acpi': Permission denied
    find: '/dev/.lxc/proc/scsi': Permission denied
    find: '/dev/.lxc/proc/driver': Permission denied
    find: '/dev/.lxc/proc/sysvipc': Permission denied
    find: '/dev/.lxc/proc/pressure': Permission denied
    find: '/dev/.lxc/proc/dynamic_debug': Permission denied
    find: '/dev/.lxc/proc/1': Permission denied
    find: '/dev/.lxc/proc/45': Permission denied
    find: '/dev/.lxc/proc/82': Permission denied
    find: '/dev/.lxc/proc/92': Permission denied
    find: '/dev/.lxc/proc/94': Permission denied
    find: '/dev/.lxc/proc/95': Permission denied
    find: '/dev/.lxc/proc/102': Permission denied
    find: '/dev/.lxc/proc/120': Permission denied
    find: '/dev/.lxc/proc/124': Permission denied
    find: '/dev/.lxc/proc/125': Permission denied
    find: '/dev/.lxc/proc/126': Permission denied
    find: '/dev/.lxc/proc/128': Permission denied
    find: '/dev/.lxc/proc/7214': Permission denied
    find: '/dev/.lxc/proc/7217': Permission denied
    find: '/dev/.lxc/proc/7218': Permission denied
    find: '/dev/.lxc/proc/7237': Permission denied
    find: '/dev/.lxc/proc/7238': Permission denied
    find: '/dev/.lxc/proc/7772': Permission denied
    find: '/dev/.lxc/proc/7946': Permission denied
    find: '/dev/.lxc/proc/7947': Permission denied
    rm: cannot remove '': No such file or directory
    find: '/sys/kernel/debug': Permission denied
    find: '/sys/fs/fuse/connections/60': Permission denied
    find: '/sys/fs/fuse/connections/55': Permission denied
    find: '/dev/.lxc/sys/kernel': Permission denied
    find: '/dev/.lxc/sys/power': Permission denied
    find: '/dev/.lxc/sys/class': Permission denied
    find: '/dev/.lxc/sys/devices': Permission denied
    find: '/dev/.lxc/sys/dev': Permission denied
    find: '/dev/.lxc/sys/hypervisor': Permission denied
    find: '/dev/.lxc/sys/fs': Permission denied
    find: '/dev/.lxc/sys/bus': Permission denied
    find: '/dev/.lxc/sys/firmware': Permission denied
    find: '/dev/.lxc/sys/block': Permission denied
    find: '/dev/.lxc/sys/module': Permission denied
    find: '/dev/.lxc/proc/fs': Permission denied
    find: '/dev/.lxc/proc/bus': Permission denied
    find: '/dev/.lxc/proc/irq': Permission denied
    find: '/dev/.lxc/proc/spl': Permission denied
    find: '/dev/.lxc/proc/sys': Permission denied
    find: '/dev/.lxc/proc/tty': Permission denied
    find: '/dev/.lxc/proc/acpi': Permission denied
    find: '/dev/.lxc/proc/scsi': Permission denied
    find: '/dev/.lxc/proc/driver': Permission denied
    find: '/dev/.lxc/proc/sysvipc': Permission denied
    find: '/dev/.lxc/proc/pressure': Permission denied
    find: '/dev/.lxc/proc/dynamic_debug': Permission denied
    find: '/dev/.lxc/proc/1': Permission denied
    find: '/dev/.lxc/proc/45': Permission denied
    find: '/dev/.lxc/proc/82': Permission denied
    find: '/dev/.lxc/proc/92': Permission denied
    find: '/dev/.lxc/proc/94': Permission denied
    find: '/dev/.lxc/proc/95': Permission denied
    find: '/dev/.lxc/proc/102': Permission denied
    find: '/dev/.lxc/proc/120': Permission denied
    find: '/dev/.lxc/proc/124': Permission denied
    find: '/dev/.lxc/proc/125': Permission denied
    find: '/dev/.lxc/proc/126': Permission denied
    find: '/dev/.lxc/proc/128': Permission denied
    find: '/dev/.lxc/proc/7214': Permission denied
    find: '/dev/.lxc/proc/7217': Permission denied
    find: '/dev/.lxc/proc/7218': Permission denied
    find: '/dev/.lxc/proc/7237': Permission denied
    find: '/dev/.lxc/proc/7238': Permission denied
    find: '/dev/.lxc/proc/7772': Permission denied
    find: '/dev/.lxc/proc/7950': Permission denied
    find: '/dev/.lxc/proc/7951': Permission denied
    rm: cannot remove '': No such file or directory
    lxc
    Waiting for ioBroker to shut down - Give me a minute...
    ############################################################
    Hit:1 http://deb.debian.org/debian bookworm InRelease
    Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    ca-certificates is already the newest version (20230311).
    curl is already the newest version (7.88.1-10+deb12u1).
    gnupg is already the newest version (2.2.40-1.1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ***
    Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
    ***
    Hit:1 http://deb.debian.org/debian bookworm InRelease
    Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
    Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
    Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
    Fetched 17.3 kB in 1s (23.0 kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages will be DOWNGRADED:
      nodejs
    0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
    Need to get 29.4 MB of archives.
    After this operation, 5242 kB disk space will be freed.
    Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
    Fetched 29.4 MB in 2s (13.1 MB/s)
    dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.1-1nodesource1
    (Reading database ... 46250 files and directories currently installed.)
    Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
    Detected old npm client, removing...
    Unpacking nodejs (18.17.1-1nodesource1) over (20.5.1-deb-1nodesource1) ...
    Setting up nodejs (18.17.1-1nodesource1) ...
    Processing triggers for man-db (2.11.2-2) ...
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    Need to get 0 B/29.4 MB of archives.
    After this operation, 0 B of additional disk space will be used.
    (Reading database ... 46317 files and directories currently installed.)
    Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
    Detected old npm client, removing...
    Unpacking nodejs (18.17.1-1nodesource1) over (18.17.1-1nodesource1) ...
    Setting up nodejs (18.17.1-1nodesource1) ...
    Processing triggers for man-db (2.11.2-2) ...
    
    *** You need to manually restart your container now! ***
    
    We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
    

    Ein beherztes sudo reboot ergab das erwartete Ergebnis.

    thomas@iobroker:~$ nodejs -v
    v18.17.1
    thomas@iobroker:~$ sudo nano /etc/apt/sources.list.d/nodesource.list
    

    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main

    Was bedeutet 'Permission denied'? Die Ausgabe ist mir ein Rätsel.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #41

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

    Was bedeutet 'Permission denied'? Die Ausgabe ist mir ein Rätsel.

    Da jagt ein 'find' nach den nodesource-Keys durch das System, außer durch /proc.
    Aber ich sehe, dass ich da bei LXC auch noch andere Verzeichnisse (/sys und /dev) ausschließen muss.

    Kannst du das jetzt nochmal nachstellen? Also nodejs@20 installieren und nochmal vom skript auf 18 bringen lassen. Der erste Block an Meldungen sollte dann nicht mehr auftauchen. Zeilen 38-83.
    Den Code für den zweiten Key hab ich noch nicht angepasst. Mache ich, wenn es für den ersten passt.

    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 Antwort Letzte Antwort
    1
    • Meister MopperM Meister Mopper

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

      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.

      Ich habe das mal nachgestellt. Die Umstellung auf nodejs@16 hat nicht funktioniert aber die auf nodejs@20.

      Dann habe ich das Skript gestartet und ich erhielt dies:

      ioBroker nodejs fixer 2023-09-05
      
      Recommended nodejs-version is: 18.17.1
      Checking your installation now. Please be patient!
      
      Your current setup is:
      /usr/bin/nodejs         v20.5.1
      /usr/bin/node           v20.5.1
      /usr/bin/npm            9.8.0
      /usr/bin/npx            9.8.0
      /usr/bin/corepack       0.19.0
      
      
      
      
      I found these versions available for installation:
      
      nodejs:
        Installed: 20.5.1-deb-1nodesource1
        Candidate: 20.5.1-deb-1nodesource1
        Version table:
       *** 20.5.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_20.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 is using the correct paths.
      
      !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
      
      You are running nodejs v20.5.1. Do you want to install recommended nodejs 18.17.1?
      
      Press <y> to continue or any other key to quit
      Trying to fix your installation now. Please be patient.
      find: '/sys/kernel/debug': Permission denied
      find: '/sys/fs/fuse/connections/60': Permission denied
      find: '/sys/fs/fuse/connections/55': Permission denied
      find: '/dev/.lxc/sys/kernel': Permission denied
      find: '/dev/.lxc/sys/power': Permission denied
      find: '/dev/.lxc/sys/class': Permission denied
      find: '/dev/.lxc/sys/devices': Permission denied
      find: '/dev/.lxc/sys/dev': Permission denied
      find: '/dev/.lxc/sys/hypervisor': Permission denied
      find: '/dev/.lxc/sys/fs': Permission denied
      find: '/dev/.lxc/sys/bus': Permission denied
      find: '/dev/.lxc/sys/firmware': Permission denied
      find: '/dev/.lxc/sys/block': Permission denied
      find: '/dev/.lxc/sys/module': Permission denied
      find: '/dev/.lxc/proc/fs': Permission denied
      find: '/dev/.lxc/proc/bus': Permission denied
      find: '/dev/.lxc/proc/irq': Permission denied
      find: '/dev/.lxc/proc/spl': Permission denied
      find: '/dev/.lxc/proc/sys': Permission denied
      find: '/dev/.lxc/proc/tty': Permission denied
      find: '/dev/.lxc/proc/acpi': Permission denied
      find: '/dev/.lxc/proc/scsi': Permission denied
      find: '/dev/.lxc/proc/driver': Permission denied
      find: '/dev/.lxc/proc/sysvipc': Permission denied
      find: '/dev/.lxc/proc/pressure': Permission denied
      find: '/dev/.lxc/proc/dynamic_debug': Permission denied
      find: '/dev/.lxc/proc/1': Permission denied
      find: '/dev/.lxc/proc/45': Permission denied
      find: '/dev/.lxc/proc/82': Permission denied
      find: '/dev/.lxc/proc/92': Permission denied
      find: '/dev/.lxc/proc/94': Permission denied
      find: '/dev/.lxc/proc/95': Permission denied
      find: '/dev/.lxc/proc/102': Permission denied
      find: '/dev/.lxc/proc/120': Permission denied
      find: '/dev/.lxc/proc/124': Permission denied
      find: '/dev/.lxc/proc/125': Permission denied
      find: '/dev/.lxc/proc/126': Permission denied
      find: '/dev/.lxc/proc/128': Permission denied
      find: '/dev/.lxc/proc/7214': Permission denied
      find: '/dev/.lxc/proc/7217': Permission denied
      find: '/dev/.lxc/proc/7218': Permission denied
      find: '/dev/.lxc/proc/7237': Permission denied
      find: '/dev/.lxc/proc/7238': Permission denied
      find: '/dev/.lxc/proc/7772': Permission denied
      find: '/dev/.lxc/proc/7946': Permission denied
      find: '/dev/.lxc/proc/7947': Permission denied
      rm: cannot remove '': No such file or directory
      find: '/sys/kernel/debug': Permission denied
      find: '/sys/fs/fuse/connections/60': Permission denied
      find: '/sys/fs/fuse/connections/55': Permission denied
      find: '/dev/.lxc/sys/kernel': Permission denied
      find: '/dev/.lxc/sys/power': Permission denied
      find: '/dev/.lxc/sys/class': Permission denied
      find: '/dev/.lxc/sys/devices': Permission denied
      find: '/dev/.lxc/sys/dev': Permission denied
      find: '/dev/.lxc/sys/hypervisor': Permission denied
      find: '/dev/.lxc/sys/fs': Permission denied
      find: '/dev/.lxc/sys/bus': Permission denied
      find: '/dev/.lxc/sys/firmware': Permission denied
      find: '/dev/.lxc/sys/block': Permission denied
      find: '/dev/.lxc/sys/module': Permission denied
      find: '/dev/.lxc/proc/fs': Permission denied
      find: '/dev/.lxc/proc/bus': Permission denied
      find: '/dev/.lxc/proc/irq': Permission denied
      find: '/dev/.lxc/proc/spl': Permission denied
      find: '/dev/.lxc/proc/sys': Permission denied
      find: '/dev/.lxc/proc/tty': Permission denied
      find: '/dev/.lxc/proc/acpi': Permission denied
      find: '/dev/.lxc/proc/scsi': Permission denied
      find: '/dev/.lxc/proc/driver': Permission denied
      find: '/dev/.lxc/proc/sysvipc': Permission denied
      find: '/dev/.lxc/proc/pressure': Permission denied
      find: '/dev/.lxc/proc/dynamic_debug': Permission denied
      find: '/dev/.lxc/proc/1': Permission denied
      find: '/dev/.lxc/proc/45': Permission denied
      find: '/dev/.lxc/proc/82': Permission denied
      find: '/dev/.lxc/proc/92': Permission denied
      find: '/dev/.lxc/proc/94': Permission denied
      find: '/dev/.lxc/proc/95': Permission denied
      find: '/dev/.lxc/proc/102': Permission denied
      find: '/dev/.lxc/proc/120': Permission denied
      find: '/dev/.lxc/proc/124': Permission denied
      find: '/dev/.lxc/proc/125': Permission denied
      find: '/dev/.lxc/proc/126': Permission denied
      find: '/dev/.lxc/proc/128': Permission denied
      find: '/dev/.lxc/proc/7214': Permission denied
      find: '/dev/.lxc/proc/7217': Permission denied
      find: '/dev/.lxc/proc/7218': Permission denied
      find: '/dev/.lxc/proc/7237': Permission denied
      find: '/dev/.lxc/proc/7238': Permission denied
      find: '/dev/.lxc/proc/7772': Permission denied
      find: '/dev/.lxc/proc/7950': Permission denied
      find: '/dev/.lxc/proc/7951': Permission denied
      rm: cannot remove '': No such file or directory
      lxc
      Waiting for ioBroker to shut down - Give me a minute...
      ############################################################
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Reading package lists... Done
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      ca-certificates is already the newest version (20230311).
      curl is already the newest version (7.88.1-10+deb12u1).
      gnupg is already the newest version (2.2.40-1.1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      ***
      Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
      ***
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
      Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
      Fetched 17.3 kB in 1s (23.0 kB/s)
      Reading package lists... Done
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages will be DOWNGRADED:
        nodejs
      0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
      Need to get 29.4 MB of archives.
      After this operation, 5242 kB disk space will be freed.
      Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
      Fetched 29.4 MB in 2s (13.1 MB/s)
      dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.1-1nodesource1
      (Reading database ... 46250 files and directories currently installed.)
      Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
      Detected old npm client, removing...
      Unpacking nodejs (18.17.1-1nodesource1) over (20.5.1-deb-1nodesource1) ...
      Setting up nodejs (18.17.1-1nodesource1) ...
      Processing triggers for man-db (2.11.2-2) ...
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
      Need to get 0 B/29.4 MB of archives.
      After this operation, 0 B of additional disk space will be used.
      (Reading database ... 46317 files and directories currently installed.)
      Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
      Detected old npm client, removing...
      Unpacking nodejs (18.17.1-1nodesource1) over (18.17.1-1nodesource1) ...
      Setting up nodejs (18.17.1-1nodesource1) ...
      Processing triggers for man-db (2.11.2-2) ...
      
      *** You need to manually restart your container now! ***
      
      We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
      

      Ein beherztes sudo reboot ergab das erwartete Ergebnis.

      thomas@iobroker:~$ nodejs -v
      v18.17.1
      thomas@iobroker:~$ sudo nano /etc/apt/sources.list.d/nodesource.list
      

      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main

      Was bedeutet 'Permission denied'? Die Ausgabe ist mir ein Rätsel.

      F Offline
      F Offline
      fastfoot
      schrieb am zuletzt editiert von
      #42

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

      Die Umstellung auf nodejs@16 hat nicht funktionier

      die 16er bekommst du indem du das repo auf 16 umstellst/erweiterst und dann apt update und anschliessend ein apt install nodejs=16.20.2-1nodesource1 ausführst

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

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

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

        Was bedeutet 'Permission denied'? Die Ausgabe ist mir ein Rätsel.

        Da jagt ein 'find' nach den nodesource-Keys durch das System, außer durch /proc.
        Aber ich sehe, dass ich da bei LXC auch noch andere Verzeichnisse (/sys und /dev) ausschließen muss.

        Kannst du das jetzt nochmal nachstellen? Also nodejs@20 installieren und nochmal vom skript auf 18 bringen lassen. Der erste Block an Meldungen sollte dann nicht mehr auftauchen. Zeilen 38-83.
        Den Code für den zweiten Key hab ich noch nicht angepasst. Mache ich, wenn es für den ersten passt.

        Meister MopperM Abwesend
        Meister MopperM Abwesend
        Meister Mopper
        schrieb am zuletzt editiert von Meister Mopper
        #43

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

        Kannst du das jetzt nochmal nachstellen?

        Neues Skript heruntergeladen - kein reboot nach Installation auf nodejs@20:

        ioBroker nodejs fixer 2023-09-05
        
        Recommended nodejs-version is: 18.17.1
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v20.6.0
        /usr/bin/node           v20.6.0
        /usr/bin/npm            9.8.1
        /usr/bin/npx            9.8.1
        /usr/bin/corepack       0.19.0
        
        
        
        
        I found these versions available for installation:
        
        nodejs:
          Installed: 20.6.0-1nodesource1
          Candidate: 20.6.0-1nodesource1
          Version table:
         *** 20.6.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                100 /var/lib/dpkg/status
             20.5.1-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.5.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.4.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.3.1-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.3.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.2.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.1.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.0.0-1nodesource1 500
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             18.13.0+dfsg1-1 500
                500 http://deb.debian.org/debian bookworm/main amd64 Packages
        
        
        
        Nothing to do, your installation is using the correct paths.
        
        !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
        
        You are running nodejs v20.6.0. Do you want to install recommended nodejs 18.17.1?
        
        Press <y> to continue or any other key to quit
        Trying to fix your installation now. Please be patient.
        find: '/sys/kernel/debug': Permission denied
        find: '/sys/fs/fuse/connections/60': Permission denied
        find: '/sys/fs/fuse/connections/55': Permission denied
        find: '/dev/.lxc/sys/kernel': Permission denied
        find: '/dev/.lxc/sys/power': Permission denied
        find: '/dev/.lxc/sys/class': Permission denied
        find: '/dev/.lxc/sys/devices': Permission denied
        find: '/dev/.lxc/sys/dev': Permission denied
        find: '/dev/.lxc/sys/hypervisor': Permission denied
        find: '/dev/.lxc/sys/fs': Permission denied
        find: '/dev/.lxc/sys/bus': Permission denied
        find: '/dev/.lxc/sys/firmware': Permission denied
        find: '/dev/.lxc/sys/block': Permission denied
        find: '/dev/.lxc/sys/module': Permission denied
        find: '/dev/.lxc/proc/fs': Permission denied
        find: '/dev/.lxc/proc/bus': Permission denied
        find: '/dev/.lxc/proc/irq': Permission denied
        find: '/dev/.lxc/proc/spl': Permission denied
        find: '/dev/.lxc/proc/sys': Permission denied
        find: '/dev/.lxc/proc/tty': Permission denied
        find: '/dev/.lxc/proc/acpi': Permission denied
        find: '/dev/.lxc/proc/scsi': Permission denied
        find: '/dev/.lxc/proc/driver': Permission denied
        find: '/dev/.lxc/proc/sysvipc': Permission denied
        find: '/dev/.lxc/proc/pressure': Permission denied
        find: '/dev/.lxc/proc/dynamic_debug': Permission denied
        find: '/dev/.lxc/proc/1': Permission denied
        find: '/dev/.lxc/proc/45': Permission denied
        find: '/dev/.lxc/proc/76': Permission denied
        find: '/dev/.lxc/proc/92': Permission denied
        find: '/dev/.lxc/proc/93': Permission denied
        find: '/dev/.lxc/proc/95': Permission denied
        find: '/dev/.lxc/proc/96': Permission denied
        find: '/dev/.lxc/proc/123': Permission denied
        find: '/dev/.lxc/proc/127': Permission denied
        find: '/dev/.lxc/proc/128': Permission denied
        find: '/dev/.lxc/proc/129': Permission denied
        find: '/dev/.lxc/proc/130': Permission denied
        find: '/dev/.lxc/proc/19126': Permission denied
        find: '/dev/.lxc/proc/19129': Permission denied
        find: '/dev/.lxc/proc/19130': Permission denied
        find: '/dev/.lxc/proc/19149': Permission denied
        find: '/dev/.lxc/proc/19150': Permission denied
        find: '/dev/.lxc/proc/20024': Permission denied
        find: '/dev/.lxc/proc/20125': Permission denied
        find: '/dev/.lxc/proc/20126': Permission denied
        find: '/sys/kernel/debug': Permission denied
        find: '/sys/fs/fuse/connections/60': Permission denied
        find: '/sys/fs/fuse/connections/55': Permission denied
        find: '/dev/.lxc/sys/kernel': Permission denied
        find: '/dev/.lxc/sys/power': Permission denied
        find: '/dev/.lxc/sys/class': Permission denied
        find: '/dev/.lxc/sys/devices': Permission denied
        find: '/dev/.lxc/sys/dev': Permission denied
        find: '/dev/.lxc/sys/hypervisor': Permission denied
        find: '/dev/.lxc/sys/fs': Permission denied
        find: '/dev/.lxc/sys/bus': Permission denied
        find: '/dev/.lxc/sys/firmware': Permission denied
        find: '/dev/.lxc/sys/block': Permission denied
        find: '/dev/.lxc/sys/module': Permission denied
        find: '/dev/.lxc/proc/fs': Permission denied
        find: '/dev/.lxc/proc/bus': Permission denied
        find: '/dev/.lxc/proc/irq': Permission denied
        find: '/dev/.lxc/proc/spl': Permission denied
        find: '/dev/.lxc/proc/sys': Permission denied
        find: '/dev/.lxc/proc/tty': Permission denied
        find: '/dev/.lxc/proc/acpi': Permission denied
        find: '/dev/.lxc/proc/scsi': Permission denied
        find: '/dev/.lxc/proc/driver': Permission denied
        find: '/dev/.lxc/proc/sysvipc': Permission denied
        find: '/dev/.lxc/proc/pressure': Permission denied
        find: '/dev/.lxc/proc/dynamic_debug': Permission denied
        find: '/dev/.lxc/proc/1': Permission denied
        find: '/dev/.lxc/proc/45': Permission denied
        find: '/dev/.lxc/proc/76': Permission denied
        find: '/dev/.lxc/proc/92': Permission denied
        find: '/dev/.lxc/proc/93': Permission denied
        find: '/dev/.lxc/proc/95': Permission denied
        find: '/dev/.lxc/proc/96': Permission denied
        find: '/dev/.lxc/proc/123': Permission denied
        find: '/dev/.lxc/proc/127': Permission denied
        find: '/dev/.lxc/proc/128': Permission denied
        find: '/dev/.lxc/proc/129': Permission denied
        find: '/dev/.lxc/proc/130': Permission denied
        find: '/dev/.lxc/proc/19126': Permission denied
        find: '/dev/.lxc/proc/19129': Permission denied
        find: '/dev/.lxc/proc/19130': Permission denied
        find: '/dev/.lxc/proc/19149': Permission denied
        find: '/dev/.lxc/proc/19150': Permission denied
        find: '/dev/.lxc/proc/20024': Permission denied
        find: '/dev/.lxc/proc/20129': Permission denied
        find: '/dev/.lxc/proc/20130': Permission denied
        rm: cannot remove '': No such file or directory
        lxc
        Waiting for ioBroker to shut down - Give me a minute...
        ############################################################
        Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
        Hit:2 http://deb.debian.org/debian bookworm InRelease
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
        Reading package lists... Done
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        ca-certificates is already the newest version (20230311).
        curl is already the newest version (7.88.1-10+deb12u1).
        gnupg is already the newest version (2.2.40-1.1).
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        ***
        Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
        ***
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
        Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
        Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
        Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
        Fetched 17.3 kB in 1s (20.9 kB/s)
        Reading package lists... Done
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        The following packages will be DOWNGRADED:
          nodejs
        0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
        Need to get 0 B/29.4 MB of archives.
        After this operation, 5746 kB disk space will be freed.
        dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
        (Reading database ... 46293 files and directories currently installed.)
        Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
        Detected old npm client, removing...
        Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
        Setting up nodejs (18.17.1-1nodesource1) ...
        Processing triggers for man-db (2.11.2-2) ...
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
        Need to get 0 B/29.4 MB of archives.
        After this operation, 0 B of additional disk space will be used.
        (Reading database ... 46317 files and directories currently installed.)
        Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
        Detected old npm client, removing...
        Unpacking nodejs (18.17.1-1nodesource1) over (18.17.1-1nodesource1) ...
        Setting up nodejs (18.17.1-1nodesource1) ...
        Processing triggers for man-db (2.11.2-2) ...
        
        *** You need to manually restart your container now! ***
        
        We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
        

        Proxmox und HA

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • Meister MopperM Meister Mopper

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

          Kannst du das jetzt nochmal nachstellen?

          Neues Skript heruntergeladen - kein reboot nach Installation auf nodejs@20:

          ioBroker nodejs fixer 2023-09-05
          
          Recommended nodejs-version is: 18.17.1
          Checking your installation now. Please be patient!
          
          Your current setup is:
          /usr/bin/nodejs         v20.6.0
          /usr/bin/node           v20.6.0
          /usr/bin/npm            9.8.1
          /usr/bin/npx            9.8.1
          /usr/bin/corepack       0.19.0
          
          
          
          
          I found these versions available for installation:
          
          nodejs:
            Installed: 20.6.0-1nodesource1
            Candidate: 20.6.0-1nodesource1
            Version table:
           *** 20.6.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                  100 /var/lib/dpkg/status
               20.5.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.5.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.4.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.3.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.3.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.2.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.1.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.0.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
          
          
          
          Nothing to do, your installation is using the correct paths.
          
          !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
          
          You are running nodejs v20.6.0. Do you want to install recommended nodejs 18.17.1?
          
          Press <y> to continue or any other key to quit
          Trying to fix your installation now. Please be patient.
          find: '/sys/kernel/debug': Permission denied
          find: '/sys/fs/fuse/connections/60': Permission denied
          find: '/sys/fs/fuse/connections/55': Permission denied
          find: '/dev/.lxc/sys/kernel': Permission denied
          find: '/dev/.lxc/sys/power': Permission denied
          find: '/dev/.lxc/sys/class': Permission denied
          find: '/dev/.lxc/sys/devices': Permission denied
          find: '/dev/.lxc/sys/dev': Permission denied
          find: '/dev/.lxc/sys/hypervisor': Permission denied
          find: '/dev/.lxc/sys/fs': Permission denied
          find: '/dev/.lxc/sys/bus': Permission denied
          find: '/dev/.lxc/sys/firmware': Permission denied
          find: '/dev/.lxc/sys/block': Permission denied
          find: '/dev/.lxc/sys/module': Permission denied
          find: '/dev/.lxc/proc/fs': Permission denied
          find: '/dev/.lxc/proc/bus': Permission denied
          find: '/dev/.lxc/proc/irq': Permission denied
          find: '/dev/.lxc/proc/spl': Permission denied
          find: '/dev/.lxc/proc/sys': Permission denied
          find: '/dev/.lxc/proc/tty': Permission denied
          find: '/dev/.lxc/proc/acpi': Permission denied
          find: '/dev/.lxc/proc/scsi': Permission denied
          find: '/dev/.lxc/proc/driver': Permission denied
          find: '/dev/.lxc/proc/sysvipc': Permission denied
          find: '/dev/.lxc/proc/pressure': Permission denied
          find: '/dev/.lxc/proc/dynamic_debug': Permission denied
          find: '/dev/.lxc/proc/1': Permission denied
          find: '/dev/.lxc/proc/45': Permission denied
          find: '/dev/.lxc/proc/76': Permission denied
          find: '/dev/.lxc/proc/92': Permission denied
          find: '/dev/.lxc/proc/93': Permission denied
          find: '/dev/.lxc/proc/95': Permission denied
          find: '/dev/.lxc/proc/96': Permission denied
          find: '/dev/.lxc/proc/123': Permission denied
          find: '/dev/.lxc/proc/127': Permission denied
          find: '/dev/.lxc/proc/128': Permission denied
          find: '/dev/.lxc/proc/129': Permission denied
          find: '/dev/.lxc/proc/130': Permission denied
          find: '/dev/.lxc/proc/19126': Permission denied
          find: '/dev/.lxc/proc/19129': Permission denied
          find: '/dev/.lxc/proc/19130': Permission denied
          find: '/dev/.lxc/proc/19149': Permission denied
          find: '/dev/.lxc/proc/19150': Permission denied
          find: '/dev/.lxc/proc/20024': Permission denied
          find: '/dev/.lxc/proc/20125': Permission denied
          find: '/dev/.lxc/proc/20126': Permission denied
          find: '/sys/kernel/debug': Permission denied
          find: '/sys/fs/fuse/connections/60': Permission denied
          find: '/sys/fs/fuse/connections/55': Permission denied
          find: '/dev/.lxc/sys/kernel': Permission denied
          find: '/dev/.lxc/sys/power': Permission denied
          find: '/dev/.lxc/sys/class': Permission denied
          find: '/dev/.lxc/sys/devices': Permission denied
          find: '/dev/.lxc/sys/dev': Permission denied
          find: '/dev/.lxc/sys/hypervisor': Permission denied
          find: '/dev/.lxc/sys/fs': Permission denied
          find: '/dev/.lxc/sys/bus': Permission denied
          find: '/dev/.lxc/sys/firmware': Permission denied
          find: '/dev/.lxc/sys/block': Permission denied
          find: '/dev/.lxc/sys/module': Permission denied
          find: '/dev/.lxc/proc/fs': Permission denied
          find: '/dev/.lxc/proc/bus': Permission denied
          find: '/dev/.lxc/proc/irq': Permission denied
          find: '/dev/.lxc/proc/spl': Permission denied
          find: '/dev/.lxc/proc/sys': Permission denied
          find: '/dev/.lxc/proc/tty': Permission denied
          find: '/dev/.lxc/proc/acpi': Permission denied
          find: '/dev/.lxc/proc/scsi': Permission denied
          find: '/dev/.lxc/proc/driver': Permission denied
          find: '/dev/.lxc/proc/sysvipc': Permission denied
          find: '/dev/.lxc/proc/pressure': Permission denied
          find: '/dev/.lxc/proc/dynamic_debug': Permission denied
          find: '/dev/.lxc/proc/1': Permission denied
          find: '/dev/.lxc/proc/45': Permission denied
          find: '/dev/.lxc/proc/76': Permission denied
          find: '/dev/.lxc/proc/92': Permission denied
          find: '/dev/.lxc/proc/93': Permission denied
          find: '/dev/.lxc/proc/95': Permission denied
          find: '/dev/.lxc/proc/96': Permission denied
          find: '/dev/.lxc/proc/123': Permission denied
          find: '/dev/.lxc/proc/127': Permission denied
          find: '/dev/.lxc/proc/128': Permission denied
          find: '/dev/.lxc/proc/129': Permission denied
          find: '/dev/.lxc/proc/130': Permission denied
          find: '/dev/.lxc/proc/19126': Permission denied
          find: '/dev/.lxc/proc/19129': Permission denied
          find: '/dev/.lxc/proc/19130': Permission denied
          find: '/dev/.lxc/proc/19149': Permission denied
          find: '/dev/.lxc/proc/19150': Permission denied
          find: '/dev/.lxc/proc/20024': Permission denied
          find: '/dev/.lxc/proc/20129': Permission denied
          find: '/dev/.lxc/proc/20130': Permission denied
          rm: cannot remove '': No such file or directory
          lxc
          Waiting for ioBroker to shut down - Give me a minute...
          ############################################################
          Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
          Hit:2 http://deb.debian.org/debian bookworm InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Reading package lists... Done
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          ca-certificates is already the newest version (20230311).
          curl is already the newest version (7.88.1-10+deb12u1).
          gnupg is already the newest version (2.2.40-1.1).
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          ***
          Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
          ***
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
          Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
          Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
          Fetched 17.3 kB in 1s (20.9 kB/s)
          Reading package lists... Done
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following packages will be DOWNGRADED:
            nodejs
          0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
          Need to get 0 B/29.4 MB of archives.
          After this operation, 5746 kB disk space will be freed.
          dpkg: warning: downgrading nodejs from 20.6.0-1nodesource1 to 18.17.1-1nodesource1
          (Reading database ... 46293 files and directories currently installed.)
          Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
          Detected old npm client, removing...
          Unpacking nodejs (18.17.1-1nodesource1) over (20.6.0-1nodesource1) ...
          Setting up nodejs (18.17.1-1nodesource1) ...
          Processing triggers for man-db (2.11.2-2) ...
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
          Need to get 0 B/29.4 MB of archives.
          After this operation, 0 B of additional disk space will be used.
          (Reading database ... 46317 files and directories currently installed.)
          Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
          Detected old npm client, removing...
          Unpacking nodejs (18.17.1-1nodesource1) over (18.17.1-1nodesource1) ...
          Setting up nodejs (18.17.1-1nodesource1) ...
          Processing triggers for man-db (2.11.2-2) ...
          
          *** You need to manually restart your container now! ***
          
          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #44

          @meister-mopper

          Hmmmm. Hat also nicht wie gedacht funktioniert. Dann muss ich da später mal genauer schauen. Die Syntax von 'find' ist auch in Skripten nicht die einfachste...

          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 F 2 Antworten Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @meister-mopper

            Hmmmm. Hat also nicht wie gedacht funktioniert. Dann muss ich da später mal genauer schauen. Die Syntax von 'find' ist auch in Skripten nicht die einfachste...

            Meister MopperM Abwesend
            Meister MopperM Abwesend
            Meister Mopper
            schrieb am zuletzt editiert von
            #45

            @thomas-braun

            Bei dem Slave komme ich von der nodejs@20 mit dem Skript nicht mehr weg.

            ioBroker nodejs fixer 2023-09-05
            
            Recommended nodejs-version is: No connection to databases possible ...
            Checking your installation now. Please be patient!
            
            Your current setup is:
            /usr/bin/nodejs         v20.5.1
            /usr/bin/node           v20.5.1
            /usr/bin/npm            9.8.0
            /usr/bin/npx            9.8.0
            /usr/bin/corepack       0.19.0
            
            
            
            
            I found these versions available for installation:
            
            nodejs:
              Installed: 20.5.1-deb-1nodesource1
              Candidate: 20.5.1-deb-1nodesource1
              Version table:
             *** 20.5.1-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 18.17.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.17.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.16.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.16.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.15.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.2-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.13.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.12.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.11.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.10.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.9.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.9.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.8.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.7.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.6.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.5.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.4.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.3.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.2.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.1.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.0.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
            
            
            
            Nothing to do, your installation is using the correct paths.
            
            !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
            
            You are running nodejs v20.5.1. Do you want to install recommended nodejs No connection to databases possible ...?
            
            Press <y> to continue or any other key to quit
            Trying to fix your installation now. Please be patient.
            yrm: cannot remove '': No such file or directory
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Reading package lists... Done
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            ca-certificates is already the newest version (20210119).
            curl is already the newest version (7.74.0-1.3+deb11u7).
            gnupg is already the newest version (2.2.27-2+deb11u2).
            0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
            ***
            Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
            ***
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
            Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
            Fetched 17.3 kB in 1s (17.6 kB/s)
            Reading package lists... Done
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            E: Version 'No connection to databases possible ...-1nodesource1' for 'nodejs' was not found
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            Reinstallation of nodejs is not possible, it cannot be downloaded.
            0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
            
            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
            
            *** RESTARTING ioBroker NOW! ***
             Please refresh or restart your browser in a few moments.
            
            thomas@rpizigbee:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
            thomas@rpizigbee:~ $ nodejs -v
            v20.5.1
            

            Proxmox und HA

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Meister MopperM Meister Mopper

              @thomas-braun

              Bei dem Slave komme ich von der nodejs@20 mit dem Skript nicht mehr weg.

              ioBroker nodejs fixer 2023-09-05
              
              Recommended nodejs-version is: No connection to databases possible ...
              Checking your installation now. Please be patient!
              
              Your current setup is:
              /usr/bin/nodejs         v20.5.1
              /usr/bin/node           v20.5.1
              /usr/bin/npm            9.8.0
              /usr/bin/npx            9.8.0
              /usr/bin/corepack       0.19.0
              
              
              
              
              I found these versions available for installation:
              
              nodejs:
                Installed: 20.5.1-deb-1nodesource1
                Candidate: 20.5.1-deb-1nodesource1
                Version table:
               *** 20.5.1-deb-1nodesource1 100
                      100 /var/lib/dpkg/status
                   18.17.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.17.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.15.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.2-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.13.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.12.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.11.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.10.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.8.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.7.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.6.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.5.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.4.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.3.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.2.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.1.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.0.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   12.22.12~dfsg-1~deb11u4 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              
              
              
              Nothing to do, your installation is using the correct paths.
              
              !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
              
              You are running nodejs v20.5.1. Do you want to install recommended nodejs No connection to databases possible ...?
              
              Press <y> to continue or any other key to quit
              Trying to fix your installation now. Please be patient.
              yrm: cannot remove '': No such file or directory
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
              Reading package lists... Done
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              ca-certificates is already the newest version (20210119).
              curl is already the newest version (7.74.0-1.3+deb11u7).
              gnupg is already the newest version (2.2.27-2+deb11u2).
              0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
              ***
              Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
              ***
              Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
              Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
              Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
              Fetched 17.3 kB in 1s (17.6 kB/s)
              Reading package lists... Done
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              E: Version 'No connection to databases possible ...-1nodesource1' for 'nodejs' was not found
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              Reinstallation of nodejs is not possible, it cannot be downloaded.
              0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
              
              We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
              
              *** RESTARTING ioBroker NOW! ***
               Please refresh or restart your browser in a few moments.
              
              thomas@rpizigbee:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
              thomas@rpizigbee:~ $ nodejs -v
              v20.5.1
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #46

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

              Bei dem Slave komme ich von der nodejs@20 mit dem Skript nicht mehr weg.

              Versuch es jetzt nochmal.

              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 Antwort Letzte Antwort
              1
              • Thomas BraunT Thomas Braun

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

                Bei dem Slave komme ich von der nodejs@20 mit dem Skript nicht mehr weg.

                Versuch es jetzt nochmal.

                Meister MopperM Abwesend
                Meister MopperM Abwesend
                Meister Mopper
                schrieb am zuletzt editiert von
                #47

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

                Versuch es jetzt nochmal.

                thomas@rpizigbee:~ $ ./iob_node_update
                ioBroker node-update v2023-09-05 is starting. Please be patient!
                The state system.host.rpizigbee.versions.nodeNewestNext was not found!
                ./iob_node_update: Zeile 11: Syntaxfehler beim unerwarteten Symbol »;«
                ./iob_node_update: Zeile 11: `then;'
                

                Proxmox und HA

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • Meister MopperM Meister Mopper

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

                  Versuch es jetzt nochmal.

                  thomas@rpizigbee:~ $ ./iob_node_update
                  ioBroker node-update v2023-09-05 is starting. Please be patient!
                  The state system.host.rpizigbee.versions.nodeNewestNext was not found!
                  ./iob_node_update: Zeile 11: Syntaxfehler beim unerwarteten Symbol »;«
                  ./iob_node_update: Zeile 11: `then;'
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #48

                  @meister-mopper

                  Un nu?

                  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 Antwort Letzte Antwort
                  1
                  • Thomas BraunT Thomas Braun

                    @meister-mopper

                    Hmmmm. Hat also nicht wie gedacht funktioniert. Dann muss ich da später mal genauer schauen. Die Syntax von 'find' ist auch in Skripten nicht die einfachste...

                    F Offline
                    F Offline
                    fastfoot
                    schrieb am zuletzt editiert von
                    #49

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

                    Hmmmm. Hat also nicht wie gedacht funktioniert.

                    find / \( -path /proc -o -path /dev -o -path /sys -o -path /some_other_path \) -prune -o -name nodesource.[gk]* -print

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

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @meister-mopper

                      Un nu?

                      Meister MopperM Abwesend
                      Meister MopperM Abwesend
                      Meister Mopper
                      schrieb am zuletzt editiert von
                      #50

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

                      Un nu?

                      Nö!

                      ioBroker nodejs fixer 2023-09-05
                      Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                      
                      Your current setup is:
                      /usr/bin/nodejs         v20.5.1
                      /usr/bin/node           v20.5.1
                      /usr/bin/npm            9.8.0
                      /usr/bin/npx            9.8.0
                      /usr/bin/corepack       0.19.0
                      
                      
                      
                      
                      I found these versions available for installation:
                      
                      nodejs:
                        Installed: 20.5.1-deb-1nodesource1
                        Candidate: 20.5.1-deb-1nodesource1
                        Version table:
                       *** 20.5.1-deb-1nodesource1 100
                              100 /var/lib/dpkg/status
                           18.17.1-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.17.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.16.1-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.16.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.15.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.14.2-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.14.1-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.14.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.13.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.12.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.11.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.10.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.9.1-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.9.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.8.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.7.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.6.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.5.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.4.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.3.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.2.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.1.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           18.0.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                           12.22.12~dfsg-1~deb11u4 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      
                      
                      
                      Nothing to do, your installation is using the correct paths.
                      
                      !!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!!
                      
                      You are running nodejs v20.5.1. Do you want to install recommended nodejs ?
                      
                      Press <y> to continue or any other key to quit
                      Trying to fix your installation now. Please be patient.
                      rm: cannot remove '': No such file or directory
                      Waiting for ioBroker to shut down - Give me a minute...
                      ############################################################
                      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      Reading package lists... Done
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      ca-certificates is already the newest version (20210119).
                      curl is already the newest version (7.74.0-1.3+deb11u7).
                      gnupg is already the newest version (2.2.27-2+deb11u2).
                      0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                      ***
                      Creating new /etc/apt/sources.list.d/nodesource.list file with this content:
                      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                      ***
                      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 nodistro InRelease [12.1 kB]
                      Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
                      Fetched 17.3 kB in 1s (22.6 kB/s)
                      Reading package lists... Done
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      E: Version '-1nodesource1' for 'nodejs' was not found
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      Reinstallation of nodejs is not possible, it cannot be downloaded.
                      0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                      
                      We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                      
                      *** RESTARTING ioBroker NOW! ***
                       Please refresh or restart your browser in a few moments.
                      
                      thomas@rpizigbee:~ $ nodejs -v
                      v20.5.1
                      

                      Proxmox und HA

                      1 Antwort Letzte Antwort
                      0
                      • F fastfoot

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

                        Hmmmm. Hat also nicht wie gedacht funktioniert.

                        find / \( -path /proc -o -path /dev -o -path /sys -o -path /some_other_path \) -prune -o -name nodesource.[gk]* -print

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #51

                        @fastfoot sagte in iob node fix - Skript:

                        find / ( -path /proc -o -path /dev -o -path /sys -o -path /some_other_path ) -prune -o -name nodesource.[gk]* -print

                        Thx! Hab es jetzt drin.

                        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 Antwort Letzte Antwort
                        1
                        • Thomas BraunT Thomas Braun

                          @fastfoot sagte in iob node fix - Skript:

                          find / ( -path /proc -o -path /dev -o -path /sys -o -path /some_other_path ) -prune -o -name nodesource.[gk]* -print

                          Thx! Hab es jetzt drin.

                          Meister MopperM Abwesend
                          Meister MopperM Abwesend
                          Meister Mopper
                          schrieb am zuletzt editiert von
                          #52

                          @thomas-braun

                          Jetzt haben wir das

                          ioBroker nodejs fixer 2023-09-05
                          Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                          
                          Your current setup is:
                          /usr/bin/nodejs         v20.5.1
                          /usr/bin/node           v20.5.1
                          /usr/bin/npm            9.8.0
                          /usr/bin/npx            9.8.0
                          /usr/bin/corepack       0.19.0
                          
                          
                          
                          
                          I found these versions available for installation:
                          
                          nodejs:
                            Installed: 20.5.1-deb-1nodesource1
                            Candidate: 20.5.1-deb-1nodesource1
                            Version table:
                           *** 20.5.1-deb-1nodesource1 100
                                  100 /var/lib/dpkg/status
                               18.17.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.17.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.16.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.16.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.15.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.14.2-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.14.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.14.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.13.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.12.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.11.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.10.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.9.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.9.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.8.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.7.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.6.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.5.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.4.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.3.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.2.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.1.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               18.0.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                               12.22.12~dfsg-1~deb11u4 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          
                          
                          
                          Nothing to do, your installation is using the correct paths.
                          ./iob_node_update: line 301: unexpected EOF while looking for matching `''
                          ./iob_node_update: line 315: syntax error: unexpected end of file
                          

                          Proxmox und HA

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Meister MopperM Meister Mopper

                            @thomas-braun

                            Jetzt haben wir das

                            ioBroker nodejs fixer 2023-09-05
                            Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                            
                            Your current setup is:
                            /usr/bin/nodejs         v20.5.1
                            /usr/bin/node           v20.5.1
                            /usr/bin/npm            9.8.0
                            /usr/bin/npx            9.8.0
                            /usr/bin/corepack       0.19.0
                            
                            
                            
                            
                            I found these versions available for installation:
                            
                            nodejs:
                              Installed: 20.5.1-deb-1nodesource1
                              Candidate: 20.5.1-deb-1nodesource1
                              Version table:
                             *** 20.5.1-deb-1nodesource1 100
                                    100 /var/lib/dpkg/status
                                 18.17.1-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.17.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.16.1-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.16.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.15.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.14.2-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.14.1-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.14.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.13.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.12.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.11.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.10.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.9.1-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.9.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.8.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.7.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.6.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.5.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.4.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.3.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.2.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.1.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 18.0.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                 12.22.12~dfsg-1~deb11u4 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            
                            
                            Nothing to do, your installation is using the correct paths.
                            ./iob_node_update: line 301: unexpected EOF while looking for matching `''
                            ./iob_node_update: line 315: syntax error: unexpected end of file
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #53

                            @meister-mopper

                            Zieh nochmal rein. Aber ich glaube da ist noch ein Fehler drin...

                            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 F 2 Antworten Letzte Antwort
                            1
                            • Thomas BraunT Thomas Braun

                              @meister-mopper

                              Zieh nochmal rein. Aber ich glaube da ist noch ein Fehler drin...

                              Meister MopperM Abwesend
                              Meister MopperM Abwesend
                              Meister Mopper
                              schrieb am zuletzt editiert von Meister Mopper
                              #54

                              @thomas-braun

                              Spaey

                              ioBroker nodejs fixer 2023-09-05
                              Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                              
                              Your current setup is:
                              /usr/bin/nodejs         v20.5.1
                              /usr/bin/node           v20.5.1
                              /usr/bin/npm            9.8.0
                              /usr/bin/npx            9.8.0
                              /usr/bin/corepack       0.19.0
                              
                              
                              
                              
                              I found these versions available for installation:
                              
                              nodejs:
                                Installed: 20.5.1-deb-1nodesource1
                                Candidate: 20.5.1-deb-1nodesource1
                                Version table:
                               *** 20.5.1-deb-1nodesource1 100
                                      100 /var/lib/dpkg/status
                                   18.17.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.17.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.16.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.16.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.15.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.14.2-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.14.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.14.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.13.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.12.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.11.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.10.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.9.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.9.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.8.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.7.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.6.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.5.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.4.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.3.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.2.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.1.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   18.0.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                   12.22.12~dfsg-1~deb11u4 500
                                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                              
                              
                              
                              Nothing to do, your installation is using the correct paths.
                              ./iob_node_update: line 302: unexpected EOF while looking for matching `''
                              ./iob_node_update: line 316: syntax error: unexpected end of file
                              thomas@rpizigbee:~ $ nodejs -v
                              v20.5.1
                              

                              Proxmox und HA

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @meister-mopper

                                Zieh nochmal rein. Aber ich glaube da ist noch ein Fehler drin...

                                F Offline
                                F Offline
                                fastfoot
                                schrieb am zuletzt editiert von fastfoot
                                #55

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

                                ich glaube da ist noch ein Fehler drin...

                                hinter dem -print) muss noch ein Anführungszeichen -print)";

                                und die vielen Semikolon kannste dir auch sparen :-)

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

                                HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                                0
                                • F fastfoot

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

                                  ich glaube da ist noch ein Fehler drin...

                                  hinter dem -print) muss noch ein Anführungszeichen -print)";

                                  und die vielen Semikolon kannste dir auch sparen :-)

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von
                                  #56

                                  @fastfoot sagte in iob node fix - Skript:

                                  ein Ausrufezeichen

                                  = " :joy:

                                  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 Antwort Letzte Antwort
                                  2
                                  • F fastfoot

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

                                    ich glaube da ist noch ein Fehler drin...

                                    hinter dem -print) muss noch ein Anführungszeichen -print)";

                                    und die vielen Semikolon kannste dir auch sparen :-)

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #57

                                    @fastfoot sagte in iob node fix - Skript:

                                    und die vielen Semikolon kannste dir auch sparen

                                    Ich find die schön. Und meine IDE auch.

                                    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

                                    1 Antwort Letzte Antwort
                                    1
                                    • Meister MopperM Meister Mopper

                                      @thomas-braun

                                      Spaey

                                      ioBroker nodejs fixer 2023-09-05
                                      Could not detect recommended nodejs-version. Setting up the nodejs 18 tree now.
                                      
                                      Your current setup is:
                                      /usr/bin/nodejs         v20.5.1
                                      /usr/bin/node           v20.5.1
                                      /usr/bin/npm            9.8.0
                                      /usr/bin/npx            9.8.0
                                      /usr/bin/corepack       0.19.0
                                      
                                      
                                      
                                      
                                      I found these versions available for installation:
                                      
                                      nodejs:
                                        Installed: 20.5.1-deb-1nodesource1
                                        Candidate: 20.5.1-deb-1nodesource1
                                        Version table:
                                       *** 20.5.1-deb-1nodesource1 100
                                              100 /var/lib/dpkg/status
                                           18.17.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.17.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.16.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.16.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.15.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.14.2-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.14.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.14.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.13.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.12.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.11.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.10.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.9.1-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.9.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.8.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.7.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.6.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.5.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.4.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.3.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.2.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.1.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           18.0.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                           12.22.12~dfsg-1~deb11u4 500
                                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                      
                                      
                                      
                                      Nothing to do, your installation is using the correct paths.
                                      ./iob_node_update: line 302: unexpected EOF while looking for matching `''
                                      ./iob_node_update: line 316: syntax error: unexpected end of file
                                      thomas@rpizigbee:~ $ nodejs -v
                                      v20.5.1
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #58

                                      @meister-mopper
                                      Magst du noch mal schauen?

                                      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 Antwort Letzte Antwort
                                      1
                                      • Thomas BraunT Thomas Braun

                                        @meister-mopper
                                        Magst du noch mal schauen?

                                        Meister MopperM Abwesend
                                        Meister MopperM Abwesend
                                        Meister Mopper
                                        schrieb am zuletzt editiert von
                                        #59

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

                                        @meister-mopper
                                        Magst du noch mal schauen?

                                        Sorry, musste in die Heia und heute war ich auf Dienstreise.

                                        Es hat mit dem aktuellen Skript (wahrscheinlich) funktioniert.

                                        ioBroker nodejs fixer 2023-09-06
                                        No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                                        
                                        Your current setup is:
                                        /usr/bin/nodejs         v20.5.1
                                        /usr/bin/node           v20.5.1
                                        /usr/bin/npm            9.8.0
                                        /usr/bin/npx            9.8.0
                                        /usr/bin/corepack       0.19.0
                                        
                                        I found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: 20.5.1-deb-1nodesource1
                                          Candidate: 20.5.1-deb-1nodesource1
                                          Version table:
                                         *** 20.5.1-deb-1nodesource1 100
                                                100 /var/lib/dpkg/status
                                             18.17.1-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.17.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.16.1-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.16.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.15.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.14.2-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.14.1-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.14.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.13.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.12.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.11.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.10.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.9.1-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.9.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.8.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.7.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.6.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.5.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.4.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.3.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.2.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.1.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             18.0.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                             12.22.12~dfsg-1~deb11u4 500
                                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        
                                        
                                        
                                        Nothing to do, your installation is using the correct paths.
                                        
                                        You are running nodejs v20.5.1. Do you want to install recommended version ?
                                        
                                        Press <y> to continue or any other key to quit
                                        Trying to fix your installation now. Please be patient.
                                        
                                        Waiting for ioBroker to shut down - Give me a minute...
                                        ############################################################
                                        *** These repos are active on your system:
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Reading package lists... Done
                                        
                                        *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        ca-certificates is already the newest version (20210119).
                                        curl is already the newest version (7.74.0-1.3+deb11u7).
                                        gnupg is already the newest version (2.2.27-2+deb11u2).
                                        0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                                        
                                        *** Creating new /etc/apt/sources.list.d/nodesource.list
                                        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                        
                                        *** These repos are active after the adjustments:
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                        Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
                                        Fetched 17.3 kB in 1s (16.9 kB/s)
                                        Reading package lists... Done
                                        
                                        Installing the recommended nodejs version now!
                                        Exact recommended version unknown, installing a fallback!
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        The following packages will be DOWNGRADED:
                                          nodejs
                                        0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
                                        Need to get 26.7 MB of archives.
                                        After this operation, 6614 kB disk space will be freed.
                                        Get:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.17.0-1nodesource1 [26.7 MB]
                                        Fetched 26.7 MB in 5s (5830 kB/s)
                                        dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1
                                        (Reading database ... 123973 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_18.17.0-1nodesource1_armhf.deb ...
                                        Detected old npm client, removing...
                                        Unpacking nodejs (18.17.0-1nodesource1) over (20.5.1-deb-1nodesource1) ...
                                        Setting up nodejs (18.17.0-1nodesource1) ...
                                        Processing triggers for man-db (2.9.4-2) ...
                                        
                                        Updating fallback to latest nodejs v18 release
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
                                        Reading package lists... Done
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        Calculating upgrade... Done
                                        The following packages have been kept back:
                                          libudev1 udev
                                        The following packages will be upgraded:
                                          nodejs
                                        1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                                        Need to get 26.7 MB of archives.
                                        After this operation, 7168 B of additional disk space will be used.
                                        Get:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.17.1-1nodesource1 [26.7 MB]
                                        Fetched 26.7 MB in 3s (8606 kB/s)
                                        apt-listchanges: Changelogs werden gelesen...
                                        (Reading database ... 124040 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_18.17.1-1nodesource1_armhf.deb ...
                                        Detected old npm client, removing...
                                        Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
                                        Setting up nodejs (18.17.1-1nodesource1) ...
                                        Processing triggers for man-db (2.9.4-2) ...
                                        
                                        We tried our best to fix your nodejs. Please run iob diag again to verify.
                                        
                                        *** RESTARTING ioBroker NOW! ***
                                         Please refresh or restart your browser in a few moments.
                                         
                                         thomas@rpizigbee:~ $ nodejs -v
                                        v18.17.1
                                        

                                        Proxmox und HA

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • Meister MopperM Meister Mopper

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

                                          @meister-mopper
                                          Magst du noch mal schauen?

                                          Sorry, musste in die Heia und heute war ich auf Dienstreise.

                                          Es hat mit dem aktuellen Skript (wahrscheinlich) funktioniert.

                                          ioBroker nodejs fixer 2023-09-06
                                          No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                                          
                                          Your current setup is:
                                          /usr/bin/nodejs         v20.5.1
                                          /usr/bin/node           v20.5.1
                                          /usr/bin/npm            9.8.0
                                          /usr/bin/npx            9.8.0
                                          /usr/bin/corepack       0.19.0
                                          
                                          I found these nodejs versions available for installation:
                                          
                                          nodejs:
                                            Installed: 20.5.1-deb-1nodesource1
                                            Candidate: 20.5.1-deb-1nodesource1
                                            Version table:
                                           *** 20.5.1-deb-1nodesource1 100
                                                  100 /var/lib/dpkg/status
                                               18.17.1-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.17.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.16.1-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.16.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.15.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.14.2-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.14.1-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.14.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.13.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.12.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.11.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.10.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.9.1-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.9.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.8.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.7.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.6.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.5.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.4.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.3.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.2.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.1.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               18.0.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                               12.22.12~dfsg-1~deb11u4 500
                                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                          
                                          
                                          
                                          Nothing to do, your installation is using the correct paths.
                                          
                                          You are running nodejs v20.5.1. Do you want to install recommended version ?
                                          
                                          Press <y> to continue or any other key to quit
                                          Trying to fix your installation now. Please be patient.
                                          
                                          Waiting for ioBroker to shut down - Give me a minute...
                                          ############################################################
                                          *** These repos are active on your system:
                                          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Reading package lists... Done
                                          
                                          *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          ca-certificates is already the newest version (20210119).
                                          curl is already the newest version (7.74.0-1.3+deb11u7).
                                          gnupg is already the newest version (2.2.27-2+deb11u2).
                                          0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                                          
                                          *** Creating new /etc/apt/sources.list.d/nodesource.list
                                          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                                          
                                          *** These repos are active after the adjustments:
                                          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                          Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
                                          Fetched 17.3 kB in 1s (16.9 kB/s)
                                          Reading package lists... Done
                                          
                                          Installing the recommended nodejs version now!
                                          Exact recommended version unknown, installing a fallback!
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          The following packages will be DOWNGRADED:
                                            nodejs
                                          0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
                                          Need to get 26.7 MB of archives.
                                          After this operation, 6614 kB disk space will be freed.
                                          Get:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.17.0-1nodesource1 [26.7 MB]
                                          Fetched 26.7 MB in 5s (5830 kB/s)
                                          dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1
                                          (Reading database ... 123973 files and directories currently installed.)
                                          Preparing to unpack .../nodejs_18.17.0-1nodesource1_armhf.deb ...
                                          Detected old npm client, removing...
                                          Unpacking nodejs (18.17.0-1nodesource1) over (20.5.1-deb-1nodesource1) ...
                                          Setting up nodejs (18.17.0-1nodesource1) ...
                                          Processing triggers for man-db (2.9.4-2) ...
                                          
                                          Updating fallback to latest nodejs v18 release
                                          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
                                          Reading package lists... Done
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          The following packages have been kept back:
                                            libudev1 udev
                                          The following packages will be upgraded:
                                            nodejs
                                          1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                                          Need to get 26.7 MB of archives.
                                          After this operation, 7168 B of additional disk space will be used.
                                          Get:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.17.1-1nodesource1 [26.7 MB]
                                          Fetched 26.7 MB in 3s (8606 kB/s)
                                          apt-listchanges: Changelogs werden gelesen...
                                          (Reading database ... 124040 files and directories currently installed.)
                                          Preparing to unpack .../nodejs_18.17.1-1nodesource1_armhf.deb ...
                                          Detected old npm client, removing...
                                          Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
                                          Setting up nodejs (18.17.1-1nodesource1) ...
                                          Processing triggers for man-db (2.9.4-2) ...
                                          
                                          We tried our best to fix your nodejs. Please run iob diag again to verify.
                                          
                                          *** RESTARTING ioBroker NOW! ***
                                           Please refresh or restart your browser in a few moments.
                                           
                                           thomas@rpizigbee:~ $ nodejs -v
                                          v18.17.1
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #60

                                          @meister-mopper

                                          Prima! So soll es aussehen! Ich denke der Code ist dann soweit gediehen für ein Release.
                                          Mag noch jemand mit einem LXC herumtesten?

                                          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

                                          M 1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          530

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe