NEWS
Absturz während Repo Update
-
@mp_trixi sagte in Absturz während Repo Update:
Habe schon wieder das im log:
host.smarthome 2023-07-10 14:47:40.587 error Error by updating repository "stable" under "http://download.iobroker.net/sources-dist.json": Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded -
@crunchip sagte in Absturz während Repo Update:
da steht als eingestelltes Repo live-stable aber im log steht stable
das letzte im log ist von 14:51. Danach habe ich die Konsolenbefehle zur Umstellung eingegeben und danach gleich den iob diag gemacht (14:57) - oder ich verstehe Dich falsch.
ja es gibt einen bug der vereinzelt auftritt/auftrat, bei denen das Repo nicht funktioniert, in jenem Fall umstellen aufs live
Also ist die Umstellung so wie gemacht richtig?iobroker repo add live-stable http://iobroker.live/repo/sources-dist.json iobroker repo unset stable iobroker repo set live-stable
-
@crunchip
@thomas-braun
habe jetzt via backitup den ioBroker Restore angestossen. Interessant ist hierbei: Ich hatte im alten System den admin 6.3.5 drauf. Auch die Neuinstallation hatte den 6.3.5. Durch den Restore hat er nun die Version 6.3.4 installiert:ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json Active repo(s): live-stable Installed ioBroker-Instances Used repository: live-stable Adapter "admin" : 6.3.5 , installed 6.3.4 [Updatable]
-
@mp_trixi sagte in Absturz während Repo Update:
Durch den Restore hat er nun die Version 6.3.4 installiert:
sollte an und für sich gar nicht möglich sein, einziges was mir dazu einfallen würde, falsches backup genutzt, dann sollten aber auch bei andere Adaptern falsche Versionen vorliegen
-
@crunchip
ok, komisch. Hab extra nicht das Backup von heute Nacht genommen sondern nochmal eins gemacht, bevor ich den alten heruntergefahren hatte:
das dann per FTP auf das neue System kopiert (nach /opt/iobroker/backups) und dann in der WebGUI den Restore des iobroker gestartet
-
@mp_trixi kein Plan,
reine Vermutung, vllt gab es zum Zeitpunkt X damals als du das Upgrade von v6.3.4 auf .5 gemacht hattest irgendein Problem und sich das nicht weiter bemerkbar machte(ausser dein Repoproblem) -
@crunchip
liegt es evtl. daran?
-
@mp_trixi das sollte eigentlich auch nicht so sein
mach mal
iob stop iob fix iob upload all iob start
-
@crunchip
das ging ewig, scheint aber etwas gebracht zu haben. Danach konnte ich den admin Adapter ohne den Hinweis auf 6.3.5 bringenaktuell hänge ich noch am Restore der influxdb - hat da jemand einen Tipp? Bisheriges Vorgehen:
- influxdb installiert bis einschließlich
sudo service influxdb start
sudo influx CREATE USER "admin" WITH PASSWORD '<adminpassword>' WITH ALL PRIVILEGES CREATE USER "iobrokerDBUser" WITH PASSWORD '<userpassword>'
mit den Passwörtern der alten Installation. Keine DB angelegt, weil ich gelesen habe, dass diese vor dem Restore gelöscht werden muss
-
Anpassung der influxdb.conf:
[http]
enabled = true
bind-address = ":8086"
auth-enabled = true
log-enabled = true
write-tracing = false
pprof-enabled = false
https-enabled = false -
Restore mit Adapter (dies hat lt. Ausgabe auch funktioniert)
Starte ich nun die Instanz kommt immer Error: bad response from server
influxdb.0 2023-07-10 18:22:21.513 error Error: bad response from server influxdb.0 2023-07-10 18:22:21.500 info Influx DB Version used: 1.x influxdb.0 2023-07-10 18:22:21.499 info Connecting http://localhost:8086/ ... influxdb.0 2023-07-10 18:22:11.499 error Error: bad response from server influxdb.0 2023-07-10 18:22:11.479 info Influx DB Version used: 1.x influxdb.0 2023-07-10 18:22:11.479 info Connecting http://localhost:8086/ ... host.smarthome 2023-07-10 18:22:06.897 info instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR) powerfox2.0 2023-07-10 18:22:06.360 info Terminated (NO_ERROR): Without reason powerfox2.0 2023-07-10 18:22:03.227 info starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.16.1, js-controller: 4.0.24 influxdb.0 2023-07-10 18:22:01.477 error Error: bad response from server influxdb.0 2023-07-10 18:22:01.465 info Influx DB Version used: 1.x influxdb.0 2023-07-10 18:22:01.464 info Connecting http://localhost:8086/ ... host.smarthome 2023-07-10 18:22:00.154 info instance system.adapter.powerfox2.0 started with pid 4742 influxdb.0 2023-07-10 18:21:51.463 error Error: bad response from server influxdb.0 2023-07-10 18:21:51.436 info Influx DB Version used: 1.x influxdb.0 2023-07-10 18:21:51.435 info Connecting http://localhost:8086/ ... influxdb.0 2023-07-10 18:21:41.574 info enabled logging of vw-connect.0.WVWZZZAUZL8910052.status.data_0x0101010001.field_0x0101010001.milCarSent, Alias=false, 75 points now activated influxdb.0 2023-07-10 18:21:41.573 info enabled logging of rpi2.0.temperature.soc_temp, Alias=false, 74 points now activated influxdb.0 2023-07-10 18:21:41.573 info enabled logging of rpi2.0.memory.memory_free, Alias=false, 73 points now activated influxdb.0 2023-07-10 18:21:41.572 info enabled logging of rpi2.0.memory.memory_available, Alias=false, 72 points now activated influxdb.0 2023-07-10 18:21:41.571 info enabled logging of rpi2.0.cpu.load1, Alias=false, 71 points now activated influxdb.0 2023-07-10 18:21:41.571 info enabled logging of powerfox2.0.devices.9c9c1f139208.feedInMeterReadingKWh, Alias=false, 70 points now activated influxdb.0 2023-07-10 18:21:41.570 info enabled logging of powerfox2.0.devices.9c9c1f139208.currentPower, Alias=false, 69 points now activated influxdb.0 2023-07-10 18:21:41.569 info enabled logging of powerfox2.0.devices.9c9c1f139208.consumptionMeterReadingKWh, Alias=false, 68 points now activated influxdb.0 2023-07-10 18:21:41.568 info enabled logging of myenergi.0.20787925.che, Alias=false, 67 points now activated influxdb.0 2023-07-10 18:21:41.568 info enabled logging of myenergi.0.19639862.che, Alias=false, 66 points now activated influxdb.0 2023-07-10 18:21:41.567 info enabled logging of modbus.0.holdingRegisters.9_Temperatur-(R5)-2_HK_Neubau, Alias=false, 65 points now activated influxdb.0 2023-07-10 18:21:41.566 info enabled logging of modbus.0.holdingRegisters.5_Vorlauftemperatur-(R9), Alias=false, 64 points now activated influxdb.0 2023-07-10 18:21:41.566 info enabled logging of modbus.0.holdingRegisters.2_Rücklauftemperatur-(R2)-1_HK_Altbau, Alias=false, 63 points now activated influxdb.0 2023-07-10 18:21:41.565 info enabled logging of modbus.0.holdingRegisters.1_Außentemperatur-(R1), Alias=false, 62 points now activated influxdb.0 2023-07-10 18:21:41.564 info enabled logging of alias.0.Zimmer_Maxi.HeizungsthermostatZimmerMaxi.IST_TEMPERATUR, Alias=false, 61 points now activated influxdb.0 2023-07-10 18:21:41.564 info enabled logging of alias.0.Zimmer_Leonard.HeizungsthermostatZimmerLeonard.IST_TEMPERATUR, Alias=false, 60 points now activated influxdb.0 2023-07-10 18:21:41.564 info enabled logging of alias.0.Zimmer_Helena.HeizungsthermostatZimmerHelena.IST_TEMPERATUR, Alias=false, 59 points now activated influxdb.0 2023-07-10 18:21:41.563 info enabled logging of alias.0.Wohnzimmer.KlimaWohnzimmer.TEMPERATUR, Alias=false, 58 points now activated influxdb.0 2023-07-10 18:21:41.563 info enabled logging of alias.0.Wohnzimmer.KlimaWohnzimmer.LUFTFEUCHTIGKEIT, Alias=false, 57 points now activated influxdb.0 2023-07-10 18:21:41.562 info enabled logging of alias.0.Wohnzimmer.KlimaWohnzimmer.LUFTDRUCK, Alias=false, 56 points now activated influxdb.0 2023-07-10 18:21:41.562 info enabled logging of alias.0.Waschkueche.SmP_Waschkueche_Trockner.ELECTRIC_POWER, Alias=false, 55 points now activated influxdb.0 2023-07-10 18:21:41.562 info enabled logging of alias.0.Waschkueche.SmP_Waschkueche_Trockner.CONSUMPTION, Alias=false, 54 points now activated influxdb.0 2023-07-10 18:21:41.561 info enabled logging of alias.0.Schlafzimmer.HeizungsthermostatSchlafzimmer.IST_TERMPERATUR, Alias=false, 53 points now activated influxdb.0 2023-07-10 18:21:41.561 info enabled logging of alias.0.Keller_Neubau.WW-WP_Heizstab.WW-WP_HEIZSTAB_VERBRAUCH, Alias=false, 52 points now activated influxdb.0 2023-07-10 18:21:41.561 info enabled logging of alias.0.Keller_Neubau.Temperaturfuehler_Warmwasser_Abfluss.TEMPFUEHL_WW_ABFLUSS, Alias=false, 51 points now activated influxdb.0 2023-07-10 18:21:41.561 info enabled logging of alias.0.Heizkeller.SmP_Heizkeller_Olaf.ELECTRIC_POWER, Alias=false, 50 points now activated influxdb.0 2023-07-10 18:21:41.560 info enabled logging of alias.0.Garage_Neubau.Wallbox_GaN.LETZTE_LADEMENGE, Alias=false, 49 points now activated influxdb.0 2023-07-10 18:21:41.560 info enabled logging of alias.0.Garage_Neubau.Wallbox_GaN.LADESTROM_L3, Alias=false, 48 points now activated influxdb.0 2023-07-10 18:21:41.560 info enabled logging of alias.0.Garage_Neubau.Wallbox_GaN.LADESTROM_L2, Alias=false, 47 points now activated influxdb.0 2023-07-10 18:21:41.559 info enabled logging of alias.0.Garage_Neubau.Wallbox_GaN.LADESTROM_L1, Alias=false, 46 points now activated influxdb.0 2023-07-10 18:21:41.559 info enabled logging of alias.0.Garage_Neubau.Wallbox_GaN.AKTUELLE_LADELEISTUNG, Alias=false, 45 points now activated influxdb.0 2023-07-10 18:21:41.559 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.PV_GENERIERTE_W, Alias=false, 44 points now activated influxdb.0 2023-07-10 18:21:41.559 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.NETZBEZUG_EINSPEISUNG, Alias=false, 43 points now activated influxdb.0 2023-07-10 18:21:41.558 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.LADESTROM_L3, Alias=false, 42 points now activated influxdb.0 2023-07-10 18:21:41.558 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.LADESTROM_L2, Alias=false, 41 points now activated influxdb.0 2023-07-10 18:21:41.558 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.LADESTROM_L1, Alias=false, 40 points now activated influxdb.0 2023-07-10 18:21:41.557 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.HAUSPHASE_L3, Alias=false, 39 points now activated influxdb.0 2023-07-10 18:21:41.556 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.HAUSPHASE_L2, Alias=false, 38 points now activated influxdb.0 2023-07-10 18:21:41.556 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.HAUSPHASE_L1, Alias=false, 37 points now activated influxdb.0 2023-07-10 18:21:41.556 info enabled logging of alias.0.Garage_Altbau.Wallbox_GaA.AKTUELLE_LADELEISTUNG, Alias=false, 36 points now activated influxdb.0 2023-07-10 18:21:41.556 info enabled logging of alias.0.Buero.HeizungsthermostatBuero.IST_TEMPERATUR, Alias=false, 35 points now activated influxdb.0 2023-07-10 18:21:41.555 info enabled logging of alias.0.Badezimmer.SmP_Bad_Saugi.ELECTRIC_POWER, Alias=false, 34 points now activated influxdb.0 2023-07-10 18:21:41.555 info enabled logging of alias.0.Badezimmer.KlimaBad.TEMPERATUR, Alias=false, 33 points now activated influxdb.0 2023-07-10 18:21:41.554 info enabled logging of alias.0.Badezimmer.KlimaBad.LUFTFEUCHTIGKEIT, Alias=false, 32 points now activated influxdb.0 2023-07-10 18:21:41.553 info enabled logging of alias.0.Arbeitszimmer_Melanie.HeizungsthermostatAZM.IST_TEMPERATUR, Alias=false, 31 points now activated influxdb.0 2023-07-10 18:21:41.552 info enabled logging of 0_userdata.0.zappiJS.powerCt6, Alias=false, 30 points now activated influxdb.0 2023-07-10 18:21:41.551 info enabled logging of 0_userdata.0.zappiJS.powerCt5, Alias=false, 29 points now activated influxdb.0 2023-07-10 18:21:41.551 info enabled logging of 0_userdata.0.zappiJS.powerCt4, Alias=false, 28 points now activated influxdb.0 2023-07-10 18:21:41.550 info enabled logging of 0_userdata.0.zappiJS.lastCharge, Alias=false, 27 points now activated influxdb.0 2023-07-10 18:21:41.549 info enabled logging of 0_userdata.0.zappiJS.grid, Alias=false, 26 points now activated influxdb.0 2023-07-10 18:21:41.548 info enabled logging of 0_userdata.0.zappiJS.generated, Alias=false, 25 points now activated influxdb.0 2023-07-10 18:21:41.548 info enabled logging of 0_userdata.0.zappiJS.diversion, Alias=false, 24 points now activated influxdb.0 2023-07-10 18:21:41.547 info enabled logging of 0_userdata.0.Zustaende.LuxWohnZiBeimJalousienschliessen, Alias=false, 23 points now activated influxdb.0 2023-07-10 18:21:41.545 info enabled logging of 0_userdata.0.Zustaende.LuxWohnZiBeimJalousienOeffnen, Alias=false, 22 points now activated influxdb.0 2023-07-10 18:21:41.545 info enabled logging of 0_userdata.0.Zustaende.LuxWohnZiBeiStartRoutineJalousienSchliessen, Alias=false, 21 points now activated influxdb.0 2023-07-10 18:21:41.544 info enabled logging of 0_userdata.0.Zustaende.DauerInMinBisJalouisieGeschlossenWurde, Alias=false, 20 points now activated influxdb.0 2023-07-10 18:21:41.543 info enabled logging of 0_userdata.0.VIS.Energiefluss.AktuellerRestHausverbrauch_in_W, Alias=false, 19 points now activated influxdb.0 2023-07-10 18:21:41.542 info enabled logging of 0_userdata.0.Strom.WallboxGaN_Vortagesverbrauch_vonPV, Alias=false, 18 points now activated influxdb.0 2023-07-10 18:21:41.541 info enabled logging of 0_userdata.0.Strom.WallboxGaN_Vortagesverbrauch_PV_Anteil, Alias=false, 17 points now activated influxdb.0 2023-07-10 18:21:41.540 info enabled logging of 0_userdata.0.Strom.WallboxGaN_Vortagesverbrauch_Gesamt, Alias=false, 16 points now activated influxdb.0 2023-07-10 18:21:41.539 info enabled logging of 0_userdata.0.Strom.WallboxGaN_LetzteLademengeEinzelwerte, Alias=false, 15 points now activated influxdb.0 2023-07-10 18:21:41.537 info enabled logging of 0_userdata.0.Strom.WallboxGaA_Vortagesverbrauch_vonPV, Alias=false, 14 points now activated influxdb.0 2023-07-10 18:21:41.536 info enabled logging of 0_userdata.0.Strom.WallboxGaA_Vortagesverbrauch_PV_Anteil, Alias=false, 13 points now activated influxdb.0 2023-07-10 18:21:41.535 info enabled logging of 0_userdata.0.Strom.WallboxGaA_Vortagesverbrauch_Gesamt, Alias=false, 12 points now activated influxdb.0 2023-07-10 18:21:41.534 info enabled logging of 0_userdata.0.Strom.WallboxGaA_PValt_ErzeugungVortag, Alias=false, 11 points now activated influxdb.0 2023-07-10 18:21:41.534 info enabled logging of 0_userdata.0.Strom.WallboxGaA_PV_GesamtexportVortag, Alias=false, 10 points now activated influxdb.0 2023-07-10 18:21:41.532 info enabled logging of 0_userdata.0.Strom.WallboxGaA_LetzteLademengeEinzelwerte, Alias=false, 9 points now activated influxdb.0 2023-07-10 18:21:41.531 info enabled logging of 0_userdata.0.Strom.WallboxGaA_Importiert, Alias=false, 8 points now activated influxdb.0 2023-07-10 18:21:41.530 info enabled logging of 0_userdata.0.Strom.WallboxGaA_HausverbrauchVortag, Alias=false, 7 points now activated influxdb.0 2023-07-10 18:21:41.529 info enabled logging of 0_userdata.0.Strom.WallboxGaA_HausGesamtverbrauchVortag, Alias=false, 6 points now activated influxdb.0 2023-07-10 18:21:41.528 info enabled logging of 0_userdata.0.Strom.WallboxGaA_HausGesamtimportVortag, Alias=false, 5 points now activated influxdb.0 2023-07-10 18:21:41.527 info enabled logging of 0_userdata.0.Strom.WallboxGaA_HausEigenverbrauchsanteilVortag, Alias=false, 4 points now activated influxdb.0 2023-07-10 18:21:41.525 info enabled logging of 0_userdata.0.Strom.WallboxGaA_HausEigenverbrauchVortag, Alias=false, 3 points now activated influxdb.0 2023-07-10 18:21:41.524 info enabled logging of 0_userdata.0.Strom.Powerfox_ZaehlerstandHaushaltNetzbezug, Alias=false, 2 points now activated influxdb.0 2023-07-10 18:21:41.522 info enabled logging of 0_userdata.0.Strom.Powerfox_ZaehlerstandHaushaltEinspeisung, Alias=false, 1 points now activated influxdb.0 2023-07-10 18:21:41.434 error Error: bad response from server influxdb.0 2023-07-10 18:21:41.346 info Influx DB Version used: 1.x influxdb.0 2023-07-10 18:21:41.346 info Connecting http://localhost:8086/ ... influxdb.0 2023-07-10 18:21:41.343 info Buffer initialized with data for 5 points and 0 conflicts from last exit influxdb.0 2023-07-10 18:21:41.300 info starting. Version 3.2.0 in /opt/iobroker/node_modules/iobroker.influxdb, node: v18.16.1, js-controller: 4.0.24
-
glaub es tut jetzt. Habe noch:
sudo influx auth admin <adminpasswort> use iobrokerdb GRANT ALL ON "iobrokerdb" TO "iobrokerDBUser"
ausgeführt.
-
@mp_trixi also läuft jetzt alles?
@mp_trixi sagte in Absturz während Repo Update:
das ging ewig
ja das dauert ne Weile
-
@crunchip
Musste weg. Muss mir das nochmals alles genau anschauen. Grafana restore ist auch noch offen. Sieht aber glaub bisher nicht schlecht aus. Aber gut möglich dass ich mich nochmals melde
Danke mal bis hierher -
Jetzt hab ich doch noch einen Fehler beim Restore der historyDB:
2023-07-10 22:23:12.207 - error: backitup.0 (2933) [historyDB] Backitup cannot found destination "" for decompress! 2023-07-10 22:23:12.209 - error: backitup.0 (2933) [historyDB] History Restore not completed
Habe in der backitup Instanz unter History Daten den Pfad /opt/iobroker/iobroker-data/history eingetragen. Dann lief der Restore. Dann war aber das im Pfad (vorher/nachher):
pi@smarthome:/opt/iobroker/iobroker-data/history $ ls 20230710 pi@smarthome:/opt/iobroker/iobroker-data/history $ ls 20230710 admin docs iob_npm.done io-package.json lib LICENSE main.js node_modules package.json README.md
Das ist aber glaube ich doch Quatsch, oder? Hätte da jetzt weitere „Datums“-Verzeichnisse erwartet.
-
@mp_trixi sagte in Absturz während Repo Update:
Backitup cannot found destination "" for decompress!
dein Pfad
https://forum.iobroker.net/post/775845 -
@mp_trixi sagte in Absturz während Repo Update:
st aber glaube ich doch Quatsch, oder?
ne
@mp_trixi sagte in Absturz während Repo Update:
da jetzt weitere „Datums“-Verzeichnisse erwartet.
sollte
-
@crunchip
Ja, hab’s oben ergänzt. Hab auch grad gesehen, dass das historyDB Backupfile nur 1,3 MB hat. Glaube das war im alten System schon falsch. Muss da mal schauen. Im Prinzip müsste ich doch den Pfad dann direkt rüber kopieren können oder muss das via Backup laufen weil da noch mehr passiert? -
@mp_trixi sagte in Absturz während Repo Update:
Im Prinzip müsste ich doch den Pfad dann direkt rüber kopieren oder muss das via Backup laufen weil da noch mehr passiert?
kann ich dir nicht beantworten ob das so funktioniert wenn du es manuell rein kopierst
bzw was meinst du mit@mp_trixi sagte in Absturz während Repo Update:
Im Prinzip müsste ich doch den Pfad dann direkt rüber kopieren können
-
@crunchip
Ok, dann schau ich mal im Alten nach, trage den Pfad nach falls der fehlt und mach nochmal ein Backup. Das kann ich mit dem neuen Raspi und der alten SD starten, richtig? -
@mp_trixi sagte in Absturz während Repo Update:
Das kann ich mit dem neuen Raspi und der alten SD starten
theoretisch ja
-
Sieht jetzt besser aus (waren gut 140MB). Wünsche eine gute Nacht (falls ihr überhaupt mal schlaft
)