NEWS
Raspberry Absturz alle 3 Tage
-
@djmarc75 sagte in Fehler Updating repository stable:
dass 37 Instanzen bei 4GB RAM schon an die Grenzen stossen kann
nee, wirklich nicht!
-
@shellyrulestheworld bitte zu dem Zeitpunkt ins /var/log/syslog schauen. Das sieht nach einem
Oom aus. Scheinbar wird der js-Controller gekillt. Ob sich dann der raspi neu startet oder nur der Controller ist dann die folgefrage. Und natürlich warum. Ich tippe auf Zuviele Instanzen bei zu wenig RAM.Ist aber eher ein anderes Thema als das des threads
-
@thomas-braun sagte in Fehler Updating repository stable:
Schaut wie eine schiefe Installation von nodejs/npm aus.
Wie kommst du darauf???
-
npm 9.2.0 passt nicht zu nodejs 16.19.0
-
@thomas-braun ja ok …. Das kann aber nicht die Ursache sein
-
Das hab ich auch nicht behauptet.
Ist nur ein Hinweis auf 'krummes Setup' an der Stelle.
Und erfahrungsgemäß ist das Setup dann auch noch an weiteren Punkten verbesserungsfähig. -
@apollon77 dann wäre von @shellyrulestheworld die Ausgabe bon
iob diag
sicherlich hilfreich -
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 29 Nodejs-Installation: /usr/bin/nodejs v16.19.0 /usr/bin/node v16.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 15853 States: 13463 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 4.4M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
Pending OS-Updates: 29
iob stop iob fix sudo apt update sudo apt full-upgrade sudo apt install --reinstall nodejs sudo reboot
-
Wenn die Kiste wieder läuft bitte die Langfassung von
iob diag
. -
@shellyrulestheworld da kommt noch mehr! Speicher und so.
-
@homoran
ich habe mal NPM auf version 8.19.3 gemacht. Danach sind keine pending updates mehr da======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 29 Nodejs-Installation: /usr/bin/nodejs v16.19.0 /usr/bin/node v16.19.0 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 15853 States: 13464 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 6.8M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
Doch... 29...
Patch die Kiste auf Stand! -
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
ich habe mal NPM auf version 8.19.3 gemacht.
wie?
@thomas-braun sagte in Raspberry Absturz alle 3 Tage:
Man packt npm nie direkt an.
-
@homoran ja, das stimmt. Hab es aus Versehen mal gemacht und bin jetzt zurück: sudo npm install -g npm@8.19.3
-
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
sudo npm install -g npm@8.19.3
Falsch, falsch, falsch. Finger weg von dem Mumpitiz!
Mach es wie oben von mir geschrieben. -
@thomas-braun nach dem Update von NPM sind die pending updates weg... Siehe iob status
-
@shellyrulestheworld warum???
führ jetzt die Befehle von @Thomas-Braun aus und fixe das wieder.
-
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
nach dem Update von NPM sind die pending updates weg... Siehe iob status
Nein, das sind Updates des OS, die packst du mit npm nicht an.
-
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
@thomas-braun nach dem Update von NPM sind die pending updates weg... Siehe iob status
sind sie nicht! siehe status
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
Pending OS-Updates: 29