NEWS
Objects database error: read ECONNRESET
-
Ich habe gestern die Installation durch bekomme (hatte Probleme mit der 64-Bit-Version vom Raspi: link).
Nachdem ich mich gestern erfolgreich anmelden und die Grundkonfiguration vornehmen konnte, habe ich den iobroker via ssh heruntergefahren und dann den Raspi selbst. Grund hierfür ist, dass ich meine Homebridge-Installation laufen lassen wollte, bis der ioBroker fertig konfiguriert ist - verschiedene SD-Karte, der selbe Raspi.
Ich hatte mich leider vorher nicht von der admin-UI abgemeldet.Heute kann ich mich dann nur einmal kurz anmelden, beim ersten Klick auf 'egal-was' dreht sich das Rädchen und ich lande nach einem Timeout wieder bei der Anmeldung.
iobroker status
ist (für mich) unauffällig:
iobroker is running on this host. Objects type: jsonl States type: jsonl
Im Log finde ich zur Zeit der ersten Anmeldung diese Einträge:
2023-02-06 18:05:34.171 - error: admin.0 (744) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2023-02-06 18:05:34.179 - error: discovery.0 (751) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2023-02-06 18:05:34.195 - error: backitup.0 (762) Objects database error: connect ECONNREFUSED 127.0.0.1:9001
Weiter unten kommen dann noch ein paar warnings/errors, hauptsächlich mit 'already running'-Einträgen, die passen zu einem neuen Anmeldeversuch und sind dann vermutlich Folgefehler.
Da ich im Forum hier und da etwas von einem
iobroker fix
gelesen habe und ich nicht viel zu verlieren hatte, habe ich den Befehl ausgeführt.
Ich bekomme nun nach der Anmeldung (öffnet die 'alte Session' in dem System-Dialog) kurz links unten ein Timeout eingeblendet (das war sonst eine andere Meldung) und lande wieder bei der Anmeldung.Das ist das Log seit der Anmeldung:
2023-02-06 18:34:32.195 - info: admin.0 (2150) ==> Connected system.user.admin from ::ffff:192.168.21.142 2023-02-06 18:34:46.097 - info: backitup.0 (2168) cleaned everything up... 2023-02-06 18:34:46.103 - error: admin.0 (2150) Objects database error: read ECONNRESET 2023-02-06 18:34:46.125 - info: admin.0 (2150) terminating http server on port 8081 2023-02-06 18:34:47.598 - info: discovery.0 (2157) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-06 18:34:47.607 - info: backitup.0 (2168) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-06 18:34:47.643 - info: admin.0 (2150) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-06 18:34:51.133 - error: backitup.0 (2168) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2023-02-06 18:34:51.143 - error: admin.0 (2150) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2023-02-06 18:34:51.144 - error: discovery.0 (2157) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2023-02-06 18:34:51.179 - warn: admin.0 (2150) get state error: Connection is closed. 2023-02-06 18:34:51.188 - warn: admin.0 (2150) redis get system.host.iobroker.alive, error - DB closed 2023-02-06 18:34:51.190 - warn: admin.0 (2150) get state error: DB closed 2023-02-06 18:34:56.163 - error: admin.0 (2150) Cannot find view "system" for search "state" : DB closed 2023-02-06 18:35:04.504 - info: host.iobroker iobroker.js-controller version 4.0.24 js-controller starting 2023-02-06 18:35:04.526 - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-02-06 18:35:04.529 - info: host.iobroker hostname: iobroker, node: v16.19.0 2023-02-06 18:35:04.533 - info: host.iobroker ip addresses: 192.168.21.5 2001:9e8:e53c:5a00:1a6b:3e1:cd4e:d6b0 fe80::94f9:b49c:5435:a005 2023-02-06 18:35:06.399 - info: host.iobroker connected to Objects and States 2023-02-06 18:35:06.490 - info: host.iobroker added notifications configuration of host 2023-02-06 18:35:07.531 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeCurrent" 2023-02-06 18:35:07.555 - info: host.iobroker 3 instances found 2023-02-06 18:35:07.589 - info: host.iobroker starting 3 instances 2023-02-06 18:35:07.737 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewest" 2023-02-06 18:35:07.785 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewestNext" 2023-02-06 18:35:07.840 - info: host.iobroker instance system.adapter.admin.0 started with pid 2231 2023-02-06 18:35:07.880 - info: host.iobroker Delete state "system.host.iobroker.versions.npmCurrent" 2023-02-06 18:35:07.924 - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewest" 2023-02-06 18:35:08.013 - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewestNext" 2023-02-06 18:35:08.050 - info: host.iobroker Some obsolete host states deleted. 2023-02-06 18:35:11.677 - info: host.iobroker instance system.adapter.discovery.0 started with pid 2238 2023-02-06 18:35:14.441 - error: admin.0 (2231) admin.0 already running 2023-02-06 18:35:14.455 - warn: admin.0 (2231) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-02-06 18:35:15.126 - error: host.iobroker instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-02-06 18:35:15.129 - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled 2023-02-06 18:35:15.678 - info: host.iobroker instance system.adapter.backitup.0 started with pid 2249 2023-02-06 18:35:17.365 - error: discovery.0 (2238) discovery.0 already running 2023-02-06 18:35:17.377 - warn: discovery.0 (2238) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-02-06 18:35:18.009 - error: host.iobroker instance system.adapter.discovery.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-02-06 18:35:18.012 - info: host.iobroker Restart adapter system.adapter.discovery.0 because enabled 2023-02-06 18:35:21.263 - error: backitup.0 (2249) backitup.0 already running 2023-02-06 18:35:21.274 - warn: backitup.0 (2249) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-02-06 18:35:21.897 - error: host.iobroker instance system.adapter.backitup.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-02-06 18:35:21.898 - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled 2023-02-06 18:35:45.196 - info: host.iobroker instance system.adapter.admin.0 started with pid 2265 2023-02-06 18:35:48.117 - info: host.iobroker instance system.adapter.discovery.0 started with pid 2272 2023-02-06 18:35:51.980 - info: host.iobroker instance system.adapter.backitup.0 started with pid 2283 2023-02-06 18:35:53.197 - info: admin.0 (2265) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:35:53.376 - info: admin.0 (2265) requesting all states 2023-02-06 18:35:53.379 - info: admin.0 (2265) requesting all objects 2023-02-06 18:35:55.932 - info: admin.0 (2265) received all objects 2023-02-06 18:35:56.832 - info: discovery.0 (2272) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:35:57.617 - info: admin.0 (2265) http server listening on port 8081 2023-02-06 18:35:57.626 - info: admin.0 (2265) Use link "http://localhost:8081" to configure. 2023-02-06 18:35:57.664 - info: admin.0 (2265) socket.io server listening on port 8081 2023-02-06 18:36:00.609 - info: backitup.0 (2283) starting. Version 2.5.10 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:36:00.903 - info: backitup.0 (2283) [iobroker] backup was activated at 02:40 every 1 day(s)
-
-
@glasfaser
OK. Daran bin ich an meinen beiden Tagen noch nicht vorbei gekommenSkript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 3 Model B Rev 1.2 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye 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: 20:18:58 up 1:26, 1 user, load average: 0.70, 0.78, 0.81 CPU threads: 4 *** Time and Time Zones *** Mon Feb 6 19:18:58 UTC 2023 Mon Feb 6 20:18:58 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** sammy /home/sammy sammy adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 922M 200M 523M 0.0K 198M 686M Swap: 99M 0B 99M Total: 1.0G 200M 623M 922 M total memory 200 M used memory 55 M active memory 282 M inactive memory 523 M free memory 20 M buffer memory 177 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 2.1G 26G 8% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 462M 0 462M 0% /dev/shm tmpfs tmpfs 185M 964K 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 50M 206M 20% /boot tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages in dmesg: [Mon Feb 6 18:52:16 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=347fd061-02 rootfstype=ext4 fsck.repair=yes rootwait [Mon Feb 6 18:52:19 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Mon Feb 6 18:52:19 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Mon Feb 6 18:52:23 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime,commit=600 `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 405M /var/ 138M /var/cache 132M /var/cache/apt 93M /var/lib 74M /var/log /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 19M /opt/iobroker/iobroker-data/ 15M /opt/iobroker/iobroker-data/files 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static 13M /opt/iobroker/iobroker-data/files/admin.admin/custom The five largest files in iobroker-data are: 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 3.5M /opt/iobroker/iobroker-data/objects.jsonl 2.8M /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 1.6M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map 864K /opt/iobroker/iobroker-data/states.jsonl *** 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 nodejs: Installed: 16.19.0-deb-1nodesource1 Candidate: 16.19.0-deb-1nodesource1 Version table: *** 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 0 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: "javascript" not found npm ERR! code ELSPROBLEMS npm ERR! invalid: iobroker.admin@6.3.5 /opt/iobroker/node_modules/iobroker.admin npm ERR! invalid: iobroker.backitup@2.5.10 /opt/iobroker/node_modules/iobroker.backitup npm ERR! invalid: iobroker.discovery@3.1.0 /opt/iobroker/node_modules/iobroker.discovery npm ERR! invalid: iobroker.js-controller@4.0.24 /opt/iobroker/node_modules/iobroker.js-controller npm ERR! A complete log of this run can be found in: npm ERR! /home/sammy/.npm/_logs/2023-02-06T19_19_37_625Z-debug-0.log Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, 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 "backitup" : 2.5.10 , installed 2.5.10 Adapter "discovery" : 3.1.0 , installed 3.1.0 Controller "js-controller": 4.0.24 , installed 4.0.24 Objects and States Please stand by - This may take a while Objects: 143 States: 108 *** OS-Repositories and Updates *** Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Pending Updates: 0 *** 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 12713 493/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 12827 472/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 12834 472/iobroker.js-con tcp6 0 0 :::22 :::* LISTEN 0 12715 493/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 13943 743/io.admin.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 10721 379/avahi-daemon: r udp 0 0 0.0.0.0:57284 0.0.0.0:* 108 10723 379/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 12729 671/dhcpcd udp6 0 0 :::5353 :::* 108 10722 379/avahi-daemon: r udp6 0 0 :::38909 :::* 108 10724 379/avahi-daemon: r udp6 0 0 :::546 :::* 0 16485 671/dhcpcd *** Log File - Last 25 Lines *** 2023-02-06 18:52:28.592 - info: host.iobroker ip addresses: 192.168.21.5 2001:9e8:e53c:5a00:1a6b:3e1:cd4e:d6b0 fe80::94f9:b49c:5435:a005 2023-02-06 18:52:30.536 - info: host.iobroker connected to Objects and States 2023-02-06 18:52:30.631 - info: host.iobroker added notifications configuration of host 2023-02-06 18:52:32.092 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeCurrent" 2023-02-06 18:52:32.119 - info: host.iobroker 3 instances found 2023-02-06 18:52:32.153 - info: host.iobroker starting 3 instances 2023-02-06 18:52:32.357 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewest" 2023-02-06 18:52:32.407 - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewestNext" 2023-02-06 18:52:32.458 - info: host.iobroker instance system.adapter.admin.0 started with pid 743 2023-02-06 18:52:32.498 - info: host.iobroker Delete state "system.host.iobroker.versions.npmCurrent" 2023-02-06 18:52:32.541 - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewest" 2023-02-06 18:52:32.623 - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewestNext" 2023-02-06 18:52:32.661 - info: host.iobroker Some obsolete host states deleted. 2023-02-06 18:52:36.236 - info: host.iobroker instance system.adapter.discovery.0 started with pid 750 2023-02-06 18:52:40.259 - info: host.iobroker instance system.adapter.backitup.0 started with pid 761 2023-02-06 18:52:41.097 - info: admin.0 (743) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:52:41.278 - info: admin.0 (743) requesting all states 2023-02-06 18:52:41.281 - info: admin.0 (743) requesting all objects 2023-02-06 18:52:43.811 - info: admin.0 (743) received all objects 2023-02-06 18:52:44.990 - info: discovery.0 (750) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:52:59.371 - info: admin.0 (743) http server listening on port 8081 2023-02-06 18:52:59.374 - info: admin.0 (743) Use link "http://localhost:8081" to configure. 2023-02-06 18:52:59.415 - info: admin.0 (743) socket.io server listening on port 8081 2023-02-06 18:53:02.166 - info: backitup.0 (761) starting. Version 2.5.10 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.19.0, js-controller: 4.0.24 2023-02-06 18:53:02.591 - info: backitup.0 (761) [iobroker] backup was activated at 02:40 every 1 day(s)
-
@sammy-r sagte in Objects database error: read ECONNRESET:
Ich habe gestern die Installation durch bekomme (hatte Probleme mit der 64-Bit-Version vom Raspi: link).
Mhh
Die Kiste ist ein bisschen klein
Total: 1.0G
nur die paar Adapter ... hast du noch mehr vor damit !?
-
@sammy-r sagte in Objects database error: read ECONNRESET:
*** Log File - Last 25 Lines ***
sieht doch jetzt ... gut aus das Log !?
-
@glasfaser
Viele Adapter kommen da nicht zu. Ich muss zugeben, dass ich da mehr als 1GB in Erinnerung hatte. Hab hier und da auch Anleitungen für ältere Pis gefunden und den 3er gar nicht in Frage gestellt.Ich weiß nicht, ob das Log gut aussieht, Du wolltest da ja sehen
Es bleibt aber das selbe Problem: Anmeldung erfolgt, nach Klick oder kurzem Warten 'Eieruhr' und dann irgendwann Anmeldebildschirm.Edit: Probleme in Safari und Chrome (beide auf Mac).