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

Missing locale in latest image? #44

Open
ThimoNeubauer opened this issue Jan 27, 2025 · 1 comment
Open

Missing locale in latest image? #44

ThimoNeubauer opened this issue Jan 27, 2025 · 1 comment

Comments

@ThimoNeubauer
Copy link

I noticed that our daily calls of /opt/teamcity/bin/maintainDB.sh started showing messages about missing locales on stderr. The effect is straightforward to reproduce:

[tnr1@eu-dar-tnr1-ds8 ~]$ docker run -it --rm jetbrains/teamcity-server /opt/teamcity/bin/maintainDB.sh
Unable to find image 'jetbrains/teamcity-server:latest' locally
latest: Pulling from jetbrains/teamcity-server
6414378b6477: Already exists
2c3f47439a8b: Pull complete
... blah blah for sure I got the latest and greatest ...
75b7b578df93: Pull complete
Digest: sha256:588053d1de2323fd908ab7b8e59a67626a57dd2fa38ea78347d57799d1346f05
Status: Downloaded newer image for jetbrains/teamcity-server:latest
../webapps/ROOT/WEB-INF/lib
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = "en_US.UTF-8",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
Using logs directory "/opt/teamcity/logs"
TeamCity maintenance tool. Copyright 2006-2024 JetBrains s.r.o. All Rights Reserved.

Usage:
  maintainDB <command> [options]

Commands:
    backup  - perform data backup to a file
    restore - restore data from a backup file
    migrate - migrate data to another database system

You can see that perl is missing the "en_US.UTF-8" locale.

10 days ago a new image was pushed. I tried the previous image which doesn't show the warning on stderr:

[tnr1@eu-dar-tnr1-ds8 ~]$ docker run -it --rm jetbrains/teamcity-server@sha256:0a295e8bad7c6956504936eb63b630eb7f3cf70f3250021330f1fbd03ced6a68 /opt/teamcity/bin/maintainDB.sh
Unable to find image 'jetbrains/teamcity-server@sha256:0a295e8bad7c6956504936eb63b630eb7f3cf70f3250021330f1fbd03ced6a68' locally
docker.io/jetbrains/teamcity-server@sha256:0a295e8bad7c6956504936eb63b630eb7f3cf70f3250021330f1fbd03ced6a68: Pulling from jetbrains/teamcity-server
6414378b6477: Already exists
6dab8dc7fc43: Pull complete
... blah blah ...
Digest: sha256:0a295e8bad7c6956504936eb63b630eb7f3cf70f3250021330f1fbd03ced6a68
Status: Downloaded newer image for jetbrains/teamcity-server@sha256:0a295e8bad7c6956504936eb63b630eb7f3cf70f3250021330f1fbd03ced6a68
../webapps/ROOT/WEB-INF/lib
Using logs directory "/opt/teamcity/logs"
TeamCity maintenance tool. Copyright 2006-2024 JetBrains s.r.o. All Rights Reserved.

Usage:
  maintainDB <command> [options]

Commands:
    backup  - perform data backup to a file
    restore - restore data from a backup file
    migrate - migrate data to another database system
@metametadata
Copy link

Turns out this repo is abandoned, try https://github.com/JetBrains/teamcity-docker-images?tab=readme-ov-file#bugsissuesproblems instead.

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