mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 03:14:39 +03:00
Allocation are deleted, when you delete a Server #144
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 @gOOvER on GitHub (Aug 13, 2024).
Originally assigned to: @Boy132 on GitHub.
Current Behavior
If you delete an existing server, the allocated ports in the node are also deleted
Expected Behavior
The allocated ports in the node should not be deleted, but released
Steps to Reproduce
Panel Version
1.0.0-beta7
Wings Version
1.0.0-beta3
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Aug 13, 2024):
953ee940aa/app/Services/Servers/ServerDeletionService.php (L80)It shouldn't delete it
What's your Database driver ?
@gOOvER commented on GitHub (Aug 13, 2024):
sqlite
@rmartinoscar commented on GitHub (Aug 13, 2024):
Could it be this ?
10806d6d6b/database/migrations/2024_07_12_095213_fix_missing_sqlite_foreign_keys.php (L161)Im trying my best but im not at home rn
@gOOvER commented on GitHub (Aug 13, 2024):
Before delete:

Pelican:
sqlite.db:

After Server delete:

Pelican:
sqlite.db:
