NEWS
Problem mit Admin und so
-
@thomas-braun ne nicht wirklich:
pi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob update -u Used repository: stable Adapter "javascript" : 5.2.21 , installed 5.2.13 [Updatable] pi@raspberrypi:~ $ iob upgrade This upgrade of "javascript" will at least introduce the following changes: ========================================================================== -> 5.2.21: Fixed build process -> 5.2.20: Fixed build process -> 5.2.19: Fix broken dependency -> 5.2.18: Fixed some german translations Fixed astro schedules -> 5.2.17: Fixed some german translations Fixed astro schedules -> 5.2.16: Fixed fonts -> 5.2.15: Added the monitoring of symlinks my mirroring Fix two crash cases reported by Sentry ========================================================================== Would you like to upgrade javascript from @5.2.13 to @5.2.21 now? [(y)es, (n)o]: y Update javascript from @5.2.13 to @5.2.21 NPM version: 8.3.1 Installing iobroker.javascript@5.2.21... (System call) host.raspberrypi Cannot install iobroker.javascript@5.2.21: 217
-
@thomas-braun sagte in Problem mit Admin und so:
Mehr kommt da nicht?
zum Error 217 hab ich nichts gefunden
-
@homoran OK. Werde mal für heute Schluss machen, grundsätzlich bin sehr froh über diese tolle schnell Hilfe. Mein System ist wieder Schick und die 217 bekommt bestimmt noch jemand gelöst. Danke Danke Danke.
-
@homoran sagte in Problem mit Admin und so:
zum Error 217 hab ich nichts gefunden
Ich schon...
Hatte damals mit dem nodeJS-Setup zu tun.
-
@thomas-braun sagte in Problem mit Admin und so:
Hatte damals mit dem nodeJS-Setup zu tun.
das einzige was ich fand ging in die Richtung bei node-red
Irgendwas mit User Zuordnung -
https://forum.iobroker.net/topic/49058/installation-javascript-npm-modul-in-js-adapter
Kann natürlich sein, das die Versionen aus 'stable' noch nicht mit aktuellen node/npm-Installationen parat kommen.
@Marcus-Hamburg Geh mal mit nodeJS auf die Version 14 inkl. npm@6 runter.
-
Hallo,
ich hatte das selbe Problem.
Gelöst habe ich es, indem ich den erweiterten Modus eingeschaltet habe. Im Log kam dann immer die Meldung, daß irgendein Verzeichnis nicht leer sei. Das Verzeichnis habe ich dann mittels rm -rf gelöscht. Nach dem dritten Verzeichnis habe ich mittels
find /opt/iobroker/node_modules -name .\*-\* >out
mir alle potentiellen Problemverzeichnisse gesucht. In der Datei sind noch ein paar Verzeichnisse, die nicht gelöscht werden sollten. Das Namensschema ist ungefähr .admin-PkhUgfdt - also .Adapername-Zufallsstring
Alle anderen Verzeichnisse habe ich raus gelöscht und dann mittels
while read a
do
rm -rf ${a}
done <out
die ganzen Verzeichnisse gelöscht.Das geht sicherlich eleganter mit dem richtigen regulären Ausdruck und dem find exec …
Jedenfalls habe ich mit diesem Ansatz die Installationblockade beseitigen können.
Vielleicht hilft es bei der Fehlersuch.
Hearp
-
Eleganter geht es so:
https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8
-
Hallo Forum!
ein Jahr später läuft mein iobroker eigentlich ganz, wenn ich nicht doch ein recht schwachen PI und nun hab ich einen neuen bestellt. In diesem Zusammenhang stellte ich fest, dass seit auf den Tag genau kein Automatisches Update durchgeführt wurde. Manuell über das Terminal kam folgende Ausgabe.
pi@raspberrypi:/opt/iobroker $ ./iobroker backup host.raspberrypi 11971 states saved host.raspberrypi 17365 objects saved <--- Last few GCs ---> [15135:0x54a8cf0] 43648 ms: Mark-sweep 303.8 (328.3) -> 202.6 (219.8) MB, 405.4 / 0.1 ms (average mu = 0.914, current mu = 0.905) external memory pressure scavenge might not succeed [15135:0x54a8cf0] 47162 ms: Mark-sweep (reduce) 305.4 (320.6) -> 305.3 (311.6) MB, 824.0 / 0.1 ms (+ 75.1 ms in 30 steps since start of marking, biggest step 5.5 ms, walltime since start of marking 1150 ms) (average mu = 0.831, current mu = 0.744) all <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ./iobroker: Zeile 10: 15134 Abgebrochen sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
-
@marcus-hamburg sagte in Problem mit Admin und so:
dass seit auf den Tag genau kein Automatisches Update durchgeführt wurde.
Updates werden grundsätzlich nicht automatisch ausgeführt. Die musst du selber anstoßen.
iob stop iob fix iob diag
sagt? Insbesondere die vollständige Ausgabe des letzten Befehls interessiert.
-
======== Start marking the full check here ========= Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 3 Model B Plus Rev 1.3 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 21:15:00 up 34 min, 4 users, load average: 1.71, 1.51, 1.03 CPU threads: 4 *** Time and Time Zones *** Mon Mar 13 20:15:00 UTC 2023 Mon Mar 13 21:15:00 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 923M 62M 416M 1.0M 444M 795M Swap: 99M 70M 29M Total: 1.0G 132M 446M 923 M total memory 62 M used memory 210 M active memory 190 M inactive memory 416 M free memory 106 M buffer memory 337 M swap cache 99 M total swap 70 M used swap 29 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 6.3G 22G 23% / devtmpfs devtmpfs 430M 0 430M 0% /dev tmpfs tmpfs 462M 0 462M 0% /dev/shm tmpfs tmpfs 462M 13M 450M 3% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 462M 0 462M 0% /sys/fs/cgroup /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot tmpfs tmpfs 93M 4.0K 93M 1% /run/user/1000 Messages in dmesg: [Mon Mar 13 20:40:30 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=19f36f42-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Mon Mar 13 20:40:33 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Mon Mar 13 20:40:33 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Mon Mar 13 20:40:36 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 592M /var/ 361M /var/cache 349M /var/cache/apt 290M /var/cache/apt/archives 124M /var/lib /opt/iobroker/backups: 18M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 288M /opt/iobroker/iobroker-data/ 135M /opt/iobroker/iobroker-data/backup-objects 113M /opt/iobroker/iobroker-data/files 51M /opt/iobroker/iobroker-data/files/javascript.admin 32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 17M /opt/iobroker/iobroker-data/objects.jsonl 8.0M /opt/iobroker/iobroker-data/objects.json.migrated 8.0M /opt/iobroker/iobroker-data/objects.json.bak.migrated 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 13 *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 0 Adapter State system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.habpanel.0 : habpanel : raspberrypi - enabled system.adapter.hmip.0 : hmip : raspberrypi - enabled system.adapter.hue.0 : hue : raspberrypi - enabled, port: 443 system.adapter.hue.1 : hue : raspberrypi - enabled, port: 443 system.adapter.ical.0 : ical : raspberrypi - enabled system.adapter.info.0 : info : raspberrypi - enabled system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.mihome.0 : mihome : raspberrypi - enabled, port: 9898, bind: 0.0.0.0 system.adapter.renault.0 : renault : raspberrypi - enabled system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi - enabled system.adapter.tr-064.0 : tr-064 : raspberrypi - enabled system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.178.21, run as: admin + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.hue.0 : hue : raspberrypi - enabled, port: 443 system.adapter.hue.1 : hue : raspberrypi - enabled, port: 443 system.adapter.mihome.0 : mihome : raspberrypi - enabled, port: 9898, bind: 0.0.0.0 system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.178.21, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "daswetter" : 3.1.7 , installed 3.1.7 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "hmip" : 1.20.0 , installed 1.20.0 Adapter "homekit-controller": 0.5.1, installed 0.5.1 Adapter "hue" : 3.7.1 , installed 3.7.1 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "openweathermap": 0.3.3 , installed 0.3.3 Adapter "renault" : 0.0.15 , installed 0.0.15 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "tr-064" : 4.2.17 , installed 4.2.17 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Objects and States Please stand by - This may take a while Objects: 17872 States: 12436 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Pending Updates: 4 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 16000 471/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 16625 343/cupsd tcp6 0 0 :::22 :::* LISTEN 0 16002 471/sshd tcp6 0 0 ::1:631 :::* LISTEN 0 16624 343/cupsd udp 0 0 0.0.0.0:68 0.0.0.0:* 0 16013 423/dhcpcd udp 0 0 0.0.0.0:631 0.0.0.0:* 0 15968 447/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 16613 389/avahi-daemon: r udp 0 0 0.0.0.0:39363 0.0.0.0:* 108 14108 389/avahi-daemon: r udp6 0 0 :::5353 :::* 108 16614 389/avahi-daemon: r udp6 0 0 :::45481 :::* 108 14109 389/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-03-13 21:11:24.777 - warn: host.raspberrypi instance system.adapter.web.0 terminated due to SIGTERM 2023-03-13 21:11:24.778 - info: host.raspberrypi instance system.adapter.web.0 terminated with code null () 2023-03-13 21:11:24.779 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.190 - warn: host.raspberrypi instance system.adapter.trashschedule.0 terminated due to SIGTERM 2023-03-13 21:11:25.191 - info: host.raspberrypi instance system.adapter.trashschedule.0 terminated with code null () 2023-03-13 21:11:25.192 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.194 - warn: host.raspberrypi instance system.adapter.admin.0 terminated due to SIGTERM 2023-03-13 21:11:25.195 - info: host.raspberrypi instance system.adapter.admin.0 terminated with code null () 2023-03-13 21:11:25.196 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.197 - warn: host.raspberrypi instance system.adapter.hue.0 terminated due to SIGTERM 2023-03-13 21:11:25.197 - info: host.raspberrypi instance system.adapter.hue.0 terminated with code null () 2023-03-13 21:11:25.198 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.199 - warn: host.raspberrypi instance system.adapter.info.0 terminated due to SIGTERM 2023-03-13 21:11:25.199 - info: host.raspberrypi instance system.adapter.info.0 terminated with code null () 2023-03-13 21:11:25.200 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.401 - warn: host.raspberrypi instance system.adapter.tankerkoenig.0 terminated due to SIGTERM 2023-03-13 21:11:25.402 - info: host.raspberrypi instance system.adapter.tankerkoenig.0 terminated with code null () 2023-03-13 21:11:25.402 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.403 - warn: host.raspberrypi instance system.adapter.renault.0 terminated due to SIGTERM 2023-03-13 21:11:25.404 - info: host.raspberrypi instance system.adapter.renault.0 terminated with code null () 2023-03-13 21:11:25.404 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.405 - warn: host.raspberrypi instance system.adapter.backitup.0 terminated due to SIGTERM 2023-03-13 21:11:25.406 - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code null () 2023-03-13 21:11:25.406 - info: host.raspberrypi All instances are stopped. 2023-03-13 21:11:25.549 - info: host.raspberrypi terminated ============ Mark until here for C&P ============= iob diag has finished. Press any key for a summary
-
@marcus-hamburg sagte in Problem mit Admin und so:
Mem: 923M
und dann tatsächlich 23 Instanzen?
UND NOCH@marcus-hamburg sagte in Problem mit Admin und so:
X-Server: true
das klappt nicht
-
Deine Installation ist zu fett.
Und das OS wird nicht mehr maintained. -
@thomas-braun
Das ist ja der Grund, warum ich nun gerne umziehen möchte. Gibt es vielleicht eine Lösung ohne alles neu machen zu müssen. Der neue Raspberry ist auch heute eingetroffen, wäre cool wenn wer ne Idee hat für mich. Danke -
Alle Adapter ausschalten, Backup ziehen, hoffen daß es dann durchläuft, Backup auf dem neuen System einspielen.
-
@thomas-braun
Danke leider kein Erfolg. Hab jetzt fast alle Adapter aus, alle alten Backups gelöscht, den Tip hier Link Text und die grafische Oberfläche aus. Noch ein Tip, Fehler sieht so aus:pi@raspberrypi:~ $ iobroker backup host.raspberrypi 11791 states saved host.raspberrypi 17039 objects saved <--- Last few GCs ---> [678:0x494acf0] 28353 ms: Mark-sweep (reduce) 232.4 (252.3) -> 132.1 (141.1) MB, 334.6 / 0.1 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 803 ms) (average mu = 0.909, current mu = 0.915) external[678:0x494acf0] 31224 ms: Mark-sweep (reduce) 232.5 (241.0) -> 232.5 (235.0) MB, 393.9 / 0.1 ms (+ 41.0 ms in 7 steps since start of marking, biggest step 22.0 ms, walltime since start of marking 502 ms) (average mu = 0.878, current mu = 0.849) alloca <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory /usr/bin/iobroker: Zeile 10: 677 Abgebrochen sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
-
@marcus-hamburg sagte in Problem mit Admin und so:
out of memory
da nutzt das löschen von Dateien nichts.
zeig malmem
-
pi@raspberrypi:~ $ free total used free shared buff/cache available Mem: 945364 286680 431016 6336 227668 617860 Swap: 102396 0 102396
-
free -ht
-
pi@raspberrypi:~ $ free -ht total used free shared buff/cache available Mem: 923Mi 278Mi 419Mi 6,0Mi 225Mi 605Mi Swap: 99Mi 0B 99Mi Total: 1,0Gi 278Mi 519Mi