Neue Installation, Verzeichnisse leer

Solaranzeige und Docker
Alles was mit der Docker Version zu tun hat.

Moderatoren: Ulrich, DeBaschdi

Antworten
fmc
Beiträge: 52
Registriert: So 4. Sep 2022, 11:10

Neue Installation, Verzeichnisse leer

Beitrag von fmc »

Hallo Zusammen,

ich habe eine neue PV Anlage auf dem Dach und freue mich jetzt diesem tollen Projekt zu widmen.
Natürlich stoße ich direkt auf einen gravierenden Fehler.

Bei der Erstellung der Images bleiben die Verzeichnisse leer.
D.h. die unter www/html fehlt z.B. die user.config.php usw.

Habe schon mehrfach probiert , es bleibt aber beim gleichen Zustand:

Letztlich habe ich das image im Puttx mit folgendem Befehl versucht zu erstellen:

Code: Alles auswählen

docker run \
  -d \
  -e USER_ID="99" \
  -e GROUP_ID="100" \
  -e TIMEZONE="Europe/Berlin" \
  -e UPDATE="yes" \
  -e MOSQUITTO="yes" \
  -e INFLUXDB="yes" \
  -p 3000:3000 \
  -p 1883:1883 \
  -p 8080:80 \
  -v SOLARANZEIGE_STORAGE:/solaranzeige \
  -v PVFORRCAST_STORAGE:/pvforecast \
  -v INFLUXDB_STORAGE:/var/lib/influxdb \
  -v GRAFANA_STORAGE:/var/lib/grafana \
  -v WWW_STORAGE:/var/www \
  --name=Solaranzeige \
  --restart unless-stopped \
  --tmpfs /tmp \
  --tmpfs /var/log \
  takealug/solaranzeige:latest
Hat jemand eine Idee, ob ich nur einen Denkfehler habe ?
Das initiale Setup kann ich beliebig oft wiederholen, er speichert nichts ab bzw. erstellt keine konfig Dateien.

Code: Alles auswählen

PHP Notice:  Undefined index: AC_Spannung_R in /var/www/html/phpinc/funktionen.i                       nc.php on line 3500
PHP Notice:  Undefined index: AC_Spannung_S in /var/www/html/phpinc/funktionen.i                       nc.php on line 3501
PHP Notice:  Undefined index: AC_Spannung_T in /var/www/html/phpinc/funktionen.i                       nc.php on line 3502
PHP Notice:  Undefined index: AC_Frequenz in /var/www/html/phpinc/funktionen.inc                       .php on line 3503
PHP Notice:  Undefined index: Einspeisung in /var/www/html/phpinc/funktionen.inc                       .php on line 3505
PHP Notice:  Undefined index: Bezug in /var/www/html/phpinc/funktionen.inc.php o                       n line 3506
PHP Notice:  Undefined index: Hausverbrauch in /var/www/html/phpinc/funktionen.i                       nc.php on line 3507
PHP Notice:  Undefined index: PV_Leistung in /var/www/html/phpinc/funktionen.inc                       .php on line 3514
PHP Notice:  Undefined index: Anz_PV_Strings in /var/www/html/phpinc/funktionen.                       inc.php on line 3515
PHP Notice:  Undefined index: Batterie_Ladung in /var/www/html/phpinc/funktionen                       .inc.php on line 3523
PHP Notice:  Undefined index: Batterie_Entladung in /var/www/html/phpinc/funktio                       nen.inc.php on line 3524
PHP Notice:  Undefined index: Batterie_Status in /var/www/html/phpinc/funktionen                       .inc.php on line 3525
PHP Notice:  Undefined index: SOC in /var/www/html/phpinc/funktionen.inc.php on                        line 3526
PHP Notice:  Undefined index: FehlerCode in /var/www/html/phpinc/funktionen.inc.                       php on line 3534
PHP Notice:  Undefined index: Anz_MPP_Trackers in /var/www/html/phpinc/funktione                       n.inc.php on line 3536
PHP Notice:  Undefined index: ModellID in /var/www/html/phpinc/funktionen.inc.ph                       p on line 3537
PHP Notice:  Undefined index: Effizienz in /var/www/html/phpinc/funktionen.inc.p                       hp on line 3539
PHP Notice:  Undefined index: AC_Spannung_R in /var/www/html/phpinc/funktionen.i                       nc.php on line 3500
PHP Notice:  Undefined index: AC_Spannung_S in /var/www/html/phpinc/funktionen.i                       nc.php on line 3501
PHP Notice:  Undefined index: AC_Spannung_T in /var/www/html/phpinc/funktionen.i                       nc.php on line 3502
PHP Notice:  Undefined index: AC_Frequenz in /var/www/html/phpinc/funktionen.inc                       .php on line 3503
PHP Notice:  Undefined index: Einspeisung in /var/www/html/phpinc/funktionen.inc                       .php on line 3505
PHP Notice:  Undefined index: Bezug in /var/www/html/phpinc/funktionen.inc.php o                       n line 3506
PHP Notice:  Undefined index: Hausverbrauch in /var/www/html/phpinc/funktionen.i                       nc.php on line 3507
PHP Notice:  Undefined index: PV_Leistung in /var/www/html/phpinc/funktionen.inc                       .php on line 3514
PHP Notice:  Undefined index: Anz_PV_Strings in /var/www/html/phpinc/funktionen.                       inc.php on line 3515
PHP Notice:  Undefined index: Batterie_Ladung in /var/www/html/phpinc/funktionen                       .inc.php on line 3523
PHP Notice:  Undefined index: Batterie_Entladung in /var/www/html/phpinc/funktio                       nen.inc.php on line 3524
PHP Notice:  Undefined index: Batterie_Status in /var/www/html/phpinc/funktionen                       .inc.php on line 3525
PHP Notice:  Undefined index: SOC in /var/www/html/phpinc/funktionen.inc.php on                        line 3526
PHP Notice:  Undefined index: FehlerCode in /var/www/html/phpinc/funktionen.inc.                       php on line 3534
PHP Notice:  Undefined index: Anz_MPP_Trackers in /var/www/html/phpinc/funktione                       n.inc.php on line 3536
PHP Notice:  Undefined index: ModellID in /var/www/html/phpinc/funktionen.inc.ph                       p on line 3537
PHP Notice:  Undefined index: Effizienz in /var/www/html/phpinc/funktionen.inc.p                       hp on line 3539
PHP Notice:  Undefined index: AC_Spannung_R in /var/www/html/phpinc/funktionen.i                       nc.php on line 3500
PHP Notice:  Undefined index: AC_Spannung_S in /var/www/html/phpinc/funktionen.i                       nc.php on line 3501
PHP Notice:  Undefined index: AC_Spannung_T in /var/www/html/phpinc/funktionen.i                       nc.php on line 3502
PHP Notice:  Undefined index: AC_Frequenz in /var/www/html/phpinc/funktionen.inc                       .php on line 3503
PHP Notice:  Undefined index: Einspeisung in /var/www/html/phpinc/funktionen.inc                       .php on line 3505
PHP Notice:  Undefined index: Bezug in /var/www/html/phpinc/funktionen.inc.php o                       n line 3506
PHP Notice:  Undefined index: Hausverbrauch in /var/www/html/phpinc/funktionen.i                       nc.php on line 3507
PHP Notice:  Undefined index: PV_Leistung in /var/www/html/phpinc/funktionen.inc                       .php on line 3514
PHP Notice:  Undefined index: Anz_PV_Strings in /var/www/html/phpinc/funktionen.                       inc.php on line 3515
PHP Notice:  Undefined index: Batterie_Ladung in /var/www/html/phpinc/funktionen                       .inc.php on line 3523
PHP Notice:  Undefined index: Batterie_Entladung in /var/www/html/phpinc/funktio                       nen.inc.php on line 3524
PHP Notice:  Undefined index: Batterie_Status in /var/www/html/phpinc/funktionen                       .inc.php on line 3525
PHP Notice:  Undefined index: SOC in /var/www/html/phpinc/funktionen.inc.php on                        line 3526
PHP Notice:  Undefined index: FehlerCode in /var/www/html/phpinc/funktionen.inc.                       php on line 3534
PHP Notice:  Undefined index: Anz_MPP_Trackers in /var/www/html/phpinc/funktione                       n.inc.php on line 3536
PHP Notice:  Undefined index: ModellID in /var/www/html/phpinc/funktionen.inc.ph                       p on line 3537
PHP Notice:  Undefined index: Effizienz in /var/www/html/phpinc/funktionen.inc.p                       hp on line 3539
PHP Notice:  Undefined index: AC_Spannung_R in /var/www/html/phpinc/funktionen.i                       nc.php on line 3500
PHP Notice:  Undefined index: AC_Spannung_S in /var/www/html/phpinc/funktionen.i                       nc.php on line 3501
PHP Notice:  Undefined index: AC_Spannung_T in /var/www/html/phpinc/funktionen.i                       nc.php on line 3502
PHP Notice:  Undefined index: AC_Frequenz in /var/www/html/phpinc/funktionen.inc                       .php on line 3503
PHP Notice:  Undefined index: Einspeisung in /var/www/html/phpinc/funktionen.inc                       .php on line 3505
PHP Notice:  Undefined index: Bezug in /var/www/html/phpinc/funktionen.inc.php o                       n line 3506
PHP Notice:  Undefined index: Hausverbrauch in /var/www/html/phpinc/funktionen.i                       nc.php on line 3507
PHP Notice:  Undefined index: PV_Leistung in /var/www/html/phpinc/funktionen.inc                       .php on line 3514
PHP Notice:  Undefined index: Anz_PV_Strings in /var/www/html/phpinc/funktionen.                       inc.php on line 3515
PHP Notice:  Undefined index: Batterie_Ladung in /var/www/html/phpinc/funktionen                       .inc.php on line 3523
PHP Notice:  Undefined index: Batterie_Entladung in /var/www/html/phpinc/funktio                       nen.inc.php on line 3524
PHP Notice:  Undefined index: Batterie_Status in /var/www/html/phpinc/funktionen                       .inc.php on line 3525
PHP Notice:  Undefined index: SOC in /var/www/html/phpinc/funktionen.inc.php on                        line 3526
PHP Notice:  Undefined index: FehlerCode in /var/www/html/phpinc/funktionen.inc.                       php on line 3534
PHP Notice:  Undefined index: Anz_MPP_Trackers in /var/www/html/phpinc/funktione                       n.inc.php on line 3536
PHP Notice:  Undefined index: ModellID in /var/www/html/phpinc/funktionen.inc.ph                       p on line 3537
PHP Notice:  Undefined index: Effizienz in /var/www/html/phpinc/funktionen.inc.p                       hp on line 3539

