Setting backup limit to negative value causes HTTP 500 #108

Closed
opened 2026-02-04 16:46:35 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @kalsandbrook on GitHub (Jun 15, 2024).

Current Behavior

When editing a server, setting it's backup limit to a negative value causes the panel to throw an Internal Server Error.

Expected Behavior

Usually, setting a limit value to -1 implies the ability to create an unlimited number of backups.

Steps to Reproduce

  1. Edit a server
  2. Set backup limit to a negative value
  3. Press 'Save Changes'

Panel Version

1.0.0-beta5

Wings Version

1.0.0-beta5

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @kalsandbrook on GitHub (Jun 15, 2024). ### Current Behavior When editing a server, setting it's backup limit to a negative value causes the panel to throw an Internal Server Error. ### Expected Behavior Usually, setting a limit value to -1 implies the ability to create an unlimited number of backups. ### Steps to Reproduce 1. Edit a server 2. Set backup limit to a negative value 3. Press 'Save Changes' ### Panel Version 1.0.0-beta5 ### Wings Version 1.0.0-beta5 ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs _No response_ ### Is there an existing issue for this? - [X] I have searched the existing issues before opening this issue. - [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@Boy132 commented on GitHub (Jun 15, 2024):

-1 is not valid. 0 (or leaving it blank, can't remember right now) means unlimited backups.
But we should look into the 500 error. Please post panel logs.

@Boy132 commented on GitHub (Jun 15, 2024): `-1` is not valid. `0` (or leaving it blank, can't remember right now) means unlimited backups. But we should look into the 500 error. Please post panel logs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#108