Closed mbround18 closed 4 months ago
Not sure if its relevant or not, but in case it is, here is some added context.
My server was originally running the beta for ashlands, then when it officially released, I commented out the USE_PUBLIC_BETA
in the docker-compose.yml
file, with the assumption it would switch back to official release.
When I was unable to login a few days ago and got the version mismatch error in valheim, I could see my game client is still on official and went through the server logs to see it is on the PTR 0.218.16
.
I then brought down the server, uncommented & set USE_PUBLIC_BETA: 0
in docker-compose.yml
and brought it back up.
The compose file also has UPDATE_ON_STARTUP: 1
, that said the server would not download the 0.218.15
version.
Which has me speculating either it will only update to higher number versions (not rollback to lower number versions) or theres some lingering change from the beta flag thats making it want to stay on the beta branch.
Here is the compose setup I'm using:
services:
valheim:
image: mbround18/valheim:latest
container_name: 'valheim'
restart: unless-stopped
privileged: true
stop_signal: SIGINT
ports:
- "2456:2456/udp"
environment:
PORT: 2456
NAME: "PartyTime"
WORLD: "Waynes"
PASSWORD: "**********"
TZ: "America/Chicago"
TYPE: "Vanilla"
MODIFIERS: "portals=casual,resources=most,raids=muchless,deathpenalty=casual,combat=normal,ResourceRate=300,DungeonBuild=1,TeleportAll=1"
SET_KEY: "playerevents"
SAVE_INTERVAL: 300
SCHEDULED_RESTART: 0
AUTO_UPDATE: 1
AUTO_UPDATE_SCHEDULE: "5 5 * * *"
AUTO_UPDATE_PAUSE_WITH_PLAYERS: 1
AUTO_BACKUP: 1
AUTO_BACKUP_SCHEDULE: "0 5 * * *"
AUTO_BACKUP_REMOVE_OLD: 1
AUTO_BACKUP_DAYS_TO_LIVE: 3
AUTO_BACKUP_ON_UPDATE: 1
AUTO_BACKUP_ON_SHUTDOWN: 1
UPDATE_ON_STARTUP: 1
USE_PUBLIC_BETA: 0
ENABLE_CROSSPLAY: 0
PUBLIC: 0
volumes:
- ./steam:/home/steam/.steam
- ./saves:/home/steam/.config/unity3d/IronGate/Valheim
- ./server:/home/steam/valheim
- ./backups:/home/steam/backups
networks:
- internal
networks:
internal:
I was also able to verify that by bringing the server down, then moving the ./steam
& ./server
directories, it correctly rolls back to the official release with that setup.
You have to blow away the server directory if you switch back, unfortunately if you go from beta to standard I dont have a route to downgrade in code
Any updates @jojobyte ?
I just started getting a version mismatch today.
It looks like in spite of
USE_PUBLIC_BETA
being set to0
or even commented out, the server is updating to the0.218.16
which is, as of this writing, Public Test, not an official release.Game client is
0.218.15
Originally posted by @jojobyte in https://github.com/mbround18/valheim-docker/discussions/844#discussioncomment-9602122