Vilen lieben Dank und einen schönen Sonntag

Micha

fmc
Beiträge: 52
Registriert: So 4. Sep 2022, 11:10

Re: Neue Installation, Verzeichnisse leer

Beitrag von fmc »

Hat wirklich keiner eine Idee ?

Lieben Gruß

DeBaschdi
Beiträge: 299
Registriert: Mo 10. Aug 2020, 08:13
Hat sich bedankt: 15 Mal
Danksagung erhalten: 55 Mal

Re: Neue Installation, Verzeichnisse leer

Beitrag von DeBaschdi »

Hallo micha, bitte :

Code: Alles auswählen

When passing volumes please replace the name including the surrounding curly brackets with existing absolute paths with correct permissions.
https://github.com/DeBaschdi/docker.sol ... mediavault

fmc
Beiträge: 52
Registriert: So 4. Sep 2022, 11:10

Re: Neue Installation, Verzeichnisse leer

Beitrag von fmc »

Danke für den Hinweis.
Habe ich jetzt so probiert.
Allerdings klappt es dennoch nicht.
Habe den Container mal deinstalliert und neu installiert.
Er sagt mir dennoch ich hätte bereits das Setup durchlaufen .
Starten kann ich es dann mit setup -f

Ich hatte auch den Systemlink in dem Verzeichnis www gelöscht. Also den html und gegen einen Ordner ersetzt, da ich ratlos war.

Kann es daran liegen ?

Folgende Ordner habe ich angelegt:

-v SOLARANZEIGE_STORAGE:/solaranzeige \
-v INFLUXDB_STORAGE:/var/lib/influxdb \
-v GRAFANA_STORAGE:/var/lib/grafana \
-v PVFORECAST_STORAGE:/pvforecast \
-v WWW_STORAGE:/var/www \

Wobei solaranzeige und pvforecast im obersten Verzeichnis liegt ( Start Verzeichnis )

docker run \
-d \
-e USER_ID="99" \
-e GROUP_ID="100" \
-e TIMEZONE="Europe/Berlin" \
-e UPDATE="yes" \
-e MOSQUITTO="yes" \
-e INFLUXDB="yes" \
-p 3000:3000 \
-p 1883:1883 \
-p 8080:80 \
-v SOLARANZEIGE_STORAGE:/solaranzeige \
-v INFLUXDB_STORAGE:/var/lib/influxdb \
-v GRAFANA_STORAGE:/var/lib/grafana \
-v PVFORECAST_STORAGE:/pvforecast \
-v WWW_STORAGE:/var/www \
--name=Solaranzeige \
--restart unless-stopped \
--tmpfs /tmp \
--tmpfs /var/log \
takealug/solaranzeige:latest
Vieleicht kann mir ja jemand helfen.

DeBaschdi
Beiträge: 299
Registriert: Mo 10. Aug 2020, 08:13
Hat sich bedankt: 15 Mal
Danksagung erhalten: 55 Mal

Re: Neue Installation, Verzeichnisse leer

Beitrag von DeBaschdi »

