Metin2 Character Reset Issue #39

Open
opened 2025-04-15 22:20:21 +03:00 by Cypher61 · 1 comment

When I restart my Metin2 server using the docker compose restart command, my character’s level, items, and location reset. It seems like all progress is lost every time the server restarts. What could be causing this? Has anyone encountered this issue before?

When I restart my Metin2 server using the docker compose restart command, my character’s level, items, and location reset. It seems like all progress is lost every time the server restarts. What could be causing this? Has anyone encountered this issue before?
Owner

Hi, this is actually an expected behaviour of the source code: the in-memory data only gets periodically synced to the database. Resetting the containers triggers various shutdown signals (SIGTERM, SIGHUP and so on) which the server should intercept in order to command a safe shutdown while saving all data.

I've actually mentioned it in the past, but I see that no issue got around to being created, so I'll leave it open.

Hi, this is actually an expected behaviour of the source code: the in-memory data only gets periodically synced to the database. Resetting the containers triggers various shutdown signals (SIGTERM, SIGHUP and so on) which the server should intercept in order to command a safe shutdown while saving all data. I've actually mentioned it in the past, but I see that no issue got around to being created, so I'll leave it open.
Exynox added the
enhancement
label 2025-04-17 04:02:02 +03:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: metin2/server#39
No description provided.