Skip to content

🐛 Bug: Docker container OCPP profiles prevent simulator mode #150

@cicakeydo

Description

@cicakeydo

📜 Description

Container includes Reservation profile causing fatal error in simulator mode "error":"unknown profile Reservation","level":"fatal","msg":"Cannot create OCPP configuration"

👟 Reproduction steps

docker logs chargepi-working -f

👍 Expected behavior

all connected

👎 Actual Behavior

time="2025-07-08T14:34:39Z" level=info msg="All [0 0] tables opened in %!s(MISSING)\n" component=database
time="2025-07-08T14:34:39Z" level=info msg="Discard stats nextEmptySlot: [0]\n" component=database
time="2025-07-08T14:34:39Z" level=info msg="Set nextTxnTs to [0]" component=database
{"component":"importer","level":"info","msg":"Importing EVSE settings from /host-config/evse.yaml","time":"2025-07-08T14:34:39Z"}
time="2025-07-08T14:34:39Z" level=info msg="All [0 0] tables opened in %!s(MISSING)\n" component=database
time="2025-07-08T14:34:39Z" level=info msg="Discard stats nextEmptySlot: [0]\n" component=database
time="2025-07-08T14:34:39Z" level=info msg="Set nextTxnTs to [4]" component=database
{"level":"debug","msg":"Using configuration file: /host-config/test-config-8181.yaml","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Fetching settings..","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","level":"info","msg":"Initializing EVSEs","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","evseId":1,"level":"debug","msg":"Creating an Evcc from settings","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","evseId":1,"level":"debug","msg":"EVCC created","time":"2025-07-08T14:34:39Z","type":"Dummy"}
{"component":"evse-manager","evseId":1,"level":"debug","msg":"Creating power meter","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Creating a new power meter: dummy","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","evseId":1,"level":"debug","msg":"Creating EVSE","time":"2025-07-08T14:34:39Z"}
{"evseId":1,"level":"info","maxChargingTime":null,"msg":"Creating a new evse","time":"2025-07-08T14:34:39Z"}
{"component":"evse","evseId":1,"level":"info","msg":"Initializing evse","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Initializing dummy EVCC","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Disabling charging","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Setting max charging current to 22.000000","time":"2025-07-08T14:34:39Z"}
{"component":"evse","evseId":1,"level":"debug","msg":"Getting evse id","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","evseId":1,"level":"debug","msg":"Adding an EVSE to manager","time":"2025-07-08T14:34:39Z"}
{"component":"evse","evseId":1,"level":"debug","msg":"Getting evse id","time":"2025-07-08T14:34:39Z"}
{"component":"evse-manager","level":"debug","msg":"Getting all EVSEs","time":"2025-07-08T14:34:39Z"}
{"level":"info","msg":"Preparing Indicator from config: dummy","time":"2025-07-08T14:34:39Z"}
{"error":"unknown profile Reservation","level":"fatal","msg":"Cannot create OCPP configuration","time":"2025-07-08T14:34:39Z"}

What OCPP version are you using?

  • OCPP 1.6
  • OCPP 2.0.1

Are you using any OCPP extensions?

  • OCPP 1.6 Security
  • OCPP 1.6 Plug and Charge

release version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been found before?

  • I checked and didn't find a similar issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions