-
After about 5 hours the docker server developed odd network connectivity issues and we were forced to stop it and restart it. Checking the world data folder, it contained. The world.db was around 150kb, and the .backup was around 30mb. Since I had backups, I removed the world.db and renamed the backup one. to just .db. Valheim is early access, I'm a n00b with Docker image experience, those two are combined are prone to cause issues. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
yeah so this sounds like a docker thing. Are you familiar with docker volumes, and how docker persists files? Unless you explicitly tell docker to persist files (namely the world file), docker will not persist them. For this image you need to explictly persist the |
Beta Was this translation helpful? Give feedback.
-
I concur with @Groostav, from your description it sounds like the /config directory is not a volume mount. Although if that was the case I wonder where the backups came from. Can you share details about your current configuration? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The configuration looks good. Since you are using the same subdirectory names it would suffice to only volume mount Now regarding backup location. Since you're on a Synology the first thing I would make sure is that you have the latest container image downloaded. On a standard Linux System when you do a I added a section with screenshots at https://github.com/lloesche/valheim-server-docker#updating-the-container-image-to-the-latest-version But like the instructions say, make sure that you have a backup of your /config/worlds directory. |
Beta Was this translation helpful? Give feedback.
-
I've double checked my folder/volume settings and upon clearing another test setup, my folder and file date remains and didn't get wiped, so I'm assume I'm safe and Synolgy might have 'volatile' folders of the docker images, safely hidden away from your not to tech savvy folks. I've no issues with bandwidth or startup time issues, but thanks for the awareness, I'll keep it in mind with one of my bigger docker images. On a side note; a recent update got rolled out and seeing similar post pop up on the steam forums, reporting there worlds resetting back to a new game state and mentioning of am additional world.db.backup file present in there worlds folder. Anyways, I very much appreciate the help, along with additional instructions for others to read in the install guide. |
Beta Was this translation helpful? Give feedback.
The configuration looks good. Since you are using the same subdirectory names it would suffice to only volume mount
docker/Valheim Server/valheim-server-config
to/config
. If bandwidth/startup time is a concern you can also mount something like/docker/Valheim Server/valheim-server-download
to/opt/valheim_dl
so the container does not have to re-download the 1 GB server from Steam on each fresh start.Now regarding backup location. Since you're on a Synology the first thing I would make sure is that you have the latest container image downloaded. On a standard Linux System when you do a
docker run containername:latest
it will check if you have the latest container and if not it will downl…