Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't restore my Teslalogger. #1341

Open
Skamaica opened this issue Jul 25, 2024 · 11 comments
Open

I can't restore my Teslalogger. #1341

Skamaica opened this issue Jul 25, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@Skamaica
Copy link

Skamaica commented Jul 25, 2024

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 Skamaica added the bug Something isn't working label Jul 25, 2024
@bassmaster187
Copy link
Owner

Docker or raspberry 3 / 4?

@Skamaica
Copy link
Author

Docker

@Skamaica
Copy link
Author

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
Copy link
Author

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

@michib29
Copy link

michib29 commented Aug 16, 2024

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

@superfloh247
Copy link
Contributor

What size is your backup.gz file?

@michib29
Copy link

What size is your backup.gz file?

131.8 MB

@superfloh247
Copy link
Contributor

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.

@michib29
Copy link

How can I perform the restore with Dbeaver?

@Skamaica
Copy link
Author

Skamaica commented Aug 19, 2024

How can I perform the restore with Dbeaver?

I successfully restored the database using this tutorial
Tutorial

@superfloh247
Copy link
Contributor

  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants