NEWS
Problem: keine Web-Oberfläche mehr
-
Hallo,
ich habe ein großes Problem, seit gestern Abend komme ich nicht mehr auf die Web-Oberfläche meiner ioBroker Inst.
( habe natürlich nix geändert!)
weder http://raspip:8081 noch http://raspip/8082 bringen was,
Zahnrad dreht sich kurz und dann nur weise Oberfläche bei 8081,
Verbindung fehlgeschlagen bei 8082,
mit "iobroker list instances" sehe ich, daß eigentlich alles laufen müßte, habe den Raspi auch schon neu gebootet...
Weiß nicht mehr weiter, wer kann mir weiterhelfen? -
um es auschliessen zu können - wenn du nix geändert hast - browser cache gelöscht ? oder mal anderen browser benutzt
evtl auch mal das iobroker log /opt/iobroker/log angesehen - ob das was steht
-
@stoffel67 sagte in Problem: keine Web-Oberfläche mehr:
daß eigentlich alles laufen müßte
Eigentlich...
Zusätzlich..
was kommt bei
top df -h
-
df -h:
login as: pi pi@10.10.13.60's password: Linux raspiP 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Mar 7 12:43:48 2019 from 10.10.13.28 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. pi@raspiP:~ $ pi@raspiP:~ $ pi@raspiP:~ $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 14G 8,1G 4,3G 66% / devtmpfs 460M 0 460M 0% /dev tmpfs 464M 0 464M 0% /dev/shm tmpfs 464M 13M 452M 3% /run tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 464M 0 464M 0% /sys/fs/cgroup /dev/mmcblk0p6 68M 22M 47M 32% /boot tmpfs 93M 0 93M 0% /run/user/1000 /dev/sda1 15G 32K 15G 1% /media/pi/0573-FE26 /dev/mmcblk0p5 30M 1,6M 27M 6% /media/pi/SETTINGS pi@raspiP:~ $ pi@raspiP:~ $
top:
login as: pi pi@10.10.13.60's password: Linux raspiP 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Mar 7 12:43:48 2019 from 10.10.13.28 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. pi@raspiP:~ $ pi@raspiP:~ $ pi@raspiP:~ $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 14G 8,1G 4,3G 66% / devtmpfs 460M 0 460M 0% /dev tmpfs 464M 0 464M 0% /dev/shm tmpfs 464M 13M 452M 3% /run tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 464M 0 464M 0% /sys/fs/cgroup /dev/mmcblk0p6 68M 22M 47M 32% /boot tmpfs 93M 0 93M 0% /run/user/1000 /dev/sda1 15G 32K 15G 1% /media/pi/0573-FE26 /dev/mmcblk0p5 30M 1,6M 27M 6% /media/pi/SETTINGS pi@raspiP:~ $
im log file steht viele solcher Zeilen:
2019-03-07 12:30:09.809 - ^[[32minfo^[[39m: mqtt.0 Client [ESP8266Client] reconnected. Old secret 1551958209693_6263. New secret 1551958209698_7672 2019-03-07 12:30:09.812 - ^[[32minfo^[[39m: mqtt.0 Client [DVES-00724C31] reconnected. Old secret 1551958209685_9075. New secret 1551958209702_8187 2019-03-07 12:30:09.815 - ^[[32minfo^[[39m: mqtt.0 Client [ESP8266Client] reconnected. Old secret 1551958209698_7672. New secret 1551958209705_9582 2019-03-07 12:30:09.856 - ^[[32minfo^[[39m: mqtt.0 Client [OBI-Steckdose5] connection closed: closed 2019-03-07 12:30:10.042 - ^[[32minfo^[[39m: host.raspiP instance system.adapter.daswetter.0 started with pid 1584 2019-03-07 12:30:10.167 - ^[[33mwarn^[[39m: host.raspiP instance system.adapter.javascript.0 terminated due to SIGKILL 2019-03-07 12:30:10.168 - ^[[31merror^[[39m: host.raspiP instance system.adapter.javascript.0 terminated with code null () 2019-03-07 12:30:10.168 - ^[[32minfo^[[39m: host.raspiP Restart adapter system.adapter.javascript.0 because enabled 2019-03-07 12:30:10.216 - ^[[33mwarn^[[39m: terminal.0 Reconnection to DB. 2019-03-07 12:30:10.381 - ^[[33mwarn^[[39m: web.0 Reconnection to DB.
aber auch mit anderen Adaptern...
-
falls du das log beobachten willst ünd keinen admin hast
tail -f -n 0 /opt/iobroker/log/iobroker.2019-03-07.log - den filenamen anpassen mit grep kannst du noch filtern z.b
tail -f -n 0 iobroker.2019-03-07.log | grep admin
mach mal einen iobroker restart auf einem 2ten terminal und beobachte das log
ich weiß nicht, ob du das logfile direkt runterladen kannst und als txt-file abspeichern und hier im (forum) einfügen - wäre hilfreich
-
ps -ef |grep io
Welche Version NPM, NODE, JS-Controller ?
Den PI schon neu gestartet?
Was für ein Netzteil versorgt den PI?
Läuft außer ioBroker noch etwas auf dem PI?
Sehe in dem TOP Fenster keinen iobroker Prozess.. ist aber natürlich auch nur eine Moment Aufnahme.
-
@wendy2702 sagte in Problem: keine Web-Oberfläche mehr:
Sehe in dem TOP Fenster keinen iobroker Prozess.
Das ist mir auch aufgefallen!
mach mal ein
iobroker start
-
ps -ef | grep io bringt folgendes:
pi@raspiP:/opt/iobroker/log $ clear
pi@raspiP:/opt/iobroker/log $ pi@raspiP:/opt/iobroker/log $
-bash: pi@raspiP:/opt/iobroker/log: Datei oder Verzeichnis nicht gefunden
pi@raspiP:/opt/iobroker/log $ ps -ef |grep io
root 10 2 0 12:13 ? 00:00:00 [migration/0]
root 13 2 0 12:13 ? 00:00:00 [migration/1]
root 18 2 0 12:13 ? 00:00:00 [migration/2]
root 23 2 0 12:13 ? 00:00:00 [migration/3]
root 40 2 0 12:13 ? 00:00:00 [rpciod]
root 41 2 0 12:13 ? 00:00:00 [xprtiod]
root 45 2 0 12:13 ? 00:00:00 [nfsiod]
root 58 2 0 12:13 ? 00:00:00 [DWC Notificatio]
message+ 315 1 0 12:13 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 624 404 0 12:13 ? 00:00:00 lightdm --session-child 14 17
pi 652 624 0 12:13 ? 00:00:00 /usr/bin/lxsession -s LXDE-pi -e LXDE
pi 667 638 0 12:13 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activati n
pi 923 652 0 12:13 ? 00:00:00 /usr/bin/ssh-agent x-session-manager
pi 973 1 0 12:13 ? 00:00:00 sh /etc/xdg/lxsession/LXDE-pi/sshpwd.sh
pi 978 973 0 12:13 ? 00:00:01 zenity --warning --no-wrap --text=SSH is enabled and the default password for the 'pi' user has not been changed.\nThis is a security risk - please login as the 'pi' user and run Raspberry Pi Configuration to set a new password.
pi 5373 1 73 13:37 ? 00:00:05 iobroker.js-controller
pi 5383 5373 61 13:37 ? 00:00:03 [io.admin.0] <defunct>
pi 5395 1 10 13:37 ? 00:00:00 node /opt/iobroker/node_modules/iobroker.js-controller/lib/restart.js
pi 5406 2034 0 13:37 pts/1 00:00:00 grep --color=auto io
pi@raspiP:/opt/iobroker/log $nach einem "iobroker start" habe ich im log Verzeichnis ein restart.log (das wird immer größer)
Neues Textdokument (2).txt -
Im restart log kann man sehen das sich scheinbar iobroker alle paar minuten neu startet...
Allerdings hilft das nicht weiter..
Das eigentliche ioBroker log ist von interesse.
UND... die Beantwortung aller Fragen
-
npm -v : 3.10.10
node -v : v6.14.1
wo sehe ich die Version des JS-Controllers?
und welches log file meinst du mit "eigentliche ioBroker log"was mir gerade auffällt, mir fehlt der "socketio" Adapter, der ist weg!
Kann das der Grund sein? -
@stoffel67 sagte in Problem: keine Web-Oberfläche mehr:
und welches log file meinst du mit "eigentliche ioBroker log"
/opt/iobroker/logs/HeutigesDatum
-
@liv-in-sky sagte in Problem: keine Web-Oberfläche mehr:
tail -f -n 0 /opt/iobroker/log/iobroker.2019-03-07.log - den filenamen anpassen mit grep kannst du noch filtern z.b
-
Ok, hier das logfile: ich habe einige sich widerholende Einträge ausgelöscht, warsonst zu groß für upload
iobroker.2019-03-07.log -
wenn ich das text file ansehe sehe ich nur:
0 S pi 3505 3495 76 80 0 - 33943 SyS_ep 13:32 ? 00:00:03 io.admin.0
0 S pi 3517 1 14 80 0 - 17702 SyS_ep 13:32 ? 00:00:00 node /opt/iobroker/node_module
0 R pi 3527 2034 0 80 0 - 1934 - 13:32 pts/1 00:00:00 ps -elfdas ist etwas wenig - oder? ich VERMUTE - der häng sich auf, während des startens vom ioadmin - wie seht ihr das
iobroker läuft doch garnicht ?ich kann kein file sehen - da steht der filename und uploading 100%
-
Da ist irgenwie kein File.
-
wenn du einmal dabei bis auch bitte das Linux Syslog unter /var/log/ liefern.
-
@stoffel67 sagte in Problem: keine Web-Oberfläche mehr:
wo sehe ich die Version des JS-Controllers?
iobroker -v
-
ich vermute hier nur:
wenn du nichts verändert hast - iobroker nicht läuft aber linux noch da ist - könnte die sd karte einen schaden haben
@wendy hat da schon recht - das syslog wäre interessant ob man darin irgendwelche fehler sieht -
iobroker -v 1.2.3
syslog:
syslog -
Out of memory: oom_reaper: reaped process 1516