[vz-users] Exception: middleware.php/capabilities

Andreas Goetz cpuidle at gmail.com
Fr Okt 29 12:24:24 CEST 2021


Mal ganz langsam. Funktioniert das normale Volkszähler Frontend (=die Weboberfläche) bei Dir? Falls nein ist etwas kaputt…

Viele Grüße, Andreas


> On 29. Oct 2021, at 11:42, applicationMGR ecoCuyo <applicationMGR at ecoCuyo.de> wrote:
> 
> Hallo Andreas,
> 
> greift direkt auf <IP>:8080
> Wenn ich …/frontend anhänge, kommt ebenfalls der Fehler:
> {"version":"0.3","exception":{"message":"Missing format","type":"Exception","code":0}}
> Habe ich an Apache etwas verbogen?
> 
> $ apache2ctl -t
> 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
> Syntax OK
> 
> Danke für Deine schnelle Hilfe!
> Armin
> 
> 
>> Am 29.10.2021 um 11:36 schrieb Andreas Goetz <cpuidle at gmail.com <mailto:cpuidle at gmail.com>>:
>> 
>> Schau doch mal im Browser welche Url das VZ Frontend aufruft. 
>> 
>> Viele Grüße, Andreas 
>> 
>>> Am 29.10.2021 um 11:24 schrieb applicationMGR ecoCuyo <applicationMGR at ecocuyo.de <mailto:applicationMGR at ecocuyo.de>>:
>>> 
>>> Hallo,
>>> 
>>> habe eine alte Volkszaehler-Installation auf einem Raspi von Jessie->Stretch->Buster gebracht (MYSQL -> MariaDB).
>>> Das Frontend und alle bisherigen Kanäle funktionieren einwandfrei.
>>> 
>>> 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:
>>> 
>>> http://<ip-address>/middleware.php/capabilities/definitions/entities.json
>>> ergibt:
>>> {"version":"0.3","exception":{"message":"Missing context","type":"Exception","code":0}}
>>> 
>>> Normalerweise kommt hier (früher) eine ganze Latte von Infos?
>>> 
>>> Die Versionen der Installation:
>>> 
>>> $ vzlogger -V
>>> 0.8.0
>>> based on git version: heads/master-0-g49240dfdd5
>>> last commit date: Fri, 17 Sep 2021 13:35:41 +0200
>>> 
>>> $ git log -n 1
>>> commit b24cd2fddb8913f022d31b9d6b15c5d3c3abc10e (HEAD -> master, origin/master, origin/HEAD)
>>> Author: andig <cpuidle at gmx.de <mailto:cpuidle at gmx.de>>
>>> Date:   Fri Oct 8 09:44:53 2021 +0200
>>> 
>>> $ php —version
>>> PHP 7.3.29-1~deb10u1 (cli) (built: Jul  2 2021 04:04:33) ( NTS )
>>> Copyright (c) 1997-2018 The PHP Group
>>> Zend Engine v3.3.29, Copyright (c) 1998-2018 Zend Technologies
>>> with Zend OPcache v7.3.29-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
>>> 
>>> $ mysql —version
>>> mysql  Ver 15.1 Distrib 10.3.31-MariaDB, for debian-linux-gnueabihf (armv8l) using readline 5.2
>>> 
>>> $ cat /etc/os-release 
>>> PRETTY_NAME="Raspbian GNU/Linux 10 (buster)“
>>> NAME="Raspbian GNU/Linux“
>>> VERSION_ID=„10"
>>> VERSION="10 (buster)“
>>> VERSION_CODENAME=buster
>>> ID=raspbian
>>> ID_LIKE=debian
>>> HOME_URL="http://www.raspbian.org/ <http://www.raspbian.org/>„
>>> SUPPORT_URL="http://www.raspbian.org/RaspbianForums <http://www.raspbian.org/RaspbianForums>“
>>> BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs <http://www.raspbian.org/RaspbianBugs>“
>>> 
>>> Auffällig ist der Fehler von Apache:
>>> $ apache2
>>> [Fri Oct 29 11:19:40.306552 2021] [core:warn] [pid 12403] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
>>> apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
>>> 
>>> Hat hierzu jemand eine Idee oder braucht es weitere Infos?
>>> 
>>> Viele Grüße
>>> Armin
> 

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20211029/7f945e27/attachment.html>


Mehr Informationen über die Mailingliste volkszaehler-users