mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Internal server error when using Docker labels with a period #360
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cbrl on GitHub (Jun 12, 2025).
Current Behavior
Adding/modifying a docker label with a period results in an internal server error.
For example, attempting to work with the label
test.labelwith a description ofcontentresults in the exceptionNo synthesizer found for key: "content". This occurs atapp/Http/Middleware/LanguageMiddleware.php:22.Here is the request body reported in the error after trying to edit the label described above:
Interestingly, this doesn't actually appear to prevent the usage of these labels. I can add and remove labels with periods and see the changes reflected in the container as expected.
Expected Behavior
No error is thrown.
According to https://docs.docker.com/engine/manage-resources/labels/#key-format-recommendations, valid docker labels may contain alphanumeric characters, periods, underscores, slashes, and hyphens. Only periods cause this issue.
Steps to Reproduce
Attempt to add/edit a docker label with a period in it on any server.
Panel Version
v1.0.0-beta21
Wings Version
v1.0.0-beta13
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Jun 12, 2025):
Hey are you able to produce on the demo ?
I thought i resolved it in https://github.com/pelican-dev/panel/pull/1261
@cbrl commented on GitHub (Jun 12, 2025):
I do see that behavior in the demo too. It doesn't seem to happen reliably though. It appears most reliable when erasing a trailing period, but I don't know if that's actually a clue since I've also seen it happen when editing the label in any other manner.
@Boy132 commented on GitHub (Jun 12, 2025):
Can reproduce.
It happens when you edit a server with a
.in the docker labels and you try to remove the.from the label. The error is thrown right after the input is updated and before you even hit save.@Boy132 commented on GitHub (Aug 14, 2025):
This will be fixed when updating to filament v4.