mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
upgrade from beta 2 to 4 fails, Duplicate entry uuid in eggs #91
Reference in New Issue
Block a user
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 @Tealk on GitHub (Jun 8, 2024).
Current Behavior
The update fails due to an ambiguous uuid
Expected Behavior
update runs through without errors
Steps to Reproduce
I have followed the following
https://pelican.dev/docs/panel/update/
Panel Version
v1.0.0-beta2
Wings Version
v1.0.0-beta2
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@notAreYouScared commented on GitHub (Jun 8, 2024):
So the issue is that the migrations update the UUID's of the eggs to support updating based on uuid
You have two copies of the stock eggs with the same names.
Delete one of the copies of the eggs. and try the migration again.
@Tealk commented on GitHub (Jun 8, 2024):
the question is where the duplications come from. Perhaps from the upgrade from pterodactyl to pelican?
@notAreYouScared commented on GitHub (Jun 8, 2024):
They most likely came from upgrading from beta 1 to beta 2. If you're not using any of them at the moment, you could just empty the table, and the seeder should replace them.
@Tealk commented on GitHub (Jun 8, 2024):
I have just deleted all duplicates that were newer.
@notAreYouScared commented on GitHub (Jun 8, 2024):
Were you able to get the migrations to run?
@Tealk commented on GitHub (Jun 8, 2024):
Yes, the migration was then successfully completed.