NEWS
Kein Update mehr möglich mit Node.js 16
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Von oben nach unten kam zuerst node Installation und iobroker Installation.
und oben drüber war ein roter Kasten mit Ausrufezeichen
mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.
-
@lobomau ich dachte nen proxmox LCX
https://www.iobroker.net/#de/documentation/install/proxmox.md -
-
@lobomau die automatische node Installation funktioniert irgendwie nicht (mehr). Ich würde behaupten ich habe mich 1:1 an die Anleitung gehalten. Dann eben manuell wie gehabt.
ioBroker login: lobomau Password: Linux ioBroker 5.15.35-1-pve #1 SMP PVE 5.15.35-2 (Thu, 05 May 2022 13:54:35 +0200) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. lobomau@ioBroker:~$ curl -sLf https://iobroker.net/install.sh | bash - library: loaded Library version=2022-06-15 ========================================================================== Welcome to the ioBroker installer! Installer version: 2022-06-03 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for lobomau: lobomau is not in the sudoers file. This incident will be reported. ========================================================================== Node.js not found. Installing... ========================================================================== [sudo] password for lobomau: lobomau is not in the sudoers file. This incident will be reported. [sudo] password for lobomau: Installed nodejs Cannot install Node.js! Please install it manually. lobomau@ioBroker:~$
Die Updates als normaler user scheine auch gar nicht mehr zu funktionieren? Muss ich dem user lobomau mehr Rechte geben?
lobomau@ioBroker:~$ sudo apt update [sudo] password for lobomau: lobomau is not in the sudoers file. This incident will be reported. lobomau@ioBroker:~$ sudo apt upgrade [sudo] password for lobomau: lobomau is not in the sudoers file. This incident will be reported. lobomau@ioBroker:~$
-
lobomau is not in the sudoers file.
Dein User ist falsch angelegt. Der muss in die Gruppe 'sudo' rein. (Oder wie genau das unter Proxmox gehandhabt wird. Musst du nachlesen.)
-
@thomas-braun ja, Fehler wieder bei mir. Ist richtig beschrieben:
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
die automatische node Installation funktioniert irgendwie nicht (mehr). Ich würde behaupten ich habe mich 1:1 an die Anleitung gehalten. Dann eben manuell wie gehabt.
warum so überhastet?
wo ist der output aus dem du dieses schließt.
Warum nicht erst gepostet, bevor der nächste (möglicherweise falsche) Schritt gemacht wird?ggf. ist ja schon etwas im Grundsystem schief. Dann brauchst du gar nicht erst weitermachen
-
@homoran alles gut! Die Anleitung ist 99% perfekt! Das fehlende 1% kommt nur durch ungeduldige User wie mich zustande
In der Proxmox Anleitung ist ja noch angegeben:adduser benutzername
Da drunter ist dann zum Aufklappen ein Screenshot mit der wichtigen Info. Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:
usermod -aG sudo benutzername
Bckup zurückspielen und weitere Tests mit node 16 kann ich später machen.
-
@lobomau hast du denn jetzt die Basis sauber?
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:
???
der steht doch darüber!Das "versteckte" ist doch "nur" zur Visualisierung
-
@homoran ja, sieht sauber aus.
Was ich meinte ist den Text hier zusätzlich hinzuschreiben. Praktisch alles als copy & paste zur Verfügung zu stellen:
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Was ich meinte ist den Text hier zusätzlich hinzuschreiben
ach den
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:
ich kümmere mich darum, da war sowieso noch ein Punkt zum abändern
da muss rein, Nachdem man den Container gestartet hat...EDIT
erledigt -
@lobomau man kann auch sudo für den User so konfigurieren, dass man nicht dauernd ein Passwort eingeben muss.
-
-
@thomas-braun Nein, ich meinte permanent:
pi@MWHome:/etc/sudoers.d $ sudo cat 010_pi-nopasswd pi ALL=(ALL) NOPASSWD: ALL
Also wie beim pi so eine Datei erstellt und dann diese Zeile in die Datei eingetragen. Man kann das sicher irgendwo auch einschränken, aber damit muss man zumindest generell kein Passwort mehr mit sudo eingeben.
-
@thomas-braun ja, das war jetzt ok während der Installation. Gut möglich, dass da 15min sind.
Backup über backup-Adapter läuft gerade. Also scheint es grundsätzlich schon zu funktionieren das Installieren von Adaptern.
Vorher musste ich noch den redis-server installieren. Die slaves werden noch nicht erkannt. Vielleicht nach einem Neustart des Containers nachdem das Backup fertig ist.Edit.: achso... das wird mit den slaves nicht sofort so funktionieren, da der Master jetzt anders heisst. Vielleicht passe ich einfach mal den Namen des Masters an oder ich mache die Anmeldung der slaves über die Konsole.
-
@mickym sagte in Kein Update mehr möglich mit Node.js 16:
generell kein Passwort mehr mit sudo eingeben.
Was natürlich vollkommener Sinn der Sache ist...
-
@lobomau Updates gehen sonst auch, die vorher nicht gingen. Ich hatte noch ein Update für statistics Adapter von 1.x auf 2.x, das nun geklappt hat.
Probleme macht z.B. der VIS Adapter.
Während des Backups:
host.ioBroker 2022-06-21 13:28:00.007 error iobroker host.ioBroker Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-06-21 13:27:59.124 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-06-21 13:27:59.122 info terminating vis.0 2022-06-21 13:27:58.617 error Not exists vis.0 2022-06-21 13:27:58.616 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-06-21 13:27:58.613 error unhandled promise rejection: Not exists vis.0 2022-06-21 13:27:58.612 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-06-21 13:27:57.951 info vis license is OK. vis.0 2022-06-21 13:27:57.786 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23 host.ioBroker 2022-06-21 13:27:46.372 info iobroker Installing iobroker.vis@1.4.15... (System call) host.ioBroker 2022-06-21 13:27:46.370 info iobroker NPM version: 8.11.0 host.ioBroker 2022-06-21 13:27:42.400 info iobroker add vis auto --host ioBroker host.ioBroker 2022-06-21 13:26:57.218 info iobroker exit 25 host.ioBroker 2022-06-21 13:26:56.167 error iobroker host.ioBroker Cannot install iobroker.vis: 6 vis.0 2022-06-21 13:26:55.284 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-06-21 13:26:55.282 info terminating vis.0 2022-06-21 13:26:54.774 error Not exists vis.0 2022-06-21 13:26:54.773 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-06-21 13:26:54.770 error unhandled promise rejection: Not exists vis.0 2022-06-21 13:26:54.769 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-06-21 13:26:54.051 info vis license is OK. vis.0 2022-06-21 13:26:53.884 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23 host.ioBroker 2022-06-21 13:26:41.987 info iobroker Installing iobroker.vis... (System call) host.ioBroker 2022-06-21 13:26:41.985 info iobroker NPM version: 8.11.0 host.ioBroker 2022-06-21 13:26:40.863 info iobroker install iobroker.vis host.ioBroker 2022-06-21 13:26:38.538 info iobroker url iobroker.vis --host ioBroker host.ioBroker 2022-06-21 13:24:42.858 info iobroker exit 25 host.ioBroker 2022-06-21 13:24:41.831 error iobroker host.ioBroker Cannot install iobroker/ioBroker.vis: 6 vis.0 2022-06-21 13:24:40.964 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-06-21 13:24:40.963 info terminating vis.0 2022-06-21 13:24:40.455 error Not exists vis.0 2022-06-21 13:24:40.453 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-06-21 13:24:40.450 error unhandled promise rejection: Not exists vis.0 2022-06-21 13:24:40.449 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-06-21 13:24:39.728 info vis license is OK. vis.0 2022-06-21 13:24:39.559 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23 host.ioBroker 2022-06-21 13:23:52.654 info iobroker Installing iobroker/ioBroker.vis... (System call) host.ioBroker 2022-06-21 13:23:52.653 info iobroker NPM version: 8.11.0 host.ioBroker 2022-06-21 13:23:51.523 info iobroker install iobroker/ioBroker.vis host.ioBroker 2022-06-21 13:23:49.205 info iobroker url iobroker/ioBroker.vis --host ioBroker host.ioBroker 2022-06-21 13:22:03.915 error Cannot download and install adapter "vis@1.4.15". To retry it disable/enable the adapter or restart host. Also check the error messages in the log! host.ioBroker 2022-06-21 13:22:02.914 info iobroker npm-install: exit 25 host.ioBroker 2022-06-21 13:22:01.879 error iobroker npm-install: host.ioBroker Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-06-21 13:22:00.998 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-06-21 13:22:00.997 info terminating host.ioBroker 2022-06-21 13:22:00.707 info iobroker exit 0 vis.0 2022-06-21 13:22:00.492 error Not exists vis.0 2022-06-21 13:22:00.491 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-06-21 13:22:00.488 error unhandled promise rejection: Not exists vis.0 2022-06-21 13:22:00.486 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-06-21 13:21:59.814 info vis license is OK. host.ioBroker 2022-06-21 13:21:59.663 info iobroker upload [0] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/words.js words.js application/javascript host.ioBroker 2022-06-21 13:21:59.650 info iobroker upload [1] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/statistics.png statistics.png image/png vis.0 2022-06-21 13:21:59.647 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23
Danach über ioBroker versucht zu installieren über npm:
$ iobroker url iobroker/ioBroker.vis --host ioBroker install iobroker/ioBroker.vis NPM version: 8.11.0 Installing iobroker/ioBroker.vis... (System call) host.ioBroker Cannot install iobroker/ioBroker.vis: 6 ERROR: Process exited with code 25
-
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Backup über backup-Adapter läuft gerade
@lobomau sagte in Kein Update mehr möglich mit Node.js 16:
Probleme macht z.B. der VIS Adapter
hast du vor dem Backup zurück spielen vis installiert?