TeslaLogger icon indicating copy to clipboard operation
TeslaLogger copied to clipboard

ShareIDs becomes invalid after setting "export = NULL" in chargingstate table

Open Adminius opened this issue 5 years ago • 0 comments

Describe the bug I had wrong time stamp on my charging curves, because Docker server had wrong time. I've corrected the times manually in the DB. To "reshare" the charging curves to Teslalogger-Server i've setted export flag to NULL:

update teslalogger.chargingstate set export = NULL

after that, all my old charging curves not available anymore, example: https://teslalogger.de/charging_time.php?id=30882

because I've got new IDs

To Reproduce set export flag to NULL

Expected behavior after Dataupdate IDs stays the same.

** Teslalogger Type ** Raspberry PI 3 offical image

Additional context https://tff-forum.de/t/teslalogger-mit-raspberry-pi-mysql-grafana-osm/22932/4855?u=eugenius

Adminius avatar Jul 28 '20 14:07 Adminius