linuxserver / docker-firefox

GNU General Public License v3.0
141 stars 38 forks source link

[BUG] Cannot display Chinese characters in version 130.0.1 #57

Open 2ipm1nd opened 2 hours ago

2ipm1nd commented 2 hours ago

Is there an existing issue for this?

Current Behavior

In version 128.0.3, when I use the following mods, Chinese can be displayed normally

      - DOCKER_MODS=linuxserver/mods:universal-package-install #MOD
      - INSTALL_PACKAGES=font-noto-cjk #繁體中文字型
      - LC_ALL=zh_TW.UTF-8 #繁體中文

But when I upgraded to version 130.0.1, the function of displaying Chinese failed. What should I do to display the Chinese interface again?

螢幕快照 2024-09-27 19-11-30

Expected Behavior

No response

Steps To Reproduce

This situation occurs when upgrading to version 130.0.1

Environment

- OS:ubuntu 22.04
- How docker service was installed:ubuntu

CPU architecture

x86-64

Docker creation

version: '3.8'
services:
  firefox:
    image: linuxserver/firefox:latest

    container_name: firefox
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Taipei #台灣時區
      #- FIREFOX_CLI=https://www.linuxserver.io/ #optional
      - DOCKER_MODS=linuxserver/mods:universal-package-install #MOD
      - INSTALL_PACKAGES=font-noto-cjk #繁體中文字型
      - LC_ALL=zh_TW.UTF-8 #繁體中文
      - CUSTOM_USER=${CUSTOM_USER:-abc} #設定帳號,預設是abc
      - PASSWORD=${PASSWORD:-abc} #設定密碼,預設是abc,刪除就不驗證
    volumes:
      - /mnt/cloud1/dockerData/firefox/config:/config
    ports:
      - 780:3000

    shm_size: "1gb"
    restart: unless-stopped

Container logs

[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:universal-package-install to container
[mod-init] Downloading linuxserver/mods:universal-package-install from lscr.io
[mod-init] Installing linuxserver/mods:universal-package-install
[mod-init] linuxserver/mods:universal-package-install applied to container
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
**** Adding font-noto-cjk to OS package install list ****
[pkg-install-init] **** Installing all mod packages ****
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease
Get:5 http://archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main Sources [320 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe Sources [367 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [678 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [503 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble-security/main Sources [123 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [476 kB]
Get:12 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [364 kB]
Fetched 3,084 kB in 3s (1,132 kB/s)
Reading package lists...
W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package font-noto-cjk
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Sep 21 2024 19:08:05
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
19
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
 2024-09-27 19:08:17,293 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-09-27 19:08:17,309 [PRIO] Connections: accepted: @192.168.6.1_1727435297.293247::websocket
 2024-09-27 19:11:00,554 [PRIO] Connections: closed: @192.168.6.1_1727435297.293247::websocket (Clean disconnection)
 2024-09-27 19:11:04,415 [INFO] websocket 1: got client connection from 127.0.0.1
 2024-09-27 19:11:04,423 [PRIO] Connections: accepted: @192.168.6.1_1727435464.416993::websocket
github-actions[bot] commented 2 hours ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.