NEWS
ioBroker extrem langsam
ioBroker extrem langsam
-
Hallo!
Ich wollte gerade den Post aktualisieren.
Ich habe - eher zufällig - eine Verbindung parallel mit putty aufgebaut. Jetzt zickt der ioBroker nicht mehr. Alle Adapter konnte ich einwandfrei aktualisieren. Gern lösche ich den Beitrag (Ausgangsfrage) wieder.
-
Mmh, irgendwas habe ich vergessen. Hier das Ergebnis, das Du sicherlich nicht lesen willst...
pi@raspberrypi:~ $ iob diag iobroker [command] Commands: iobroker setup Setup ioBroker iobroker start [all|<adapter>.<instance>] Starts the js-controller or a specified adapter instance iobroker stop [<adapter>.<instance>] stops the js-controller or a specified adapter instance iobroker restart [<adapter>.<instance>] Restarts js-controller or a specified adapter instance [aliases: r] iobroker debug <adapter>[.<instance>] Starts a Node.js debugging session for the adapter instance iobroker info Shows the host infoWas muss ich denn genau eingeben? (Sorry!)
-
Mmh, irgendwas habe ich vergessen. Hier das Ergebnis, das Du sicherlich nicht lesen willst...
pi@raspberrypi:~ $ iob diag iobroker [command] Commands: iobroker setup Setup ioBroker iobroker start [all|<adapter>.<instance>] Starts the js-controller or a specified adapter instance iobroker stop [<adapter>.<instance>] stops the js-controller or a specified adapter instance iobroker restart [<adapter>.<instance>] Restarts js-controller or a specified adapter instance [aliases: r] iobroker debug <adapter>[.<instance>] Starts a Node.js debugging session for the adapter instance iobroker info Shows the host infoWas muss ich denn genau eingeben? (Sorry!)
Deine Installation ist nicht auf aktuellem Stand.
iob stop iob fix iob startund dann wenn der ioBroker wieder vollständig gestartet ist
iob diag -
Deine Installation ist nicht auf aktuellem Stand.
iob stop iob fix iob startund dann wenn der ioBroker wieder vollständig gestartet ist
iob diag@thomas-braun said in ioBroker extrem langsam:
iob start
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.1G 1.8G 40M 936M 2.8G Swap: 99M 0B 99M Total: 3.9G 1.1G 1.9G Active iob-Instances: 19 Active repo(s): stable ioBroker Core: js-controller 4.0.23 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3748 Size of iob-Database: 7.4M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 1.5M /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ==================== -
@thomas-braun said in ioBroker extrem langsam:
iob start
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.1G 1.8G 40M 936M 2.8G Swap: 99M 0B 99M Total: 3.9G 1.1G 1.9G Active iob-Instances: 19 Active repo(s): stable ioBroker Core: js-controller 4.0.23 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3748 Size of iob-Database: 7.4M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 1.5M /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================@qwerty1896 sagte in ioBroker extrem langsam:
X-Server: true
Da rumpelt halt ein Desktop mit. Klar bremst der das System aus.
Schalt den aus.Und bring dein nodejs auf v18.
Und dann gibst du nochmal die Langfassung bekannt.
-
@qwerty1896 sagte in ioBroker extrem langsam:
X-Server: true
Da rumpelt halt ein Desktop mit. Klar bremst der das System aus.
Schalt den aus.Und bring dein nodejs auf v18.
Und dann gibst du nochmal die Langfassung bekannt.
Hab meinen Dank.
Recommended versions are nodejs 18.x.y and npm 9.x.y... habe ich auch gesehen. Wurde vom ioBroker aber nicht "vorgeschlagen".
Hast Du noch einen Befehl zum Update von nodejs?
-
Hab meinen Dank.
Recommended versions are nodejs 18.x.y and npm 9.x.y... habe ich auch gesehen. Wurde vom ioBroker aber nicht "vorgeschlagen".
Hast Du noch einen Befehl zum Update von nodejs?
@qwerty1896 sagte in ioBroker extrem langsam:
Wurde vom ioBroker aber nicht "vorgeschlagen".
Nein, das ist ja auch ein Ding des Betriebssystems. Das muss der Admin auf Stand halten.
Hast Du noch einen Befehl zum Update von nodejs?
Zufällig ja.
https://forum.iobroker.net/topic/68035/iob-node-fix-skript -
Hallo!
Ich wollte die Adapter des iobrokers am Rasp aktualisieren. Leider konnte eine Aktualisierung nicht zustande. Ständig dreht sich der "Ladekreise". Wie kann ich dem Fehler auf den Grund gehen.
Plattform: linux Betriebssystem: linux Architektur: arm CPUs: 4 Geschwindigkeit: 1500 MHz Modell: unknown RAM: 3.7 GB System-Betriebszeit: 01:07:51 Node.js: v16.20.2 time: 1694593211170 timeOffset: -120 Adapter-Anzahl: 496 NPM: 8.19.4 Datenträgergröße: 14.3 GB Freier Festplattenspeicher: 4.3 GB Betriebszeit: 01:07:52 Aktive Instanzen: 18 Pfad: /opt/iobroker/ aktiv:Eigentlich kann der Rasp nicht an seine Grenzen stoßen.
Danke für die Hilfe.
@qwerty1896 Oft hilft auch der Linuxbefehl 'top', um zu sehen welcher Prozess die Ressourcen frisst.
-
@qwerty1896 sagte in ioBroker extrem langsam:
Wurde vom ioBroker aber nicht "vorgeschlagen".
Nein, das ist ja auch ein Ding des Betriebssystems. Das muss der Admin auf Stand halten.
Hast Du noch einen Befehl zum Update von nodejs?
Zufällig ja.
https://forum.iobroker.net/topic/68035/iob-node-fix-skriptDanke. Sieht gut aus.
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 950M 1.7G 39M 1.1G 2.7G Swap: 99M 0B 99M Total: 3.9G 950M 1.8G Active iob-Instances: 19 Active repo(s): stable ioBroker Core: js-controller 4.0.23 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3747 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 7.1M /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ==================== -
Danke. Sieht gut aus.
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 950M 1.7G 39M 1.1G 2.7G Swap: 99M 0B 99M Total: 3.9G 950M 1.8G Active iob-Instances: 19 Active repo(s): stable ioBroker Core: js-controller 4.0.23 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3747 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 7.1M /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================@qwerty1896 sagte in ioBroker extrem langsam:
X-Server: true
Nein, sieht nicht gut aus, da rumpelt immer noch eine graphische Oberfläche mit.
Pending iob updates: 1
Wird der js-controller sein. Bring auch den auf Stand.
-
Danke. Sieht gut aus.
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 950M 1.7G 39M 1.1G 2.7G Swap: 99M 0B 99M Total: 3.9G 950M 1.8G Active iob-Instances: 19 Active repo(s): stable ioBroker Core: js-controller 4.0.23 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3747 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 7.1M /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================Desktop/X-Server ausschalten:
sudo raspi-configDann dort:
1 System Options S5 Boot / Auto Login B1 Console -
Desktop/X-Server ausschalten:
sudo raspi-configDann dort:
1 System Options S5 Boot / Auto Login B1 Console1000x Danke!
Ich hoffe, wir - natürlich Du - können mit diesem Beitrag noch weiteren Usern weiterhelfen!
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 819M 2.5G 0.0K 516M 2.9G Swap: 99M 0B 99M Total: 3.9G 819M 2.6G Active iob-Instances: 19 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3747 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 856K /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ==================== -
1000x Danke!
Ich hoffe, wir - natürlich Du - können mit diesem Beitrag noch weiteren Usern weiterhelfen!
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 819M 2.5G 0.0K 516M 2.9G Swap: 99M 0B 99M Total: 3.9G 819M 2.6G Active iob-Instances: 19 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 : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4294 States: 3747 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 6.7M /opt/iobroker/iobroker-data/objects.json.migrated 6.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 856K /opt/iobroker/iobroker-data/states.jsonl 792K /opt/iobroker/iobroker-data/states.json.migrated 792K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================Die Summary sieht jetzt gut aus.
Besteht das Problem weiterhin?
Dann die Langfassung. -
Die Summary sieht jetzt gut aus.
Besteht das Problem weiterhin?
Dann die Langfassung.Alles gut! Keine "Wartekreise" mehr!
Fehlt nur noch Grafana... aber das ist ein anderes Thema!
-
Alles gut! Keine "Wartekreise" mehr!
Fehlt nur noch Grafana... aber das ist ein anderes Thema!
Das 'andere Thema' ist vermutlich dieses:
https://forum.iobroker.net/topic/67822/grafana-repo-braucht-neuen-schlüssel
-
Das 'andere Thema' ist vermutlich dieses:
https://forum.iobroker.net/topic/67822/grafana-repo-braucht-neuen-schlüssel
Danke. Ich muss mich allerdings auch um die Installation kümmern - auf meinem Raspberry sehr fehleranfällig.
Was nach dem Updates (s.o.) leider nicht mehr funktioniert, ist der Versand von eCharts an Telegram.
-
Danke. Ich muss mich allerdings auch um die Installation kümmern - auf meinem Raspberry sehr fehleranfällig.
Was nach dem Updates (s.o.) leider nicht mehr funktioniert, ist der Versand von eCharts an Telegram.
@qwerty1896 sagte in ioBroker extrem langsam:
Ich muss mich allerdings auch um die Installation kümmern - auf meinem Raspberry sehr fehleranfällig.
Ja, um Updates usw. musst du dich kümmern. Stimmt.
-
@qwerty1896 sagte in ioBroker extrem langsam:
Ich muss mich allerdings auch um die Installation kümmern - auf meinem Raspberry sehr fehleranfällig.
Ja, um Updates usw. musst du dich kümmern. Stimmt.
Fehlerlog eCharts
Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 108. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).Fehlerlog Telegram
script.js.common.PV_Menue: Cannot find required modules: looks like it is not possible to generate charts on your Hardware/OS -
Fehlerlog eCharts
Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 108. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).Fehlerlog Telegram
script.js.common.PV_Menue: Cannot find required modules: looks like it is not possible to generate charts on your Hardware/OSecharts bzw. canvas sollte sich bei 'gesunder' Installation von 'alleine' einrenken. Das rebuild dauert aber ggf.
Hier tut es das jedenfalls:
echad@chet:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.5.4 │ ├── canvas@2.11.2 │ └─┬ jsdom@22.1.0 │ └── canvas@2.11.2 deduped ├─┬ iobroker.mihome-vacuum@4.0.0 │ └── canvas@2.11.2 deduped └─┬ iobroker.parcel@0.1.2 └─┬ jsdom@21.1.2 └── canvas@2.11.2 deduped -
echarts bzw. canvas sollte sich bei 'gesunder' Installation von 'alleine' einrenken. Das rebuild dauert aber ggf.
Hier tut es das jedenfalls:
echad@chet:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.5.4 │ ├── canvas@2.11.2 │ └─┬ jsdom@22.1.0 │ └── canvas@2.11.2 deduped ├─┬ iobroker.mihome-vacuum@4.0.0 │ └── canvas@2.11.2 deduped └─┬ iobroker.parcel@0.1.2 └─┬ jsdom@21.1.2 └── canvas@2.11.2 dedupedSollte ich npm rebuild oder npm install testen?
"Normale" Texte werden noch an Telegram versendet.
Wie erzeugt man die Übersicht Deines letztes Beitrages ("Hier tut es das jedenfalls ...")?