luckperms corrupt
LP's Database sometimes corrupts when i restart
Hosting Im using uses panel based on pterodactyl
i do have some backups but they aren't recent so i need way to recover my DB and well fix issue which makes DB corrupt
Solution:Jump to solution
I think your panel may be killing the server, because if the server takes longer than a certain amount to shut down the panel just kills it. And that corrupts stuff if you set the timeout too short
7 Replies
- Are you using the built in h2 database or an external mysql database?
- What errors do you get to indicate the database is corrupt?
- Is your panel shutting down the server properly (ie: running /stop) or just killing the process?
- built in h2
- errors in console and kicks player out of server as soon as they try join
- panel of hosting i use is pterodactyl(bit modified but it is pterodactyl) and it actually does take bit too long to stop server whenever i try just stop for min or restart to apply changes
Solution
I think your panel may be killing the server, because if the server takes longer than a certain amount to shut down the panel just kills it. And that corrupts stuff if you set the timeout too short
Quick side note, please use automated backup cronjobs and not manually clicking the backup button. Youβll forget to do the backup one day and be glad that youβve had this configured
If there's errors in console, then can you share the logs?
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
β’ Go to https://aternos.org/log/.
On Minehut and server.pro:
β’ Go to the "files" tab in the left menu.
β’ Navigate to the root directory of your server.
β’ From there navigate to /logs/latest.log.
What should I do with the log?
β’ First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
β’ If you got the latest.log file or created a .txt file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
β’ If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
pterodactyl does that?
i remember it took long to stop before each time corrupting