[GH-ISSUE #4520] Client comments not showing in v3.1.0 (Docker) #3089

Closed
opened 2026-10-31 20:30:00 +07:00 by bsakaguchi · 1 comment
Owner

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

Describe the bug

The client comments has disappeared from the clients tab, making it impossible to see or manage user descriptions, even though the data exists in the database.

How to repeat the problem?

  1. Open clients tab.
  2. Look at the clients list - the column or field with client comments is missing or empty.
    Image

Expected action

Сomments are present.

Received action

No response

3x-ui Version

3.1.0

Xray-core Version

No response

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 @Queritt on GitHub (May 24, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4520 ### Describe the bug The client comments has disappeared from the clients tab, making it impossible to see or manage user descriptions, even though the data exists in the database. ### How to repeat the problem? 1. Open clients tab. 2. Look at the clients list - the column or field with client comments is missing or empty. <img width="1290" height="305" alt="Image" src="https://github.com/user-attachments/assets/1e0cfc81-9c3a-41f3-8ec0-80cd5c1fe1d5" /> ### Expected action Сomments are present. ### Received action _No response_ ### 3x-ui Version 3.1.0 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [ ] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:30:00 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Speert commented on GitHub (May 24, 2026):

When upgrading the panel from v3.0.2 to v3.1.0, the system encounters a database migration bug that triggers a UNIQUE constraint failed: clients.email crash loop. This happens even if all emails in the database are verified to be strictly unique before the update. The issue is caused by a flawed migration script that handles data incorrectly while refactoring the schema for multi-node support. Currently, the only effective workaround is downgrading back to version v3.0.2 and restoring the database from a backup.

<!-- gh-comment-id:4527676117 --> @Speert commented on GitHub (May 24, 2026): When upgrading the panel from v3.0.2 to v3.1.0, the system encounters a database migration bug that triggers a UNIQUE constraint failed: clients.email crash loop. This happens even if all emails in the database are verified to be strictly unique before the update. The issue is caused by a flawed migration script that handles data incorrectly while refactoring the schema for multi-node support. Currently, the only effective workaround is downgrading back to version v3.0.2 and restoring the database from a backup.
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#3089
No description provided.