[GH-ISSUE #6270] [Bug]: Journalctl is not included in the Docker version. #4256

Closed
opened 2026-10-31 20:38:20 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Yamada993 on GitHub (Aug 20, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6270

Describe the bug

Running ghcr.io/mhsanaei/3x-ui:latest, the journalctl command is missing in the container.
Log:

X-UI: Failed to run journalctl command! Make sure systemd is available and x-ui service is registered.

How to reproduce the problem

docker compose:

 services:
  3x-ui:
    image: ghcr.io/mhsanaei/3x-ui:latest
    container_name: 3x-ui
    cap_add:
      - NET_ADMIN
      - NET_RAW
    volumes:
      - ./db/:/etc/x-ui/
      - cert:/root/cert/
    environment:
      XRAY_VMESS_AEAD_FORCED: 'false'
      XUI_ENABLE_FAIL2BAN: 'true'
      TZ: Asia/Shanghai
    #network_mode: host
    ports:
      - "4333:4333"
      - "38680:38680"
      - "38680:38680/udp"
      - "2096:2096"
    restart: unless-stopped
    tty: true
volumes:
  cert:
    external: true
    name: xxx

Using Docker Compose

Expected behavior

No response

Actual behavior

No response

Relevant logs

X-UI: Failed to run journalctl command! Make sure systemd is available and x-ui service is registered.

Screenshots

No response

3x-ui version

3.6.0

Xray-core version

26.7.28

How did you install 3x-ui?

Docker / Docker Compose

Operating system

Linux openmediavault 6.12.101+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.101-1 (2026-08-05) x86_64 GNU/Linux

Which parts of the panel are affected?

Other

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @Yamada993 on GitHub (Aug 20, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6270 ### Describe the bug Running `ghcr.io/mhsanaei/3x-ui:latest`, the `journalctl` command is missing in the container. Log: > `X-UI: Failed to run journalctl command! Make sure systemd is available and x-ui service is registered.` ### How to reproduce the problem docker compose: ``` services: 3x-ui: image: ghcr.io/mhsanaei/3x-ui:latest container_name: 3x-ui cap_add: - NET_ADMIN - NET_RAW volumes: - ./db/:/etc/x-ui/ - cert:/root/cert/ environment: XRAY_VMESS_AEAD_FORCED: 'false' XUI_ENABLE_FAIL2BAN: 'true' TZ: Asia/Shanghai #network_mode: host ports: - "4333:4333" - "38680:38680" - "38680:38680/udp" - "2096:2096" restart: unless-stopped tty: true volumes: cert: external: true name: xxx ``` Using Docker Compose ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell X-UI: Failed to run journalctl command! Make sure systemd is available and x-ui service is registered. ``` ### Screenshots _No response_ ### 3x-ui version 3.6.0 ### Xray-core version 26.7.28 ### How did you install 3x-ui? Docker / Docker Compose ### Operating system Linux openmediavault 6.12.101+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.101-1 (2026-08-05) x86_64 GNU/Linux ### Which parts of the panel are affected? Other ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:38:20 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4256
No description provided.