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

applicationMGR ecoCuyo applicationMGR at ecoCuyo.de
Fr Okt 29 11:24:55 CEST 2021


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>
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/„
SUPPORT_URL="http://www.raspbian.org/RaspbianForums“
BUG_REPORT_URL="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/6721361e/attachment.html>


Mehr Informationen über die Mailingliste volkszaehler-users