[GH-ISSUE #5441] [Bug]: database disk image is malformed #3807

Closed
opened 2026-10-31 20:35:06 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @saraglamorous95-droid on GitHub (Jun 19, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5441

Describe the bug

im getting this error "Something went wrong Obtain (database disk image is malformed)"
after 3 days working with latest version after updating my panel from 2.8.11 to latest .
3 days working great and i can add and manage my inbound and clients but now i cant open this 2 sections but i can open other sections . only this 2 sections im getting the error

How to reproduce the problem

none

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.3.1

Xray-core version

26.6.1

How did you install 3x-ui?

install.sh script

Operating system

ubuntu 24

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

all of them

Is the panel behind a reverse proxy or CDN?

Yes — Cloudflare (proxied DNS)

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 @saraglamorous95-droid on GitHub (Jun 19, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5441 ### Describe the bug im getting this error "Something went wrong Obtain (database disk image is malformed)" after 3 days working with latest version after updating my panel from 2.8.11 to latest . 3 days working great and i can add and manage my inbound and clients but now i cant open this 2 sections but i can open other sections . only this 2 sections im getting the error ### How to reproduce the problem none ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.3.1 ### Xray-core version 26.6.1 ### How did you install 3x-ui? install.sh script ### Operating system ubuntu 24 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) all of them ### Is the panel behind a reverse proxy or CDN? Yes — Cloudflare (proxied DNS) ### 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:35:06 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 19, 2026):

The error "database disk image is malformed" is SQLite error code SQLITE_CORRUPT (11). It is thrown by the SQLite library itself when it detects physical corruption in the database file at /etc/x-ui/x-ui.db. The panel surfaces it as the "Obtain" toast in the inbounds and clients controllers (internal/web/controller/inbound.go lines 89 and 101, internal/web/controller/client.go lines 82–96) whenever those DB reads fail. Other sections remain functional because they query different tables that happen to reside on uncorrupted pages.

Common causes

  • Disk-full condition during a write (most frequent on VPS instances)
  • The service process being killed (OOM, SIGKILL) mid-write, leaving a partially-written WAL file
  • Underlying block-device or filesystem errors

Diagnostic steps

Run these while the service is stopped:

systemctl stop x-ui
df -h /etc/x-ui/           # check for a full filesystem
ls -la /etc/x-ui/          # look for stale .db-wal / .db-shm files
sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;"
journalctl -u x-ui -n 200 --no-pager

Recovery using the built-in tool

The panel ships x-ui migrate-db --dump / --restore (internal/database/dump_sqlite.go). With the service stopped:

# 1. Dump what SQLite can still read
x-ui migrate-db --src /etc/x-ui/x-ui.db --dump /tmp/x-ui.dump

# 2. If the dump succeeds, rebuild a clean database
x-ui migrate-db --restore /tmp/x-ui.dump --out /tmp/x-ui_recovered.db

# 3. Replace the corrupted file
cp /etc/x-ui/x-ui.db /etc/x-ui/x-ui.db.bak
cp /tmp/x-ui_recovered.db /etc/x-ui/x-ui.db

# 4. Restart
systemctl start x-ui

If --dump also fails (the corruption is too extensive for a SELECT-based read), the sqlite3 CLI ships a lower-level recovery mode that bypasses B-tree errors:

sqlite3 /etc/x-ui/x-ui.db ".recover" | sqlite3 /tmp/x-ui_recovered.db

sqlite3 is available on Ubuntu 24 via apt install sqlite3 if not already present.

Information needed to investigate further

Please share the output of:

  1. journalctl -u x-ui --since "6 hours ago" --no-pager (or the last ~200 lines from the panel log file if configured)
  2. df -h /etc/x-ui/ — to confirm whether the disk was full at any point
  3. ls -la /etc/x-ui/ — to show whether .db-wal or .db-shm files are present
  4. sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;" — to show which pages or tables are affected
  5. Whether the host experienced a kernel OOM kill, power loss, or unexpected reboot in the 24 hours before the error appeared (journalctl -b -1 --no-pager | tail -50)

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4755422966 --> @github-actions[bot] commented on GitHub (Jun 19, 2026): The error \"database disk image is malformed\" is SQLite error code `SQLITE_CORRUPT` (11). It is thrown by the SQLite library itself when it detects physical corruption in the database file at `/etc/x-ui/x-ui.db`. The panel surfaces it as the \"Obtain\" toast in the inbounds and clients controllers (`internal/web/controller/inbound.go` lines 89 and 101, `internal/web/controller/client.go` lines 82–96) whenever those DB reads fail. Other sections remain functional because they query different tables that happen to reside on uncorrupted pages. **Common causes** - Disk-full condition during a write (most frequent on VPS instances) - The service process being killed (OOM, SIGKILL) mid-write, leaving a partially-written WAL file - Underlying block-device or filesystem errors **Diagnostic steps** Run these while the service is stopped: ```bash systemctl stop x-ui df -h /etc/x-ui/ # check for a full filesystem ls -la /etc/x-ui/ # look for stale .db-wal / .db-shm files sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;" journalctl -u x-ui -n 200 --no-pager ``` **Recovery using the built-in tool** The panel ships `x-ui migrate-db --dump / --restore` (`internal/database/dump_sqlite.go`). With the service stopped: ```bash # 1. Dump what SQLite can still read x-ui migrate-db --src /etc/x-ui/x-ui.db --dump /tmp/x-ui.dump # 2. If the dump succeeds, rebuild a clean database x-ui migrate-db --restore /tmp/x-ui.dump --out /tmp/x-ui_recovered.db # 3. Replace the corrupted file cp /etc/x-ui/x-ui.db /etc/x-ui/x-ui.db.bak cp /tmp/x-ui_recovered.db /etc/x-ui/x-ui.db # 4. Restart systemctl start x-ui ``` If `--dump` also fails (the corruption is too extensive for a SELECT-based read), the `sqlite3` CLI ships a lower-level recovery mode that bypasses B-tree errors: ```bash sqlite3 /etc/x-ui/x-ui.db ".recover" | sqlite3 /tmp/x-ui_recovered.db ``` `sqlite3` is available on Ubuntu 24 via `apt install sqlite3` if not already present. **Information needed to investigate further** Please share the output of: 1. `journalctl -u x-ui --since "6 hours ago" --no-pager` (or the last ~200 lines from the panel log file if configured) 2. `df -h /etc/x-ui/` — to confirm whether the disk was full at any point 3. `ls -la /etc/x-ui/` — to show whether `.db-wal` or `.db-shm` files are present 4. `sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;"` — to show which pages or tables are affected 5. Whether the host experienced a kernel OOM kill, power loss, or unexpected reboot in the 24 hours before the error appeared (`journalctl -b -1 --no-pager | tail -50`) --- *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@saraglamorous95-droid commented on GitHub (Jun 19, 2026):

output you Requested :

"
tabase disk image is malformed
Jun 19 23:20:04 Fin /usr/local/x-ui/x-ui[1158411]: ERROR - start xray failed: database disk image is malformed
Jun 19 23:20:04 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - [POST /DGDSgdfhfhrt45754/panel/api/server/restartXrayService handler=controller.(*ServerController).restartXrayService server.go:243] There was an error when rebooting the Xray. Failed: database disk image is malformed
Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed
Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed
Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed
Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed
Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed
Jun 19 23:22:56 Fin systemd[1]: Stopping x-ui.service - x-ui Service...
Jun 19 23:22:56 Fin /usr/local/x-ui/x-ui[1158411]: INFO - WebSocket hub stopped
Jun 19 23:22:56 Fin x-ui[1158411]: 2026/06/19 23:22:56 Shutting down servers.
Jun 19 23:22:56 Fin systemd[1]: x-ui.service: Deactivated successfully.
Jun 19 23:22:56 Fin systemd[1]: Stopped x-ui.service - x-ui Service.
Jun 19 23:22:56 Fin systemd[1]: x-ui.service: Consumed 6h 21min 34.174s CPU time, 1005.9M memory peak, 0B memory swap peak.
-- Boot bc5a5ac435d145a0a3e483e8dd9d568d --
Jun 19 23:23:22 Fin systemd[1]: Started x-ui.service - x-ui Service.
Jun 19 23:23:22 Fin x-ui[814]: 2026/06/19 23:23:22 Starting x-ui 3.3.1
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Web server running HTTPS on [::]:2087
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test188 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test189 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test190 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test191 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test192 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test193 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test194 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test195 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test196 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test197 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test198 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test199 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like24 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like263 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like354 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test47 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test52 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test53 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test58 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test61 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test65 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test67 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test72 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test73 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test77 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test83 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test85 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test86 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test89 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test90 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test92 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test95 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test128 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test135 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test137 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test148 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test149 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test153 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test154 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test157 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test161 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test162 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test164 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test167 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test169 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test170 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test172 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test173 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test175 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test176 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test177 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test178 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test179 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test180 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test181 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test182 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test183 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test184 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test186 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test187 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Apple7 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Apple20 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple61 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple72 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple91 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like2 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like3 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like5 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like7 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like11 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test200 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test201 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test202 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test203 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test204 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test205 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test206 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test207 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test208 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test209 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test210 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test211 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test212 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test213 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test214 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test215 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test216 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test217 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test218 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test219 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test221 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test222 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test223 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test224 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test225 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test226 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test229 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test231 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test233 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test234 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test235 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test236 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test237 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test239 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test250 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test251 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test252 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss511 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss512 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss514 due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test47- due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Mobalike11- due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test229- due to expiration or traffic limit
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature VMess (with no Forward Secrecy, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS Encryption as soon as possible.
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated, not recommended for using and might be removed. Please migrate to XHTTP H2 & H3 as soon as possible.
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature Shadowsocks (with no Forward Secrecy, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS Encryption as soon as possible.
Jun 19 23:23:33 Fin /usr/local/x-ui/x-ui[814]: INFO - xray core supports the online-stats API; using connection-based onlines and access-log-free IP limit
Jun 19 23:31:48 Fin /usr/local/x-ui/x-ui[814]: WARNING - [POST /DGDSgdfhfhrt45754/panel/api/clients/update/Test261 handler=controller.(*ClientController).update client.go:159] Something went wrong Failed: database disk image is malformed
Jun 19 23:38:16 Fin systemd[1]: Stopping x-ui.service - x-ui Service...
Jun 19 23:38:16 Fin x-ui[814]: 2026/06/19 23:38:16 Shutting down servers.
Jun 19 23:38:16 Fin systemd[1]: x-ui.service: Deactivated successfully.
Jun 19 23:38:16 Fin systemd[1]: Stopped x-ui.service - x-ui Service.
Jun 19 23:38:16 Fin systemd[1]: x-ui.service: Consumed 1min 42.402s CPU time.
"

"
df -h /etc/x-ui/
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 38G 5.9G 30G 17% /
"

"

df -h /etc/x-ui/
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 38G 5.9G 30G 17% /
root@Fin:~# ls -la /etc/x-ui/
total 6472
drwxr-xr-x 2 root root 4096 Jun 19 23:38 .
drwxr-xr-x 103 root root 4096 Jun 19 06:55 ..
-rw-r--r-- 1 root root 1905032 Jun 19 23:38 system_metrics.gob
-rw-r--r-- 1 root root 557056 Jun 19 23:33 x-ui.db
-rw-r--r-- 1 root root 32768 Jun 19 23:38 x-ui.db-shm
-rw-r--r-- 1 root root 4120032 Jun 19 23:38 x-ui.db-wal
"

"
sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;"
*** in database main ***
Tree 5 page 5: btreeInitPage() returns error code 11
Tree 6 page 6: btreeInitPage() returns error code 11
Error: stepping, database disk image is malformed (11)

"

<!-- gh-comment-id:4755499597 --> @saraglamorous95-droid commented on GitHub (Jun 19, 2026): output you Requested : 1) " tabase disk image is malformed Jun 19 23:20:04 Fin /usr/local/x-ui/x-ui[1158411]: ERROR - start xray failed: database disk image is malformed Jun 19 23:20:04 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - [POST /DGDSgdfhfhrt45754/panel/api/server/restartXrayService handler=controller.(*ServerController).restartXrayService server.go:243] There was an error when rebooting the Xray. Failed: database disk image is malformed Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:20:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:21:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:00 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:05 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:10 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:15 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:20 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:25 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:30 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:35 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:40 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:45 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:50 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - mtproto job: get inbounds failed: database disk image is malformed Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - add inbound traffic failed: database disk image is malformed Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - bump last online for connected clients failed: database disk image is malformed Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get clients last online failed: database disk image is malformed Jun 19 23:22:55 Fin /usr/local/x-ui/x-ui[1158411]: WARNING - get all client traffics for websocket failed: database disk image is malformed Jun 19 23:22:56 Fin systemd[1]: Stopping x-ui.service - x-ui Service... Jun 19 23:22:56 Fin /usr/local/x-ui/x-ui[1158411]: INFO - WebSocket hub stopped Jun 19 23:22:56 Fin x-ui[1158411]: 2026/06/19 23:22:56 Shutting down servers. Jun 19 23:22:56 Fin systemd[1]: x-ui.service: Deactivated successfully. Jun 19 23:22:56 Fin systemd[1]: Stopped x-ui.service - x-ui Service. Jun 19 23:22:56 Fin systemd[1]: x-ui.service: Consumed 6h 21min 34.174s CPU time, 1005.9M memory peak, 0B memory swap peak. -- Boot bc5a5ac435d145a0a3e483e8dd9d568d -- Jun 19 23:23:22 Fin systemd[1]: Started x-ui.service - x-ui Service. Jun 19 23:23:22 Fin x-ui[814]: 2026/06/19 23:23:22 Starting x-ui 3.3.1 Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Web server running HTTPS on [::]:2087 Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test188 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test189 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test190 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test191 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test192 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test193 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test194 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test195 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test196 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test197 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test198 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test199 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like24 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like263 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like354 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test47 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test52 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test53 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test58 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test61 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test65 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test67 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test72 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test73 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test77 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test83 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test85 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test86 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test89 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test90 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test92 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test95 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test128 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test135 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test137 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test148 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test149 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test153 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test154 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test157 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test161 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test162 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test164 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test167 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test169 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test170 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test172 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test173 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test175 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test176 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test177 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test178 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test179 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test180 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test181 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test182 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test183 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test184 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test186 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test187 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Apple7 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Apple20 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple61 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple72 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User TestApple91 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like2 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like3 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like5 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like7 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User like11 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test200 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test201 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test202 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test203 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test204 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test205 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test206 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test207 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test208 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test209 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test210 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test211 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test212 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test213 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test214 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test215 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test216 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test217 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test218 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test219 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test221 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test222 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test223 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test224 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test225 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test226 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test229 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test231 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test233 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test234 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test235 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test236 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test237 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test239 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test250 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test251 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test252 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss511 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss512 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Testss514 due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test47- due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Mobalike11- due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - Remove Inbound User Test229- due to expiration or traffic limit Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature VMess (with no Forward Secrecy, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS Encryption as soon as possible. Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature WebSocket transport (with ALPN http/1.1, etc.) is deprecated, not recommended for using and might be removed. Please migrate to XHTTP H2 & H3 as soon as possible. Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 19 23:23:23 Fin /usr/local/x-ui/x-ui[814]: WARNING - XRAY: common/errors: The feature Shadowsocks (with no Forward Secrecy, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS Encryption as soon as possible. Jun 19 23:23:33 Fin /usr/local/x-ui/x-ui[814]: INFO - xray core supports the online-stats API; using connection-based onlines and access-log-free IP limit Jun 19 23:31:48 Fin /usr/local/x-ui/x-ui[814]: WARNING - [POST /DGDSgdfhfhrt45754/panel/api/clients/update/Test261 handler=controller.(*ClientController).update client.go:159] Something went wrong Failed: database disk image is malformed Jun 19 23:38:16 Fin systemd[1]: Stopping x-ui.service - x-ui Service... Jun 19 23:38:16 Fin x-ui[814]: 2026/06/19 23:38:16 Shutting down servers. Jun 19 23:38:16 Fin systemd[1]: x-ui.service: Deactivated successfully. Jun 19 23:38:16 Fin systemd[1]: Stopped x-ui.service - x-ui Service. Jun 19 23:38:16 Fin systemd[1]: x-ui.service: Consumed 1min 42.402s CPU time. " 2) " df -h /etc/x-ui/ Filesystem Size Used Avail Use% Mounted on /dev/sda1 38G 5.9G 30G 17% / " 3) " df -h /etc/x-ui/ Filesystem Size Used Avail Use% Mounted on /dev/sda1 38G 5.9G 30G 17% / root@Fin:~# ls -la /etc/x-ui/ total 6472 drwxr-xr-x 2 root root 4096 Jun 19 23:38 . drwxr-xr-x 103 root root 4096 Jun 19 06:55 .. -rw-r--r-- 1 root root 1905032 Jun 19 23:38 system_metrics.gob -rw-r--r-- 1 root root 557056 Jun 19 23:33 x-ui.db -rw-r--r-- 1 root root 32768 Jun 19 23:38 x-ui.db-shm -rw-r--r-- 1 root root 4120032 Jun 19 23:38 x-ui.db-wal " 4) " sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;" *** in database main *** Tree 5 page 5: btreeInitPage() returns error code 11 Tree 6 page 6: btreeInitPage() returns error code 11 Error: stepping, database disk image is malformed (11) "
Author
Owner

@MHSanaei commented on GitHub (Jun 20, 2026):

@claude

<!-- gh-comment-id:4755661597 --> @MHSanaei commented on GitHub (Jun 20, 2026): @claude
Author
Owner

@github-actions[bot] commented on GitHub (Jun 20, 2026):

Claude finished @MHSanaei's task in 2m 32s —— View job


Analysis

  • Analyze user's diagnostic output
  • Verify what recovery tools exist in the codebase
  • Provide accurate recovery instructions

Root cause identified. The .db-wal (4.1 MB) and .db-shm files in the ls -la output are the smoking gun. SQLite's WAL mode accumulates writes in the WAL file and periodically checkpoints them into the main database. Two things conspired here:

  1. The recent e079490 commit switched the journal mode from WAL to DELETE (_journal_mode=DELETE in internal/database/db.go:889). When the panel started after the upgrade, SQLite had to checkpoint the large accumulated WAL into the main database file before it could switch modes. This requires reading the WAL and writing to pages in the main file.
  2. The service was killed by the OS mid-way through that checkpoint (the journal entry confirms it: Consumed 6h 21min 34.174s CPU time, 1005.9M memory peak → stopped by systemd, likely OOM). The result is partially-written pages 5 and 6 in the main .db file.

The WAL files are still on disk because the switch to DELETE mode never completed — SQLite removes the WAL only after a clean checkpoint.


Important note on the built-in dump tool: x-ui migrate-db --dump (internal/database/dump_sqlite.go) works by running SELECT * FROM table for each table. Since pages 5 and 6 are the B-tree root pages of at least two tables (likely inbounds and one traffic table), the dump will also return error code 11 for those tables. Do not rely on it alone.


Recovery steps (service is already stopped per the logs)

Step 1 — try a forced WAL checkpoint first (sometimes enough if the WAL itself is intact):

systemctl stop x-ui
sqlite3 /etc/x-ui/x-ui.db "PRAGMA wal_checkpoint(TRUNCATE);"
sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;"

If integrity_check now returns ok, skip to Step 4.

Step 2 — low-level recovery using .recover (bypasses B-tree page errors):

apt install sqlite3   # if not already present
sqlite3 /etc/x-ui/x-ui.db ".recover" | sqlite3 /tmp/x-ui_recovered.db

.recover scans all database pages at the raw level rather than traversing B-trees, so it can extract data from tables even when their root pages are corrupt.

Step 3 — verify the recovered database:

sqlite3 /tmp/x-ui_recovered.db "PRAGMA integrity_check;"

If this returns ok, proceed.

Step 4 — replace the corrupted file:

cp /etc/x-ui/x-ui.db /etc/x-ui/x-ui.db.bak
cp /tmp/x-ui_recovered.db /etc/x-ui/x-ui.db
rm -f /etc/x-ui/x-ui.db-wal /etc/x-ui/x-ui.db-shm
systemctl start x-ui

Removing the .db-wal and .db-shm files is required — the recovered database was built fresh in DELETE journal mode and those stale WAL files would confuse SQLite on startup.


If .recover also fails (very unlikely for this class of corruption), try the built-in tool as a fallback for any tables it can read:

x-ui migrate-db --src /etc/x-ui/x-ui.db --dump /tmp/x-ui.dump
x-ui migrate-db --restore /tmp/x-ui.dump --out /tmp/x-ui_from_dump.db

Both --dump and --restore flags are confirmed in main.go (lines 493–495, 571–585). --out is required when using --restore.


This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4755662286 --> @github-actions[bot] commented on GitHub (Jun 20, 2026): **Claude finished @MHSanaei's task in 2m 32s** —— [View job](https://github.com/MHSanaei/3x-ui/actions/runs/27854597490) --- ### Analysis - [x] Analyze user's diagnostic output - [x] Verify what recovery tools exist in the codebase - [x] Provide accurate recovery instructions --- **Root cause identified.** The `.db-wal` (4.1 MB) and `.db-shm` files in the `ls -la` output are the smoking gun. SQLite's WAL mode accumulates writes in the WAL file and periodically checkpoints them into the main database. Two things conspired here: 1. The recent `e079490` commit switched the journal mode from WAL to DELETE (`_journal_mode=DELETE` in `internal/database/db.go:889`). When the panel started after the upgrade, SQLite had to checkpoint the large accumulated WAL into the main database file before it could switch modes. This requires reading the WAL and writing to pages in the main file. 2. The service was killed by the OS mid-way through that checkpoint (the journal entry confirms it: `Consumed 6h 21min 34.174s CPU time, 1005.9M memory peak` → stopped by systemd, likely OOM). The result is partially-written pages 5 and 6 in the main `.db` file. The WAL files are still on disk because the switch to DELETE mode never completed — SQLite removes the WAL only after a clean checkpoint. --- **Important note on the built-in dump tool:** `x-ui migrate-db --dump` (`internal/database/dump_sqlite.go`) works by running `SELECT * FROM table` for each table. Since pages 5 and 6 are the B-tree root pages of at least two tables (likely `inbounds` and one traffic table), the dump will also return error code 11 for those tables. Do not rely on it alone. --- ### Recovery steps (service is already stopped per the logs) **Step 1 — try a forced WAL checkpoint first** (sometimes enough if the WAL itself is intact): ```bash systemctl stop x-ui sqlite3 /etc/x-ui/x-ui.db "PRAGMA wal_checkpoint(TRUNCATE);" sqlite3 /etc/x-ui/x-ui.db "PRAGMA integrity_check;" ``` If `integrity_check` now returns `ok`, skip to Step 4. **Step 2 — low-level recovery using `.recover`** (bypasses B-tree page errors): ```bash apt install sqlite3 # if not already present sqlite3 /etc/x-ui/x-ui.db ".recover" | sqlite3 /tmp/x-ui_recovered.db ``` `.recover` scans all database pages at the raw level rather than traversing B-trees, so it can extract data from tables even when their root pages are corrupt. **Step 3 — verify the recovered database:** ```bash sqlite3 /tmp/x-ui_recovered.db "PRAGMA integrity_check;" ``` If this returns `ok`, proceed. **Step 4 — replace the corrupted file:** ```bash cp /etc/x-ui/x-ui.db /etc/x-ui/x-ui.db.bak cp /tmp/x-ui_recovered.db /etc/x-ui/x-ui.db rm -f /etc/x-ui/x-ui.db-wal /etc/x-ui/x-ui.db-shm systemctl start x-ui ``` Removing the `.db-wal` and `.db-shm` files is required — the recovered database was built fresh in DELETE journal mode and those stale WAL files would confuse SQLite on startup. --- **If `.recover` also fails** (very unlikely for this class of corruption), try the built-in tool as a fallback for any tables it *can* read: ```bash x-ui migrate-db --src /etc/x-ui/x-ui.db --dump /tmp/x-ui.dump x-ui migrate-db --restore /tmp/x-ui.dump --out /tmp/x-ui_from_dump.db ``` Both `--dump` and `--restore` flags are confirmed in `main.go` (lines 493–495, 571–585). `--out` is required when using `--restore`. --- *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@MHSanaei commented on GitHub (Jun 20, 2026):

e079490144

<!-- gh-comment-id:4755688445 --> @MHSanaei commented on GitHub (Jun 20, 2026): e079490144a1fa4003035d04303df3559b70f082
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#3807
No description provided.