~~ Hello, yesterday I noticed that the backups scheduler was stuck on processing, therefore I decided to reboot the machine that the panel is running on, this didn't fix the issue, so I then restarted wings which also didn't help. After that, I restarted the machine on which the servers are running on which made it so all the servers have 0 bytes even though the server files are still on the machine. After that the panel started timing out and when it loaded, most of the servers were not loaded (Somehow a couple of servers were still being loaded with their files there). Then I started checking logs and this is what errors I found.
Error on the panel:
[2023-11-15 13:30:02] production.ERROR: Class "DOMDocument" not found {"exception":"[object] (Error(code: 0): Class "DOMDocument" not found at /var/www/pterodactyl/vendor/nunomaduro/termwind/src/HtmlRenderer.php:32)
Errors on the wings:
2023/11/15 10:04:21 http: TLS handshake error from {redacted}:35970: tls>
ERROR: [Nov 15 00:22:24.910] activity process failed to execute cron=activity error=cron: failed to send activity events to Panel: http: request creation failed: Post "{redacted}/api/remote/activity": context deadline exceeded (Client.Timeout exceeded while awaiting headers) subsystem=cron
Note: I have been using PHP 8.2.11 for like 30 days which has worked normally Downgraded to 8.1 still the same issue. Also, the backup scheduler broke 7 days ago (last backup was 7 days ago) but I only noticed it yesterday.~~ Fixed