Re: Image Version 0.0.9
Verfasst: Do 8. Apr 2021, 17:17
Also,
Container gelöscht, Image gelöscht. Danach auf der Konsole per folgenden Befehl abgesetzt.
Auszug Docker PS
Auszug aktuelle Log
Wenn ich versuche die setup zu starten per Docker exec
Wenn ich mich auf den Container per /bin/bash verbinde
Starte ich aus dem Container heraus git clone
Wenn ich aber ein Ping starte, dann kommt auch eine Antwort zurück (zwar seltsame ms aber egal)
Container gelöscht, Image gelöscht. Danach auf der Konsole per folgenden Befehl abgesetzt.
Code: Alles auswählen
sudo docker run -d -e USER_ID="99" -e GROUP_ID="100" -e TIMEZONE="Europe/Berlin" -e UPDATE="no" -e MOSQUITTO="yes" -e INFLUXDB="yes" -p 4000:3000 -p 4883:1883 -p 4080:80 -v /solaranzeige/solaranzeige/:/solaranzeige/ -v /solaranzeige/influxdb/:/var/lib/influxdb -v /solaranzeige/grafana/:/var/lib/grafana -v /solaranzeige/forecast/:/pvforecast -v /solaranzeige/www/:/var/www --name=Solaranzeige --restart unless-stopped --tmpfs /tmp --tmpfs /var/log takealug/solaranzeige
Code: Alles auswählen
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3be835606ea4 takealug/solaranzeige:arm32v7 "/usr/local/sbin/ent…" 51 seconds ago Up 45 seconds 0.0.0.0:4080->80/tcp, 0.0.0.0:4883->1883/tcp, 0.0.0.0:4000->3000/tcp Solaranzeige
Code: Alles auswählen
sudo docker logs Solaranzeige
Current default time zone: 'Europe/Berlin'
Local time is now: Thu Jan 1 01:00:00 CET 1970.
Universal Time is now: Thu Jan 1 00:00:00 UTC 1970.
users:x:100:
##################################
# Initial Setup for Solaranzeige #
##################################
create necessary files/directories...
downloading Main Program...
Cloning into 'solar_config'...
fatal: unable to access 'https://github.com/DeBaschdi/solar_config.git/': Connection time-out
cp: cannot stat '/tmp/git/solar_config/html': No such file or directory
cp: cannot stat '/tmp/git/solar_config/solaranzeige': No such file or directory
cp: cannot stat '/tmp/git/solar_config/influxdb': No such file or directory
cp: cannot stat '/tmp/git/solar_config/grafana': No such file or directory
Update der Solaranzeige wird gestartet .....
Ohhhh jeeee: ... this is a bug (../../random/random-csprng.c:1276:do_fast_random_poll)
Aborted (core dumped)
Update der Steuerung wird gestartet .....
Ohhhh jeeee: ... this is a bug (../../random/random-csprng.c:1276:do_fast_random_poll)
Aborted (core dumped)
Installing PVForecast...
Cloning into 'PVForecast'...
fatal: unable to access 'https://github.com/StefaE/PVForecast.git/': Connection time-out
cp: cannot stat '/tmp/git/PVForecast/PVForecast/': No such file or directory
cp: cannot stat '/tmp/git/PVForecast/*.py': No such file or directory
Installing Grafana Plugins...
installing fetzerch-sunandmoon-datasource @ 0.2.1
from: https://grafana.com/api/plugins/fetzerch-sunandmoon-datasource/versions/0.2.1/download
into: /var/lib/grafana/plugins
✔ Installed fetzerch-sunandmoon-datasource successfully
Restart grafana after installing plugins . <service grafana-server restart>
installing briangann-gauge-panel @ 0.0.8
from: https://grafana.com/api/plugins/briangann-gauge-panel/versions/0.0.8/download
into: /var/lib/grafana/plugins
✔ Installed briangann-gauge-panel successfully
Restart grafana after installing plugins . <service grafana-server restart>
##############################################################################################
# Initial Setup for Solaranzeige completed, please run /solaranzeige/setup for Configuration #
# example : docker exec -ti Solaranzeige /solaranzeige/setup #
##############################################################################################
Code: Alles auswählen
sudo docker exec -ti Solaranzeige /solaranzeige/setup
OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: no such file or directory: unknown
Code: Alles auswählen
root@a9b67813fd6c:/# /solaranzeige/setup
bash: /solaranzeige/setup: /bin/bash^M: bad interpreter: No such file or directory
Code: Alles auswählen
root@a9b67813fd6c:/# git clone -v -4 https://github.com/DeBaschdi/solar_config.git/
Cloning into 'solar_config'...
fatal: unable to access 'https://github.com/DeBaschdi/solar_config.git/': Connection time-out
Code: Alles auswählen
64 bytes from 140.82.121.3: icmp_seq=2591 ttl=55 time=-591491238931.432 ms
64 bytes from 140.82.121.3: icmp_seq=2588 ttl=55 time=-592491246549.392 ms
64 bytes from 140.82.121.3: icmp_seq=2592 ttl=55 time=-593491254167.352 ms
64 bytes from 140.82.121.3: icmp_seq=2594 ttl=55 time=-594491261785.312 ms
64 bytes from 140.82.121.3: icmp_seq=2596 ttl=55 time=-595491269403.272 ms
64 bytes from 140.82.121.3: icmp_seq=2597 ttl=55 time=-596491277021.232 ms
64 bytes from 140.82.121.3: icmp_seq=2598 ttl=55 time=-597491284639.192 ms
64 bytes from 140.82.121.3: icmp_seq=2599 ttl=55 time=-598491292257.152 ms
^C--- github.com ping statistics ---