[GH-ISSUE #4215] 3.0 x-ui.db Backup and Restore Bug #2867

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

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

Describe the bug

In version 3.0, both the backup and restore functions for x-ui.db have issues. Specifically, the x-ui.db backup cannot be used because the page shows “HTTP ERROR 404”, and after restoring x-ui.db, once the panel restart is completed, Xray is shown as stopped.

How to repeat the problem?

Image Image Image I hope this can be fixed. Thank you.

Expected action

No response

Received action

No response

3x-ui Version

v3.0.0

Xray-core Version

26.4.25

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 @qin9125 on GitHub (May 10, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4215 ### Describe the bug In version 3.0, both the backup and restore functions for x-ui.db have issues. Specifically, the x-ui.db backup cannot be used because the page shows “HTTP ERROR 404”, and after restoring x-ui.db, once the panel restart is completed, Xray is shown as stopped. ### How to repeat the problem? <img width="526" height="267" alt="Image" src="https://github.com/user-attachments/assets/4d76417d-d4b3-45c7-9f57-13556166e850" /> <img width="588" height="355" alt="Image" src="https://github.com/user-attachments/assets/c1933edc-752c-48b8-b1ed-6c094ee9f8c9" /> <img width="557" height="355" alt="Image" src="https://github.com/user-attachments/assets/3fcd0385-b1ea-47cf-bbbf-798de182996b" /> I hope this can be fixed. Thank you. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version v3.0.0 ### Xray-core Version 26.4.25 ### 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:32 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ArminDeihim commented on GitHub (May 10, 2026):

Just to confirm this issue, in newly released panel version 3.0.0 the Backup page "is not found", and when using the Restore the "Xray Core" stops!

<!-- gh-comment-id:4415987884 --> @ArminDeihim commented on GitHub (May 10, 2026): Just to confirm this issue, in newly released panel version 3.0.0 the Backup page "is not found", and when using the Restore the "Xray Core" stops!
Author
Owner

@De-naber commented on GitHub (May 10, 2026):

The reason behind this bug is that the backup link is incorrect and ignores the web panel URL path configured in the panel settings.

The generated DB backup link is:
https://ip:port/panel/api/server/getDb

Instead of the correct one:
https://ip:port/<url_path>/panel/api/server/getDb

When adjusting the link manually, the export mechanism works as expected.

<!-- gh-comment-id:4416333279 --> @De-naber commented on GitHub (May 10, 2026): The reason behind this bug is that the backup link is incorrect and ignores the web panel URL path configured in the panel settings. The generated DB backup link is: `https://ip:port/panel/api/server/getDb` Instead of the correct one: `https://ip:port/<url_path>/panel/api/server/getDb` When adjusting the link manually, the export mechanism works as expected.
Author
Owner

@MHSanaei commented on GitHub (May 11, 2026):

wait for bug fix tomorrow

<!-- gh-comment-id:4416732499 --> @MHSanaei commented on GitHub (May 11, 2026): wait for bug fix tomorrow
Author
Owner

@ArminDeihim commented on GitHub (May 11, 2026):

wait for bug fix tomorrow

Thank you!

<!-- gh-comment-id:4416750309 --> @ArminDeihim commented on GitHub (May 11, 2026): > wait for bug fix tomorrow Thank you!
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#2867
No description provided.