[GH-ISSUE #4149] Ghost (rows/clients) can not be edited/deleted #2819

Closed
opened 2026-10-31 20:28:12 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SepiRosho on GitHub (May 2, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4149

Describe the bug

On rare occasions, when you remove clients either manually or by using the "Delete Depleted Clients" option, a row is deleted as expected at first. However, after a few seconds, it reappears as a "ghost" client that cannot be modified in any way.

Image

The first row is a healthy, normal entry.
The second row is a ghost entry, which returns the following error when any type of modification is attempted:

Image

I’d be happy to provide more context if needed. just reply to this issue.

How to repeat the problem?

I haven’t found the root cause yet, and it seems random. It has happened to me twice so far.

I believe it may have something to do with how 3x-ui stores or edits rows in the database.
However I found a temporary fix on how to remove them. first you need to disable the ghost row, then create a new client which has the same UUID as the broken client. then when you delete that new client, it will remove both the new client and the ghost client.

Expected action

No response

Received action

No response

3x-ui Version

2.9.1

Xray-core Version

26.4.17

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @SepiRosho on GitHub (May 2, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4149 ### Describe the bug On rare occasions, when you remove clients either manually or by using the "Delete Depleted Clients" option, a row is deleted as expected at first. However, after a few seconds, it reappears as a "ghost" client that cannot be modified in any way. <img width="1274" height="146" alt="Image" src="https://github.com/user-attachments/assets/406d822b-87cf-47f1-8459-0c2320154ccd" /> The first row is a healthy, normal entry. The second row is a ghost entry, which returns the following error when any type of modification is attempted: <img width="342" height="48" alt="Image" src="https://github.com/user-attachments/assets/ddebadee-02ee-4527-ab3d-6d8e570068e3" /> I’d be happy to provide more context if needed. just reply to this issue. ### How to repeat the problem? I haven’t found the root cause yet, and it seems random. It has happened to me twice so far. I believe it may have something to do with how 3x-ui stores or edits rows in the database. However I found a temporary fix on how to remove them. first you need to disable the ghost row, then create a new client which has the same UUID as the broken client. then when you delete that new client, it will remove both the new client and the ghost client. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.9.1 ### Xray-core Version 26.4.17 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:28:12 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hobbes3 commented on GitHub (May 26, 2026):

I can't delete any of these clients that have "ghost" inbounds attached either #3 #4 #5:

Image

The last row to show when a client has normal (named) inbounds attached. Those can be modified or deleted.

<!-- gh-comment-id:4544093976 --> @hobbes3 commented on GitHub (May 26, 2026): I can't delete any of these clients that have "ghost" inbounds attached either `#3 #4 #5`: <img width="1450" height="504" alt="Image" src="https://github.com/user-attachments/assets/bc958b39-b878-4581-94f0-5dcea0f413b1" /> The last row to show when a client has normal (named) inbounds attached. Those can be modified or deleted.
Author
Owner

@hobbes3 commented on GitHub (May 29, 2026):

This seems fixed in 3.2.0. I can't 100% recall, but I think I had to create a new local inbound (I created a random Shadowsocks inbound), then those #3 #4 #5 numbers turned white and I was able to delete those clients.

<!-- gh-comment-id:4569726235 --> @hobbes3 commented on GitHub (May 29, 2026): This seems fixed in 3.2.0. I can't 100% recall, but I think I had to create a new local inbound (I created a random Shadowsocks inbound), then those `#3 #4 #5` numbers turned white and I was able to delete those clients.
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#2819
No description provided.