Startbildschirm hängt bei 42% nach Änderungen

Fragen zur Nutzung, Features, usw..
Antworten
t.kemmer
Beiträge: 2
Registriert: Fr Feb 24, 2023 12:49 pm

Startbildschirm hängt bei 42% nach Änderungen

Beitrag von t.kemmer »

Moin moin,
ich habe opneWB 1.9.295 auf einem Raspberry Pi installiert (stretch) und kann den Startbildschirm aufrufen. Er hängt sich allerdings auf wenn ich ihn mittels <IP-Adr>/openWB/web/index.php auf bei 42% und es steht da 'Bitte warten bis die Seite aufgebaut ist'. Manchmal wird die Seite nach mehreren Minuten aufgebaut, meistens jedoch nicht. Von einem ipad aus mit Safari klappt es häufiger als mit Chromium auf dem pi, aber auch hier nicht immer.
Der Aufruf <IP-Adr>/openWB/web/settings/settings.php funktioniert immer schnell. Wenn ich dann z.B ein Modul hinzufüge und das Ganze speichere, dann hängt er sich wieder bei 42% auf.
Ich kann hier im Forum leider nichts dazu finden. Hat jemand von Euch so etwas schon mal erlebt und kennt einen Lösung oder einen Grund für das Verhalten?
Vielen Dank
Thomas
derNeueDet
Beiträge: 4239
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von derNeueDet »

Schau ins Logfile, was da an Fehlern auftaucht.
Evtl. Einen Tril hier als Code Block posten

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
t.kemmer
Beiträge: 2
Registriert: Fr Feb 24, 2023 12:49 pm

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von t.kemmer »

Es dauert unglaublich lange, bis die Startseite aufgebaut ist und wenn ich dann den Status ansehen will, in dem man auf die Logdaten zugreifen kann, dauert es mitunter auch wieder eine halbe Stunde.
Kannst Du mir bitte sagen, wo ich die Log-Daten finden kann, sie müssen ja in irgendwelchen Dateien abgelegt sein. Da kann man dann direkt darauf zugreifen und sehen, wo es hakt.
Vielen Dank!
Thomas
derNeueDet
Beiträge: 4239
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von derNeueDet »

In wie weit kennst du dich mit Linux aus?

/var/www/html/openWB/ramdisk

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
Gero
Beiträge: 2680
Registriert: Sa Feb 20, 2021 9:55 am

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von Gero »

An die kommst Du auch per Browser:

http://wallbox.fritz.box/openWB/ramdisk/
openWB-series2, openWB-Buchse, E3/DC S10pro+19.5kWh, 30kWp Ost-Süd, Model 3 und Ion
courage2000
Beiträge: 57
Registriert: Fr Jun 05, 2020 10:37 pm

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von courage2000 »

Same problem on Buster.

log

Code: Alles auswählen

2023-09-17 23:51:55: at_reboot: not configured
2023-09-17 23:51:55: at_reboot: crontab 1...
2023-09-17 23:51:55: at_reboot: no crontab for root
2023-09-17 23:51:55: at_reboot: apache...
2023-09-17 23:51:55: at_reboot: ...changed
2023-09-17 23:51:55: at_reboot: crontab 2...
2023-09-17 23:51:55: at_reboot: packages 1...
2023-09-17 23:52:01: at_reboot: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2023-09-17 23:52:01: at_reboot: Collecting evdev
2023-09-17 23:52:02: at_reboot: Using cached https://files.pythonhosted.org/packages/05/50/629b011a7f61cb2fca754ea8631575784bf8605a1ec4d6970a010bc54e2b/evdev-1.6.1.tar.gz
2023-09-17 23:52:03: at_reboot: Complete output from command python setup.py egg_info:
2023-09-17 23:52:03: at_reboot: Traceback (most recent call last):
2023-09-17 23:52:03: at_reboot: File "<string>", line 1, in <module>
2023-09-17 23:52:03: at_reboot: File "/tmp/pip-install-IaV0Gt/evdev/setup.py", line 103
2023-09-17 23:52:03: at_reboot: cmd = [sys.executable, 'evdev/genecodes.py', *headers]
2023-09-17 23:52:03: at_reboot: ^
2023-09-17 23:52:03: at_reboot: SyntaxError: invalid syntax
2023-09-17 23:52:03: at_reboot: 
2023-09-17 23:52:03: at_reboot: ----------------------------------------
2023-09-17 23:52:03: at_reboot: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-IaV0Gt/evdev/
2023-09-17 23:52:04: at_reboot: 2023-09-17 23:52:04: PID: 1814: upgradeChargeLogs: upgrading charge logs with a price of 0.3 per kWh
2023-09-17 23:52:04: at_reboot: 2023-09-17 23:52:04: PID: 1814: upgradeChargeLogs: upgrading charge logs done
2023-09-17 23:52:04: at_reboot: timezone...
2023-09-17 23:52:04: at_reboot: mosquitto...
2023-09-17 23:52:04: at_reboot: updating mosquitto config file
2023-09-17 23:52:04: at_reboot: Reloading network daemon configuration:: mosquitto.
2023-09-17 23:52:04: at_reboot: python3 packages...
2023-09-17 23:52:04: at_reboot: all required modules are installed
2023-09-17 23:52:05: at_reboot: lxml installed...
2023-09-17 23:52:05: at_reboot: soc_vwid: python3 secrets installed...
2023-09-17 23:52:05: at_reboot: soc_smarteq: python3 secrets installed...
2023-09-17 23:52:22: at_reboot: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2023-09-17 23:52:24: at_reboot: Requirement already up-to-date: urllib3 in ./.local/lib/python3.7/site-packages (2.0.4)
2023-09-17 23:52:25: at_reboot: version...
2023-09-17 23:52:25: at_reboot: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2023-09-17 23:52:25: at_reboot: Dload  Upload   Total   Spent    Left  Speed
100    45    0     0  100    45      0    248 --:--:-- --:--:-- --:--:--   248
2023-09-17 23:52:25: at_reboot: clear warning...
2023-09-17 23:52:25: PID: 1864: Stopping OpenWB services (LV0)
2023-09-17 23:52:26: PID: 1864: OpenWB services stopped (LV0)
2023-09-17 23:52:26: PID: 1864: Starting OpenWB services (LV0)
2023-09-17 23:52:26: PID: 1864: modbus tcp server not running! restarting process (LV0)
2023-09-17 23:52:26: PID: 1864: mqtt handler not running! restarting process (LV0)
2023-09-17 23:52:26: PID: 1864: smart home handler not running! restarting process (LV0)
2023-09-17 23:52:26: PID: 1864: legacy run server is not running. Restarting process (LV0)
2023-09-17 23:52:26: at_reboot: Starting legacy run server
2023-09-17 23:52:26: PID: 1903: legacy run server: Changing log level DEBUG -> WARNING
2023-09-17 23:52:27: at_reboot: update broker...
2023-09-17 23:52:28: at_reboot: etprovider...
2023-09-17 23:52:28: at_reboot: not activated, skipping
2023-09-17 23:52:28: at_reboot: fix upload limit...OS Buster
2023-09-17 23:52:29: at_reboot: 2023-09-17 23:52:29: boot done :-)
2023-09-17 23:55:02: PID: 2080: ##### cron5min.sh started ##### (LV0)
2023-09-17 23:55:03: PID: 2245: Starting OpenWB services (LV0)
2023-09-17 23:55:04: PID: 2080: ##### cron5min.sh finished ##### (LV0)
courage2000
Beiträge: 57
Registriert: Fr Jun 05, 2020 10:37 pm

Re: Startbildschirm hängt bei 42% nach Änderungen

Beitrag von courage2000 »

====== openWB 1.9 install problems =====

Prerequisites:

Code: Alles auswählen

sudo apt-get update
sudo apt-get upgrade -y
sudo pip3 install --upgrade requests
sudo pip install requests
See install instructions:

https://github.com/snaptec/openWB

The install script stalls at the end, after some Adafruit installation is finished.

Use Ctrl+C to end the script

edit 010_pi-nopasswd file

Code: Alles auswählen

sudo nano /etc/sudoers.d/010_pi-nopasswd
The file must contain only ONE line like that (just one):

Code: Alles auswählen

www-data ALL=(ALL) NOPASSWD: ALL
save Ctrl+x

Run those commands as pi user

Code: Alles auswählen

chmod 777 /var/www/html/openWB/openwb.conf
chmod +x /var/www/html/openWB/modules/*
chmod +x /var/www/html/openWB/runs/*
chmod +x /var/www/html/openWB/*.sh
touch /var/log/openWB.log
sudo chmod 777 /var/log/openWB.log
sudo -u pi /var/www/html/openWB/runs/atreboot.sh
wait 2 minutes, continue with install instructions (cron jobs)

Code: Alles auswählen

sudo reboot
I had 4 lines of
www-data ALL=(ALL) NOPASSWD: ALL in my /etc/sudoers.d/010_pi-nopasswd file => 42% loading problem
Antworten