palworld-server-docker icon indicating copy to clipboard operation
palworld-server-docker copied to clipboard

Lost character when the server restart

Open EdenZ opened this issue 1 year ago • 8 comments

Hi, Just want to know if anyone facing the same issue or not.

Every time I reboot the container, my player has to create a new character and lost all progress. I can see I created a lot character with the save fix tool.

Any idea on this? Thanks.

image

EdenZ avatar Jan 29 '24 16:01 EdenZ

Please share your docker-compose.yml or run command, so I can check if there are config issues

thijsvanloef avatar Jan 29 '24 16:01 thijsvanloef

We are having the same issue here.

root@palgordinhoserver:~# more docker-compose.yml 
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: unless-stopped
      container_name: palworld-server
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
      environment:
         - PUID=1000
         - PGID=1000
         - PORT=8211
         - PLAYERS=16 # Número de vagas do servidor
         - MULTITHREADING=true
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - ADMIN_PASSWORD="Einstein"
         - COMMUNITY=true  # Mostra o seu servidor na listagem da comunidade.
         - SERVER_PASSWORD="xxxx"
         - SERVER_NAME="palgordinho"
      volumes:
         - ./servidor:/palworld/
root@palgordinhoserver:~# 

edited: this seems to happen always with the first user to log in.

rodrigodealexandre avatar Jan 30 '24 03:01 rodrigodealexandre

I just copied from the readme and add some more env.

services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: unless-stopped
      container_name: palworld-server
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
      environment:
         - TZ=CN
         - PUID=1000
         - PGID=1000
         - PORT=8211 # Optional but recommended
         - PLAYERS=16 # Optional but recommended
         - MULTITHREADING=true
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - ADMIN_PASSWORD="xxx"
         - COMMUNITY=false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         # Enable the environment variables below if you have COMMUNITY=true
         - SERVER_PASSWORD="xxx"
         - SERVER_NAME="japari work work"
         - UPDATE_ON_BOOT=false
      volumes:
         - ./palworld:/palworld/

EdenZ avatar Jan 30 '24 10:01 EdenZ

I cant recreate this issue, could you please share some logs with me?

thijsvanloef avatar Jan 31 '24 08:01 thijsvanloef

I cant recreate this issue, could you please share some logs with me?

So there is something unusal in this docker-compose file? I didn't think about this.

Anyway, where can I find the log?

EdenZ avatar Jan 31 '24 11:01 EdenZ

docker logs palworld-server

thijsvanloef avatar Jan 31 '24 11:01 thijsvanloef

We just started a new save. The issue is not presented in the fresh save.

But if I load the old save, it always ask me to create new character. Here is the log.

image

EdenZ avatar Jan 31 '24 12:01 EdenZ

We just started a new save. The issue is not presented in the fresh save.

But if I load the old save, it always ask me to create new character. Here is the log.

image

Maybe it's due to archive conversion issues, you can take a look https://github.com/GalileoFe/PalWorld-Save-Movement-Complete-Tutorio/tree/main

scylamb avatar Jan 31 '24 14:01 scylamb

We just started a new save. The issue is not presented in the fresh save. But if I load the old save, it always ask me to create new character. Here is the log. image

Maybe it's due to archive conversion issues, you can take a look https://github.com/GalileoFe/PalWorld-Save-Movement-Complete-Tutorio/tree/main

Cool, I will give it a try.

EdenZ avatar Feb 01 '24 05:02 EdenZ

@thijsvanloef This might be a game/save issue. Next thing I would try:

  1. start a game server, with my save, by the official setup script without docker to check if the issue presented
  2. in docker container, delete ~/.steam/sdk64 that mentioned by @scylamb

My pals and I moved on to a fresh save and I will post back if I get the same issue. Thank you a lot for spending time on this issue. Feel free to close it if you like.

EdenZ avatar Feb 01 '24 05:02 EdenZ

I had this issue again after updating to game version 0.1.4.1 I found a solution this time.

If your save force you to create new character every time you reboot your server, you could try to delete Pal/Saved/Config/CrashReportClient directory.

I wonder why this can solve the issue, but it might require some knowledge about UE.

Anyway, hope this works for you.

EdenZ avatar Feb 07 '24 13:02 EdenZ