Closed Tealk closed 2 months ago
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.
the question is where the duplications come from. Perhaps from the upgrade from pterodactyl to pelican?
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.
I have just deleted all duplicates that were newer.
DELETE FROM eggs
WHERE id IN (
SELECT id FROM (
SELECT
id,
ROW_NUMBER() OVER (PARTITION BY name ORDER BY created_at) AS rn
FROM
eggs
) AS RankedEggs
WHERE rn > 1
);
Were you able to get the migrations to run?
Yes, the migration was then successfully completed.
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?