-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After today's update (0.202.14 Hearth & Home), my world will not load #394
Comments
It's working for me, so my guess is that you're running into the outdated version bug. This docker is out of date on the official docker site. You need to use this now instead: version: "3" |
How do I update to the latest version on linux? Will have I have to delete my current container and create a new one? If so, could you walk me through the deletion process? EDIT: How do I check which version I am using? I set this up maybe less than a month ago. |
Yeah with docker stuff you're supposed to have your important data safely retained outside of the container with the config file. Then, to update the container, you actually nuke the container and remake it. On my Synology NAS I do this according to the guides I read online: And that yml file I made by hand using the instructions in the valheim-server-docker github readme. In it, I had to change the container location from the official docker one to ghcr.io/lloesche/valheim-server:latest because apparently that's where the creator is updating it now. |
I don't think this has anything to do with the age of the container. I haven't played the game or updated the container on our own server in quite a while (as in since May or so) and just tested it and was able to just log in and it loaded our old world.
The container will update valheim-server to the latest version automatically and there haven't been any substantial changes to the container since Jun 10th 2021. So whatever the reason it's loading into a new world the container age shouldn't be the issue. |
@ibex-are-goats good catch! I wasn't even aware Dockerhub isn't auto building the container anymore. When I log in they tell me that auto builds are only available to paying customers now. Since we've always built for both Dockerhub and Github container registry I'll just update all the docs to reference the Github image. Maybe I can set up a second workflow that'll push the image from Github to Dockerhub. Either way it's not related to this issue. |
I was able to get my server back up and running. What I ended up doing was nuking my docker container and changing the last line of my docker run command to ghcr.io/lloesche/valheim-server:latest. Not sure if was related, but redoing everything worked. I'll keep an eye on it for the next update. Here are the commands I ran to redo everything: (things like, server_name, world_name, etc are not actual values) I got: So I did this to resolve the issue: I also had to do: Only then was I able to run the docker run command. Not sure if any of this was entirely necessary, but it works and maybe it'll help someone else down the road. I appreciate the responses! |
The That said none of these networking issues should be related to the server starting up with an empty world. Also none of the steps you described gives me any idea of what might have been the issue. As long as the WORLD_NAME corresponds to the .db file in the config directory the server should load up that world. Also it is important not to rename those files. We had reports where users tried to rename the .db file as well as change the WORLD_NAME to the same value and that didn't work. I believe the issue was that Valheim also stored that name inside of those files not just in the file name, but I don't remember the details. Anyhow I'm glad it worked out! |
Discussed in #393
Originally posted by Joeaculberson September 16, 2021
I have a very basic setup on a linux server with pretty much all default settings. This is my first update since I started using this container.
When I go to login into my world, the game drops me in a completely new world. I've tried coping the backup files into /etc/valheim/worlds, but it just overwrites them when I join the world (except the .old files). It's worth mentioning if I copy these files on to my local machine into C:\Users<username>\AppData\LocalLow\IronGate\Valheim\worlds, everything loads fine.
If anyone knows how to fix this, I'd really appreciate it. Thanks!
The text was updated successfully, but these errors were encountered: