Issue with the docker-plugin_daemon-1 #28350
Replies: 1 comment 1 reply
-
|
Hi @it22323934! I'm Dosu and I’m helping the dify team. The error To fix this, you can build a custom image for the plugin daemon with these lines in your Dockerfile (for Debian/Ubuntu-based images): ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ENV PYTHONIOENCODING=utf-8
RUN apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8Then rebuild and redeploy your container. This will remove the warning and ensure proper UTF-8 support for Python and other tools. More details and context are available in this discussion: see here. Note: The warning itself is usually not fatal and doesn't always prevent the container from starting. If your container still fails to start, check the logs for other errors—often, database connection issues or misconfigured environment variables are the real cause of startup failures, not the locale warning itself (example). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
The issues is that the docker-plugin_daemon-1 is keeping throwing this error without starting the container /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions