Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no usable system locales were found - Alpine postgres #1311

Open
bharanitharanm opened this issue Jan 30, 2025 · 1 comment
Open

no usable system locales were found - Alpine postgres #1311

bharanitharanm opened this issue Jan 30, 2025 · 1 comment

Comments

@bharanitharanm
Copy link

Getting this error during postgres startup,

sh: locale: not found
2025-01-30 10:33:25.556 UTC [36] WARNING:  no usable system locales were found

I dont see any issues beacuse of this. Databases are created with en-US ICU locale,

Image

Need to understand if there is anything needs to be configure to avoid this error. Also are there any impact because of this error?

Currently I'm using, postgres:16.6-alpine3.20

I tried setting this environment variable, still it is not resolved,

POSTGRES_INITDB_ARGS: --locale-provider=icu --icu-locale=en-US

@LaurentGoderre
Copy link
Member

See #337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants