Backup wiederherstellen funktioniert nicht

Fragen zur Nutzung, Features, usw..
Antworten
.n3
Beiträge: 124
Registriert: Mo Aug 09, 2021 12:04 pm
Has thanked: 1 time

Backup wiederherstellen funktioniert nicht

Beitrag von .n3 »

Hey Zusammen,

ich habe heute openwb anhand der Anleitung hier installiert:
https://github.com/openWB/core

Ich habe über den Raspberry Pi Imager das Raspberry Pi OS (Legacy, 64bit) Lite (Bullseye) auf eine SD Karte installiert und anschließend

Code: Alles auswählen

curl -s https://raw.githubusercontent.com/openWB/core/master/openwb-install.sh | sudo bash
ausgeführt.

Anschließend habe ich noch den Releasezweig auf Release gestellt. Ich versuche nun ein vorher angefertigtes Backup wieder einzuspielen, aber es geht nicht. Auch bevor ich den Releasezweig geändert habe, ging es nicht. Ich verstehe es nicht so ganz...

Jemand eine Idee?

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 443 started, waiting for 900s
already up to date
Group membership...
Final group membership: openwb : openwb dialout sudo input gpio
Network...
Wait for connection...RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.
my primary IP: 192.168.112.250
my primary interface: eth0
running as primary, enabling plug'n'play network
apt configuration already up to date
install required packages with 'apt-get'...
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
accountsservice is already the newest version (0.6.55-3).
apache2 is already the newest version (2.4.59-1~deb11u1).
bc is already the newest version (1.07.1-2+b2).
chromium is already the newest version (120.0.6099.224-1~deb11u1).
chromium-l10n is already the newest version (120.0.6099.224-1~deb11u1).
git is already the newest version (1:2.30.2-1+deb11u2).
jq is already the newest version (1.6-2.1).
lightdm-autologin-greeter is already the newest version (1.0-3).
openbox-lxde-session is already the newest version (0.99.2-4).
mmc-utils is already the newest version (0+git20180327.b4fe0c8c-1).
mosquitto is already the newest version (2.0.11-1+deb11u1).
mosquitto-clients is already the newest version (2.0.11-1+deb11u1).
libapache2-mod-php is already the newest version (2:7.4+76).
php is already the newest version (2:7.4+76).
php-curl is already the newest version (2:7.4+76).
php-gd is already the newest version (2:7.4+76).
php-json is already the newest version (2:7.4+76).
php-xml is already the newest version (2:7.4+76).
socat is already the newest version (1.7.4.1-3).
sshpass is already the newest version (1.09-1).
ssl-cert is already the newest version (1.1.0+nmu1).
sudo is already the newest version (1.9.5p2-3+deb11u1).
vim is already the newest version (2:8.2.2434-3+deb11u1).
x11-xserver-utils is already the newest version (7.7+8).
xserver-xorg is already the newest version (1:7.7+22).
lightdm is already the newest version (1.26.0-7+rpt1).
python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
done
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...
python cache cleanup done
display setup...
autologin configured
mouse cursor configured
lxde session autostart already configured
apache default site...
...ok
checking required apache modules...
headers (enabled by site administrator)
headers already enabled
ssl (enabled by site administrator)
ssl already enabled
proxy_wstunnel (enabled by site administrator)
proxy_wstunnel already enabled
check mosquitto installation...
mosquitto.conf already up to date
mosquitto openwb.conf already up to date
mosquitto acl already up to date
mosquitto_local.conf already up to date
mosquitto openwb_local.conf already up to date
mosquitto done
install required python packages with 'pip3'...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: typing-extensions==4.4.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: jq==1.1.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 2)) (1.1.3)
Requirement already satisfied: paho_mqtt==1.6.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 3)) (1.6.1)
Requirement already satisfied: pymodbus==2.5.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 4)) (2.5.2)
Requirement already satisfied: pytest==6.2.5 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 5)) (6.2.5)
Requirement already satisfied: requests_mock==1.9.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 6)) (1.9.3)
Requirement already satisfied: lxml==4.9.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 7)) (4.9.1)
Requirement already satisfied: aiohttp==3.9.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 8)) (3.9.2)
Requirement already satisfied: schedule==1.1.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 9)) (1.1.0)
Requirement already satisfied: PyJWT==2.6.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 10)) (2.6.0)
Requirement already satisfied: ipparser==0.3.8 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 11)) (0.3.8)
Requirement already satisfied: bs4==0.0.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 12)) (0.0.1)
Requirement already satisfied: pkce==1.0.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 13)) (1.0.3)
Requirement already satisfied: evdev==1.5.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 15)) (1.5.0)
Requirement already satisfied: cryptography==42.0.4 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 17)) (42.0.4)
Requirement already satisfied: msal==1.27.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 18)) (1.27.0)
Requirement already satisfied: python-dateutil==2.8.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 19)) (2.8.2)
Requirement already satisfied: umodbus==1.0.4 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 20)) (1.0.4)
Requirement already satisfied: pysmb==1.2.9.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 21)) (1.2.9.1)
Requirement already satisfied: pytz==2023.3.post1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 22)) (2023.3.post1)
Requirement already satisfied: grpcio==1.60.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 23)) (1.60.1)
Requirement already satisfied: protobuf==4.25.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 24)) (4.25.3)
Requirement already satisfied: frozenlist>=1.1.1 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (1.4.1)
Requirement already satisfied: aiosignal>=1.1.2 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (23.2.0)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (4.0.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (1.9.4)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (6.0.5)
Requirement already satisfied: beautifulsoup4 in /home/openwb/.local/lib/python3.9/site-packages (from bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 12)) (4.12.3)
Requirement already satisfied: cffi>=1.12 in /home/openwb/.local/lib/python3.9/site-packages (from cryptography==42.0.4->-r /var/www/html/openWB/requirements.txt (line 17)) (1.16.0)
Requirement already satisfied: dnspython in /home/openwb/.local/lib/python3.9/site-packages (from ipparser==0.3.8->-r /var/www/html/openWB/requirements.txt (line 11)) (2.6.1)
Requirement already satisfied: requests<3,>=2.0.0 in /usr/lib/python3/dist-packages (from msal==1.27.0->-r /var/www/html/openWB/requirements.txt (line 18)) (2.25.1)
Requirement already satisfied: pyserial>=3.4 in /home/openwb/.local/lib/python3.9/site-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 4)) (3.5)
Requirement already satisfied: six>=1.15.0 in /usr/lib/python3/dist-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 4)) (1.16.0)
Requirement already satisfied: pyasn1 in /home/openwb/.local/lib/python3.9/site-packages (from pysmb==1.2.9.1->-r /var/www/html/openWB/requirements.txt (line 21)) (0.6.0)
Requirement already satisfied: tqdm in /home/openwb/.local/lib/python3.9/site-packages (from pysmb==1.2.9.1->-r /var/www/html/openWB/requirements.txt (line 21)) (4.66.4)
Requirement already satisfied: py>=1.8.2 in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 5)) (1.11.0)
Requirement already satisfied: pluggy<2.0,>=0.12 in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 5)) (1.5.0)
Requirement already satisfied: iniconfig in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 5)) (2.0.0)
Requirement already satisfied: toml in /usr/lib/python3/dist-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 5)) (0.10.1)
Requirement already satisfied: packaging in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 5)) (24.1)
Requirement already satisfied: pycparser in /home/openwb/.local/lib/python3.9/site-packages (from cffi>=1.12->cryptography==42.0.4->-r /var/www/html/openWB/requirements.txt (line 17)) (2.22)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp==3.9.2->-r /var/www/html/openWB/requirements.txt (line 8)) (2.10)
Requirement already satisfied: soupsieve>1.2 in /home/openwb/.local/lib/python3.9/site-packages (from beautifulsoup4->bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 12)) (2.5)
done
load versions...
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-07-01 22:32:48: boot done :-)
2024-07-01 22:32:49,501 - {root:179} - {DEBUG:MainThread} - Start openWB2.service
2024-07-01 22:32:49,502 - {helpermodules.update_config:505} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2024-07-01 22:32:50,616 - {helpermodules.update_config:592} - {DEBUG:MainThread} - current datastore version: 48
2024-07-01 22:32:50,617 - {helpermodules.update_config:593} - {DEBUG:MainThread} - target datastore version: 44
2024-07-01 22:32:50,819 - {helpermodules.update_config:549} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2024-07-01 22:32:50,820 - {helpermodules.update_config:549} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_415c4aa8/messages/1719865911827
...
2024-07-01 22:32:50,911 - {helpermodules.update_config:549} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/optional/int_display/theme
2024-07-01 22:32:51,047 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Samba', 'type': 'samba', 'configuration': <modules.backup_clouds.samba.config.SambaBackupCloudConfiguration object at 0x7f8163f760>}
2024-07-01 22:32:51,047 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'smb_path': None, 'smb_server': None, 'smb_share': None, 'smb_user': None, 'smb_password': None}
2024-07-01 22:32:51,053 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'NextCloud', 'type': 'nextcloud', 'configuration': <modules.backup_clouds.nextcloud.config.NextcloudBackupCloudConfiguration object at 0x7f8163f370>}
2024-07-01 22:32:51,053 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': None, 'user': None, 'password': None}
2024-07-01 22:32:51,057 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Nfs', 'type': 'nfs', 'configuration': <modules.backup_clouds.nfs.config.NfsBackupCloudConfiguration object at 0x7f8163f730>}
2024-07-01 22:32:51,057 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'nfs_share': None}
2024-07-01 22:32:51,063 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'OneDrive', 'type': 'onedrive', 'configuration': <modules.backup_clouds.onedrive.config.OneDriveBackupCloudConfiguration object at 0x7f80dbf430>}
2024-07-01 22:32:51,064 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'backuppath': '/openWB/Backup/', 'persistent_tokencache': None, 'authurl': None, 'authcode': None, 'scope': ['https://graph.microsoft.com/Files.ReadWrite'], 'authority': 'https://login.microsoftonline.com/consumers/', 'clientID': 'e529d8d2-3b0f-4ae4-b2ba-2d9a2bba55b2', 'flow': None}
2024-07-01 22:32:51,068 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Colors', 'type': 'colors', 'configuration': <modules.web_themes.colors.config.ColorsWebThemeConfiguration object at 0x7f8163fb50>}
2024-07-01 22:32:51,068 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-01 22:32:51,072 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Standard', 'type': 'standard_legacy', 'official': True, 'configuration': <modules.web_themes.standard_legacy.config.StandardLegacyWebThemeConfiguration object at 0x7f80c4b8b0>}
2024-07-01 22:32:51,072 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-01 22:32:51,075 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Cards', 'type': 'cards', 'official': True, 'configuration': <modules.display_themes.cards.config.CardsDisplayThemeConfiguration object at 0x7f80c4b1f0>}
2024-07-01 22:32:51,076 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'lock_changes': False, 'lock_changes_code': None, 'enable_dashboard_view': True, 'enable_dashboard_card_grid': True, 'enable_dashboard_card_home_consumption': True, 'enable_dashboard_card_battery_sum': True, 'enable_dashboard_card_inverter_sum': True, 'enable_dashboard_card_charge_point_sum': True, 'enable_charge_points_view': True, 'enable_status_view': True}
2024-07-01 22:32:51,095 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Voltego', 'type': 'voltego', 'configuration': <modules.electricity_tariffs.voltego.config.VoltegoTariffConfiguration object at 0x7f80c4be80>}
2024-07-01 22:32:51,096 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'client_id': None, 'client_secret': None, 'token': <modules.electricity_tariffs.voltego.config.VoltegoToken object at 0x7f80c4bf10>}
2024-07-01 22:32:51,096 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'access_token': None, 'expires_in': None, 'created_at': None}
2024-07-01 22:32:51,100 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'aWATTar Hourly', 'type': 'awattar', 'configuration': <modules.electricity_tariffs.awattar.config.AwattarTariffConfiguration object at 0x7f80c0b280>}
2024-07-01 22:32:51,101 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'country': 'de'}
2024-07-01 22:32:51,104 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Tibber', 'type': 'tibber', 'configuration': <modules.electricity_tariffs.tibber.config.TibberTariffConfiguration object at 0x7f80c4be20>}
2024-07-01 22:32:51,105 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'token': None, 'home_id': None}
2024-07-01 22:32:51,501 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SmartEQ', 'type': 'smarteq', 'configuration': <modules.vehicles.smarteq.config.SmartEQConfiguration object at 0x7f80c0b1c0>}
2024-07-01 22:32:51,502 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'vin': None}
2024-07-01 22:32:51,504 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'MQTT', 'type': 'mqtt', 'configuration': <modules.vehicles.mqtt.config.MqttSocConfiguration object at 0x7f80c0b8b0>}
2024-07-01 22:32:51,504 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-01 22:32:51,510 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'BMW', 'type': 'bmw', 'configuration': <modules.vehicles.bmw.config.BMWConfiguration object at 0x7f80c0b1c0>}
2024-07-01 22:32:51,510 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'vin': None}
2024-07-01 22:32:51,750 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Tronity', 'type': 'tronity', 'configuration': <modules.vehicles.tronity.config.TronityVehicleSocConfiguration object at 0x7f80c0baf0>}
2024-07-01 22:32:51,750 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'vehicle_id': None, 'client_id': None, 'client_secret': None, 'access_token': None, 'calculate_soc': False}
2024-07-01 22:32:51,757 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'KIA / Hyundai (experimental)', 'type': 'kia', 'configuration': <modules.vehicles.kia.config.KIAConfiguration object at 0x7f80a717f0>}
2024-07-01 22:32:51,757 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'pin': None, 'vin': None}
2024-07-01 22:32:51,761 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'EVNotify', 'type': 'evnotify', 'configuration': <modules.vehicles.evnotify.config.EVNotifyConfiguration object at 0x7f80c0b8b0>}
2024-07-01 22:32:51,762 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'id': 0, 'akey': None, 'token': None}
2024-07-01 22:32:51,768 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Polestar2', 'type': 'polestar', 'configuration': <modules.vehicles.polestar.config.Polestar2Configuration object at 0x7f80b96dc0>}
2024-07-01 22:32:51,769 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'vin': None}
2024-07-01 22:32:51,772 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'HTTP SOC Module', 'type': 'http', 'configuration': <modules.vehicles.http.config.HttpSocConfiguration object at 0x7f80c0baf0>}
2024-07-01 22:32:51,773 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'soc_url': None, 'range_url': None}
2024-07-01 22:32:52,021 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'EVCC', 'type': 'evcc', 'configuration': <modules.vehicles.evcc.config.EVCCVehicleSocConfiguration object at 0x7f80c0b190>}
2024-07-01 22:32:52,022 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'vehicle_id': None, 'calculate_soc': False, 'user_id': None, 'password': None, 'sponsor_token': None, 'vehicle_type': None, 'VIN': ''}
2024-07-01 22:32:52,027 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'PSA', 'type': 'psa', 'configuration': <modules.vehicles.psa.config.PSAConfiguration object at 0x7f80c0baf0>}
2024-07-01 22:32:52,027 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'client_id': None, 'client_secret': None, 'manufacturer': None, 'calculate_soc': False, 'vin': None}
2024-07-01 22:32:52,029 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Manueller SoC', 'type': 'manual', 'configuration': <modules.vehicles.manual.config.ManualSocConfiguration object at 0x7f80c0b190>}
2024-07-01 22:32:52,030 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-01 22:32:52,034 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Tesla', 'type': 'tesla', 'configuration': <modules.vehicles.tesla.config.TeslaSocConfiguration object at 0x7f7adbb730>}
2024-07-01 22:32:52,035 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'tesla_ev_num': 0, 'token': <modules.vehicles.tesla.config.TeslaSocToken object at 0x7f7adbb790>}
2024-07-01 22:32:52,035 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'refresh_token': None, 'access_token': None, 'expires_in': 0, 'created_at': 0}
2024-07-01 22:32:52,338 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'VWId', 'type': 'vwid', 'configuration': <modules.vehicles.vwid.config.VWIdConfiguration object at 0x7f80a717f0>}
2024-07-01 22:32:52,338 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'vin': None, 'refreshToken': None}
2024-07-01 22:32:52,344 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Renault', 'type': 'renault', 'configuration': <modules.vehicles.renault.config.RenaultConfiguration object at 0x7f7adbbd60>}
2024-07-01 22:32:52,344 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'user_id': None, 'password': None, 'country': None, 'vin': None}
2024-07-01 22:32:53,020 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'openWB Dimm- & Control-Kit', 'type': 'dimm_kit', 'configuration': <modules.ripple_control_receivers.dimm_kit.config.IoLanRcrConfiguration object at 0x7f7a955760>}
2024-07-01 22:32:53,020 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': None, 'port': 8899, 'modbus_id': 1}
2024-07-01 22:32:53,021 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'GPIOs auf der AddOn-Platine', 'type': 'gpio', 'configuration': <modules.ripple_control_receivers.gpio.config.GpioRcrConfiguration object at 0x7f7a502370>}
2024-07-01 22:32:53,021 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-01 22:32:53,025 - {modules.internal_chargepoint_handler.rfid:99} - {DEBUG:MainThread} - **** /dev/input/event2 vc4-hdmi-1 vc4-hdmi-1/input0 ****
2024-07-01 22:32:53,026 - {modules.internal_chargepoint_handler.rfid:100} - {DEBUG:MainThread} - {('EV_SYN', 0): [('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('SYN_MT_REPORT', 2), ('?', 4), ('?', 20)], ('EV_KEY', 1): [('KEY_ENTER', 28), ('KEY_DOT', 52), ('KEY_F5', 63), ('KEY_UP', 103), ('KEY_PAGEUP', 104), ('KEY_LEFT', 105), ('KEY_RIGHT', 106), ('KEY_DOWN', 108), ('KEY_PAGEDOWN', 109), (['KEY_MIN_INTERESTING', 'KEY_MUTE'], 113), ('KEY_VOLUMEDOWN', 114), ('KEY_VOLUMEUP', 115), ('KEY_POWER', 116), ('KEY_HELP', 138), ('KEY_MENU', 139), ('KEY_SETUP', 141), ('KEY_SLEEP', 142), ('KEY_WAKEUP', 143), ('KEY_WWW', 150), ('KEY_BACK', 158), ('KEY_FORWARD', 159), ('KEY_EJECTCD', 161), ('KEY_PLAYPAUSE', 164), ('KEY_STOPCD', 166), ('KEY_RECORD', 167), ('KEY_REWIND', 168), ('KEY_CONFIG', 171), ('KEY_EXIT', 174), ('KEY_PLAYCD', 200), ('KEY_PAUSECD', 201), ('KEY_FASTFORWARD', 208), ('KEY_SOUND', 213), ('KEY_OK', 352), ('KEY_CLEAR', 355), ('KEY_INFO', 358), ('KEY_TIME', 359), ('KEY_FAVORITES', 364), ('KEY_EPG', 365), ('KEY_ANGLE', 371), ('KEY_TV2', 378), ('KEY_VIDEO', 393), ('KEY_RED', 398), ('KEY_GREEN', 399), ('KEY_YELLOW', 400), ('KEY_BLUE', 401), ('KEY_CHANNELUP', 402), ('KEY_CHANNELDOWN', 403), ('KEY_SLOW', 409), ('KEY_PREVIOUS', 412), ('KEY_DIGITS', 413), ('KEY_CONTEXT_MENU', 438), ('KEY_NUMERIC_0', 512), ('KEY_NUMERIC_1', 513), ('KEY_NUMERIC_2', 514), ('KEY_NUMERIC_3', 515), ('KEY_NUMERIC_4', 516), ('KEY_NUMERIC_5', 517), ('KEY_NUMERIC_6', 518), ('KEY_NUMERIC_7', 519), ('KEY_NUMERIC_8', 520), ('KEY_NUMERIC_9', 521), ('KEY_RIGHT_UP', 614), ('KEY_RIGHT_DOWN', 615), ('KEY_LEFT_UP', 616), ('KEY_LEFT_DOWN', 617), ('KEY_ROOT_MENU', 618), ('KEY_MEDIA_TOP_MENU', 619), ('KEY_NUMERIC_11', 620), ('KEY_NUMERIC_12', 621), ('KEY_AUDIO_DESC', 622), ('KEY_3D_MODE', 623), ('KEY_NEXT_FAVORITE', 624), ('KEY_STOP_RECORD', 625), ('KEY_PAUSE_RECORD', 626), ('KEY_VOD', 627), ('KEY_UNMUTE', 628), ('KEY_FASTREVERSE', 629), ('KEY_SLOWREVERSE', 630), ('KEY_DATA', 631)], ('EV_REL', 2): [('REL_X', 0), ('REL_Y', 1)], ('EV_MSC', 4): [('MSC_SCAN', 4)]}
2024-07-01 22:32:53,026 - {modules.internal_chargepoint_handler.rfid:103} - {DEBUG:MainThread} - device emits keyboard events
2024-07-01 22:32:53,026 - {modules.internal_chargepoint_handler.rfid:105} - {DEBUG:MainThread} - detected 'enter' key, device seems to be a keyboard
2024-07-01 22:32:53,027 - {modules.internal_chargepoint_handler.rfid:99} - {DEBUG:MainThread} - **** /dev/input/event1 vc4-hdmi-0 vc4-hdmi-0/input0 ****
2024-07-01 22:32:53,027 - {modules.internal_chargepoint_handler.rfid:100} - {DEBUG:MainThread} - {('EV_SYN', 0): [('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('SYN_MT_REPORT', 2), ('?', 4), ('?', 20)], ('EV_KEY', 1): [('KEY_ENTER', 28), ('KEY_DOT', 52), ('KEY_F5', 63), ('KEY_UP', 103), ('KEY_PAGEUP', 104), ('KEY_LEFT', 105), ('KEY_RIGHT', 106), ('KEY_DOWN', 108), ('KEY_PAGEDOWN', 109), (['KEY_MIN_INTERESTING', 'KEY_MUTE'], 113), ('KEY_VOLUMEDOWN', 114), ('KEY_VOLUMEUP', 115), ('KEY_POWER', 116), ('KEY_HELP', 138), ('KEY_MENU', 139), ('KEY_SETUP', 141), ('KEY_SLEEP', 142), ('KEY_WAKEUP', 143), ('KEY_WWW', 150), ('KEY_BACK', 158), ('KEY_FORWARD', 159), ('KEY_EJECTCD', 161), ('KEY_PLAYPAUSE', 164), ('KEY_STOPCD', 166), ('KEY_RECORD', 167), ('KEY_REWIND', 168), ('KEY_CONFIG', 171), ('KEY_EXIT', 174), ('KEY_PLAYCD', 200), ('KEY_PAUSECD', 201), ('KEY_FASTFORWARD', 208), ('KEY_SOUND', 213), ('KEY_OK', 352), ('KEY_CLEAR', 355), ('KEY_INFO', 358), ('KEY_TIME', 359), ('KEY_FAVORITES', 364), ('KEY_EPG', 365), ('KEY_ANGLE', 371), ('KEY_TV2', 378), ('KEY_VIDEO', 393), ('KEY_RED', 398), ('KEY_GREEN', 399), ('KEY_YELLOW', 400), ('KEY_BLUE', 401), ('KEY_CHANNELUP', 402), ('KEY_CHANNELDOWN', 403), ('KEY_SLOW', 409), ('KEY_PREVIOUS', 412), ('KEY_DIGITS', 413), ('KEY_CONTEXT_MENU', 438), ('KEY_NUMERIC_0', 512), ('KEY_NUMERIC_1', 513), ('KEY_NUMERIC_2', 514), ('KEY_NUMERIC_3', 515), ('KEY_NUMERIC_4', 516), ('KEY_NUMERIC_5', 517), ('KEY_NUMERIC_6', 518), ('KEY_NUMERIC_7', 519), ('KEY_NUMERIC_8', 520), ('KEY_NUMERIC_9', 521), ('KEY_RIGHT_UP', 614), ('KEY_RIGHT_DOWN', 615), ('KEY_LEFT_UP', 616), ('KEY_LEFT_DOWN', 617), ('KEY_ROOT_MENU', 618), ('KEY_MEDIA_TOP_MENU', 619), ('KEY_NUMERIC_11', 620), ('KEY_NUMERIC_12', 621), ('KEY_AUDIO_DESC', 622), ('KEY_3D_MODE', 623), ('KEY_NEXT_FAVORITE', 624), ('KEY_STOP_RECORD', 625), ('KEY_PAUSE_RECORD', 626), ('KEY_VOD', 627), ('KEY_UNMUTE', 628), ('KEY_FASTREVERSE', 629), ('KEY_SLOWREVERSE', 630), ('KEY_DATA', 631)], ('EV_REL', 2): [('REL_X', 0), ('REL_Y', 1)], ('EV_MSC', 4): [('MSC_SCAN', 4)]}
2024-07-01 22:32:53,027 - {modules.internal_chargepoint_handler.rfid:103} - {DEBUG:MainThread} - device emits keyboard events
2024-07-01 22:32:53,027 - {modules.internal_chargepoint_handler.rfid:105} - {DEBUG:MainThread} - detected 'enter' key, device seems to be a keyboard
2024-07-01 22:32:53,028 - {modules.internal_chargepoint_handler.rfid:99} - {DEBUG:MainThread} - **** /dev/input/event0 HID 16c0:27db Keyboard usb-0000:01:00.0-1.1/input0 ****
2024-07-01 22:32:53,028 - {modules.internal_chargepoint_handler.rfid:100} - {DEBUG:MainThread} - {('EV_SYN', 0): [('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('?', 4), ('?', 20)], ('EV_KEY', 1): [('KEY_ESC', 1), ('KEY_1', 2), ('KEY_2', 3), ('KEY_3', 4), ('KEY_4', 5), ('KEY_5', 6), ('KEY_6', 7), ('KEY_7', 8), ('KEY_8', 9), ('KEY_9', 10), ('KEY_0', 11), ('KEY_MINUS', 12), ('KEY_EQUAL', 13), ('KEY_BACKSPACE', 14), ('KEY_TAB', 15), ('KEY_Q', 16), ('KEY_W', 17), ('KEY_E', 18), ('KEY_R', 19), ('KEY_T', 20), ('KEY_Y', 21), ('KEY_U', 22), ('KEY_I', 23), ('KEY_O', 24), ('KEY_P', 25), ('KEY_LEFTBRACE', 26), ('KEY_RIGHTBRACE', 27), ('KEY_ENTER', 28), ('KEY_LEFTCTRL', 29), ('KEY_A', 30), ('KEY_S', 31), ('KEY_D', 32), ('KEY_F', 33), ('KEY_G', 34), ('KEY_H', 35), ('KEY_J', 36), ('KEY_K', 37), ('KEY_L', 38), ('KEY_SEMICOLON', 39), ('KEY_APOSTROPHE', 40), ('KEY_GRAVE', 41), ('KEY_LEFTSHIFT', 42), ('KEY_BACKSLASH', 43), ('KEY_Z', 44), ('KEY_X', 45), ('KEY_C', 46), ('KEY_V', 47), ('KEY_B', 48), ('KEY_N', 49), ('KEY_M', 50), ('KEY_COMMA', 51), ('KEY_DOT', 52), ('KEY_SLASH', 53), ('KEY_RIGHTSHIFT', 54), ('KEY_KPASTERISK', 55), ('KEY_LEFTALT', 56), ('KEY_SPACE', 57), ('KEY_CAPSLOCK', 58), ('KEY_F1', 59), ('KEY_F2', 60), ('KEY_F3', 61), ('KEY_F4', 62), ('KEY_F5', 63), ('KEY_F6', 64), ('KEY_F7', 65), ('KEY_F8', 66), ('KEY_F9', 67), ('KEY_F10', 68), ('KEY_NUMLOCK', 69), ('KEY_SCROLLLOCK', 70), ('KEY_KP7', 71), ('KEY_KP8', 72), ('KEY_KP9', 73), ('KEY_KPMINUS', 74), ('KEY_KP4', 75), ('KEY_KP5', 76), ('KEY_KP6', 77), ('KEY_KPPLUS', 78), ('KEY_KP1', 79), ('KEY_KP2', 80), ('KEY_KP3', 81), ('KEY_KP0', 82), ('KEY_KPDOT', 83), ('KEY_102ND', 86), ('KEY_F11', 87), ('KEY_F12', 88), ('KEY_KPENTER', 96), ('KEY_RIGHTCTRL', 97), ('KEY_KPSLASH', 98), ('KEY_SYSRQ', 99), ('KEY_RIGHTALT', 100), ('KEY_HOME', 102), ('KEY_UP', 103), ('KEY_PAGEUP', 104), ('KEY_LEFT', 105), ('KEY_RIGHT', 106), ('KEY_END', 107), ('KEY_DOWN', 108), ('KEY_PAGEDOWN', 109), ('KEY_INSERT', 110), ('KEY_DELETE', 111), ('KEY_PAUSE', 119), ('KEY_LEFTMETA', 125), ('KEY_RIGHTMETA', 126), ('KEY_COMPOSE', 127)], ('EV_MSC', 4): [('MSC_SCAN', 4)]}
2024-07-01 22:32:53,028 - {modules.internal_chargepoint_handler.rfid:103} - {DEBUG:MainThread} - device emits keyboard events
2024-07-01 22:32:53,028 - {modules.internal_chargepoint_handler.rfid:105} - {DEBUG:MainThread} - detected 'enter' key, device seems to be a keyboard
2024-07-01 22:32:53,029 - {modules.internal_chargepoint_handler.rfid:111} - {INFO:MainThread} - detected keyboard devices:
2024-07-01 22:32:53,029 - {modules.internal_chargepoint_handler.rfid:113} - {INFO:MainThread} - /dev/input/event2 vc4-hdmi-1
2024-07-01 22:32:53,029 - {modules.internal_chargepoint_handler.rfid:113} - {INFO:MainThread} - /dev/input/event1 vc4-hdmi-0
2024-07-01 22:32:53,029 - {modules.internal_chargepoint_handler.rfid:113} - {INFO:MainThread} - /dev/input/event0 HID 16c0:27db Keyboard
2024-07-01 22:32:56,103 - {helpermodules.subdata:772} - {ERROR:Subdata} - received valid partner ids: []
2024-07-01 22:32:56,118 - {helpermodules.setdata:46} - {DEBUG:Setdata} - Subdata initialization completed. Starting setdata loop to broker.
2024-07-01 22:33:00,139 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-01 22:33:00,140 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-07-01 22:33:00,141 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-07-01 22:33:00,181 - {control.counter_all:87} - {ERROR:MainThread} - Ohne Konfiguration eines EVU-Zählers an der Spitze der Hierarchie ist keine Regelung und keine Ladung möglich.
2024-07-01 22:33:00,183 - {control.chargepoint.chargepoint_all:66} - {ERROR:MainThread} - Fehler in der allgemeinen Ladepunkt-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargepoint/chargepoint_all.py", line 64, in no_charge
    data.data.counter_all_data.get_evu_counter().reset_pv_data()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 75, in get_evu_counter
    return data.data.counter_data[f"counter{self.get_id_evu_counter()}"]
  File "/var/www/html/openWB/packages/control/counter_all.py", line 82, in get_id_evu_counter
    if ComponentType.COUNTER.value == self.data.get.hierarchy[0]["type"]:
IndexError: list index out of range
2024-07-01 22:33:00,190 - {control.counter_all:87} - {ERROR:MainThread} - Ohne Konfiguration eines EVU-Zählers an der Spitze der Hierarchie ist keine Regelung und keine Ladung möglich.
2024-07-01 22:33:00,190 - {control.counter_all:132} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 100, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 136, in _calc_home_consumption
    elements_to_sum_up = self.get_elements_for_downstream_calculation(self.get_id_evu_counter())
  File "/var/www/html/openWB/packages/control/counter_all.py", line 82, in get_id_evu_counter
    if ComponentType.COUNTER.value == self.data.get.hierarchy[0]["type"]:
IndexError: list index out of range
2024-07-01 22:33:00,191 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=False))
2024-07-01 22:33:00,192 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=0, exported=0))
2024-07-01 22:33:00,192 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='neues Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-07-01 22:33:00,192 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0.0, imported_home_consumption=0, disengageable_smarthome_power=0))
2024-07-01 22:33:00,193 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-07-01 22:33:00,193 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-01 22:33:00,193 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=16, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-01 22:33:00,193 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='ev_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=1500), retry_failed_phase_switches=False, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-07-01 22:33:00,194 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-07-01 22:33:00,194 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-01 22:33:00,194 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x7f79cd41c0>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-01 22:33:00,194 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=False), get=Get(daily_exported=0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=0, yearly_exported=0, exported=0, power=0))
2024-07-01 22:33:00,194 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.112.250', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'datastore_version': 48, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'backup_before_update': True, 'module_update_completed': True}
2024-07-01 22:33:00,194 - {control.data:253} - {INFO:MainThread} - 

...

2024-07-01 22:35:50,304 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-01 22:35:50,304 - {control.counter_all:87} - {ERROR:MainThread} - Ohne Konfiguration eines EVU-Zählers an der Spitze der Hierarchie ist keine Regelung und keine Ladung möglich.
2024-07-01 22:35:50,304 - {control.algorithm.algorithm:47} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 26, in calc_current
    self.evu_counter = data.data.counter_all_data.get_evu_counter()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 75, in get_evu_counter
    return data.data.counter_data[f"counter{self.get_id_evu_counter()}"]
  File "/var/www/html/openWB/packages/control/counter_all.py", line 82, in get_id_evu_counter
    if ComponentType.COUNTER.value == self.data.get.hierarchy[0]["type"]:
IndexError: list index out of range
2024-07-01 22:35:50,305 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-01 22:35:50,305 - {control.counter_all:87} - {ERROR:MainThread} - Ohne Konfiguration eines EVU-Zählers an der Spitze der Hierarchie ist keine Regelung und keine Ladung möglich.
2024-07-01 22:35:50,305 - {control.process:75} - {ERROR:MainThread} - Fehler im Process-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/process.py", line 73, in process_algorithm_results
    data.data.counter_all_data.get_evu_counter().put_stats()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 75, in get_evu_counter
    return data.data.counter_data[f"counter{self.get_id_evu_counter()}"]
  File "/var/www/html/openWB/packages/control/counter_all.py", line 82, in get_id_evu_counter
    if ComponentType.COUNTER.value == self.data.get.hierarchy[0]["type"]:
IndexError: list index out of range
2024-07-01 22:35:50,305 - {control.counter_all:87} - {ERROR:MainThread} - Ohne Konfiguration eines EVU-Zählers an der Spitze der Hierarchie ist keine Regelung und keine Ladung möglich.
2024-07-01 22:35:50,305 - {helpermodules.graph:70} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 41, in pub_graph_data
    evu_counter = data.data.counter_all_data.get_evu_counter_str()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 78, in get_evu_counter_str
    return f"counter{self.get_id_evu_counter()}"
  File "/var/www/html/openWB/packages/control/counter_all.py", line 82, in get_id_evu_counter
    if ComponentType.COUNTER.value == self.data.get.hierarchy[0]["type"]:
IndexError: list index out of range
Benutzeravatar
humschti
Beiträge: 644
Registriert: Mo Nov 25, 2019 8:25 am
Wohnort: Nürensdorf (Schweiz)
Has thanked: 2 times
Been thanked: 4 times

Re: Backup wiederherstellen funktioniert nicht

Beitrag von humschti »

Hast du vorher alles konfiguriert (Zähler, Wechselrichter, Fahrzeuge etc)? Das muss alles vor dem Einspielen des Backups gemacht werden.
openWB Series 2 Duo mit EVU, 1/3 Umschaltung und abgesetztem Display, 16 kWp mit Solaredge, Ansteuerung Haushaltsgeräte mit Shelly
Tesla Model S und Cupra Born (SoC via EVCC)
LenaK
Beiträge: 1305
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 16 times

Re: Backup wiederherstellen funktioniert nicht

Beitrag von LenaK »

humschti hat geschrieben: Di Jul 02, 2024 5:29 am Hast du vorher alles konfiguriert (Zähler, Wechselrichter, Fahrzeuge etc)? Das muss alles vor dem Einspielen des Backups gemacht werden.
Das betrifft die Datenmigration, da die importierten Daten ja zugeordnet werden müssen. Bei der Sicherung soll ja gerade der alte Stand wiederhergestellt werden.
LenaK
Beiträge: 1305
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 16 times

Re: Backup wiederherstellen funktioniert nicht

Beitrag von LenaK »

Schau mal in das Log der Wiederherstellung <ip>/openWB/data/log/restore.log
.n3
Beiträge: 124
Registriert: Mo Aug 09, 2021 12:04 pm
Has thanked: 1 time

Re: Backup wiederherstellen funktioniert nicht

Beitrag von .n3 »

LenaK hat geschrieben: Di Jul 02, 2024 6:05 am Schau mal in das Log der Wiederherstellung <ip>/openWB/data/log/restore.log
Ah, ich habe mich schon gewundert, wo der Log zu finden ist...

Die Interessante stelle ist:

Code: Alles auswählen

Step 3: validating extracted files
sha256sum: mosquitto_local/mosquitto.db.new: No such file or directory
mosquitto_local/mosquitto.db.new: FAILED open or read
sha256sum: WARNING: 1 listed file could not be read
cleanup after error
Erstaunlich ist, dass ich das Backup nicht angefasst habe. Mir ist aber aufgefallen, dass es deutlich größer ist, als früher (27,7MB zu 189MB). Wenn man in das Backup reinschaut, dann ist die /mosquitto_local/mosquitto.db deutlich größer geworden. Es gibt auch kein *.db.new. Kann ich die aktuelle Datei entfernen, eine leere *.db.new anlegen und die checksum anpassen, oder gibt das irgendwelche Probleme? Bzw. wie behebe ich das Problem aktuell?
.n3
Beiträge: 124
Registriert: Mo Aug 09, 2021 12:04 pm
Has thanked: 1 time

Re: Backup wiederherstellen funktioniert nicht

Beitrag von .n3 »

LenaK hat geschrieben: Di Jul 02, 2024 6:05 am Schau mal in das Log der Wiederherstellung <ip>/openWB/data/log/restore.log
Ich hab das System zum laufen gebracht, indem ich openwb neu aufgesetzt und ein älteres Backup eingespielt habe. Beim letzten Backup war die mosquitto db stark angewachsen und das Backup war auch nicht mehr richtig lauffähig.

Ich lasse das System jetzt mal so und aktiviere die Tage mqqt und hoffe, dass die Probleme nicht wieder kommen. Ansonsten versuche ich eine frische Installation ohne Datenmigration etc. Könnte ich dann einfach die charge_log, daily_log und monthly_log aus einem Backup per SSH auf die frische Installation kopieren? Würde das gehen und welchen Nachteil gegenüber eine Datenmigration hätte ich?
Antworten