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.94k stars 272 forks source link

Add the ability to select a beta branch #503

Open christopherdolan opened 2 years ago

christopherdolan commented 2 years ago

Thanks for this lovely project!

The recent cross-play update broke ValheimPlus, which, for users of a dedicated server, means their server can't start. A frequently-offered workaround is to downgrade by running the default_old beta branch. This is harder to do on the valheim-server-docker project, whose valheim-updater script will restore the release version on every startup or during idle time.


I notice that valheim-updater reads $STEAMCMD_ARGS into its update command. I've tried setting my environment variables to include STEAMCMD_ARGS=-beta default_old, but still couldn't get the dedicated server to start up. Maybe I've made an implementation mistake, but it would be good for someone else to sanity-check me. If that IS the right way to specify a beta branch on this project, maybe I'm just asking for documentation.

koosc commented 2 years ago

I previously got this to work with the following line in valheim.env:

STEAMCMD_ARGS="-beta public-test -betapassword yesimadebackups"