<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">alle Aufrufe erfolgen nach dem Muster:</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>http://<ip>/data/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.json?unique=1635508329704&from=1635421929697&to=1635508329697&tuples=731<br class=""><div><br class=""></div><div>Wo wird die Wurzel „data“ festgelegt?</div><div><br class=""></div><div>Bei meinen anderen Installationen ist der Pfad nach folgendem Muster aufgebaut http://<ip>/middleware.php/data.json?from=1635345780469&to=1635518580469&tuples=730&uuid%5B%5D=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx</div><div><br class=""></div><div>Viele Grüße</div><div>Armin</div><div><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2021 um 15:00 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Schau bitte ins Netzwerk Tab- da sind alle Aufrufe zu sehen und nicht nur die Fehler...<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 29. Oct 2021, at 14:55, applicationMGR ecoCuyo <<a href="mailto:applicationMGR@ecoCuyo.de" class="">applicationMGR@ecoCuyo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">in der Konsole kommt bei Aufruf http://<ip>:8080/ folgender Output:</div><div class=""><br class=""></div><div class=""><div class="">[Error] WebSocket connection to '<a href="wss://demo.volkszaehler.org/ws" class="">wss://demo.volkszaehler.org/ws</a>' failed: Unexpected response code: 404</div><div class="">[Error] WebSocket connection to '<a href="ws://10.0.1.214/ws" class="">ws://10.0.1.214/ws</a>' failed: Unexpected response code: 400</div><div class=""><br class=""></div><div class="">Trotzdem zeigt das Frontend alle Kanäle an.</div><div class=""><br class=""></div><div class="">Was sagt mir das?</div><div class=""><br class=""></div><div class="">Beste Grüße</div><div class="">Atmin</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2021 um 12:45 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Armin<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 29. Oct 2021, at 12:44, applicationMGR ecoCuyo <<a href="mailto:applicationMGR@ecoCuyo.de" class="">applicationMGR@ecoCuyo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">ja, das Frontend läuft ohne Probleme - per Aufruf http://<ip>:8080</div></div></div></blockquote><div class=""><br class=""></div>Gut.</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Sowie ich /frontend anhänge, gibt es Fehler wie unten beschrieben.</div></div></div></blockquote><div class=""><br class=""></div>Davon habe ich auch nichts geschrieben.</div><div class=""><br class=""></div><div class="">Schau doch mal bitte, wie das Frontend das API aufruft (=Browserkonsole) und dann machst Du das einfach genauso.</div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Viele Grüße</div><div class="">Armin</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2021 um 12:24 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Mal ganz langsam. Funktioniert das normale Volkszähler Frontend (=die Weboberfläche) bei Dir? Falls nein ist etwas kaputt…<div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 29. Oct 2021, at 11:42, applicationMGR ecoCuyo <<a href="mailto:applicationMGR@ecoCuyo.de" class="">applicationMGR@ecoCuyo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">greift direkt auf <IP>:8080</div><div class="">Wenn ich …/frontend anhänge, kommt ebenfalls der Fehler:</div><div class=""><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">{"version":"0.3","exception":{"message":"Missing format","type":"Exception","code":0}}</pre><div class="">Habe ich an Apache etwas verbogen?</div></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class=""><b class="">$</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> apache2ctl -t</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Syntax OK</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Danke für Deine schnelle Hilfe!</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Armin</span></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2021 um 11:36 schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class="">Schau doch mal im Browser welche Url das VZ Frontend aufruft. </div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Viele Grüße, Andreas </div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">Am 29.10.2021 um 11:24 schrieb applicationMGR ecoCuyo <<a href="mailto:applicationMGR@ecocuyo.de" class="">applicationMGR@ecocuyo.de</a>>:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">Hallo,<div class=""><br class=""></div><div class="">habe eine alte Volkszaehler-Installation auf einem Raspi von Jessie->Stretch->Buster gebracht (MYSQL -> MariaDB).</div><div class="">Das Frontend und alle bisherigen Kanäle funktionieren einwandfrei.</div><div class=""><br class=""></div><div class="">Jedoch bekomme ich seither Fehler, wenn ich versuche, auf die gleichfalls auf dem Raspi installierte Highcharts-Präsentationsschicht zuzugreifen. Da an Highcharts im Sinne der Config nichts verändert wurde, habe ich folgendes Kommando auf einem Client im Safari abgesetzt:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><font face="Menlo" class="">
http://<ip-address>/middleware.php/capabilities/definitions/entities.json</font></div></blockquote><div class=""><div class="">ergibt:</div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class=""><span style="white-space: pre-wrap;" class=""><font face="Menlo" class="">{"version":"0.3","exception":{"message":"Missing context","type":"Exception","code":0}}</font></span></div></div></blockquote><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">Normalerweise kommt hier (früher) eine ganze Latte von Infos?</span></div><div class=""><br class=""></div><div class=""><span style="white-space: pre-wrap;" class="">Die Versionen der Installation:</span></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></b></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">$ vzlogger -V</b></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">0.8.0</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">based on git version: heads/master-0-g49240dfdd5</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">last commit date: Fri, 17 Sep 2021 13:35:41 +0200</span></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></b></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">$ git log -n 1</b></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">commit b24cd2fddb8913f022d31b9d6b15c5d3c3abc10e (</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">HEAD -></span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""> </span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">master</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">,</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""> </span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">origin/master</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">,</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""> </span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">origin/HEAD</span><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">)</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">Author: andig <<a href="mailto:cpuidle@gmx.de" class="">cpuidle@gmx.de</a>></span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">Date: Fri Oct 8 09:44:53 2021 +0200</span></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></b></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">$ php —version</b></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">PHP 7.3.29-1~deb10u1 (cli) (built: Jul 2 2021 04:04:33) ( NTS )</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">Copyright (c) 1997-2018 The PHP Group</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">Zend Engine v3.3.29, Copyright (c) 1998-2018 Zend Technologies</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">with Zend OPcache v7.3.29-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies</span></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></b></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">$ mysql —version</b></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">mysql Ver 15.1 Distrib 10.3.31-MariaDB, for debian-linux-gnueabihf (armv8l) using readline 5.2</span></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></b></div><div class=""><b style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">$ cat /etc/os-release </b></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">PRETTY_NAME="Raspbian GNU/Linux 10 (buster)</span><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">“</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">NAME="Raspbian GNU/Linux</span><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">“</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">VERSION_ID=„10"</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">VERSION="10 (buster)</span><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">“</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">VERSION_CODENAME=buster</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">ID=raspbian</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">ID_LIKE=debian</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">HOME_URL="<a href="http://www.raspbian.org/" class="">http://www.raspbian.org/</a></span><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">„</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">SUPPORT_URL="<a href="http://www.raspbian.org/RaspbianForums" class="">http://www.raspbian.org/RaspbianForums</a></span><font face="Menlo" class=""><span style="font-size: 11px; white-space: pre-wrap;" class="">“</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class="">BUG_REPORT_URL="<a href="http://www.raspbian.org/RaspbianBugs" class="">http://www.raspbian.org/RaspbianBugs</a>“</span></div><div class=""><span style="font-family: Menlo; font-size: 11px; white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><div class=""><span style="white-space: pre-wrap;" class="">Auffällig ist der Fehler von Apache:</span></div><div class=""><b class=""><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(64, 11, 217);" class="">$</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""> apache2</span></b><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">[Fri Oct 29 11:19:40.306552 2021] [core:warn] [pid 12403] AH00111: Config variable ${APACHE_RUN_DIR} is not defined</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot</span></div></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Hat hierzu jemand eine Idee oder braucht es weitere Infos?</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Viele Grüße</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Armin</span></div></div></blockquote></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></body></html>