NEWS
IoB web page nicht erreichbar Update Admin adapter
-
@thomas-braun sagte in IoB web page nicht erreichbar Update Admin adapter:
Mit solchen allgemeinen Aussagen kann man nichts anfangen. ..
Stimmt. Aber wenn ich‘s genauer eingrenzen könnte, hätte ich es auch getan.
iob diag zeigt keine Auffälligkeiten. Auch wurde mittels der Option full-upgrade nichts nachträglich installiert.
Da dieses seltsame und seltene Verhalten nach dem Update auftrat, hatte ich die Hoffnung, hier Ideen für eine Lösung zu finden. Aber es scheint wohl bei mir etwas mit dem Safari Browser auf dem MacBook zu tun zu haben: Wenn der Admin Adapter auf dem MacBook sich nicht zeigt, kann ich mittels Aufruf vom iPad aus oder Neustarten von Safari das Problem beheben. Einfach bloß seltsam.
-
Ich würde mich hier mal mit einreihen und folgendes Problem schildern:
Ich bin im Iobroker angemeldet und es vergehen ein paar Stunden ohne das ich was mache.
Wenn ich dann wieder was machen will, z.B. das Menü wechseln, geht es nicht, da er die ganze Zeit einfach nur lädt.
Wenn ich das Webinterface schließe und wieder darauf zugreifen will, lädt dann der Intro Tab ewig ohne das was passiert.Könnt ihr mir dabei helfen?
-
@ichwersonst sagte in IoB web page nicht erreichbar Update Admin adapter:
Könnt ihr mir dabei helfen?
Nein.
Gib die Ausgabe voniob diag
in der Langfassung bekannt.
-
========== Start marking the full check here =========== ```bash Script v.2025-02-23 *** BASE SYSTEM *** Static hostname: RaspberryPV Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.74+rpt-rpi-v8 Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 10:23:13 up 2 days, 31 min, 3 users, load average: 0.31, 0.21, 0.18 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'bookworm'! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Thu 2025-04-03 10:23:13 CEST Universal time: Thu 2025-04-03 08:23:13 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': wib HOME=/home/wib GROUPS=wib adm dialout cdrom sudo audio video plugdev games users input render n etdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 795M 1.9G 1.3M 1.4G 3.2G Swap: 536M 0B 536M Total: 4.5G 795M 2.4G Active iob-Instances: 6 3790 M total memory 758 M used memory 802 M active memory 947 M inactive memory 1811 M free memory 162 M buffer memory 1135 M swap cache 511 M total swap 0 M used swap 511 M free swap *** top - Table Of Processes *** top - 10:23:14 up 2 days, 31 min, 3 users, load average: 0.31, 0.21, 0.18 Tasks: 169 total, 1 running, 168 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 14.3 sy, 0.0 ni, 71.4 id, 14.3 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3790.9 total, 1810.1 free, 759.4 used, 1298.4 buff/cache MiB Swap: 512.0 total, 512.0 free, 0.0 used. 3031.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 1.3M 378M 1% /run /dev/sda2 ext4 56G 7.3G 46G 14% / tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 56M 455M 11% /boot/firmware tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437 ,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 1.7G /var/ 715M /var/log/journal/952349f4f3da4e138b5320ebf14f2a46 715M /var/log/journal 715M /var/log 271M /var/cache Archived and active journals take up 714.1M in the file system. /opt/iobroker/backups: 62M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 768M /opt/iobroker/iobroker-data/ 717M /opt/iobroker/iobroker-data/files 617M /opt/iobroker/iobroker-data/files/javascript.admin 560M /opt/iobroker/iobroker-data/files/javascript.admin/static 558M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 24M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.6a71b34c.j s.map 9.3M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.6a71b34c.j s 8.7M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb 0.chunk.js.map 8.6M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/310.89a60ae 1.chunk.js.map 7.0M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.a9c6d34 a.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please alw ays prefer the links 'by-id': No Devices found 'by-id' Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v20.19.0 /usr/bin/node v20.19.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.31.0 nodejs: Installed: 20.19.0-1nodesource1 Candidate: 20.19.0-1nodesource1 Version table: *** 20.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.18.3-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 P ackages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: RaspberryPV RaspberryPV (version: 7.0.6, hostname: RaspberryPV , alive, uptime: 99371) Core adapters versions js-controller: 7.0.6 admin: 7.6.3 javascript: 8.8.3 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : RaspberryPV - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : RaspberryPV - enabled + system.adapter.javascript.0 : javascript : RaspberryPV - enabled system.adapter.modbus.0 : modbus : RaspberryPV - disabled system.adapter.modbus.1 : modbus : RaspberryPV - disabled system.adapter.modbus.2 : modbus : RaspberryPV - disabled system.adapter.modbus.3 : modbus : RaspberryPV - disabled system.adapter.ping.0 : ping : RaspberryPV - disabled + system.adapter.rpi2.0 : rpi2 : RaspberryPV - enabled + system.adapter.web.0 : web : RaspberryPV - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : RaspberryPV - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : RaspberryPV - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Adapters Used repository: stable Adapter "admin" : 7.6.3 , installed 7.6.3 Adapter "backitup" : 3.0.31 , installed 3.0.31 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "modbus" : 6.3.2 , installed 6.3.2 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "rpi2" : 2.3.1 , installed 2.3.1 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "web" : 7.0.8 , installed 7.0.8 Adapter "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 630 States: 470 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Get:6 https://pkgs.tailscale.com/stable/debian bookworm InRelease Fetched 6581 B in 1s (4879 B/s) 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 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 306438 56308/iobroker.js-c tcp 0 0 100.71.28.54:35475 0.0.0.0:* LISTEN 0 315720 63047/tailscaled tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 306433 56308/iobroker.js-c tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 4858 585/sshd: /usr/sbin tcp6 0 0 :::37541 :::* LISTEN 1001 682313 56382/io.backitup.0 tcp6 0 0 fd7a:115c:a1e0::d:52087 :::* LISTEN 0 315724 63047/tailscaled tcp6 0 0 :::22 :::* LISTEN 0 4860 585/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 305694 56326/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 322619 68840/io.web.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 2930 454/avahi-daemon: r udp 0 0 0.0.0.0:41641 0.0.0.0:* 0 637048 63047/tailscaled udp 0 0 0.0.0.0:45779 0.0.0.0:* 104 2932 454/avahi-daemon: r udp6 0 0 :::5353 :::* 104 2931 454/avahi-daemon: r udp6 0 0 :::38177 :::* 104 2933 454/avahi-daemon: r udp6 0 0 :::41641 :::* 0 637047 63047/tailscaled *** Log File - Last 25 Lines *** 2025-04-03 01:47:04.762 - info: host.RaspberryPV Delete log file iobroker.2025-03-26.log.gz 2025-04-03 01:47:04.780 - error: host.RaspberryPV Cannot delete file "/opt/iobroker/log/iobroker.2025-03-26.log.gz": Error: ENOENT: no such file or directory, unlink '/opt/iobroker/log/iobroker.2025-03-26.log.gz' 2025-04-03 06:47:10.853 - info: admin.0 (56326) Adapter rating updated 2025-04-03 07:03:34.573 - error: admin.0 (56326) socket.io [init] Cannot detect user 2025-04-03 07:05:33.116 - info: admin.0 (56326) ==> Connected system.user.admin from ::ffff:192.168.50.250 2025-04-03 09:42:13.773 - info: admin.0 (56326) ==> Connected system.user.admin from ::ffff:192.168.50.250 2025-04-03 09:43:32.158 - info: admin.0 (56326) <== Disconnect system.user.admin from ::ffff:192.168.50.250 backitup ============ Mark until here for C&P ============= iob diag has finished. Press any key for a summary
-
Mühsam ernährt sich das Eichhörnchen.
Ich habe in der Zwischenzeit fleißig getestet ..
Wenn ich die Website mit dem Admin-Adapters auf dem MacBook offen lasse, so wird vermutlich irgendwann einmal die sog. Session-Key ungültig. Im Gegensatz zum alten Admin-Adapter genügte ein Neuladen der Seite und diese erschien wieder - ggf. musste man sich zusätzlich neu anmelden. Dies ist nun nicht mehr der Fall. Safari meldet, dass der Server nicht (mehr) erreichbar sei.
Obwohl sich der Admin-Adapter mit dieser Fehlermeldung nicht mehr aufrufen lässt, kann man sehr wohl noch die VIS aufrufen. Alles damit verbundene funktioniert nach wie vor.
Zwei Methoden helfen ..
- Ich rufe die Seite von einem zweiten Gerät (z.B. iPad) ab, dann funktioniert i.d.R. auch wieder ein Aufruf auf dem MacBook.
- Ich beende Safari auf dem MacBook komplett. Nach dem Neustart von Safari geht die Verbindung zum Admin-Adapter wieder.
Nachdem ich nun weiß, wie ich damit umgehen muss, ist für mich alles wieder gut.
-
@legro sagte in IoB web page nicht erreichbar Update Admin adapter:
Zwei Methoden helfen ..
Oder Methode 3: Ohne Login arbeiten
-
Das ist aber kein Bug, das ist das durch die Absicherung der Verbindung geforderte und erwartete Verhalten.
-
Konnte jemand anhand meiner iob diag Ausgabe etwas erkennen, warum ich nach einer Zeit nicht mehr im Webinterface agieren kann?
-
Da steht nichts auffälliges drin.
-
Was ist mit dem Fehler gemeint bzw. wie entsteht er?
admin.0 2025-04-07 06:27:34.308 error socket.io [init] Cannot detect user
Vielleicht hat es ja etwas damit zutun
-
@ichwersonst sagte in IoB web page nicht erreichbar Update Admin adapter:
Was ist mit dem Fehler gemeint bzw. wie entsteht er?
Weiß ich nicht. Hab ich auf meinen Systemen auch nicht.
Allerdings fahre ich auch keine verschlüsselten Kisten. -
Ich fahre eine verschlüsselte Kiste? Was ist denn an meiner Kiste verschlüsselt? Wo ließt du das raus?
Socket.io ist automatisch installiert. Jedenfalls hab ich das nicht selber installiert. -
Hab ich mit was anderem verwechselt. Ich dachte du hättest da eine SSL-Verschlüsselung am Start.
-
@ichwersonst said in IoB web page nicht erreichbar Update Admin adapter:
Was ist mit dem Fehler gemeint bzw. wie entsteht er?
admin.0 2025-04-07 06:27:34.308 error socket.io [init] Cannot detect user
Vielleicht hat es ja etwas damit zutun
Kann ignoriert werden (= nur optisches Problem).
Ist mit admin 7.6.4 behoben.
https://github.com/ioBroker/ioBroker.admin/issues/3030 -
@mcm1957
ich habe bereits 7.6.3 installiert, der Error kommt dennoch. -
@ichwersonst
lies den letzten Beitrag bitte nochmals.
-
@mcm1957
hoppala