You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon restoring a backup file from another server using docker exec -it palworld-server restore, the hash in /palworld/Pal/Saved/Config/LinuxServer/GameUserSettings.ini remains unchanged. Thus game loads with incorrect save state.
I presume that backup and restore works for backups made on the same server since the hash would remain the same.
To Reproduce
Steps to reproduce the behavior:
Create new server through Docker
Copy backup file from another server into backup folder of restore server
Run docker exec -it palworld-server restore and select correct backup file, answer 'y'
view GameUserSettings.ini file to see that hash has not changed and is different from the config file from the backup file when manually extracted.
Connect to game from Palworld game, the game prompts to setup game character. (note that while the restore script instructions says to restart server manually, the server has been restarted already.
If I shutdown the container and manually modify the config file, then start the server now, the expected save state is loaded.
Expected behavior
Restore from another server should bring up the saved game state of that server. GameUserSettings.ini should reflect this.
Actual behavior
Save state of the other server is not restored. Files have been copied and looks to be present. However, GameUserSettings.ini's reference to the save directory hash is incorrect.
Upon looking into the issue, we can see that the backup config file has indeed been copied. However, it gets modified shortly after.
Looking into the script a bit more, it looks like the container restarts after server shutdown command rcon-cli -c /home/steam/server/rcon.yaml "shutdown 1".
What appears to be happening is that the game shutdown might be writing to the config file upon shutdown. This likely means that in order for this to work, there would need to be two options:
rewrite the restore script as an external data restore tool
change how the container starts the palworld server such that palworld server shutdown does not affect the container's operation. This would allow the backup to be restored, and then the backup script should attempt to start palworld server again.
I haven't had time to review if it has any sensitive information so will refrain from uploading. However, based on what I've seen, I don't think it's necessary for troubleshooting.
The text was updated successfully, but these errors were encountered:
That makes sense. Probably cleaner than what I suggested. Maybe keep all
the steps before user warning/confirmation and the remaining steps can be
done between shutdown and startup?
Describe the bug
Upon restoring a backup file from another server using
docker exec -it palworld-server restore
, the hash in/palworld/Pal/Saved/Config/LinuxServer/GameUserSettings.ini
remains unchanged. Thus game loads with incorrect save state.I presume that backup and restore works for backups made on the same server since the hash would remain the same.
To Reproduce
Steps to reproduce the behavior:
docker exec -it palworld-server restore
and select correct backup file, answer 'y'Expected behavior
Restore from another server should bring up the saved game state of that server. GameUserSettings.ini should reflect this.
Actual behavior
Save state of the other server is not restored. Files have been copied and looks to be present. However, GameUserSettings.ini's reference to the save directory hash is incorrect.
Upon looking into the issue, we can see that the backup config file has indeed been copied. However, it gets modified shortly after.
Looking into the script a bit more, it looks like the container restarts after server shutdown command
rcon-cli -c /home/steam/server/rcon.yaml "shutdown 1"
.What appears to be happening is that the game shutdown might be writing to the config file upon shutdown. This likely means that in order for this to work, there would need to be two options:
OS information
Hardware information
docker-compose.yml contents
I'm using ansible. It's pretty easy to read so I hope no one minds if I just paste it instead of writing as docker-compose.
Container/Host Logs
I haven't had time to review if it has any sensitive information so will refrain from uploading. However, based on what I've seen, I don't think it's necessary for troubleshooting.
The text was updated successfully, but these errors were encountered: