NEWS
iob node fix - Skript
-
Okay.
Jetzt mal damit:sudo find / ( -path /proc -o -path /dev -o -path /sys -o -path /lost+found -o -path /mnt -prune -false ) -o -name nodesource.[gk]* -print@thomas-braun Das Ergebnis:
smarthome@vm-iobroker:~$ sudo find / -path /proc -o -path /dev -o -path /sys -o -path /lost+found -o -path /mnt -prune -false -o -name nodesource.[gk]* -print /usr/share/keyrings/nodesource.gpg find: ‘/run/user/1000/gvfs’: Keine Berechtigung smarthome@vm-iobroker:~$ -
@thomas-braun Das Ergebnis:
smarthome@vm-iobroker:~$ sudo find / -path /proc -o -path /dev -o -path /sys -o -path /lost+found -o -path /mnt -prune -false -o -name nodesource.[gk]* -print /usr/share/keyrings/nodesource.gpg find: ‘/run/user/1000/gvfs’: Keine Berechtigung smarthome@vm-iobroker:~$@jojo58
Okay.
Lad das Skript jetzt nochmal frisch runter. -
@jojo58
Okay.
Lad das Skript jetzt nochmal frisch runter.@thomas-braun Das sieht schon besser aus. Wie soll ich weitermachen?
ioBroker nodejs fixer 2023-10-07 Recommended nodejs-version is: 18.18.0 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 We found these nodejs versions available for installation: nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages 100 /var/lib/dpkg/status 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v18.17.1. Do you want to install recommended version 18.18.0? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. find: '/run/user/1000/gvfs': Permission denied Virtualization: kvm 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/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Reading package lists... Done *** Installing ca-certificates, curl and gnupg, just in case they are missing. *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 1001 *** These repos are active after the adjustments: 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 Hit:4 https://repos.influxdata.com/debian stable InRelease Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] Get:6 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5247 B] Fetched 17.4 kB in 0s (40.2 kB/s) Reading package lists... Done Installing the recommended nodejs version now! Installing the recommended nodejs version! (Reading database ... 100420 files and directories currently installed.) Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (18.18.0-1nodesource1) over (18.17.1-deb-1nodesource1) ... Setting up nodejs (18.18.0-1nodesource1) ... Processing triggers for man-db (2.11.2-2) ... *** You need to manually restart your container/virtual machine now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify. smarthome@vm-iobroker:~$ -
@thomas-braun Das sieht schon besser aus. Wie soll ich weitermachen?
ioBroker nodejs fixer 2023-10-07 Recommended nodejs-version is: 18.18.0 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 We found these nodejs versions available for installation: nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages 100 /var/lib/dpkg/status 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v18.17.1. Do you want to install recommended version 18.18.0? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. find: '/run/user/1000/gvfs': Permission denied Virtualization: kvm 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/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Reading package lists... Done *** Installing ca-certificates, curl and gnupg, just in case they are missing. *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 1001 *** These repos are active after the adjustments: 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 Hit:4 https://repos.influxdata.com/debian stable InRelease Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] Get:6 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5247 B] Fetched 17.4 kB in 0s (40.2 kB/s) Reading package lists... Done Installing the recommended nodejs version now! Installing the recommended nodejs version! (Reading database ... 100420 files and directories currently installed.) Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (18.18.0-1nodesource1) over (18.17.1-deb-1nodesource1) ... Setting up nodejs (18.18.0-1nodesource1) ... Processing triggers for man-db (2.11.2-2) ... *** You need to manually restart your container/virtual machine now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify. smarthome@vm-iobroker:~$@jojo58 sagte in iob node fix - Skript:
Wie soll ich weitermachen?
VM/Container neustarten. Und dann nochmal das Skript. Sollte dann mit doppeltem 'Nothing to do' verkünden, das alles i. O. ist.
-
@jojo58 sagte in iob node fix - Skript:
Wie soll ich weitermachen?
VM/Container neustarten. Und dann nochmal das Skript. Sollte dann mit doppeltem 'Nothing to do' verkünden, das alles i. O. ist.
@thomas-braun Super, hat jetzt funktioniert. Danke dir.

Jetzt kann ich mich meinem JavaScript Adapter Problem zuwenden.
-
@thomas-braun Super, hat jetzt funktioniert. Danke dir.