Ich glaube du hast mich immer noch missverstanden :lol:
macht nix,
schau mal :
Bitte ersetzen Sie beim Übergeben von Volumes den Namen einschließlich der umgebenden geschweiften Klammern durch vorhandene absolute Pfade mit korrekten Berechtigungen.
Das bedeudet aus

Code: Alles auswählen

 -v {SOLARANZEIGE_STORAGE}:/solaranzeige \
wird z.b --->

Code: Alles auswählen

 -v /mein/existierender/pfad/auf/dem/hostsystem/mit/schreibrechten/:/solaranzeige \

fmc
Beiträge: 52
Registriert: So 4. Sep 2022, 11:10

Re: Neue Installation, Verzeichnisse leer

Beitrag von fmc »

Oh man,..

bin noch auf der Arbeit.
Der Groschen ist gefallen .... hoffe ich.

Melde mich.

danke

fmc
Beiträge: 52
Registriert: So 4. Sep 2022, 11:10

Re: Neue Installation, Verzeichnisse leer

Beitrag von fmc »

Guten Abend,

ich habe "erfolgreich" die Installation durchgeführt.
Leider habe ich aber unter Grafana nicht mein Dashboard.
Unter Browse kann ich zwar einige auswählen, der besagte für den Regler 62 ( Huawei) ist aber nicht dabei.

Ich habe allerdings auch noch keinen Zugriff auf den Modbus TCP Port, den muss leider der Installateur freischalten ( Er hat das PW geändert )
Kann es sein, dass das Dashboard erst zu laden ist, wenn es einen Modbus TCP Verbindung gibt ?
Current default time zone: 'Europe/Berlin'
Local time is now: Thu Sep 8 20:32:54 CEST 2022.
Universal Time is now: Thu Sep 8 18:32:54 UTC 2022.

:
Update der Solaranzeige wird gestartet .....
Solaranzeige Update ist beendet. Normalerweise ist kein 'reboot' nötig,
außer das Problem lag in der Verbindung zum Regler / Wechselrichter.
In diesem Fall muss der Docker neu gestartet werden.
Dieser Update war nicht für das Betriebssystem, InfuxDB und auch nicht für Grafana.
Cloning into 'PVForecast'...
'/tmp/git/PVForecast/PVForecast/__init__.py' -> '/pvforecast/PVForecast/__init__.py'
'/tmp/git/PVForecast/PVForecast/csvinput.py' -> '/pvforecast/PVForecast/csvinput.py'
'/tmp/git/PVForecast/PVForecast/dbrepository.py' -> '/pvforecast/PVForecast/dbrepository.py'
'/tmp/git/PVForecast/PVForecast/dwdforecast.py' -> '/pvforecast/PVForecast/dwdforecast.py'
'/tmp/git/PVForecast/PVForecast/forecast.py' -> '/pvforecast/PVForecast/forecast.py'
'/tmp/git/PVForecast/PVForecast/forecast_manager.py' -> '/pvforecast/PVForecast/forecast_manager.py'
'/tmp/git/PVForecast/PVForecast/influx.py' -> '/pvforecast/PVForecast/influx.py'
'/tmp/git/PVForecast/PVForecast/openweather.py' -> '/pvforecast/PVForecast/openweather.py'
'/tmp/git/PVForecast/PVForecast/pvmodel.py' -> '/pvforecast/PVForecast/pvmodel.py'
'/tmp/git/PVForecast/PVForecast/solcast.py' -> '/pvforecast/PVForecast/solcast.py'
'/tmp/git/PVForecast/PVForecast/visualcrossing.py' -> '/pvforecast/PVForecast/visualcrossing.py'
Setup Crontab...
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.20.2. Set the 'ServerName' directive globally to suppress this message
###############################################################################
# If u Like my Work, please Donate https://paypal.me/DeBaschdi Thank You ! :) #
###############################################################################
#########################################################################
# Image Version 0.1.4 #
# Running Solaranzeige Software Version 4.8.0c [32Bit] update August 2022 #
#########################################################################
08.09. 20:34:01 |---------------- Start huawei_LAN.php -----------------------------
08.09. 20:34:01 XX -Kein Kontakt zum Wechselrichter 192.168.20.215 Port: 502
08.09. 20:34:01 |---------------- Stop huawei_LAN.php ---------------------------

DeBaschdi
Beiträge: 299
Registriert: Mo 10. Aug 2020, 08:13
Hat sich bedankt: 15 Mal
Danksagung erhalten: 55 Mal

Re: Neue Installation, Verzeichnisse leer

Beitrag von DeBaschdi »

Fehlende Dashboards kannst du leicht importieren, hier im Forum findest du das passende.

Antworten

Zurück zu „Docker Container“