NEWS
Umzug von rpb 3 auf rpb 4
-
@Homoran sagte in Umzug von rpb 3 auf rpb 4:
Eigentlich muss zuerst der Unterbau hochgezogen werden: OS und node.
Für das OS gibt es nix mehr. Aber nodejs könnte man mal versuchen auf nodejs@16 (und dann ggfls. weiter hoch) zu bringen.
Das gibt es noch von nodesource:nodejs: Installed: 25.2.0-1nodesource1 Candidate: 16.20.2-1nodesource1 Version table: *** 25.2.0-1nodesource1 100 100 /var/lib/dpkg/status 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main arm64 Packages 16.20.2-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 Packages 16.20.1-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 Packages@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
@Homoran sagte in Umzug von rpb 3 auf rpb 4:
Eigentlich muss zuerst der Unterbau hochgezogen werden: OS und node.
Für das OS gibt es nix mehr. Aber nodejs könnte man mal versuchen auf nodejs@16 (und dann ggfls. weiter hoch) zu bringen.
Das gibt es noch von nodesource:nodejs: Installed: 25.2.0-1nodesource1 Candidate: 16.20.2-1nodesource1 Version table: *** 25.2.0-1nodesource1 100 100 /var/lib/dpkg/status 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main arm64 Packages 16.20.2-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 Packages 16.20.1-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 PackagesIch hab das OS seit mindestens 5 Jahren nicht mehr geupdatet. Da fürchte ich, dass, wenn ich apt get drüber laufen lasse, schon etwas zerschossen wird.
Bringt es etwas, wenn ich auf nodejs 16 update? Lassen sich dann die Adapter aktualisieren?
Sorry, dumme Fragen, aber ich bin nur User mit rudimentären Linux-Kenntnissen.
Auf jeden Fall möchte ich mich jetzt bedanken, dass es hier so schnell Tipps gibt. Unabhängig davon, ob es für mein Problem eine Lösung gibt, oder nicht.
-
@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
@Homoran sagte in Umzug von rpb 3 auf rpb 4:
Eigentlich muss zuerst der Unterbau hochgezogen werden: OS und node.
Für das OS gibt es nix mehr. Aber nodejs könnte man mal versuchen auf nodejs@16 (und dann ggfls. weiter hoch) zu bringen.
Das gibt es noch von nodesource:nodejs: Installed: 25.2.0-1nodesource1 Candidate: 16.20.2-1nodesource1 Version table: *** 25.2.0-1nodesource1 100 100 /var/lib/dpkg/status 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main arm64 Packages 16.20.2-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 Packages 16.20.1-1nodesource1 1001 500 https://deb.nodesource.com/node_16.x nodistro/main arm64 PackagesIch hab das OS seit mindestens 5 Jahren nicht mehr geupdatet. Da fürchte ich, dass, wenn ich apt get drüber laufen lasse, schon etwas zerschossen wird.
Bringt es etwas, wenn ich auf nodejs 16 update? Lassen sich dann die Adapter aktualisieren?
Sorry, dumme Fragen, aber ich bin nur User mit rudimentären Linux-Kenntnissen.
Auf jeden Fall möchte ich mich jetzt bedanken, dass es hier so schnell Tipps gibt. Unabhängig davon, ob es für mein Problem eine Lösung gibt, oder nicht.
@wolf sagte in Umzug von rpb 3 auf rpb 4:
seit mindestens 5 Jahren nicht mehr geupdatet
eher 10
@wolf sagte in Umzug von rpb 3 auf rpb 4:
wenn ich auf nodejs 16 update? Lassen sich dann die Adapter aktualisieren?
ist zumindest eine Chance
EDIT: Sorry, hab stretch mit Jessie verwechselt

-
@wolf sagte in Umzug von rpb 3 auf rpb 4:
seit mindestens 5 Jahren nicht mehr geupdatet
eher 10
@wolf sagte in Umzug von rpb 3 auf rpb 4:
wenn ich auf nodejs 16 update? Lassen sich dann die Adapter aktualisieren?
ist zumindest eine Chance
EDIT: Sorry, hab stretch mit Jessie verwechselt

