mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
500 Server Error: SQLite too many SQL variables when accessing folder with many files #308
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 @jvsod on GitHub (Apr 14, 2025).
Originally assigned to: @rmartinoscar on GitHub.
Current Behavior
SQLSTATE[HY000]: General error: 1 too many SQL variables
...
insert into "files" (...) values (...), (...), ...
Expected Behavior
I need the folder to load properly without issue. The issue with the folder having too many files inside it, is causing an error 500 for myself and others when trying to access this folder. I need the error resolved.
This used to work fine in a previous update, but seems to have stopped working in a recent update.
Steps to Reproduce
Create a folder which then contains more than the SQLLite variables limit and try accessing the folder in the panel via the "Files" section of the individual server hosted.
Panel Version
1.0.0-beta19
Wings Version
v1.0.0-beta11
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Apr 14, 2025):
What kind of folder has this many files right bellow it (not nested) ?
https://sqlite.org/limits.html
We only support sqlite 3.35+
But i agree this shouldn't throw