New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 Error on /admin/servers/new #5025
Comments
If you get a 500 server error but no logs you most likely have wrong file permissions. I just tested with ~15000 allocations and it worked fine. |
I can access everything else and errors (like an initial Redis Connection Error) have been logged correctly. Please try with at least 26000 allocations. On the discord other people already had the same problem. |
To prove the error furthermore. When I delete the allocations, the creation page is working just fine. |
Okay and what might be the issue then? Maybe it has to do with the request max_size set in PHP settings? |
Just to clarify, do you see a |
I'm on Apache. Could you please tell me the location where to find them, if you know them? |
Probably something like |
Nothing noticable in /var/log/apache2/error.log. The last error occured a few days ago and had nothing to do with the panel. |
Could you try to open the allocation menu and tell me if ALL allocations are included in there? |
Okay, I will try enabling Apache debug to get some insights. |
Found it: It was located in the PHP FPM Logs: |
I set the memory_limit to 4 GB and now it's loading the page, but the loading time is longer than 30 seconds. I would say pagination is required to solve this problem, but you're the expert. |
It takes a couple seconds for me as well. I guess that's kinda normal for this many allocations. |
Current Behavior
When having more than 26921 allocations present in the database, the site simply will drop a 500 error. No error in the Laravel logs is present.
The bug might occur for even lower numbers of present allocations, but I didn't test out what's the limit.
Expected Behavior
It should load the page for server-creation.
Steps to Reproduce
Insert more than 26921 Allocations in the table. In my case I had 3 nodes, with each having ports from 1025-9999.
Visit the server creation page "/admin/servers/new" and there it is.
The problem is probably that the Allocations aren't paginated in the server creation and update menu, so it exceeds the PHP Sending Limit or anything else, which results in the 500 Error.
Panel Version
1.11.5
Wings Version
1.11.8
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: