Bug 48057 - UCS Docker image does not have a locale set
UCS Docker image does not have a locale set
Status: CLOSED DUPLICATE of bug 46665
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Arvid Requate
Dirk Wiesenthal
:
: 48249 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-26 11:51 CEST by Nico Gulden
Modified: 2023-01-26 11:32 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018091821000986, 2019031221000791, 2019011221000026
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-10-26 11:51:07 CEST
A user reported about the docker image that the locale is not set correctly.

The container is started with:

sudo docker run -it --name ucs-master -h ucs-master --restart=unless-stopped -p 8020:80 \
-e "TZ=Europe/Berlin" \
-e domainname=master.fritz.box \
-e rootpwd=pass \
-e container=docker \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--tmpfs /run --tmpfs /run/lock \
--cap-add=SYS_ADMIN \
-d univention/ucs-master-amd64:latest /sbin/init

After the installation http://<docker>:8020 has been called. After login as root a message informed that the locale is not correct. The web page looped forever.

It could be fixed by opening the Docker console and run "univention-install locales".
Comment 1 Arvid Requate univentionstaff 2019-05-28 18:11:11 CEST
Has been in univention/ucs-master-amd64:4.4-0 , which is tagged as "latest" currently and will get pulled by default.

The fix happend with commit 9c7bcd21 to package univention/internal/univention-docker-dev and then building new images.

It's not fixed in the 4.3-2 images.

*** This bug has been marked as a duplicate of bug 46665 ***
Comment 2 Philipp Hahn univentionstaff 2019-09-30 08:45:31 CEST
*** Bug 48249 has been marked as a duplicate of this bug. ***