evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Website not reachable with version v0.306.0

Open StefanA-LU opened this issue 7 months ago • 1 comments

Describe the bug

Substituting v0.304.0 by v0.306.0 causes an issue that the web site isn't reachable any longer. Returning back to v0.304.0 solves it.

Steps to reproduce

  1. stop service
  2. substitute 2 files by ZIP content from v0.306.0
  3. start service --> fails
  4. stop service
  5. substitute 2 files by ZIP content from v0.306.0
  6. start service --> works again ...

Configuration details

C:\EVCC>evcc config
[main  ] INFO 2026/05/02 05:38:40 using config file: C:\EVCC\evcc.yaml
[main  ] INFO 2026/05/02 05:38:40 using sqlite database: D:\ServerFolders\Dateien\EVCC\evcc.db?_pragma=busy_timeout(5000)
charger
---
db:7 {Type:template Title: Icon: Product:DaheimLaden Wallbox} map[host:10.0.0.66 port:502 template:daheimladen-mb]
db:11 {Type:template Title: Icon: Product:DaheimLaden Pro} map[host:10.0.0.66 port:502 template:daheimladen-pro]
db:12 {Type:template Title: Icon: Product:DaheimLaden Pro} map[host:10.0.0.66 port:502 template:daheimladen-pro]

meter
---
db:2 {Type:template Title:E3DC Icon: Product:} map[battery:e3dc-rscp capacity:9.83 externalpower:true host:10.0.0.30 key:***** maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:pv user:*****]
db:3 {Type:template Title:E3DC Akku Icon: Product:} map[capacity:9.83 externalpower:true host:10.0.0.30 key:***** maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:battery user:*****]

vehicle
---
db:13 {Type:template Title: Icon: Product:BMW CarData (EU Data Act)} map[capacity:14.2 clientid:0d0f63f8-aeb5-4dc1-a828-f1c303da00bb icon:car maxCurrent:11 minCurrent:6 mode:minpv phases: template:cardata title:BMW X1 xDrive30e vin:***** welcomecharge:true]

loadpoint
---
db:10 {Type: Title: Icon: Product:} map[charger:db:12 circuit: defaultMode:pv limitSoc:0 maxCurrent:11 meter: mode:minpv phasesConfigured:1 planStrategy:map[continuous:false precondition:0] soc:map[estimate:false poll:map[interval:3.6e+12 mode:always]] thresholds:map[disable:map[delay:1.8e+11 threshold:0] enable:map[delay:6e+10 threshold:0]] title:Garage vehicle:db:13]

Log details

Not possible because it can't be reached in case of issue

Website accessing causes Edge to show this error message:
ERR_CONNECTION_REFUSED

What type of operating system or environment does evcc run on?

Windows

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.306.0

StefanA-LU avatar May 02 '26 03:05 StefanA-LU

Tried retrieving logs by CMD command:

C:\EVCC>evcc --log-headers [main ] INFO 2026/05/02 05:47:52 evcc 0.306.0 [main ] INFO 2026/05/02 05:47:52 using config file: C:\EVCC\evcc.yaml [main ] INFO 2026/05/02 05:47:52 using sqlite database: D:\ServerFolders\Dateien\EVCC\evcc.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)&_pragma=synchronous(NORMAL)&_time_format=sqlite panic: machine id already generated

goroutine 1 [running]: github.com/evcc-io/evcc/util/machine.CustomID({0x3805b5a77980?, 0x7ff7ca164275?}) github.com/evcc-io/evcc/util/machine/machine.go:24 +0xf0 github.com/evcc-io/evcc/cmd.configureEnvironment(0x7ff7cc584880, 0x7ff7cc5877a0) github.com/evcc-io/evcc/cmd/setup.go:612 +0x225 github.com/evcc-io/evcc/cmd.runRoot(0x7ff7cc584880, {0x7ff7ca161534?, 0x7?, 0x7ff7ca154757?}) github.com/evcc-io/evcc/cmd/root.go:190 +0x39b github.com/spf13/cobra.(*Command).execute(0x7ff7cc584880, {0x3805b52a0470, 0x1, 0x1}) github.com/spf13/[email protected]/command.go:1019 +0xafb github.com/spf13/cobra.(*Command).ExecuteC(0x7ff7cc584880) github.com/spf13/[email protected]/command.go:1148 +0x465 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/[email protected]/command.go:1071 github.com/evcc-io/evcc/cmd.Execute() github.com/evcc-io/evcc/cmd/root.go:134 +0x1a main.main() github.com/evcc-io/evcc/main.go:44 +0x2d

StefanA-LU avatar May 02 '26 03:05 StefanA-LU