NEWS
iob node fix - Skript
-
@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
-
@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.
-
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
-
Zieh nochmal rein. Aber ich glaube da ist noch ein Fehler drin...
-
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-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
-
-
@fastfoot sagte in iob node fix - Skript:
und die vielen Semikolon kannste dir auch sparen
Ich find die schön. Und meine IDE auch.
-
@meister-mopper
Magst du noch mal schauen? -
@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
-
Prima! So soll es aussehen! Ich denke der Code ist dann soweit gediehen für ein Release.
Mag noch jemand mit einem LXC herumtesten? -
@thomas-braun LXC-Container
ioBroker nodejs fixer 2023-09-06 Recommended nodejs-version is: 18.17.1 Checking your installation now. Please be patient! Your current setup is: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 I found these nodejs versions available for installation: nodejs: Installed: 18.17.1-1nodesource1 Candidate: 18.17.1-1nodesource1 Version table: *** 18.17.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 18.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0+dfsg1-1 500 500 http://ftp.debian.org/debian bookworm/main amd64 Packages 18.13.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages Nothing to do, your installation is using the correct paths. Nothing to do, your installed version is the recommended one.
-
@mcu sagte in iob node fix - Skript:
Nothing to do
Hm. Der Codepart war einfach... Kannst du mal von einer Version <> 18 kommend das Skript laufen lassen?
-
@thomas-braun
nodejs 20 sieht bei mir im LXC-Container so aus.ioBroker nodejs fixer 2023-09-06 Recommended nodejs-version is: 18.17.1 Checking your installation now. Please be patient! Your current setup is: /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 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. You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. find: '/lost+found': Permission denied lxc Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates 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 (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 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://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease 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 0s (38.4 kB/s) Reading package lists... Done Installing the recommended nodejs version now! ./iob_node_update: line 275: [: : integer expression expected 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 0 not upgraded. Need to get 29.4 MB of archives. After this operation, 5249 kB disk space will be freed. Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB] Fetched 29.4 MB in 2s (13.2 MB/s) dpkg: warning: downgrading nodejs from 20.5.1-deb-1nodesource1 to 18.17.0-1nodesource1 (Reading database ... 37746 files and directories currently installed.) Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.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.11.2-2) ... Updating fallback to latest nodejs v18 release Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 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 will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 29.4 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 amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB] Fetched 29.4 MB in 1s (43.5 MB/s) apt-listchanges: Reading changelogs... (Reading database ... 37813 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.0-1nodesource1) ... Setting up nodejs (18.17.1-1nodesource1) ... Processing triggers for man-db (2.11.2-2) ... ./iob_node_update: line 300: [: : integer expression expected *** You need to manually restart your container now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify. maik@iobtest:~$
-
@thomas-braun Frisch aufgesetzter LXC mit nodejs 16 ohne ioBroker.
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 v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.0 I found these nodejs versions available for installation: nodejs: Installed: 16.20.2-deb-1nodesource1 Candidate: 16.20.2-deb-1nodesource1 Version table: *** 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org bullseye-security/main amd64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://ftp.debian.org/debian bullseye/main amd64 Packages Nothing to do, your installation is using the correct paths. You are running nodejs v16.20.2. 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. [sudo] password for prox: find: '/lost+found': Permission denied lxc ./iob_node_update: line 248: iob: command not found Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://ftp.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates 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 0 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://security.debian.org bullseye-security InRelease Hit:2 http://ftp.debian.org/debian bullseye InRelease Hit:3 http://ftp.debian.org/debian bullseye-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 0s (57.5 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 upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 29.4 MB of archives. After this operation, 60.4 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB] Fetched 29.4 MB in 1s (21.7 MB/s) apt-listchanges: Reading changelogs... (Reading database ... 22654 files and directories currently installed.) Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (18.17.0-1nodesource1) over (16.20.2-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://ftp.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease Hit:4 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 will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 29.4 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 amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB] Fetched 29.4 MB in 1s (41.9 MB/s) apt-listchanges: Reading changelogs... (Reading database ... 25141 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.0-1nodesource1) ... Setting up nodejs (18.17.1-1nodesource1) ... Processing triggers for man-db (2.9.4-2) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done nodejs is already the newest version (18.17.1-1nodesource1). Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. *** You need to manually restart your container now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
-
@mcu sagte in iob node fix - Skript:
ohne ioBroker.
dann kennt er natürlich (?) die empfohlene Version nicht
@mcu sagte in iob node fix - Skript:
Do you want to install recommended version ?
@mcu sagte in iob node fix - Skript:
Installing the recommended nodejs version now!
was tut er dann?
-
@mrjeschke sagte in iob node fix - Skript:
find: '/lost+found': Permission denied
Gut, der muss auch noch geprunt werden.
./iob_node_update: line 275: [: : integer expression expected
./iob_node_update: line 300: [: : integer expression expectedNanu?
Muss ich schauen.Thx! Ich verzieh mich in die Code-Küche und brutzel noch was...
-
@homoran Ich hab dann mit
y
bestätigt und er hat dann die v18 installiert. -
@homoran sagte in iob node fix - Skript:
was tut er dann?
Dann geht es auf die neueste Version aus dem 18er-Zweig. Oder welcher nodejs-Entwicklungszweig auch immer gerade empfohlen wird. Der muss allerdings immer händisch im skript gesetzt werden, wenn sich die generelle Empfehlung ändert.
NODE_MAJOR=18 #recommended major nodejs version for ioBroker, please adjust if the recommendation changes
-
@mcu sagte in iob node fix - Skript:
und er hat dann die v18 installiert.
hab ich auch gesehen, aber wieso?
hier
@mrjeschke sagte in iob node fix - Skript:
You are running nodejs v20.5.1. Do you want to install recommended version 18.17.1?
gibt er die recommended version komplett an.
bei dir steht da (erwartungsgemäß) nichtsedit: Hat sich mit Thomas' Antwort geklärt