@Homoran sagte in Umzug von rpb 3 auf rpb 4:
@wolf sagte in Umzug von rpb 3 auf rpb 4:
seit mindestens 5 Jahren nicht mehr geupdatet
eher 10
@wolf sagte in Umzug von rpb 3 auf rpb 4:
wenn ich auf nodejs 16 update? Lassen sich dann die Adapter aktualisieren?
ist zumindest eine Chance
EDIT: Sorry, hab stretch mit Jessie verwechselt

Ich kann mich dunkel erinnern, dass es irgendwo eine Anleitung für das Updaten von npm und nodejs gab. Weißt du vielleicht einen Link dazu?
-
Auf
type -P nodejs && nodejs -v && type -P node && node -v && type -P npm && npm -v && type -P npx && npx -v && apt policy nodejs
bekomme ich übrigens
/usr/bin/nodejs
v12.22.12
/usr/bin/node
v12.22.12
/usr/bin/npm
6.14.16
/usr/bin/npx
6.14.16
nodejs:
Installiert: 12.22.12-1nodesource1
Installationskandidat: 12.22.12-1nodesource1
Versionstabelle:
*** 12.22.12-1nodesource1 500
500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
100 /var/lib/dpkg/status
8.11.1~dfsg-2~bpo9+1 500
500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
4.8.2~dfsg-1 500
500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages -
Auf
type -P nodejs && nodejs -v && type -P node && node -v && type -P npm && npm -v && type -P npx && npx -v && apt policy nodejs
bekomme ich übrigens
/usr/bin/nodejs
v12.22.12
/usr/bin/node
v12.22.12
/usr/bin/npm
6.14.16
/usr/bin/npx
6.14.16
nodejs:
Installiert: 12.22.12-1nodesource1
Installationskandidat: 12.22.12-1nodesource1
Versionstabelle:
*** 12.22.12-1nodesource1 500
500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
100 /var/lib/dpkg/status
8.11.1~dfsg-2~bpo9+1 500
500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
4.8.2~dfsg-1 500
500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf PackagesIch würde mal versuchen, ob das nodesource-Repo für nodejs@16 noch für stretch funktioniert. Ich kann dir gleich mal raussuchen, wie das geht, bin gerade aber unterwegs.
-
Ich würde mal versuchen, ob das nodesource-Repo für nodejs@16 noch für stretch funktioniert. Ich kann dir gleich mal raussuchen, wie das geht, bin gerade aber unterwegs.
@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
Ich würde mal versuchen, ob das nodesource-Repo für nodejs@16 noch für stretch funktioniert. Ich kann dir gleich mal raussuchen, wie das geht, bin gerade aber unterwegs.
Eilt ja nicht. :)
-
@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
Ich würde mal versuchen, ob das nodesource-Repo für nodejs@16 noch für stretch funktioniert. Ich kann dir gleich mal raussuchen, wie das geht, bin gerade aber unterwegs.
Eilt ja nicht. :)
Also:
iob stop iob fix iob update iob upgrade all -y iob nodejs-update 16 cd /opt/iobroker iob stop npm install iobroker.js-controller@4.0.24 iob update iob upgrade all -y iob nodejs-update 18 cd /opt/iobroker iob stop npm install iobroker.js-controller@5.0.19 iob update iob upgrade all -y iob nodejs-update 20 cd /opt/iobroker iob stop npm install iobroker.js-controller@6.0.11 iob update iob upgrade all -y iob nodejs-update cd /opt/iobroker iob stop iob update iob upgrade self iob upgrade all -y iob startUnd dann mal schauen, was dir ein
iob diagum die Ohren wirft.
Wenn das alles auf Stand sein sollte, von dem Stand dann wieder ein Backup davon ziehen und in ein frisches System auf aktueller Hardware umziehen.
-
Also:
iob stop iob fix iob update iob upgrade all -y iob nodejs-update 16 cd /opt/iobroker iob stop npm install iobroker.js-controller@4.0.24 iob update iob upgrade all -y iob nodejs-update 18 cd /opt/iobroker iob stop npm install iobroker.js-controller@5.0.19 iob update iob upgrade all -y iob nodejs-update 20 cd /opt/iobroker iob stop npm install iobroker.js-controller@6.0.11 iob update iob upgrade all -y iob nodejs-update cd /opt/iobroker iob stop iob update iob upgrade self iob upgrade all -y iob startUnd dann mal schauen, was dir ein
iob diagum die Ohren wirft.
Wenn das alles auf Stand sein sollte, von dem Stand dann wieder ein Backup davon ziehen und in ein frisches System auf aktueller Hardware umziehen.
@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
Also:
iob stop iob fix iob update iob upgrade all -y iob nodejs-update 16 cd /opt/iobroker iob stop npm install iobroker.js-controller@4.0.24 iob update iob upgrade all -y iob nodejs-update 18 cd /opt/iobroker iob stop npm install iobroker.js-controller@5.0.19 iob update iob upgrade all -y iob nodejs-update 20 cd /opt/iobroker iob stop npm install iobroker.js-controller@6.0.11 iob update iob upgrade all -y iob nodejs-update cd /opt/iobroker iob stop iob update iob upgrade self iob upgrade all -y iob startUnd dann mal schauen, was dir ein
iob diagum die Ohren wirft.
Wenn das alles auf Stand sein sollte, von dem Stand dann wieder ein Backup davon ziehen und in ein frisches System auf aktueller Hardware umziehen.
Kein apt-get vorher und auch nodejs belassen, wie es ist?
-
Also:
iob stop iob fix iob update iob upgrade all -y iob nodejs-update 16 cd /opt/iobroker iob stop npm install iobroker.js-controller@4.0.24 iob update iob upgrade all -y iob nodejs-update 18 cd /opt/iobroker iob stop npm install iobroker.js-controller@5.0.19 iob update iob upgrade all -y iob nodejs-update 20 cd /opt/iobroker iob stop npm install iobroker.js-controller@6.0.11 iob update iob upgrade all -y iob nodejs-update cd /opt/iobroker iob stop iob update iob upgrade self iob upgrade all -y iob startUnd dann mal schauen, was dir ein
iob diagum die Ohren wirft.
Wenn das alles auf Stand sein sollte, von dem Stand dann wieder ein Backup davon ziehen und in ein frisches System auf aktueller Hardware umziehen.
@Thomas-Braun bist du sicher dass
nodejs-updatemit controller v3 läuft? -
@Thomas-Braun sagte in Umzug von rpb 3 auf rpb 4:
Also:
iob stop iob fix iob update iob upgrade all -y iob nodejs-update 16 cd /opt/iobroker iob stop npm install iobroker.js-controller@4.0.24 iob update iob upgrade all -y iob nodejs-update 18 cd /opt/iobroker iob stop npm install iobroker.js-controller@5.0.19 iob update iob upgrade all -y iob nodejs-update 20 cd /opt/iobroker iob stop npm install iobroker.js-controller@6.0.11 iob update iob upgrade all -y iob nodejs-update cd /opt/iobroker iob stop iob update iob upgrade self iob upgrade all -y iob startUnd dann mal schauen, was dir ein
iob diagum die Ohren wirft.
Wenn das alles auf Stand sein sollte, von dem Stand dann wieder ein Backup davon ziehen und in ein frisches System auf aktueller Hardware umziehen.
Kein apt-get vorher und auch nodejs belassen, wie es ist?
@wolf sagte in Umzug von rpb 3 auf rpb 4:
Kein apt-get vorher und auch nodejs belassen, wie es ist?
apt-get schaut ins Leere, die Quelle ist ja vor Jahren schon ausgetrocknet (Never, never follow the 'Never change a running system'-Schwachsinn).
bist du sicher dass nodejs-update mit controller v3 läuft?
nodejs-update hat ja nichts mit dem js-controller zu tun, das ist ein reines bash-Skript und kommt via 'iob fix' auf das System. Ich weiß nur nicht, ob der Fixer auf so einem alten System sauber durchläuft.
Und ich weiß auch nicht, bei welcher nodejs-Version auf 'stretch' Schluss ist. Kann sein, das es auch gar nicht funktioniert. Dann müsste man da manuell ran.