Ctrlpanel-gg / panel

CtrlPanel offers an easy-to-use and free billing solution for all starting and experienced hosting providers that seamlessly integrates with the Pterodactyl panel.
https://ctrlpanel.gg/
MIT License
389 stars 141 forks source link

[Bug]: Ptero server description not handled correctly #936

Closed S0ly closed 3 weeks ago

S0ly commented 3 months ago

What is your request about?

wen a server on pterodactyl panel have a description too long it make the syncing process of the databases impossible and give a error 500 because the cpgg database visibly dont have the same description lengths

Branch

main

Solution idea

just make the same database as pterodactyl and check if other things would not get the same problems, like eggs description idk...

Controlpanel Logs

No response

Additional Info

No response

AGuyNamedJens commented 1 month ago

I wonder who needs a million characters in their description? Anyways, We use String, while Pterodactyl uses Text for that specific field, seems to be a bit annoying (migration file has to be created for that change) to be changed..

S0ly commented 1 month ago

yep we are just putting the servers specs in their descriptions but here a few hundreds of character make the thing crash

AGuyNamedJens commented 1 month ago

Ah right, guess i'll have to add a new migration to fix that, not sure if it will delete all existing descriptions yet (it probably will, rip)

S0ly commented 3 weeks ago

Closed by PR #950