mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[Egg] Force updating egg doesn't update server variables correctly #119
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 @notAreYouScared on GitHub (Jun 27, 2024).
Issue 1: Force Importing over an existing egg that has new variables; new variables are not added to existing servers... The server will have to be removed and re-created.
Issue 2: Force Importing over an existing egg with another egg that is not the same breaks all servers due to all the variables being deleted and re-created, giving them new
variables_ids in theegg_variabletable and not updating them in theserver_variables table.Issue 1 can be reproduced by importing a new egg with one or more variables. Create a new server, export an egg, then add one or more variables to the json file and force importing over the existing egg. Verify the added variables are on the egg variables screen. Go to the server assigned to this egg and see that the newly added variables are not present.
Issue 2 can be reproduced by importing a Minecraft egg, creating a server, force-importing rust or another egg other than the original egg, and attempting to view the server that's assigned that egg.
@notAreYouScared commented on GitHub (Jul 21, 2024):
Closing in favor of new issue.