NEWS
Admin sehr langsam?
-
@derrapf
Da fällt mir ein: Ich könnte ja die SD Karte rausnehmen und mit win32diskimager ein komplette image auf ne andere SD Karte kopieren oder? Dann hätte ich ein Backup das ich einstecken kann wenn alles schiefgeht. Müsste doch gehen oder?
Gruss Ralf -
@derrapf sagte in Admin sehr langsam?:
Wie hoch ist die Wahrscheinlichkeit, dass es mir das System zerlegt?
warum sollte es?
in einem ordentlich aufgesetzten sauberen System ist das Risiko 0%@derrapf sagte in Admin sehr langsam?:
Zur Not lebe ich einfach mit dem js-controller Adapter und dem langsamen WebUI. Solange alles läuft...
das kann alles nur scheinbar laufen.
Wenn da etwas im Hinter-/Untergrund rumort muss das behoben werden, sonst ist es eine Zeitbombe.@derrapf sagte in Admin sehr langsam?:
ch könnte ja die SD Karte rausnehmen und mit win32diskimager ein komplette image auf ne andere SD Karte kopieren oder?
oder!
Wenn du den Wurm mitkopierst nutzt auch eine andere Karte nichts.
Nur wenn die Karte einen Schuss hat oder einfach fom Typ her zu langsam ist, würde es etwas nutzen. Allerdings wäre das System sehr wahrscheinlich defekt, und dann s.o. -
@homoran
Ok, dann probiere ich das mal...
Ich melde mich wieder
Gruss Ralf -
@derrapf
So, ich hab das mal gemacht wie oben vorgeschlagen.
Hier das Log. Beim Deinstallieren gab es einen Error:pi@rock64:~$ cd /opt/iobroker pi@rock64:/opt/iobroker$ iobroker stop pi@rock64:/opt/iobroker$ pi@rock64:/opt/iobroker$ iobroker del admin Delete adapter "admin" host.rock64 Counted 1 instances of admin host.rock64 Counted 3 meta of admin host.rock64 Counted 1 adapter for admin host.rock64 Counted 2 channels of admin host.rock64 Counted 12 states of admin host.rock64 Counted 17 states of system.adapter.admin host.rock64 Counted 9 states (io.admin.*) from states host.rock64 Counted 18 states (system.adapter.admin.*) from states host.rock64 Counted 1 objects of admin host.rock64 file admin.admin deleted host.rock64 object admin deleted host.rock64 object admin.admin deleted host.rock64 Deleting 37 object(s). host.rock64 Deleting 27 state(s). npm uninstall iobroker.admin --loglevel error --prefix "/opt/iobroker" (System c all) sharp: Installation error: Use with glibc 2.28 requires manual installation of l ibvips >= 8.10.6 ../src/common.cc:24:10: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8> ^~~~~~~~~~~~ compilation terminated. make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.63-rockchip64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/sharp gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok pi@rock64:/opt/iobroker$ pi@rock64:/opt/iobroker$ iobroker add admin.0 NPM version: 6.14.15 npm install iobroker.admin@5.1.25 --loglevel error --prefix "/opt/iobroker" (System call) sharp: Installation error: Use with glibc 2.28 requires manual installation of libvips >= 8.10.6 ../src/common.cc:24:10: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8> ^~~~~~~~~~~~ compilation terminated. make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.63-rockchip64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/sharp gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok host.rock64 install adapter admin upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png host.rock64 object system.adapter.admin created/updated host.rock64 create instance admin host.rock64 object admin.0.info.updatesList created host.rock64 object admin.0.info.newsLastId created host.rock64 object admin.0.info.newsETag created host.rock64 object admin.0.info.newsFeed created host.rock64 object admin.0.info.connection created host.rock64 object admin.0 created host.rock64 object admin.0.info created host.rock64 object system.adapter.admin.upload created host.rock64 object system.adapter.admin.0.logLevel created host.rock64 object system.adapter.admin.0.sigKill created host.rock64 object system.adapter.admin.0.eventLoopLag created host.rock64 object system.adapter.admin.0.outputCount created host.rock64 object system.adapter.admin.0.inputCount created host.rock64 object system.adapter.admin.0.uptime created host.rock64 object system.adapter.admin.0.memRss created host.rock64 object system.adapter.admin.0.memHeapTotal created host.rock64 object system.adapter.admin.0.memHeapUsed created host.rock64 object system.adapter.admin.0.cputime created host.rock64 object system.adapter.admin.0.cpu created host.rock64 object system.adapter.admin.0.compactMode created host.rock64 object system.adapter.admin.0.connected created host.rock64 object system.adapter.admin.0.alive created host.rock64 Set default value of admin.0.info.updatesList: host.rock64 Set default value of admin.0.info.connection: host.rock64 object system.adapter.admin.0 created pi@rock64:/opt/iobroker$ pi@rock64:/opt/iobroker$ iobroker start
Alles gut gelaufen, aber der JS-Controller ist aber immer noch da
Gruss Ralf
Top sieht so aus:
Das Filtern fühlt sich ein bisschen schneller an, obwohl die graue Schrift immer noch zu lang stehen bleibt für mein Gefühl.
Ich könnte jetz als nächstes mal den Syno Adapter deaktivieren.
Gruss Ralf -
Zu sharp / vips:
Muss wohl von Hand gebaut werden. Aber was da auch dem Rock notwendig ist...
Keine Ahnung...
Läuft da noch was altes mit einer alten gcc-Versuon? -
@thomas-braun
Hi Thomas
Keine Ahnung. Sind böhmische Dörfer was Du da grad erwähnt hast. Das Image für den Rock hat mir Hormoran genannt. Es ist das oberste von hier:https://mirrors.netix.net/armbian/dl/rock64/archive/
Danach hab ich ein Backup einsgespielt. Am Anfang lief nicht alles; weil das Backup wohl auch von einem "alten" Iobroker war, aber inzwischen läuft es wieder zufriedenstellend. Bis eben auf den komischen Effekt mit dem JS-Controller. Der kam nach dem Einspielen des Backups.
Und eben den Performance Problemen. Der alte Admin war viel responsiver.
Wobei jetzt gehts eigentlich wieder ganz gut. Bis auf die Tatsache dass beim Filtern immer diese grauen nicht gefilterten Datenpunkte stehen bleiben. Damit kann ich aber leben.Gruss Ralf
-
@derrapf
Du hast da noch Leichen eines unvollständigen Kompilieren im Keller, bzw wohl in deinem Backup.cd /opt/iobroker sudo -u iobroker npm cache clean --force
iobroker stop iobroker fix iobroker start
könnte ggf. die fehlenden libs nachholen.
Ist das Paket build-essential installiert? -
@derrapf sagte in Admin sehr langsam?:
Danach hab ich ein Backup einsgespielt.
und da liegt die Leiche im Keller!
vorher hast du doch wahrscheinlich die ioBroker Installation gemacht.
Da war der controller höchstwahrscheinlich nicht unter den Adaptern zu sehen, oder? -
-
@homoran sagte in Admin sehr langsam?:
orher hast du doch wahrscheinlich die ioBroker Installation gemacht.
Da war der controller höchstwahrscheinlich nicht unter den Adaptern zu sehen, oder?Nein. Aber in meinem alten IoBroker von dem das Backup stammt auch nicht.
Der lief übrigens total super. Mein Problem war ja die Hardware
So ich hab mal das gemacht was Thomas gesagt hat:pi@rock64:~$ cd /opt/iobroker pi@rock64:/opt/iobroker$ pi@rock64:/opt/iobroker$ sudo -u iobroker npm cache clean --force [sudo] Passwort für pi: npm WARN using --force I sure hope you know what you are doing. pi@rock64:/opt/iobroker$ iobroker stop pi@rock64:/opt/iobroker$ pi@rock64:/opt/iobroker$ iobroker fix library: loaded Library version=2021-08-05 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Holen:1 http://security.debian.org buster/updates InRelease [65,4 kB] Holen:2 http://deb.debian.org/debian buster InRelease [122 kB] Holen:3 http://deb.debian.org/debian buster-updates InRelease [51,9 kB] Holen:4 http://deb.debian.org/debian buster-backports InRelease [46,7 kB] OK:5 https://deb.nodesource.com/node_12.x buster InRelease Holen:7 http://security.debian.org buster/updates/main armhf Packages [375 kB] OK:6 http://armbian.16z.eu/apt buster InRelease Holen:8 http://security.debian.org buster/updates/main arm64 Packages [377 kB] Holen:9 http://deb.debian.org/debian buster/main armhf Packages [10,5 MB] Holen:10 http://deb.debian.org/debian buster/main arm64 Packages [10,5 MB] Holen:11 http://deb.debian.org/debian buster/main armhf Contents (deb) [36,5 MB] Holen:12 http://deb.debian.org/debian buster/main arm64 Contents (deb) [36,5 MB] Holen:13 http://deb.debian.org/debian buster/contrib armhf Packages [47,7 kB] Holen:14 http://deb.debian.org/debian buster/contrib arm64 Packages [45,6 kB] Holen:15 http://deb.debian.org/debian buster/non-free armhf Packages [74,6 kB] Holen:16 http://deb.debian.org/debian buster/non-free arm64 Packages [64,3 kB] Holen:17 http://deb.debian.org/debian buster/non-free armhf Contents (deb) [779 kB] Holen:18 http://deb.debian.org/debian buster-backports/main armhf Packages.diff/Index [27,8 kB] Holen:19 http://deb.debian.org/debian buster-backports/main arm64 Packages.diff/Index [27,8 kB] Holen:20 http://deb.debian.org/debian buster-backports/main arm64 Contents (deb).diff/Index [28,0 kB] Holen:21 http://deb.debian.org/debian buster-backports/main armhf Contents (deb).diff/Index [28,0 kB] Holen:22 http://deb.debian.org/debian buster-backports/main armhf Packages 2021-10-06-1401.27.pdiff [52 B] Holen:23 http://deb.debian.org/debian buster-backports/main armhf Packages 2021-10-08-1402.04.pdiff [423 B] Holen:24 http://deb.debian.org/debian buster-backports/main arm64 Packages 2021-10-06-1401.27.pdiff [61 B] Holen:25 http://deb.debian.org/debian buster-backports/main arm64 Packages 2021-10-08-1402.04.pdiff [424 B] Holen:23 http://deb.debian.org/debian buster-backports/main armhf Packages 2021-10-08-1402.04.pdiff [423 B] Holen:26 http://deb.debian.org/debian buster-backports/main arm64 Contents (deb) 2021-10-06-1401.27.pdiff [119 B] Holen:25 http://deb.debian.org/debian buster-backports/main arm64 Packages 2021-10-08-1402.04.pdiff [424 B] Holen:27 http://deb.debian.org/debian buster-backports/main arm64 Contents (deb) 2021-10-08-1402.04.pdiff [132 B] Holen:27 http://deb.debian.org/debian buster-backports/main arm64 Contents (deb) 2021-10-08-1402.04.pdiff [132 B] Holen:28 http://deb.debian.org/debian buster-backports/main armhf Contents (deb) 2021-10-06-1401.27.pdiff [86 B] Holen:29 http://deb.debian.org/debian buster-backports/main armhf Contents (deb) 2021-10-08-1402.04.pdiff [132 B] Holen:29 http://deb.debian.org/debian buster-backports/main armhf Contents (deb) 2021-10-08-1402.04.pdiff [132 B] Es wurden 96,1 MB in 39 s geholt (2.460 kB/s). Paketlisten werden gelesen... Fertig N: Für das Depot »http://deb.debian.org/debian buster InRelease« wurde der »Version«-Wert von »10.10« in »10.11« geändert. Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
Der JS-Controller ist leider immer noch da.
Allerdings bilde ich mir ein ist der Admin nicht mehr so träge sonder reagiert sofort. Nur die Filter funktionieren immer noch nicht:
PS: Was würde denn passieren, wenn man den JS-Controller einfach deinstalliert?
Also hier auf den Mülleimer klicken:
top sieht grad so aus:
Gruss Ralf