NEWS
ZimaBoard 832 # Debian12 (i386) # js-controler startet nicht
-
@thomas-braun sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
@derauge sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
node -v v18.13.0
Ist falsch. Da muss eine 18.18.2 aus dem nodesource-Repo angelegt werden. Macht eigentlich der Installer.
iob nodejs-update
sagt?
ioBroker nodejs fixer 2023-10-13 No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree. Your current setup is: /usr/bin/nodejs v18.13.0 /usr/bin/node v18.13.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 We found these nodejs versions available for installation: nodejs: Installed: 18.13.0+dfsg1-1 Candidate: 18.13.0+dfsg1-1 Version table: *** 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main i386 Packages 100 /var/lib/dpkg/status Nothing to do - Your installation is using the correct paths. You are running nodejs v18.13.0. Do you want to install latest version from nodejs v.18 tree? Press <y> to continue or any other key to quit Trying to update your installation now. Please be patient. rm: cannot remove '/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg': No such file or directory 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 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://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] Fetched 12.1 kB in 2s (5235 B/s) Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' doesn't support architecture 'i386' Installing the recommended nodejs version now! Exact recommended version unknown, installing a fallback! E: Version '18.0.0-1nodesource1' for 'nodejs' was not found Updating fallback to latest nodejs v18 release v18.13.0 has been installed! You are using the latest version now! Installing the recommended nodejs version! 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. auge@CasaOS-1:~$
auge@CasaOS-1:~$ node -v v18.13.0 auge@CasaOS-1:~$ npm -v 9.2.0 auge@CasaOS-1:~$ iobroker -v 5.0.12 auge@CasaOS-1:~$
Das ist ja spannend. Durch den Script wird es nicht neu installiert
-
-
-
@thomas-braun sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
sudo apt update apt policy nodejs
sagt?
auge@CasaOS-1:~$ iob stop auge@CasaOS-1:~$ sudo nano /etc/apt/sources.list.d/nodesource.list auge@CasaOS-1:~$ sudo apt update OK:1 http://deb.debian.org/debian bookworm InRelease OK:2 http://security.debian.org/debian-security bookworm-security InRelease OK:3 http://deb.debian.org/debian bookworm-updates InRelease Ign:4 https://deb.nodesource.com/node_18.18.2 nodistro InRelease Fehl:5 https://deb.nodesource.com/node_18.18.2 nodistro Release 404 Not Found [IP: 172.67.10.205 443] Paketlisten werden gelesen… Fertig E: Das Depot »https://deb.nodesource.com/node_18.18.2 nodistro Release« enthält keine Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). auge@CasaOS-1:~$
auge@CasaOS-1:~$ apt policy nodejs nodejs: Installiert: 18.13.0+dfsg1-1 Installationskandidat: 18.13.0+dfsg1-1 Versionstabelle: *** 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main i386 Packages 100 /var/lib/dpkg/status auge@CasaOS-1:~$
-
https://deb.nodesource.com/node_18.18.2
Ist ja auch falsch. Hast du da was geändert oder kommt das so aus dem Installer?
-
@thomas-braun sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
https://deb.nodesource.com/node_18.18.2
Ist ja auch falsch. Hast du da was geändert oder kommt das so aus dem Installer?
habe die Datei angepasst
auge@CasaOS-1:~$ sudo nano /etc/apt/sources.list.d/nodesource.list
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.18.2 nodistro main
für die "manuelle" Installation
-
Dann ist es falsch angepasst. Im HowTo steht es richtig drin.
-
OK
auge@CasaOS-1:~$ 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
auge@CasaOS-1:~$ sudo apt update OK:1 http://security.debian.org/debian-security bookworm-security InRelease OK:2 http://deb.debian.org/debian bookworm InRelease OK:3 http://deb.debian.org/debian bookworm-updates InRelease OK:4 https://deb.nodesource.com/node_18.x nodistro InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« die Architektur »i386« nicht unterstützt. auge@CasaOS-1:~$ sudo apt full-upgrade Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Paketaktualisierung (Upgrade) wird berechnet… Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. auge@CasaOS-1:~$
Da kommen wir der Sache schon etws näher:
N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« die Architektur »i386« nicht unterstützt.
-
-
@thomas-braun sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
apt policy nodejs
liefert?
Auszug aus "iob diag"
*** NodeJS-Installation *** /usr/bin/nodejs v18.13.0 /usr/bin/node v18.13.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 /home/iobroker/.diag.sh: line 281: corepack: command not found *** nodejs is NOT correctly installed *** nodejs: Installed: 18.13.0+dfsg1-1 Candidate: 18.13.0+dfsg1-1 Version table: *** 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main i386 Packages 100 /var/lib/dpkg/status
======================= SUMMARY ======================= v.2023-10-10 Static hostname: CasaOS-1 Icon name: computer-desktop Chassis: desktop 🖥️ Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-13-686-pae Architecture: x86 Hardware Vendor: IceWhale Technology Co.,Ltd. Hardware Model: ZimaBoard 832 Firmware Version: 5.12 Installation: native Kernel: i686 Userland: i386 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.13.0 /usr/bin/node v18.13.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 /home/iobroker/.diag.sh: line 490: corepack: command not found Recommended versions are nodejs and npm *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed Please check https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian for more information on how to fix these errors. MEMORY: total used free shared buff/cache available Mem: 8.2G 783M 7.7G 962K 435M 7.5G Swap: 1.0G 0B 1.0G Total: 9.3G 783M 8.7G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 6.10.1 ioBroker Status: iobroker is not running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : CasaOS-1 - enabled, port: 8081, bind: 0.0.0.0, run as: admin Objects: 96 States: 21 Size of iob-Database: 3.8M /opt/iobroker/iobroker-data/objects.jsonl 8.0K /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
-
auge@CasaOS-1:~$ apt policy nodejs nodejs: Installiert: 18.13.0+dfsg1-1 Installationskandidat: 18.13.0+dfsg1-1 Versionstabelle: *** 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main i386 Packages 100 /var/lib/dpkg/status auge@CasaOS-1:~$
-
Ich sehe schon...
nodesource baut nicht für 32bit-Systeme. Das läuft also auf deiner i386-Architektur nicht.
-
@thomas-braun sagte in ZimaBoard 832 mit Debian12 # js-controler startet nicht:
Ich sehe schon...
nodesource baut nicht für 32bit-Systeme. Das läuft also auf deiner i386-Architektur nicht.
Das habe ich fast befürchtet
Dann muss ich mal schauen, dass ich dort ein amd64 Image drauf bekomme
Beim OrginalOS ist es:
Linux CasaOS 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
Auf meinem "neuen" Host ist:
Linux CasaOS-1 6.1.0-13-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) i686 GNU/Linux
Es bleibt spannend
Danke für deine Unterstützung !!
Gruß
JürgenNur noch mal ein Test mit "Install Node.js 20.x Current":
N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_20.x nodistro InRelease« die Architektur »i386« nicht unterstützt.
-
Auch das läuft natürlich nicht auf 32bit.
Aber offenbar kann man da ja frei 'irgendwas' installieren. Nimm halt das richtige Installations-Medium für Debian. -
@thomas-braun sagte in ZimaBoard 832 # Debian12 (i386) # js-controler startet nicht:
Auch das läuft natürlich nicht auf 32bit.
Aber offenbar kann man da ja frei 'irgendwas' installieren. Nimm halt das richtige Installations-Medium für Debian.Hier ist die Lösung das Problems