valheim-server-docker
valheim-server-docker copied to clipboard
Issue with transferring world to container.
Want to say thank you for your work! I have no issues with the setup but one thing. And that is bringing over any world that is not being generated by the container itself. After bringing over any .db .fwl files from my local to the container, I seem to always get a "version" error and that it can not successfully load the world. Only when I let the container load the world, will it then work. If I can get assistance on how to solve this, would be wonderful. Running on headless Ubuntu if that matters. Thank you!
I am having this same issue when bringing in a world file from a friend's Windows PC. I am running in Docker on Ubuntu 22.04.
Any updates on this issue?
Just ran into this scenario and finally figured it out. If you manually run the docker commands, you specify the data and config volumes ($HOME/valheim-server/…). If you use the systemd service, that service is looking in /home/valheim and /opt/valheim. You’ll need to edit the service file to match the full path(s) (pwd is your friend), and then restart the service.