lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.91k stars 269 forks source link

Server is constantly restarting #607

Closed corbin-lounsbury closed 1 year ago

corbin-lounsbury commented 1 year ago

After getting the new update, my server seems to be in a restart loop. Looking at the logs, I found this:

image

In another thread, it looks like this was resolved by updating to the newest bepinex thread.

Whenever I refresh the container, the version I get is 5.4.21 and the "fixed" version mentioned above is 5.4.2101.

log file attached cdt8g31y69oswt7nnvja2fuf2_logs.txt

markownik commented 1 year ago

My solution was to save world backups, stop container, remove all files from mapped server volumes, start it again, let it download and setup everything again, stop it again, restore all plugins and world backups, start it and finally it works.

BepInEx does not show version propely in server logs I guess...

corbin-lounsbury commented 1 year ago

I was able to get it working by doing the following: Updated compose doc to use this repo: https://github.com/Grantapher/ValheimPlus/releases/tag/0.9.9.13 Copied world files Deleted config and server created new, empty server and config folders started container Confirmed stability Shut down container Copied world back in

Here's what the environment vars look like in my compose doc

      # Valheim Plus configs
      - VALHEIM_PLUS=true
      - VALHEIM_PLUS_REPO=Grantapher/ValheimPlus
      - VALHEIM_PLUS_RELEASE=tags/0.9.9.13