Closed hmellor closed 2 years ago
I just tested on a fresh install and don't see any issues in the log. I'm running
Apr 9 18:12:52 /supervisord: valheim-server [Message: BepInEx] BepInEx 5.4.19.0 - valheim_server (4/9/2022 6:10:27 PM)
Has your container auto-updated to BepInEx 5.4.19.0?
Generally speaking this container automatically keeps everything up to date. Chances are valheim-server got an update that was incompatible with the current version of BepInEx and it took the BepInEx authors a couple of hours or maybe days to update their code base to work with the latest Valheim server changes. Once they fixed their code everything resolved itself.
If you'd prefer the container not to constantly auto update you could set the UPDATE_CRON
variable to check for updates like once a month or even less often. Though then your Steam client will likely still update the Desktop version of Valheim.
Hope this info helps.
In a fresh container I still see the errors when I reuse my /config
and /opt/valheim
directories I have stored outside Docker. The logs indicate the latest version of BepInEx is being used, perhaps the configs are outdated and didn't get updated in the update process? I don't really know what to do if that is the case.
I also had same error and managed to fix it by editing BepinEx.cfg file (location: valheim/BepInEx/config/BepinEx.cfg) and restored all settings to defaults. You could probably archive this by just renaming the file and restarting the container. It should recreate the file with defaults already set.
Same happening here
Fresh container, copied the bepinex plugins folders from my local valheim installation copied the configurations for the plugins as well.
What I find weird is that the plugins are to go in:
valheim-server/config/bepinex/plugins
And if you go into your data
volume folder on the host, you see that config
actually points to /config/bepinex
which will includes also the plugins
directory. I don't know if that is causing some mess with the symbolic link.
This image is too complicated to try some changes on the fly for me at the moment but I'd suggest having the plugins configuration in a different directory that doesn't include the actual plugins.
BepinEx support appears to be broken after Valheim patch
0.207.20
.This patch introduced full controller support and the errors (which come in 100s of times per second) are related to controller support (
IsGamepadActive
etc.). Disabling BepInEx causes the errors to go away and the container to be usable as normal.Here is a snippet of my logs: