mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4555] [Bug]: All clients of an inbound get deleted automatically #3122
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @far1dghaderi on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4555
Describe the bug
When I check the panel logs, I can see that the system attempts to automatically remove expired clients. However, it seems to also delete active clients unexpectedly.
This issue has happened multiple times after updating to v3.0.2.
How to reproduce the problem
I’m not sure what specifically triggers this issue, so I don’t currently have reliable reproduction steps. The only observable behavior is that all clients suddenly disappear.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.0.2
Xray-core version
26.4.25
How did you install 3x-ui?
Manual build from source
Operating system
Ubuntu 24
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@amirhkarimifar commented on GitHub (May 25, 2026):
@far1dghaderi This is not bug, Client's has been moved to new view "Clients" as they can be attached to multiple inbounds
@far1dghaderi commented on GitHub (May 28, 2026):
@amirhkarimifar I believ it's a bug since I can't find them anywhere in the db itself and I also can't see the "Clients" section that you're refering to. I'm pretty sure they got deleted.
@george-domin commented on GitHub (Aug 3, 2026):
I may be experiencing a related issue, but with different symptoms.
Environment:
In my case, expired clients are automatically removed about one hour after expiration.
The client is not only removed from the UI — the record is actually deleted from the SQLite database (
clientstable). Related traffic records are also removed.I have already verified:
Another server with exactly the same binary does NOT reproduce this issue.
Has anyone identified which background task performs automatic expired-client cleanup? This may be related to the same cleanup mechanism described in this issue.