mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #1017] UNIQUE constraint failed on sites.path when initializing database #6314
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#6314
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 @YinHeng89 on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1017
Title: UNIQUE constraint failed on
sites.pathwhen initializing databaseDescription:
I encountered the following error when starting the application:
This occurs during the attempt to create a UNIQUE index on the
pathcolumn of thesitestable, and the operation fails due to existing duplicate values in that column.@0xJacky commented on GitHub (May 7, 2025):
I am sorry that the auto migration has this issue. I have fixed it in
fbc800fand released a new rc.6 version. Please re-pull the image if you are using Docker.@Neshura87 commented on GitHub (May 12, 2025):
Issue unfortunately persists with rc.7
@0xJacky commented on GitHub (May 12, 2025):
Hi @YinHeng89 @Neshura87, please reinstall the new rc.7 (v2.0.0-rc.7-patch.3), it should resolve the problem. I have tested on my environment.