0.300.0: panic: runtime error: invalid memory address or nil pointer dereference
Describe the bug
Nach automatischen Aktualisierung in HA lässt sich das Addon EVCC nicht mehr starten.
Steps to reproduce
- Nach Aktualisierung das Addon neu starten
...
Configuration details
Die Konfiguration hat mit der Version 0.211.1 funktioniert.
Log details
[main ] INFO 2025/12/31 08:26:05 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:26:05 connecting evcc-285754041 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:26:05 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:26:05 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000404008, 0xc00082df08, {0xc000bde000, 0x1, 0xc000ec0e60?}, 0xc000ec0ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000bde000, 0x1, 0x1}, 0xc000f14f60)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc00010e280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:26:17 evcc 0.300.0
[main ] INFO 2025/12/31 08:26:17 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:26:17 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:26:17 connecting evcc-740171124 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:26:17 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:26:17 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000737688, 0xc000759a10, {0xc00009f1e0, 0x1, 0xc001006e60?}, 0xc001006ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc00009f1e0, 0x1, 0x1}, 0xc000f902a0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000106280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:26:37 evcc 0.300.0
[main ] INFO 2025/12/31 08:26:37 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:26:37 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:26:37 connecting evcc-818531318 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:26:37 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:26:37 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0008a0008, 0xc0008a3950, {0xc000588038, 0x1, 0xc000f40e60?}, 0xc000f40ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000588038, 0x1, 0x1}, 0xc00103d2c0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000106280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:26:45 evcc 0.300.0
[main ] INFO 2025/12/31 08:26:45 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:26:45 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:26:46 connecting evcc-1577960696 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:26:46 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:26:46 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000f12248, 0xc0007ced68, {0xc00070b2c0, 0x1, 0xc000e7ee60?}, 0xc000e7eea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc00070b2c0, 0x1, 0x1}, 0xc000e19ec0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000072070, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:27:50 evcc 0.300.0
[main ] INFO 2025/12/31 08:27:50 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:27:50 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:27:50 connecting evcc-866328754 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:27:50 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:27:50 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0009fa488, 0xc0006df7b8, {0xc000b64260, 0x1, 0xc0006a6e60?}, 0xc0006a6ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000b64260, 0x1, 0x1}, 0xc000a01ec0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000106280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:27:55 evcc 0.300.0
[main ] INFO 2025/12/31 08:27:55 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:27:55 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:27:55 connecting evcc-881589939 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:27:55 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:27:55 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000eeb688, 0xc000882d20, {0xc000464360, 0x1, 0xc000adee60?}, 0xc000adeea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000464360, 0x1, 0x1}, 0xc000c7a240)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc00010e280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:29:06 evcc 0.300.0
[main ] INFO 2025/12/31 08:29:06 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:29:06 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:29:06 connecting evcc-574173134 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:29:06 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:29:06 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000a42908, 0xc000ab68d0, {0xc000d3a938, 0x1, 0xc000ef2e60?}, 0xc000ef2ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000d3a938, 0x1, 0x1}, 0xc000d4fce0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc0000722b0, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:31:48 evcc 0.300.0
[main ] INFO 2025/12/31 08:31:48 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:31:48 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:31:49 connecting evcc-128211991 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:31:49 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:31:49 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0007766c8, 0xc00059f6e0, {0xc000cbd0e8, 0x1, 0xc000ab6e60?}, 0xc000ab6ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000cbd0e8, 0x1, 0x1}, 0xc000ada420)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000106280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:34:41 evcc 0.300.0
[main ] INFO 2025/12/31 08:34:41 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:34:41 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:34:42 connecting evcc-592206403 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:34:42 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:34:42 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0001c5448, 0xc000883f38, {0xc0008a4098, 0x1, 0xc000b36e60?}, 0xc000b36ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc0008a4098, 0x1, 0x1}, 0xc00108e000)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000112040, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:35:00 evcc 0.300.0
[main ] INFO 2025/12/31 08:35:00 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:35:00 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:35:00 connecting evcc-9875233 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:35:00 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:35:00 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0009bd208, 0xc000807b00, {0xc000730ef8, 0x1, 0xc000d38e60?}, 0xc000d38ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000730ef8, 0x1, 0x1}, 0xc000a38cc0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000106070, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Using config file: /config/evcc.yaml
Using database file: /data/evcc.db
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2025/12/31 08:35:07 evcc 0.300.0
[main ] INFO 2025/12/31 08:35:07 using config file: /config/evcc.yaml
[main ] INFO 2025/12/31 08:35:07 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 08:35:07 connecting evcc-1225855867 at tcp://localhost:1883
[main ] INFO 2025/12/31 08:35:07 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 08:35:07 UI local: http://127.0.0.1:7070
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000e92488, 0xc000f0d098, {0xc000a9e2a0, 0x1, 0xc0011e8e60?}, 0xc0011e8ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000a9e2a0, 0x1, 0x1}, 0xc0006e4c60)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc000108280, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
What type of operating system or environment does evcc run on?
HomeAssistant Add-on
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
0.300.0
Kann ich für meine Installation nicht bestätigen. Homeassistant 2025.12.5, HAOS 16.3, evcc im Docker. Läuft nach Update wie gewohnt, keine Fehler, normaler Start.
Ich habe die folgende Installation von HA:
Home Assistant OS Core 2025.12.5 Supervisor 2025.12.3 Operating System 16.3 Frontend 20251203.3
Gleicher Fehler hier: Installationsmethode: Home Assistant OS Core: 2025.12.5 Supervisor: 2025.12.5 Operating System: 16.3 Frontend: 20251203.3 Companion-App: 2025.12.1 (2025.1546)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc0001a7d48, 0xc000f85440, {0xc0007461c8, 0x1, 0xc000b4ae60?}, 0xc000b4aea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc0007461c8, 0x1, 0x1}, 0xc000a2dc20)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc0000722b0, 0x2, 0x2})
Ich bekomme den gleichen Fehler mit EVCC als Docker Container. Downgrade hat geholfen.
Ich bekomme den gleichen Fehler mit EVCC als Docker Container. Downgrade hat geholfen.
Wie downgrade ich in HA? Habe den gleichen Fehler
Ich bekomme den gleichen Fehler mit EVCC als Docker Container. Downgrade hat geholfen.
Wie downgrade ich in HA? Habe den gleichen Fehler
Nicht HA muss downgegraded werden, sondern EVCC ;)
Wie downgrade ich in HA?
Add-on-Update-Backup einspielen.
Btw., hier funktioniert es problemlos, vermutlich ist das Problem nicht Home Assistant spezifisch, sondern von der evcc Konfiguration abhängig.
Same. Musste das Backup holen.
Es wäre ggf. hilfreich, wenn die Betroffenen Gemeinsamkeiten in ihrer Konfiguration suchten.
laut Changelog der Version gibt es ja nur eine einzige Änderung, das sollte daher die Gemeinsamkeit sein :)
Translations update from Hosted Weblate (#26205)
Wobei die Änderungen der Sprachen nicht gerade solch ein Verhalten erklären... @andig eventuell gab es doch mehr Änderungen ohne einen Changelog Eintrag?!
Das changelog ist fehlerhaft. Es sind tatsächlich volle 101 commits https://github.com/evcc-io/evcc/compare/0.211.1...0.300.0
Das funktioniert bei meinem Produktivsystem (kein HA) evcc 0.211.1 (46a6dd22d)
Das crasht bei meinem Produktivsystem (kein HA) evcc 0.211.1 (7cc9adc75)
Mein Testsystem (nur Demo Geräte) funktioniert mit der neuesten Version.
Dasselbe (segfault in Zeile 178) passiert hier mit der 0.211.1 nach Wechsel von der nightly zurück auf das release
https://github.com/evcc-io/evcc/discussions/25103#discussioncomment-15380058
Es wäre ggf. hilfreich, wenn die Betroffenen Gemeinsamkeiten in ihrer Konfiguration suchten.
Raspi ohne Docker Fronius Symo Wechselrichter (als Sunspec eingerichtet) Varta Element Speicher 2 x BMW Edit: Modbus-Proxy eingerichtet Edit 2: Fronius Wattpilot OCPP (2.0, nicht Flex) Edit 3: kein MQTT konfiguriert Edit 4: alles über GUI konfiguriert
Infos über konfigurierte Fahrzeuge und MQTT wären hilfreich.
Bei mir komplett über UI konfiguriert
Docker Installation auf einer Debian VM in Proxmox
Fahrzeuge:
MQTT:
Virtuelle Maschine via Proxmox, MQTT ist an und mit Mosquitto auf Homeassistant verbunden, Renault Zoe als Auto, Meter ist kostal-plenticore, Charger ist easee...Batterie ist BYD.
Vielleicht interessant: Auto, Wallbox & Meter sind bei mir noch in der evcc.yaml fest konfiguriert (Altlast, halt), Batterie und Stromtarife über UI.
@andig root cause might be PlanPrecondition removal - requires deprecation of field mapping?
Ah! Ok. Hab das gleiche hier. Alles konfiguriert über die GUI.
Wallbox: Warp3 Fahrzeug: Mercedes EQV PV: Deye
Ich habe für Mosquitto ein Docker laufen. Die Verbinung kann dorthin nicht aufgebaut werden. Alle anderen Clients können sich problemlos connecten.
Mit image: evcc/evcc:0.211.1 wieder alles okay.
1767175074: Client evcc-1969237981 closed its connection.
1767175135: New connection from 192.168.178.111:42674 on port 1883.
1767175135: New client connected from 192.168.178.111:42674 as evcc-1700746465 (p2, c1, k30, u'mosquitto').
1767175135: New connection from 192.168.178.111:42682 on port 1883.
1767175135: New client connected from 192.168.178.111:42682 as evcc-2122071617 (p2, c1, k30, u'mosquitto').
1767175136: Client evcc-2122071617 closed its connection.
1767175136: Client evcc-1700746465 closed its connection.
EVCC (in docker) neu gestartet, Warp3 neu gestartet, Mosquitto neu gestartet. Gleiches Problem.
github.com/evcc-io/evcc/main.go:44 +0x2d
[main ] INFO 2025/12/31 10:59:57 evcc 0.300.0
[main ] INFO 2025/12/31 10:59:57 using config file: /etc/evcc.yaml
[main ] INFO 2025/12/31 10:59:57 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000)
[mqtt ] INFO 2025/12/31 10:59:57 connecting evcc-184729926 at tcp://192.168.178.114:1883
[main ] INFO 2025/12/31 10:59:57 OCPP local: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2025/12/31 10:59:57 UI local: http://127.0.0.1:7070
[warp ] INFO 2025/12/31 10:59:57 connecting evcc-1755785725 at tcp://192.168.178.114:1883
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c0 pc=0x2607fb8]
goroutine 1 [running]:
github.com/evcc-io/evcc/core.(*Site).Boot(0xc000cb6248, 0xc00066a7f8, {0xc000cbe270, 0x1, 0xc0007f6e60?}, 0xc0007f6ea0?)
github.com/evcc-io/evcc/core/site.go:178 +0x518
github.com/evcc-io/evcc/cmd.configureSite(0x6af9da0?, {0xc000cbe270, 0x1, 0x1}, 0xc000bb59e0)
github.com/evcc-io/evcc/cmd/setup.go:1103 +0x55
github.com/evcc-io/evcc/cmd.configureSiteAndLoadpoints(0x6af9ac0)
github.com/evcc-io/evcc/cmd/setup.go:1045 +0x497
github.com/evcc-io/evcc/cmd.runRoot(0x6af7300, {0x337a923?, 0x7?, 0x336d96a?})
github.com/evcc-io/evcc/cmd/root.go:247 +0xf9f
github.com/spf13/cobra.(*Command).execute(0x6af7300, {0xc0001be040, 0x0, 0x0})
github.com/spf13/[email protected]/command.go:1019 +0xae7
github.com/spf13/cobra.(*Command).ExecuteC(0x6af7300)
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:128 +0x1a
main.main()
github.com/evcc-io/evcc/main.go:44 +0x2d
Atm I can‘t reproduce and the functions in question didn‘t change. We need a reproducer. It would also help to find the actual breaking commit. What we don‘t need is more „me too“.