Nachsychronisierung alter Fahrtenbücher

Fragen und Diskussion zur Speicherung der Daten auf einem efaCloud-Server im Internet

Moderator: nick

MGlade
Beiträge: 44
Registriert: Do 21. Apr 2016, 22:40
Wohnort: Bonn
Kontaktdaten:

Re: Nachsychronisierung alter Fahrtenbücher

Beitrag von MGlade » Mo 16. Jan 2023, 21:56

Hallo Julian,
der beschriebene Weg ist der richtige. Wenn er nicht funktioniert, dann ist die wahrscheinlichste Ursache ein Synchronisationsfehler - den kann ich besser verstehen, wenn Du mir über den efaCloud Support-Knopf eine Anfrag mit Log-Dateien stellst.
Viele Grüße
Martin

GURKE
Beiträge: 18
Registriert: Do 7. Jan 2016, 16:17

Re: Nachsychronisierung alter Fahrtenbücher

Beitrag von GURKE » So 29. Jan 2023, 09:47

Moin Martin!
Das ist der Log:

Code: Alles auswählen

2023-01-24 14:30:39 INFO state, []: LOG STARTING
2023-01-24 14:30:42 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu AUTHENTICATING
2023-01-24 14:30:42 INFO tx43, NOP []: Transaction sent. Record length: 1
2023-01-24 14:30:47 INFO tx43, NOP_RESP []: 300 - Transaction completed
2023-01-24 14:30:47 ERROR Ausnahmefehler bei der Behandlung einer efaCloud-Serverantwort: java.lang.NumberFormatException: For input string: ""
2023-01-24 14:30:47 INFO tx43, NOP []: Transaction sent. Record length: 1
2023-01-24 14:30:47 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu WORKING
2023-01-24 14:30:47 INFO state, []: STATECHANGE Serverkommunkation gestartet.
2023-01-24 14:30:49 INFO tx43, NOP_RESP []: 300 - Transaction completed
2023-01-24 14:30:49 INFO tx44, SYNCH [@all]: Transaction sent. Record length: 2
2023-01-24 14:30:49 INFO tx44, SYNCH_RESP [@all]: 300 - Transaction completed
2023-01-24 14:30:50 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu SYNCHRONIZING
2023-01-24 14:30:50 INFO state, [@all]: STATECHANGE Synchronisation server to client (download) starting
2023-01-24 14:30:50 INFO tx45, KEYFIXING [efa2logbook]: Transaction sent. Record length: 1
2023-01-24 14:30:50 INFO tx45, KEYFIXING_RESP [efa2logbook]: 300 - Transaction completed
2023-01-24 14:30:50 INFO tx48, KEYFIXING [efa2messages]: Transaction sent. Record length: null
2023-01-24 14:30:51 INFO tx48, KEYFIXING_RESP [efa2messages]: 300 - Transaction completed
2023-01-24 14:30:51 INFO tx49, KEYFIXING [efa2boatdamages]: Transaction sent. Record length: null
2023-01-24 14:30:51 INFO tx49, KEYFIXING_RESP [efa2boatdamages]: 300 - Transaction completed
2023-01-24 14:30:51 INFO tx50, KEYFIXING [efa2boatreservations]: Transaction sent. Record length: null
2023-01-24 14:30:51 INFO tx50, KEYFIXING_RESP [efa2boatreservations]: 300 - Transaction completed
2023-01-24 14:30:51 INFO tx51, SYNCH [@all]: Transaction sent. Record length: 2
2023-01-24 14:30:52 INFO tx51, SYNCH_RESP [@all]: 300 - Transaction completed
2023-01-24 14:30:52 INFO state, [efa2autoincrement, efa2boatdamages, efa2boats, efa2boatstatus, efa2crews, efa2destinations, efa2fahrtenabzeichen, efa2groups, efa2logbook, efa2messages, efa2persons, efa2sessiongroups, efa2statistics, efa2status, efa2waters, ]: SYNCH Starte Download Synchronisation für Tabellen.
2023-01-24 14:30:52 INFO tx52, SELECT [efa2autoincrement]: Transaction sent. Record length: 2
2023-01-24 14:30:52 INFO tx52, SELECT_RESP [efa2autoincrement]: 300 - Transaction completed
2023-01-24 14:30:52 INFO tx53, SELECT [efa2boatdamages]: Transaction sent. Record length: 2
2023-01-24 14:30:52 INFO tx53, SELECT_RESP [efa2boatdamages]: 300 - Transaction completed
2023-01-24 14:30:52 INFO tx54, SELECT [efa2boats]: Transaction sent. Record length: 2
2023-01-24 14:30:53 INFO tx54, SELECT_RESP [efa2boats]: 300 - Transaction completed
2023-01-24 14:30:53 INFO tx55, SELECT [efa2boatstatus]: Transaction sent. Record length: 2
2023-01-24 14:30:53 INFO tx55, SELECT_RESP [efa2boatstatus]: 300 - Transaction completed
2023-01-24 14:30:53 INFO tx56, SELECT [efa2crews]: Transaction sent. Record length: 2
2023-01-24 14:30:54 INFO tx56, SELECT_RESP [efa2crews]: 300 - Transaction completed
2023-01-24 14:30:54 INFO tx57, SELECT [efa2destinations]: Transaction sent. Record length: 2
2023-01-24 14:30:54 INFO tx57, SELECT_RESP [efa2destinations]: 300 - Transaction completed
2023-01-24 14:30:54 INFO tx58, SELECT [efa2fahrtenabzeichen]: Transaction sent. Record length: 2
2023-01-24 14:30:55 INFO tx58, SELECT_RESP [efa2fahrtenabzeichen]: 300 - Transaction completed
2023-01-24 14:30:55 INFO tx59, SELECT [efa2groups]: Transaction sent. Record length: 2
2023-01-24 14:30:55 INFO tx59, SELECT_RESP [efa2groups]: 300 - Transaction completed
2023-01-24 14:30:55 INFO tx60, SELECT [efa2logbook]: Transaction sent. Record length: 3
2023-01-24 14:30:56 INFO tx60, SELECT_RESP [efa2logbook]: 300 - Transaction completed
2023-01-24 14:30:58 INFO tx61, SELECT [efa2messages]: Transaction sent. Record length: 2
2023-01-24 14:30:58 INFO tx61, SELECT_RESP [efa2messages]: 300 - Transaction completed
2023-01-24 14:30:59 INFO tx62, SELECT [efa2persons]: Transaction sent. Record length: 2
2023-01-24 14:30:59 INFO tx62, SELECT_RESP [efa2persons]: 300 - Transaction completed
2023-01-24 14:31:00 INFO tx63, SELECT [efa2sessiongroups]: Transaction sent. Record length: 2
2023-01-24 14:31:00 INFO tx63, SELECT_RESP [efa2sessiongroups]: 300 - Transaction completed
2023-01-24 14:31:00 INFO tx64, SELECT [efa2statistics]: Transaction sent. Record length: 2
2023-01-24 14:31:00 INFO tx64, SELECT_RESP [efa2statistics]: 300 - Transaction completed
2023-01-24 14:31:00 INFO tx65, SELECT [efa2status]: Transaction sent. Record length: 2
2023-01-24 14:31:01 INFO tx65, SELECT_RESP [efa2status]: 300 - Transaction completed
2023-01-24 14:31:01 INFO tx66, SELECT [efa2waters]: Transaction sent. Record length: 2
2023-01-24 14:31:01 INFO tx66, SELECT_RESP [efa2waters]: 300 - Transaction completed
2023-01-24 14:31:01 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu WORKING
2023-01-24 14:31:01 INFO state, []: SYNCH Synchronisationstransaktionen abgeschlossen
2023-01-24 14:31:01 INFO tx46, UPLOAD [zip]: Transaction sent. Record length: 2
2023-01-24 14:31:01 INFO tx47, NOP []: Transaction sent. Record length: 1
2023-01-24 14:31:04 INFO tx46, UPLOAD_RESP [zip]: 300 - Transaction completed
2023-01-24 14:31:04 INFO tx47, NOP_RESP []: 300 - Transaction completed
2023-01-24 14:31:51 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu SYNCHRONIZING
2023-01-24 14:31:51 INFO state, [@all]: STATECHANGE Synchronisation client to server (upload) starting
2023-01-24 14:31:51 INFO tx67, KEYFIXING [efa2logbook]: Transaction sent. Record length: 1
2023-01-24 14:32:02 INFO tx67, KEYFIXING_RESP [efa2logbook]: 300 - Transaction completed
2023-01-24 14:32:02 INFO tx68, KEYFIXING [efa2messages]: Transaction sent. Record length: null
2023-01-24 14:32:09 INFO tx68, KEYFIXING_RESP [efa2messages]: 300 - Transaction completed
2023-01-24 14:32:09 INFO tx69, KEYFIXING [efa2boatdamages]: Transaction sent. Record length: null
2023-01-24 14:32:11 INFO tx69, KEYFIXING_RESP [efa2boatdamages]: 300 - Transaction completed
2023-01-24 14:32:11 INFO tx70, KEYFIXING [efa2boatreservations]: Transaction sent. Record length: null
2023-01-24 14:32:12 INFO tx70, KEYFIXING_RESP [efa2boatreservations]: 300 - Transaction completed
2023-01-24 14:32:12 INFO tx71, SYNCH [@all]: Transaction sent. Record length: 2
2023-01-24 14:32:13 INFO tx71, SYNCH_RESP [@all]: 300 - Transaction completed
2023-01-24 14:32:13 INFO state, [efa2autoincrement, efa2boatdamages, efa2boatreservations, efa2boats, efa2boatstatus, efa2clubwork, efa2crews, efa2destinations, efa2fahrtenabzeichen, efa2groups, efa2logbook, efa2messages, efa2persons, efa2sessiongroups, efa2statistics, efa2status, efa2waters, ]: SYNCH Starte Upload Synchronisation für Tabellen.
2023-01-24 14:32:13 INFO state, [efa2autoincrement]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:13 INFO tx72, SELECT [efa2autoincrement]: Transaction sent. Record length: 2
2023-01-24 14:32:13 INFO tx72, SELECT_RESP [efa2autoincrement]: 300 - Transaction completed
2023-01-24 14:32:13 INFO state, [efa2boatdamages]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:13 INFO tx73, SELECT [efa2boatdamages]: Transaction sent. Record length: 2
2023-01-24 14:32:14 INFO tx73, SELECT_RESP [efa2boatdamages]: 300 - Transaction completed
2023-01-24 14:32:14 INFO state, [efa2boatreservations]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:14 INFO tx74, SELECT [efa2boatreservations]: Transaction sent. Record length: 2
2023-01-24 14:32:14 INFO tx74, SELECT_RESP [efa2boatreservations]: 300 - Transaction completed
2023-01-24 14:32:14 INFO state, [efa2boats]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:14 INFO tx75, SELECT [efa2boats]: Transaction sent. Record length: 2
2023-01-24 14:32:15 INFO tx75, SELECT_RESP [efa2boats]: 300 - Transaction completed
2023-01-24 14:32:15 INFO state, [efa2boatstatus]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:15 INFO tx76, SELECT [efa2boatstatus]: Transaction sent. Record length: 2
2023-01-24 14:32:16 INFO tx76, SELECT_RESP [efa2boatstatus]: 300 - Transaction completed
2023-01-24 14:32:16 INFO state, [efa2clubwork]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:16 INFO tx77, SELECT [efa2clubwork]: Transaction sent. Record length: 3
2023-01-24 14:32:16 INFO tx77, SELECT_RESP [efa2clubwork]: 300 - Transaction completed
2023-01-24 14:32:16 INFO state, [efa2crews]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:16 INFO tx78, SELECT [efa2crews]: Transaction sent. Record length: 2
2023-01-24 14:32:16 INFO tx78, SELECT_RESP [efa2crews]: 300 - Transaction completed
2023-01-24 14:32:16 INFO state, [efa2destinations]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:16 INFO tx79, SELECT [efa2destinations]: Transaction sent. Record length: 2
2023-01-24 14:32:16 INFO tx79, SELECT_RESP [efa2destinations]: 300 - Transaction completed
2023-01-24 14:32:16 INFO state, [efa2fahrtenabzeichen]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:16 INFO tx80, SELECT [efa2fahrtenabzeichen]: Transaction sent. Record length: 2
2023-01-24 14:32:17 INFO tx80, SELECT_RESP [efa2fahrtenabzeichen]: 300 - Transaction completed
2023-01-24 14:32:17 INFO state, [efa2groups]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:17 INFO tx81, SELECT [efa2groups]: Transaction sent. Record length: 2
2023-01-24 14:32:17 INFO tx81, SELECT_RESP [efa2groups]: 300 - Transaction completed
2023-01-24 14:32:17 INFO state, [efa2logbook]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:17 INFO tx82, SELECT [efa2logbook]: Transaction sent. Record length: 3
2023-01-24 14:32:18 INFO tx82, SELECT_RESP [efa2logbook]: 300 - Transaction completed
2023-01-24 14:32:19 INFO state, [efa2messages]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:19 INFO tx83, SELECT [efa2messages]: Transaction sent. Record length: 2
2023-01-24 14:32:19 INFO tx83, SELECT_RESP [efa2messages]: 300 - Transaction completed
2023-01-24 14:32:19 INFO state, [efa2persons]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:19 INFO tx84, SELECT [efa2persons]: Transaction sent. Record length: 2
2023-01-24 14:32:20 INFO tx84, SELECT_RESP [efa2persons]: 300 - Transaction completed
2023-01-24 14:32:20 INFO state, [efa2sessiongroups]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:20 INFO tx85, SELECT [efa2sessiongroups]: Transaction sent. Record length: 2
2023-01-24 14:32:21 INFO tx85, SELECT_RESP [efa2sessiongroups]: 300 - Transaction completed
2023-01-24 14:32:21 INFO state, [efa2statistics]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:21 INFO tx86, SELECT [efa2statistics]: Transaction sent. Record length: 2
2023-01-24 14:32:21 INFO tx86, SELECT_RESP [efa2statistics]: 300 - Transaction completed
2023-01-24 14:32:21 INFO state, [efa2status]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:21 INFO tx87, SELECT [efa2status]: Transaction sent. Record length: 2
2023-01-24 14:32:21 INFO tx87, SELECT_RESP [efa2status]: 300 - Transaction completed
2023-01-24 14:32:21 INFO state, [efa2waters]: SYNCH Hole Datensätze vom Server mit Modifikation nach 1970-01-01 01:00:00
2023-01-24 14:32:21 INFO tx88, SELECT [efa2waters]: Transaction sent. Record length: 2
2023-01-24 14:32:22 INFO tx88, SELECT_RESP [efa2waters]: 300 - Transaction completed
2023-01-24 14:32:22 INFO state, []: SYNCH Transaktionen für Synchronisation vollständig angestoßen. Warte auf Fertigstellung.
2023-01-24 14:32:22 INFO state, []: STATECHANGE Statuswechsel der Serverkommunikation zu WORKING
2023-01-24 14:32:22 INFO state, []: SYNCH Synchronisationstransaktionen abgeschlossen
Ich habe zuvor das Fahrtenbuch auf 2022 gewechselt und den Rechner per Reboot-Kommando neugestartet. Anschließend bin ich ins Admin-Menü und habe die Cloud-Synchronisation initiiet. In dem gesamten Log gibt es eine Error-Zeile:

Code: Alles auswählen

2023-01-24 14:30:47 ERROR Ausnahmefehler bei der Behandlung einer efaCloud-Serverantwort: java.lang.NumberFormatException: For input string: ""
Hilft dir das weiter?

MGlade
Beiträge: 44
Registriert: Do 21. Apr 2016, 22:40
Wohnort: Bonn
Kontaktdaten:

Re: Nachsychronisierung alter Fahrtenbücher

Beitrag von MGlade » Mo 30. Jan 2023, 20:59

Hallo Julian,

vielen Dank für die Log-Zeilen. Leider sind die fast normal. Ich weiß zwar nicht, warum in der Antwort auf den ersten "No-Operation" Request ein Zahlwert nicht gesetzt war, das kann aber m.E. nicht wirklich die Synchronisation behindern.

Der Schritt ist der erste Schritt, bei dem die Autorisierung geprüft wird, und die ist erfolgreich, sonst gäbe es andere Fehler. Die Download-Synchronisation startet 14:30:50:
"2023-01-24 14:30:50 INFO state, [@all]: STATECHANGE Synchronisation server to client (download) starting"
Danach ist der Log völlig normal. Aber es gibt auf dem Server keine Daten, die lokal übernommen werden müssten. Das sähe sonst so aus:
"2023-01-30 19:49:33 INFO state, [efa2boatstatus - 9bbd16a5-d694-4e44-8ea3-9f0bf8dbabae]: SYNCH Lokale Replikation des Datensatzes nach update auf dem Server."
Bei der anschließenden Upload-Synchronisation:
"2023-01-24 14:31:51 INFO state, [@all]: STATECHANGE Synchronisation client to server (upload) starting"
dasselbe: der log ist norma, aber er findet keinen Datensatz auf dem Client, den er auf dem Server einsetzen müsste, weil er dort fehlt. Sonst wäre in dem log eine Zeile wie z.B.:
"2023-01-30 19:53:07 INFO state, [efa2persons - 801edd19-e92a-4b77-bcee-476086809f28,1546376221000]: SYNCH Aktualisiere Datensatz auf Server für Tabelle"

Jetzt bleibt für mich die Frage, welche für Daten hätten synchronisiert werden sollen, sprich: welche Daten sind in efa, aber nicht in efaCloud und welche Daten sind in efaCloud, aber nicht in efa? Ein Beispieldatensatz wäre ggf. hilfreich. Und wie hast Du die Differenz festgestellt?

Viele Grüße
Martin

Antworten