Also
Code: Alles auswählen
sudo apt update
sudo apt install net-tools
VG
Det
Code: Alles auswählen
sudo apt update
sudo apt install net-tools
habe ich jetzt gemacht. ifconfig läuft auch. reboot>derNeueDet hat geschrieben: ↑Do Okt 10, 2024 10:18 am ifconfig kann man nachinstallieren. Ist glaube in den net-tools.
Alsobesser wäre es aber, wenn openWB auf ip umstellen würde. ifconfig ist deprecated.Code: Alles auswählen
sudo apt update sudo apt install net-tools
VG
Det
Ihr könnt gerne einen PR erstellen.derNeueDet hat geschrieben: ↑Do Okt 10, 2024 10:18 am ifconfig kann man nachinstallieren. Ist glaube in den net-tools.
Alsobesser wäre es aber, wenn openWB auf ip umstellen würde. ifconfig ist deprecated.Code: Alles auswählen
sudo apt update sudo apt install net-tools
VG
Det
Ich muss mich hier korrigieren:LutzB hat geschrieben: ↑Do Okt 10, 2024 9:26 am Was hast Du für ein Basissystem installiert?Davon abgesehen ist mit einem der letzten PRs zu OCPP anscheinend ein Bug reingekommen, der den Start des Dienstes verhindert. Wir arbeiten an einer Lösung.Code: Alles auswählen
sudo: ifconfig: command not found
Code: Alles auswählen
openwb@openwb:~$ sudo ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.55 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 2003:c4:6703:9200:5405:5ff:fe80:e633 prefixlen 64 scopeid 0x0<global>
inet6 fe80::5405:5ff:fe80:e633 prefixlen 64 scopeid 0x20<link>
ether 56:05:05:80:e6:33 txqueuelen 1000 (Ethernet)
RX packets 48952 bytes 3746715 (3.5 MiB)
RX errors 0 dropped 3465 overruns 0 frame 0
TX packets 31744 bytes 2854887 (2.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.193.250 netmask 255.255.255.0 broadcast 192.168.193.255
ether 56:05:05:80:e6:33 txqueuelen 1000 (Ethernet)
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 7904 bytes 965909 (943.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7904 bytes 965909 (943.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Alles auswählen
openwb@openwb:~$ sudo ping openwb.de
PING openwb.de (78.46.220.241) 56(84) bytes of data.
64 bytes from dedi6814.your-server.de (78.46.220.241): icmp_seq=1 ttl=58 time=15.3 ms
64 bytes from dedi6814.your-server.de (78.46.220.241): icmp_seq=2 ttl=58 time=15.2 ms
64 bytes from dedi6814.your-server.de (78.46.220.241): icmp_seq=3 ttl=58 time=15.4 ms
64 bytes from dedi6814.your-server.de (78.46.220.241): icmp_seq=4 ttl=58 time=15.3 ms
--- openwb.de ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 15.221/15.323/15.427/0.072 ms
openwb@openwb:~$
Code: Alles auswählen
grep: /etc/rc.local.bak: No such file or directory
rc.local bug not found
no factory reset pending, normal startup
atreboot.sh started
checking init in /boot/config.txt...
watchdog for atreboot.sh on pid 144 started, waiting for 900s
already up to date
checking ramdisk settings in /etc/fstab...
already up to date
Group membership...
required group 'gpio' missing on this system!
Final group membership: openwb : openwb dialout sudo input
Network...
Wait for connection...
my primary IP: 192.168.0.55
my primary interface: eth0
running as primary, enabling plug'n'play network
ERROR: no internet connection!
#### network setup failed!
#### unable to update dependencies and version information
#### continue anyway...
apt configuration already up to date
no internet connection, skipping package installation
openwb.cron already up to date
openwb2.service definition is already a symlink
openwbRemoteSupport.service already up to date
no restore pending, normal startup
cleaning obsolete python cache folders...
/var/www/html/openWB/packages/modules/devices/kostal_steca: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/sma_webbox: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/sma_shm: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/sonnenbatterie: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/openwb_bat_kit: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/siemens_sentron: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/json: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/http: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/huawei_smartlogger: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/kostal_piko_old: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/openwb_flex: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/kostal_sem: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/mqtt: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/kostal_piko: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/azzurro_sofar: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/sma_sunny_island: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/kostal_plenticore: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/openwb_pv_kit: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/sma_sunny_boy: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/virtual: containing only cache without sources -> will be removed
/var/www/html/openWB/packages/modules/devices/openwb_evu_kit: containing only cache without sources -> will be removed
python cache cleanup done
'tvservice' not found, assuming a display is present
displayDetected: true
display setup...
autologin configured
mouse cursor configured
lxde session autostart already configured
checking required apache modules...
module 'headers' already enabled
module 'ssl' already enabled
module 'proxy_wstunnel' already enabled
apache default site...
/etc/apache2/sites-available/000-default.conf is up to date
apache default ssl site...
/etc/apache2/sites-available/apache-openwb-ssl.conf is up to date
apache http api ssl site...
/etc/apache2/sites-available/http-api-ssl.conf is up to date
site 'default-ssl' already disabled
site 'apache-openwb-ssl' already enabled
http api is disabled
site 'http-api-ssl' already disabled
apache configuration is already up to date
check mosquitto installation...
mosquitto.conf already up to date
mosquitto openwb.conf already up to date
mosquitto acl already up to date
mosquitto_local service definition already up to date
mosquitto_local.conf already up to date
updating mosquitto openwb_local.conf
restarting mosquitto_local service...process 'mosquitto_local.conf' still running after 0s, waiting...
done
mosquitto done
no internet connection, skipping python package installation
no internet connection, skipping version update
chgrp: cannot access '/var/www/html/openWB/data/restore/*': No such file or directory
chgrp: cannot access '/var/www/html/openWB/data/data_migration/*': No such file or directory
chmod: cannot access '/var/www/html/openWB/data/restore/*': No such file or directory
chmod: cannot access '/var/www/html/openWB/data/data_migration/*': No such file or directory
2024-10-10 14:24:35: boot done :-)
2024-10-10 14:24:35,380 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:16} - {INFO:MainThread} - failed to import RPi.GPIO! maybe we are not running on a pi
2024-10-10 14:24:35,381 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:17} - {WARNING:MainThread} - RSE disabled!
2024-10-10 14:24:35,388 - {helpermodules.logger:92} - {ERROR:MainThread} - Uncaught exception
Traceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 19, in <module>
from control.chargelog.chargelog import calculate_charge_cost
File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 8, in <module>
from control import data
File "/var/www/html/openWB/packages/control/data.py", line 20, in <module>
from helpermodules.subdata import SubData
File "/var/www/html/openWB/packages/helpermodules/subdata.py", line 12, in <module>
from control import bat_all, bat, counter, counter_all, ev, general, optional, pv, pv_all
File "/var/www/html/openWB/packages/control/optional.py", line 9, in <module>
from control.ocpp import OcppMixin
File "/var/www/html/openWB/packages/control/ocpp.py", line 4, in <module>
from ocpp.v16 import call, ChargePoint as OcppChargepoint
ModuleNotFoundError: No module named 'ocpp'
Code: Alles auswählen
ping -c1 "www.openwb.de" &>/dev/null
echo $?