Jetzt kann ich mich meinem JavaScript Adapter Problem zuwenden.
Okay. Danke für die Hilfe beim Debuggen.
Allerdings auch hier nochmal der Hinweise bzw. die dringende Empfehlung:
Server NIE mit Desktop/graphischer Oberfläche betreiben!Da rumpelt nämlich ein gnome oder etwas davon abgeleitetes mit über dein System. Komplett unnötig. Und vermutlich mit der Auslöser für das Verhalten des Skripts.
-
Okay. Danke für die Hilfe beim Debuggen.
Allerdings auch hier nochmal der Hinweise bzw. die dringende Empfehlung:
Server NIE mit Desktop/graphischer Oberfläche betreiben!Da rumpelt nämlich ein gnome oder etwas davon abgeleitetes mit über dein System. Komplett unnötig. Und vermutlich mit der Auslöser für das Verhalten des Skripts.
@thomas-braun Die grafische Oberfläche habe ich doch schon vor 4 Wochen runtergeschmissen? Wahrscheinlich hat das nicht sauber geklappt. Mist aber auch...
-
@thomas-braun Die grafische Oberfläche habe ich doch schon vor 4 Wochen runtergeschmissen? Wahrscheinlich hat das nicht sauber geklappt. Mist aber auch...
@jojo58 sagte in iob node fix - Skript:
runtergeschmissen?
Komplett runtergeschmissen oder lediglich deaktiviert?
-
@jojo58 sagte in iob node fix - Skript:
runtergeschmissen?
Komplett runtergeschmissen oder lediglich deaktiviert?
@thomas-braun Komplett runtergeschmissen. Hoffe das war richtig so:
sudo apt-get autoremove gdm3 und sudo apt-get autoremove --purge gnome* -
@thomas-braun Komplett runtergeschmissen. Hoffe das war richtig so:
sudo apt-get autoremove gdm3 und sudo apt-get autoremove --purge gnome*@jojo58 sagte in iob node fix - Skript:
Hoffe das war richtig so
Das weiß ich nicht. Kenne dein System ja nicht.
-
@thomas-braun
Ich habe am Sonntag mit dem Script auf V18.18.0 upgedatet. Hat auch alles geklappt. Allerdings besteht da ja das Problem das Backitup nicht sauber läuft.Siehe Hier
Jetzt wollte ich eben auf 18.18.1 updaten aber das funktioniert nicht. Ausgabe des Skripts:
Hier noch die Ausgabe von Diag
Lang:
Und kurz
Jemand ne Idee worans harpert?
-
@thomas-braun
Ich habe am Sonntag mit dem Script auf V18.18.0 upgedatet. Hat auch alles geklappt. Allerdings besteht da ja das Problem das Backitup nicht sauber läuft.Siehe Hier
Jetzt wollte ich eben auf 18.18.1 updaten aber das funktioniert nicht. Ausgabe des Skripts:
Hier noch die Ausgabe von Diag
Lang:
Und kurz
Jemand ne Idee worans harpert?
@uv-on-fire sagte in iob node fix - Skript:
Mirror sync in progress?
Ja, der 'Mirror sync' läuft gerade.
Und noch so als Hinweis: Wenn die Quelle einmal richtig auf das richtige Repo inkl. nodejs@18 umgestellt wurde braucht man das Skript / den 'iob node-upgrade' nicht mehr, das läuft dann über das üblichesudo apt update sudo apt full-upgradeganz normal mit. Das Skript ist nur für die einmalige Umstellung gedacht, nicht für 0815-Updates.
-
@uv-on-fire sagte in iob node fix - Skript:
Mirror sync in progress?
Ja, der 'Mirror sync' läuft gerade.
Und noch so als Hinweis: Wenn die Quelle einmal richtig auf das richtige Repo inkl. nodejs@18 umgestellt wurde braucht man das Skript / den 'iob node-upgrade' nicht mehr, das läuft dann über das üblichesudo apt update sudo apt full-upgradeganz normal mit. Das Skript ist nur für die einmalige Umstellung gedacht, nicht für 0815-Updates.
@thomas-braun
Super, danke.
Und danke für den Hinweis.
-
Sooo... Danke für Alle die Hier unterstützt haben und mit getestet haben! Das Skript ist nun offizieller Bestandhteil vom iobroker CLI Kommando.
Daher ... weiter unter https://forum.iobroker.net/topic/69067/neuer-befehl-iob-nodejs-update
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden