TeslaLogger icon indicating copy to clipboard operation
TeslaLogger copied to clipboard

I can't restore my Teslalogger.

Open Skamaica opened this issue 1 year ago • 12 comments

Hello :)

Teslalogger runs in Docker for me

I selected the Mysqldump file as described in the instructions for restoring. After about 10 minutes the following message appears: filename: Size compressed

I also unpacked the file but then a white window appears after a short time.

There is nothing in the log.

Skamaica avatar Jul 25 '24 06:07 Skamaica

Docker or raspberry 3 / 4?

bassmaster187 avatar Jul 25 '24 07:07 bassmaster187

Docker

Skamaica avatar Jul 25 '24 07:07 Skamaica

I have now copied the entire TeslaLogger folder. This works now but Grafana doesn't start. I ran chmod 777 TeslaLogger/GrafanaDB and also updated Compose.yaml according to the instructions. Message remains and Grafana does not start

Skamaica avatar Jul 25 '24 17:07 Skamaica

the Grafana container always restarts. I have already deleted it and re-pulled it but no change Bildschirmfoto 2024-07-26 um 09 10 56

Skamaica avatar Jul 26 '24 07:07 Skamaica

I have the same problem. I tried to restore a backup. Once from a Raspberry Pi 3 to a Docker instance and vice versa, both times the same message appeared in the browser: filename: Size compressed:

Logfile: StartTime: 8/10/2024 5:32:28 PM Database sizes: DB teslalogger 14.08.2024 06:38:37 : restore_upload.php! 14.08.2024 06:38:37 : Filesize compressed: 14.08.2024 06:39:37 : restore_upload.php! 14.08.2024 06:39:38 : Filesize compressed: 14.08.2024 07:00:11 : TeslaLogger process statistics

michib29 avatar Aug 16 '24 03:08 michib29

What size is your backup.gz file?

superfloh247 avatar Aug 16 '24 03:08 superfloh247

What size is your backup.gz file?

131.8 MB

michib29 avatar Aug 16 '24 03:08 michib29

This might be above some Apache and/or php limits, I know I had issues there and restored manually with dbeaver. I‘ll try to check.

superfloh247 avatar Aug 16 '24 04:08 superfloh247

How can I perform the restore with Dbeaver?

michib29 avatar Aug 18 '24 15:08 michib29

How can I perform the restore with Dbeaver?

I successfully restored the database using this tutorial Tutorial

Skamaica avatar Aug 19 '24 05:08 Skamaica

  1. unpack mysqldump20240820010001.gz to mysqldump20240820010001 and add .sql extension mysqldump20240820010001.sql
  2. give dBeaver a lot of ram https://github.com/dbeaver/dbeaver/wiki/Command-Line#vm-arguments
  3. open SQL script for your TeslaLogger connection
  4. load mysqldump20240820010001.sql and execute

superfloh247 avatar Aug 20 '24 04:08 superfloh247

does someone call help me solving uploading a 290Mb database

LightBridge16 avatar Jan 19 '25 16:01 LightBridge16