TeslaLogger icon indicating copy to clipboard operation
TeslaLogger copied to clipboard

Raspberry PI5 Image request

Open LightBridge16 opened this issue 1 year ago • 10 comments

docker compose build WARN[0000] /home/pi/Git/TeslaLogger/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Building 30.4s (4/4) FINISHED docker:default => [teslalogger internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 601B 0.0s => [webserver internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 470B 0.0s => ERROR [webserver internal] load metadata for docker.io/library/php:7.3-apache-buster 30.0s => ERROR [teslalogger internal] load metadata for docker.io/library/mono:6.12.0.122 30.0s

[webserver internal] load metadata for docker.io/library/php:7.3-apache-buster:



[teslalogger internal] load metadata for docker.io/library/mono:6.12.0.122:


failed to solve: php:7.3-apache-buster: failed to resolve source metadata for docker.io/library/php:7.3-apache-buster: failed to do request: Head "https://registry-1.docker.io/v2/library/php/manifests/7.3-apache-buster": dial tcp: lookup registry-1.docker.io: i/o timeout

LightBridge16 avatar Jan 18 '25 19:01 LightBridge16

de docker must HAVE to line to save space

{ "log-driver": "json-file", "log-opts": { "max-size": "10m", "max-file": "3" } }

LightBridge16 avatar Jan 19 '25 13:01 LightBridge16

I never saw such an error, but try google: https://stackoverflow.com/questions/66912085/why-is-docker-compose-failing-with-error-internal-load-metadata-suddenly

bassmaster187 avatar Jan 20 '25 15:01 bassmaster187

i had too change the php setting too higher Mb upload to upload the restore database... but TeslaLogger still function not correct because the Grafana database is not updated.

LightBridge16 avatar Jan 20 '25 15:01 LightBridge16

could you please sell a raspberry pi 5 micro SD card preinstalled?

LightBridge16 avatar Jan 20 '25 16:01 LightBridge16

I didn't test if the Raspberry PI4 Image will run on a PI5. I just purchased a PI5 and come back to you with a image.

bassmaster187 avatar Jan 20 '25 19:01 bassmaster187

I purchased a RPI5 and it seems like the image is not compatible. RPI5 needs at least debian bookworm. I managed to upgrade the image, but it needs new kernal and other stuff. The main problem seems like Teslalogger is not compatible with newest MariaDB, so I need to upgrade to MySqlConnector. I'll do it the next few weeks.

https://mysqlconnector.net/

bassmaster187 avatar Jan 24 '25 21:01 bassmaster187

The strange thing is, it won’t work on my raspberry pi 3b, 4 and 5 to restore my database.

LightBridge16 avatar Jan 24 '25 22:01 LightBridge16

Using teslealogger with a raspberry PI5 since June 2024 without any problems.

But used the official raspbian and put a docker installation on it ( Docker image as documented by bassmaster for all other raspberrys, no additional steps).

This would probably be a method for you till there is an official release.

If you need any help with setting it up, you can contact me.

AikenPandora avatar Feb 16 '25 20:02 AikenPandora

I have ask a good friend that is working in ICT and code installed the TeslaLogger docker container as discriped in the documentation.

I installed the original raspberry latest OS and updated and upgraded it first before installing TeslaLogger. The problem is I can’t upload the backup database without the problem it’s will not implemented

This is how the homepage showing

Image

LightBridge16 avatar Feb 17 '25 08:02 LightBridge16

What is the error code / log showing while uploading the backup?

AikenPandora avatar Mar 24 '25 14:03 AikenPandora