mirror of
https://github.com/pelican-dev/plugins.git
synced 2026-05-09 00:08:54 +02:00
[GH-ISSUE #56] [User Creatable Servers] Removing a user before removing his resource limits leaves the plugin broken #42
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/plugins#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Fuggschen on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/pelican-dev/plugins/issues/56
I tested the plugin (after updating it a few minutes ago) and created a test user, assigned allocations and removed the user afterwards but the plugin still displays a "1" in the sidepanel and clicking on it results in a 500 error:
Here also the full stacktrace:
@Boy132 commented on GitHub (Dec 26, 2025):
Can't reproduce that. In the database, the foreign key for
user_idshould becascade on delete. Did you manually fiddle around with the database structure and now that foreign key isn't set correctly?@Fuggschen commented on GitHub (Dec 27, 2025):
No I did not do anything with the database in the time. Just as I said created the user, assigned ressources, created a server as the user, deleted the server as admin and also the user and after that the plugin was/is in a broken state on my side
@Boy132 commented on GitHub (Dec 27, 2025):
What are you using for your panel database? Mysql/MariaDB or Sqlite or Postgresql?
@Fuggschen commented on GitHub (Dec 27, 2025):
Database is from type mysql