-
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player Save Data Corrupted on Restart #457
Comments
@leonardwohl I kept seeing this as well after restarting the container, not for all players. Eventually took a diff on the unpacked player save files (via palworld-save-tools) comparing to the working backups. For my case, the field being corrupted was |
You're the man!! It works! |
I tried your method and added this fix to the. yml file, but it didn't seem to work. I'm confused about why |
@suiyu4073 logs for the save_repair container? |
logs :
docker-compose.yml contents
I can't read this folder whether I set the - PLAYERSSAVE-PATH=in the form of "./" or "/" here. My absolute path is set to:
I don't know how to solve this problem, is it related to file read permissions? |
@suiyu4073 You're mounting |
I also faced the same issue, so whenever errors occurred, I restored the backup. It was cumbersome because I need to shut down the server using commands in the game and restart or update docker. But thankfully now, having a repair tool is a relief. |
Hello, I have the exact same issue. Unfortunately I have a problem with the suggested workaround with this "save_file_repair" as every time I execute it and the files get repaired my character has no equipment, I can't interact with anything and can't even open the menu. Edit: The shutdown Server does a "rcon save":
I would suspect an error there, would be good to know what the "rcon save" actually does. |
As of 1.5 I have the same issue with equipment, I suspect the repair tool might not be compatible with the latest game version. Planning to investigate over the weekend. |
Thank you for your help. I have resolved the issue and do not need to set the same PID. You just need to pull it again and restart it |
Still running into this issue since maybe a week or so ago. I've had to disable daily restart. Anytime I have to restart, I need to take a backup manually, restart, then restore. I think shutdown calls backup. It's almost as if backup behavior has changed somehow that immediate shutdown after successful call to backup results in this. |
Hey @MattDavies, Thanks for investigating and providing a solution. I'm definitely still seeing |
Hopefully new cases will be solved by this PR: #510 |
Hey @thijsvanloef, I saw that just committed the change. Does the docker image get updated automatically at every start/reboot? |
https://palworld-server-docker.loef.dev/guides/update-the-container 😄 |
Thanks. I did docker-compose down and up. How do I check if the container is running latest version of the help script (i.e. Shutdown instead of DoExit)? By the way, in the doc link you sent, it should be |
@porochickenrye If a pull has taken place once you start the docker-compose.yml you should probably be fine. You can test it by shutting down the server while you are in-game and seeing if a shutdown message is sent. As for the docs, it should be |
Thanks @thijsvanloef on the docker compose migration note. I have tested restarting the server many times but never seen an in-game shutdown message. I do get discord messages since I have those enabled.
The version is see in the logs is 2815085007637542021 but I'm sure if that's the game version or the docker image version.
Update: I'm sure I'm running the latest image as I tried deploying a new contain from scratch. However, I still saw a corrupted save yesterday when I spun down use docker compose. Let me what logs I can provide. |
@porochickenrye Do you still experience corrupted save files at restart with 0.35.1? |
Describe the bug
Player save data (at /Pal/Saved/SaveGames/0/643B916545D6886A839265911924FBEC/Players/) is occasionally corrupted on server restart.
To Reproduce
Steps to reproduce the behavior:
docker-compose down && docker-compose up -d
Expected behavior
Restarting the server does not affect the player save data
Actual behavior
Restarting the server corrupts/overwrites the player save data
Screenshots
Restarted server at 10:29

Player data for those two characters is corrupted and has to be restored from backup.
OS information
Hardware information
docker-compose.yml contents
Container/Host Logs
Additional context
This happens very frequently, but not every time. It happens to some users more than others, but I can't figure out a pattern. Thanks for your help, I appreciate your maintenance of this fun project.
The text was updated successfully, but these errors were encountered: