Closed aboudou closed 2 years ago
Are you sure there are entries in teslamate for agile - the logs are in the agile container for me (on 1.7.0? Your endpoint is in your logs (although password-protected access)
Hello
Good point(s) for the endpoint and the correct container.
.NET 6.0 was not found :/ I'll fix it and close the issue if it's OK.
.NET 6.0 installed, but still not working.
logs :
teslamateagile_1 | It was not possible to find any compatible framework version
teslamateagile_1 | The framework 'Microsoft.NETCore.App', version '6.0.0' was not found.
teslamateagile_1 | - The following frameworks were found:
teslamateagile_1 | 5.0.12 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
teslamateagile_1 |
teslamateagile_1 | You can resolve the problem by installing the specified framework and/or SDK.
teslamateagile_1 |
teslamateagile_1 | The specified framework can be found at:
teslamateagile_1 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
content of /usr/share/dotnet/shared/Microsoft.NETCore.App
drwxr-xr-x 2 root root 16384 Nov 9 09:42 6.0.0
dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: debian
OS Version: 11
OS Platform: Linux
RID: debian.11-x64
Base Path: /usr/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Thanks for reporting, sorry I should have done more testing for this framework upgrade, I was rushing around last night upgrading all my projects to .NET 6 and did not run any tests other than the automated ones! I will do more testing in future as clearly they are not enough.
Looks like I upgraded all the build processes to .NET 6 so the build and tests passed but missed the actual runtime version the container uses so it fails to start-up. It also seems that the PostgreSQL package needed upgrading too to work with EF Core 6.
I've now pushed v1.8.1
- can you see if this is working for you? It is running up for me now on my server and calculating costs. Sorry again.
@MattJeanes It's OK now, thanks for your help :)
Thank you for your quick feedback! Glad it's all working now 😄
Hello,
The charging costs are not calculated anymore since I've upgraded to 1.8.0. No changes in conf, and no TeslaMateAgile info in logs
2021-11-07 : TeslaMateAgile 1.7.0 2021-11-08 : TeslaMateAgile 1.8.0
Conf :
Startup logs