NEWS
js-controller update 5.0.x schlägt fehl
-
seit dem Update kann ich die admin seite nicht mehr erreichen.
Die Seite bleibt weiß ohne Fehlermeldung.
der iob Befehl der vorher systemweit funktionierte führt jetzt immer hierzu:/opt/iobroker# iob fix
iobroker fix
Execute the installation fixer script, this updates your ioBroker installation
Options:
--help Show help [boolean]
das hier führt zu:
service iobroker status
Failed to connect to bus: Connection refused
nach einem Reboot zeigt er mir die admin Oberfläche wieder an aber wieder soll ich den admin adapter auf 6.8.0 aktualisieren und WIEDER gibt der js-controller an er sei4.0.24 und ich müsse auf 5.0.12 aktualisieren...
curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
sagt das hier======================= SUMMARY ======================= v.2023-06-20 Static hostname: iobroker Icon name: computer-container Chassis: container Machine ID: 2a2fff2f04dc408d995be9b80a65a02e Boot ID: 31c5078b18a64fe68926bee44cba6060 Virtualization: lxc Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 5.15.60-1-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 0 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 2 Nodejs-Installation: /bin/nodejs v18.17.1 /bin/node v18.17.1 /bin/npm 9.6.7 /bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y *** nodejs is NOT correctly installed *** MEMORY: total used free shared buff/cache available Mem: 6.1G 2.9G 2.5G 0.0K 752M 3.3G Swap: 1.0G 0.0K 1.0G Total: 7.2G 2.9G 3.6G Active iob-Instances: 34 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin 6.8.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker led, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker led, port: 8082, bind: 0.0.0.0, run as: admin Objects: 14534 States: 9760 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/objects.json.migrated 11M /opt/iobroker/iobroker-data/objects.json.bak.migrated 17M /opt/iobroker/iobroker-data/states.jsonl 1.7M /opt/iobroker/iobroker-data/states.json.migrated 1.7M /opt/iobroker/iobroker-data/states.json.bak.migrated =================== END OF SUMMARY ====================
aber dann sehe ich das hier:
@iobroker:~# which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs /bin/nodejs /bin/node /bin/npm v18.17.1 v18.17.1 9.6.7 root /root Get:1 https://deb.nodesource.com/node_18.x jammy InRelease [4,563 B] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease Fetched 4,563 B in 1s (7,381 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 13 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages root@iobroker:~# cat /etc/apt/sources.list.d/nodesource.list deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main''' Muss ich node.js einfach nochmal installieren?
-
@merowinger sagte in js-controller update 5.0.x schlägt fehl:
Muss ich node.js einfach nochmal installieren?
Zuerst musst du den root ausloggen.
-
und dann nach deiner u.g. Anleitung node.js neu installieren?
-
-
Oder mit dem Skript von hier:
https://forum.iobroker.net/topic/68035/iob-node-fix-skript -
@thomas-braun
Das sagt das hier:ioBroker nodejs fixer 2023-09-15 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 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 jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Nothing to do, your installation is using the correct paths. Nothing to do, your installed version is the recommended one. ``
-
Dann passt die Installation von nodejs.
-
@thomas-braun irgendetwas scheint sich korrigiert zu haben. der iob Befehl tut jetzt auch wieder und der iobroker lxc container übersteht jetzt auch den Reboot und bleibt auf 5.0.25
Vielen lieben Dank!!!
Ich habe eigentlich nix gemacht, außer nen nutzer mit sudo Rechten anzulegen... -
@merowinger sagte in js-controller update 5.0.x schlägt fehl:
Ich habe eigentlich nix gemacht
?
@merowinger sagte in js-controller update 5.0.x schlägt fehl:
außer nen nutzer mit sudo Rechten anzulegen
!
-
@merowinger sagte in js-controller update 5.0.x schlägt fehl:
Ich habe eigentlich nix gemacht, außer nen nutzer mit sudo Rechten anzulegen
Joh, das ist ja auch richtig und wichtig.