mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
Able to delete servers last allocation breaking wings. #176
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 (Oct 23, 2024).
Originally assigned to: @rmartinoscar on GitHub.
When viewing a server the admin can select the last allocation in the table and use the bulk disassociate option to remove it from that server. Resulting in no allocations for that server. When the end user attempts to start the server with no allocations it results in wings throwing the following error
ERROR: [Oct 22 21:12:15.028] failed to load server, skipping... error=expected { character for map value server=b05f2cb2-e585-40e3-8ae4-1adbca2179cfhttps://github.com/pelican-dev/panel/pull/645 should've fixed it? but appears to still be broken
Some how I was able to remove the primary allocation. leaving the last one, which i can still delete...

@rmartinoscar commented on GitHub (Oct 24, 2024):
Only able to reproduce when using multiple tabs otherwise i just get a 500 and the allocation doesn't get removed

I even created an allocation on the node, selected it then in a new tab i create the server and comeback to the first tab hit
delete selected.@lancepioch commented on GitHub (Jan 5, 2025):
I was able to reproduce this using two different tabs: