[BUG] wechat cannot start

未关闭
#11 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
bash, docker, dockerfile
领域
desktop, devops

调研方向

This is a regression between the working ls18 tag and the current latest (ls19), so start by diffing those two image builds: read the repo Dockerfile, the root/defaults init scripts and the wechat launcher, and compare the /config/.XDG wayland/svc-de startup path the logs show. Reproduce by running the docker-compose file with the ls18 tag, then latest, on Ubuntu 22.04. Done means the Weixin window opens again from the icon and the cause is identified in a commit or init script change.

由索引模型根据 Issue 内容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

After the latest release 6 hours ago, nothing happens when i click on the wechat icon, Chromium Web Browser started fine

Expected Behavior

wechat should start

Steps To Reproduce

double click wechat icon, nothing happens

Environment
- OS: 22.04
- How docker service was installed: apt
CPU architecture

x86-64

Docker creation
services:
  wechat:
    # :28c4be04-ls19 - does not work
    image: lscr.io/linuxserver/weixin:latest
    # ls18 last working image w/o wayland 
    # image: lscr.io/linuxserver/weixin:1e594ff0-ls18
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Singapore
    volumes:
      - ../../../wechat/data-docker/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: 1gb
    restart: always
Container logs
wechat-1  | [migrations] started
wechat-1  | [migrations] no migrations found
wechat-1  | ───────────────────────────────────────
wechat-1  | 
wechat-1  |       ██╗     ███████╗██╗ ██████╗
wechat-1  |       ██║     ██╔════╝██║██╔═══██╗
wechat-1  |       ██║     ███████╗██║██║   ██║
wechat-1  |       ██║     ╚════██║██║██║   ██║
wechat-1  |       ███████╗███████║██║╚██████╔╝
wechat-1  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
wechat-1  | 
wechat-1  |    Brought to you by linuxserver.io
wechat-1  | ───────────────────────────────────────
wechat-1  | 
wechat-1  | To support LSIO projects visit:
wechat-1  | https://www.linuxserver.io/donate/
wechat-1  | 
wechat-1  | ───────────────────────────────────────
wechat-1  | GID/UID
wechat-1  | ───────────────────────────────────────
wechat-1  | 
wechat-1  | User UID:    1000
wechat-1  | User GID:    1000
wechat-1  | ───────────────────────────────────────
wechat-1  | [ls.io-init] Generating labwc rc.xml from template
wechat-1  | [ls.io-init] Disabling auto-maximization
wechat-1  | mknod: /dev/input/js0: Operation not permitted
wechat-1  | [custom-init] No custom files found, skipping...
wechat-1  | [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
wechat-1  | [ls.io-init] done.
wechat-1  | 17
wechat-1  | 18
wechat-1  | [pixelflux] No hardware encoder on render node 0 (nvenc): Could not load CUDA library (libcuda.so.1): dlopen failed
wechat-1  | [pixelflux] Thread priority -15 refused and rtkit does not grant it; capture threads run at normal priority.
wechat-1  | [Wayland] Renderer: software (Pixman), no render node.
wechat-1  | [Wayland] View 1 created over output 0: 1024x768 @ (0, 0).
wechat-1  | [Wayland] Socket listening on: "wayland-1"
wechat-1  | INFO:server:Wayland compositor socket: wayland-1
wechat-1  | INFO:main:Selkies 2.2.1 starting: websockets transport, Wayland capture, encoder h264enc at 8-240 fps, sized by the client, audio on, gamepads on, access open.
wechat-1  | INFO:server:Starting service: websockets
wechat-1  | INFO:gamepad:4 virtual gamepads ready ('Microsoft X-Box 360 pad', sockets under /config/.XDG); kernel uinput off.
wechat-1  | INFO:input:Wayland clipboard: native compositor callback active (no polling).
wechat-1  | INFO:input:Apps panel enabled: selkies-proot can run here.
wechat-1  | INFO:input:Apps installed in this session: none
wechat-1  | [svc-de] /config/.XDG/wayland-1 found launching de
wechat-1  | INFO:server:Selkies server running on http://[::1]:8082, http://127.0.0.1:8082
wechat-1  | INFO:printing:Print queue Selkies listening on /config/.XDG/selkies-cups/cups.sock, spooling to /config/.local/state/selkies/print, on A4 paper
wechat-1  | INFO:input:Wayland app compositor 'wayland-0' (auto-detected); routing input + clipboard there, capture stays on 'wayland-1'.
wechat-1  | INFO:input:Wayland clipboard: app-compositor data-control watch active (no forks).
wechat-1  | INFO:ws:Client ('127.0.0.1', 58430) connected (legacy, role controller, slot None).
wechat-1  | INFO:ws:Sound server control ready for the microphone (pulsectl).
wechat-1  | INFO:input:Session compositor screen 0 ('primary') scaled to 1.0.
wechat-1  | INFO:input:Client keyboard layout hint 'us' noted (the session compositor owns the keymap; not applied).
wechat-1  | INFO:ws:Layout calculated: Total Size=600x650. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 598, 'h': 650}}
wechat-1  | [Wayland] Readback capture: output 1 598x650 rendered in software (Pixman), read back for the encode thread (no GPU renderer).
wechat-1  | INFO:ws:Capture started for 'primary': 598x650 at +0+0.
wechat-1  | [Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 4 threads.
wechat-1  | [Wayland] Readback encode: no hardware encoder opened; encoding in software (x264).
wechat-1  | [Wayland] Stream settings active -> Res: 598x650 | FPS: 60.0 | Stripes: 1 | Mode: H264 (x264) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-1  | [Wayland] Output 0 resized to 598x650 scale 1.00.
wechat-1  | INFO:ws:Wayland realized geometry for 'primary': 598x650 @ scale 1.0
wechat-1  | INFO:ws:Client ('127.0.0.1', 58430) settings applied for 'primary': 598x650, h264enc crf 25, 60 fps.
wechat-1  | INFO:input:Session compositor laid 1 screen(s) out at [(0, 0, 598, 650)].
wechat-1  | INFO:ws:Starting pcmflux audio pipeline: device 'output.monitor', 320000 bps, 2 ch, RED distance 2.
wechat-1  | [pcmflux] SUCCESS: Opus encoder created (2 ch).
wechat-1  | [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: On
主要语言
Dockerfile
星标
75
派生
14
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxserver/docker-weixin 的其他 Issue

查看 linuxserver/docker-weixin 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。