bassmaster187 / TeslaLogger

TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
https://www.teslalogger.de
GNU General Public License v3.0
518 stars 171 forks source link

update TeslaLogger.exe in separate process #1284

Closed superfloh247 closed 5 months ago

rs38 commented 5 months ago

and again a very highlevel question or some comments only:

did you consider to focus on a unified docker based deployment for every platform? any caveats for Raspis? my gut feeling says that a scheduled update from a docker repo/hub is way more stable than fiddling around with update processes and copying indivisual binaries from a git (LFS?) repo to certain local bin folders with potential locked files.

superfloh247 commented 5 months ago

Raspi3b and Docker don't work well

there is no file locking, that's why we could just overwrite the existing files. Seems like teslalogger.exe now has a critical size so that it's not completely loaded into memory and then fails.

rs38 commented 5 months ago

okay, sad for the simple docker approach.

have you checked memory pressure on the raspi?

I mean it's so much more the CLR has to do than loading the main .exe and it's IL bytecode: all the dependencies have to be loaded and JIT'ed. It's a hell of a debug scenario :)

(this won't change in docker of course)