db file (or restore from snapshot if you have one) I had my database corrupt this evening as well.Įdit: info below is redundant thanks to docker changes - Thanks Retarting the Valheim docker does not save/close the database file gracefully. ![]() Your database is corrupted (or your game world is less than 30 minutes old?) - Copy the. I do see a world db file that matches the world name I am using, but not sure if something else is occurring. Using the Valheim template, and following a server update, I restarted the container, and the world reset.Īnyone else experience this on container restart? Im at a loss for what happened. Success! App '896660' already up to date.ĬWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. Steam Console Client (c) Valve CorporationĬonnecting anonymously to Steam Public.Logged in OK Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt' I'll update if I can figure out anything more specific in my trials But that said, if you were just building or doing something, and the docker restarted immediately, some progress would be lost. And that generally restarting the docker will not lose any changes/progress. So I think it's more a matter that the server is auto-saving the world file every so often. That said, I waited about 30 minutes after I logged out, and restarted the Docker and went back in, the changes were preserved. I also tried it at about waiting 10 minutes, then restarting and looking for the changes/save. So I would say no, an immediate restart of the docker is NOT saving the world file. Just "docker restart Valheim" worked as a user script For me I did a custom schedule cron entry of "0 5 * * *" which means 5am, daily.Īnd I made some world changes, and then logged out and immediately restarted my Docker, and those changes were gone when I logged back in (just threw down some ladders as a test). I actually set up user scripts this morning to do that, so it would restart/auto update in the wee morning hours. You can stop the docker with the command: 'docker stop DOCKERNAME' and start it with 'docker start DOCKERNAME' from the User Scripts or the Unraid command line.ĭoesn't the world save if you stop the container, if not and access to the console of the game is needed I have to add screen to the container but I would strongly avoid that if possible.Īnd everything that said is true if you do anything inside the container and I push an update of the container everything that you done inside will be wiped (just to be clear the savegame and world will stay in there, only if you change anything inside the filesystem that is outside of the /valheim path inside the container is affected). You can use the 'User Scripts' from the CA App (this app supports cron and user scripts). ![]() One question, if anyone knows, how can we access the console within the docker? I want to set up a cron for some save/stop/restart automation. Thanks for all of the work on these, Valheim is up and running beautifully.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |