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.89k stars 269 forks source link

restart loop after Bepinex enabled #647

Closed LuxKeiwoker closed 6 months ago

LuxKeiwoker commented 8 months ago

Hi, I enabled Bepinex yesterday on an existing server / world by setting the environment variable accordingly. After restarting the container, the server downloaded and installed all required Bepinex files, but upon loading the world it restartet the server again and then again, and again. RAM usage is below expectations and no join code is generated.

valheim-server 10/28/2023 22:02:20: New session server "MyServerName" that has join code , now 0 player(s)

valheim-server 10/28/2023 22:02:34: World load failed mid-file. Exiting without save. Check backups!

And then it starts cycling through starting up the server, failing to load the world and restarting everything.

After setting the environment variable back to "false" it booted up right and the server + world was available again.

Any ideas? Is it not possible to reuse an existing installation and install Bepinex on it?

LuxKeiwoker commented 8 months ago

nevermind, after re-enabling it, it suddendly worked