Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated version of server #713

Open
wildBcat opened this issue Nov 28, 2024 · 8 comments
Open

Outdated version of server #713

wildBcat opened this issue Nov 28, 2024 · 8 comments

Comments

@wildBcat
Copy link

I freshly pulled the image for this server but when I try to load into it, it says that the server version is older than the game version. If the updater script running correctly on this?

@geeklynad
Copy link

Having the same issue. Seems to be a problem with SteamCMD.

valheim-updater Error! App '896660' state is 0x6 after update job.
supervisord: valheim-updater ERROR - Failed to update Valheim server from Steam - however an existing version was found locally - using it

This is on an older container that hasn't been run in a while. I tried to bring it back up today, but it has been unable to update.
Tried going into the container and manually uninstalling/reinstalling...
cd /opt/steamcmd
./steamcmd.sh +force_install_dir /opt/valheim +login anonymous +app_uninstall 896660 +quit
./steamcmd.sh +force_install_dir /opt/valheim +login anonymous +app_update 896660 validate +quit
but no dice. The update appears to succeed, but the installation is still an older version. I might have just had the locations wrong or something.

What seems to have worked was to delete the data volume from outside container, while it was stopped and removed, and then reinitialize the container from scratch, but still using the config folder with world data and whatnot.

@wildBcat
Copy link
Author

wildBcat commented Dec 2, 2024

Hmm, I have not been able to get that to work. I have also tried deleting all the folders related to it and doing a fresh install and I still seem to get an outdated version.

@TH3-5L0TH
Copy link

What seems to have worked was to delete the data volume from outside container, while it was stopped and removed, and then reinitialize the container from scratch, but still using the config folder with world data and whatnot.

This worked for me. Took a few minutes for the rebuilt container to download Valheim again and start accepting connections but updated clients can now join.

Docker compose down (Stops & removes the container essentially)
Delete contents of folder mapped to "/opt/valheim"
Docker compose up

@geeklynad
Copy link

Hmm, I have not been able to get that to work. I have also tried deleting all the folders related to it and doing a fresh install and I still seem to get an outdated version.

Have you tried creating an entirely new container from scratch? It sounds like what you did should have accomplished this, there's a possibility that there may have been some remnants that prevented reinitializing from scratch.

If an entirely new container works, just migrate your world data and plugins over to the new one.

@wildBcat
Copy link
Author

Yes, I have. But something else might be wrong. After putting the container down, deleting the image and volume files, and even after making a new docker container, I get a log that says the Valheim server failed to update, then it updates, then it says it isn't installed and is waiting. I can't figure it out. If I put the files back and use the same YAML, it will work but still says it is outdated. I am not too well-versed in Docker to know how to fix that.
Dec 9 01:15:08 supervisord: valheim-updater [100%] Download complete. Dec 9 01:15:08 supervisord: valheim-updater [----] Installing update... Dec 9 01:15:08 supervisord: valheim-updater [----] Extracting package... Dec 9 01:15:08 supervisord: valheim-updater [----] Extracting package... Dec 9 01:15:08 supervisord: valheim-updater [----] Extracting package... Dec 9 01:15:08 supervisord: valheim-updater [----] Extracting package... Dec 9 01:15:08 supervisord: valheim-updater [----] Installing update... Dec 9 01:15:08 supervisord: valheim-updater [----] Installing update... Dec 9 01:15:08 supervisord: valheim-updater [----] Failed to apply update, reverting... Dec 9 01:15:08 supervisord: valheim-updater [----] Verifying installation... Dec 9 01:15:08 supervisord: valheim-updater UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1715891821 Dec 9 01:15:08 supervisord: valheim-updater -- type 'quit' to exit -- Dec 9 01:15:08 supervisord: valheim-updater Loading Steam API... Dec 9 01:15:08 supervisord: valheim-updater OK Dec 9 01:15:08 supervisord: valheim-updater Dec 9 01:15:08 supervisord: valheim-updater Connecting anonymously to Steam Public... Dec 9 01:15:13 supervisord: valheim-updater OK Dec 9 01:15:13 supervisord: valheim-updater Waiting for client config...OK Dec 9 01:15:13 supervisord: valheim-updater Waiting for user info... Dec 9 01:15:21 supervisord: valheim-updater OK Dec 9 01:15:21 supervisord: valheim-updater Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Dec 9 01:15:21 supervisord: valheim-updater Update state (0x61) downloading, progress: 0.00 (0 / 78382436) Dec 9 01:15:21 supervisord: valheim-updater Update state (0x61) downloading, progress: 30.77 (24117248 / 78382436) Dec 9 01:15:21 supervisord: valheim-updater Update state (0x101) committing, progress: 100.00 (78382436 / 78382436) Dec 9 01:15:21 supervisord: valheim-updater Success! App '896660' fully installed. Dec 9 01:15:21 supervisord: valheim-updater DEBUG - [38] - Received signal to check for update Dec 9 01:15:21 supervisord: valheim-updater .d..t...... ./ Dec 9 01:15:21 supervisord: valheim-updater >f+++++++++ steamclient.so Dec 9 01:15:21 supervisord: valheim-updater cd+++++++++ linux64/ Dec 9 01:15:21 supervisord: valheim-updater >f+++++++++ linux64/steamclient.so Dec 9 01:15:21 supervisord: valheim-updater INFO - Valheim Server was updated - restarting Dec 9 01:15:21 supervisord: valheim-updater DEBUG - [38] - BepInEx is enabled - running updater Dec 9 01:15:21 supervisord: valheim-updater INFO - Valheim Server was updated from Steam - signaling BepInEx updater to merge updated files Dec 9 01:15:22 supervisord: valheim-updater INFO - Fresh BepInEx install Dec 9 01:15:22 supervisord: valheim-updater DEBUG - [126] - Downloading https://thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.2202/ to /opt/valheim/dl/bepinex/BepInEx.zip Dec 9 01:15:22 supervisord: valheim-updater INFO - Valheim dedicated server or BepInEx mod got updated - extracting and merging installation files Dec 9 01:15:22 supervisord: valheim-updater DEBUG - [126] - Extracting downloaded ZIP archive Dec 9 01:15:22 supervisord: valheim-updater Archive: BepInEx.zip Dec 9 01:15:22 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/ Dec 9 01:15:22 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/BepInEx/ Dec 9 01:15:22 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/BepInEx/config/ Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/config/BepInEx.cfg Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/BepInEx/core/ Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/0Harmony.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/0Harmony.xml Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/0Harmony20.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.Harmony.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.Harmony.xml Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.Preloader.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.Preloader.xml Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/BepInEx.xml Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/HarmonyXInterop.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/Mono.Cecil.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/Mono.Cecil.Mdb.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/Mono.Cecil.Pdb.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/Mono.Cecil.Rocks.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/MonoMod.RuntimeDetour.dll Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/MonoMod.RuntimeDetour.xml Dec 9 01:15:22 supervisord: valheim-updater Dec 9 01:15:22 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/MonoMod.Utils.dll Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/core/MonoMod.Utils.xml Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/BepInEx/patchers/ Dec 9 01:15:23 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/BepInEx/plugins/ Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/BepInEx/plugins/Valheim.DisplayBepInExInfo.dll Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/changelog.txt Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/doorstop_config.ini Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater creating: extracted/BepInExPack_Valheim/doorstop_libs/ Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.dylib Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/doorstop_libs/libdoorstop_x86.dylib Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/doorstop_libs/libdoorstop_x86.so Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/start_game_bepinex.sh Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/start_server_bepinex.sh Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/BepInExPack_Valheim/winhttp.dll Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/CHANGELOG.md Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/icon.png Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/manifest.json Dec 9 01:15:23 supervisord: valheim-updater inflating: extracted/README.md Dec 9 01:15:23 supervisord: valheim-updater Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Merging Valheim server and mod Dec 9 01:15:23 supervisord: valheim-updater .d..t...... ./ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ steamclient.so Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ linux64/ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ linux64/steamclient.so Dec 9 01:15:23 supervisord: valheim-updater .d..t...... ./ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ changelog.txt Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ doorstop_config.ini Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ start_game_bepinex.sh Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ start_server_bepinex.sh Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ winhttp.dll Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ BepInEx/ Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ BepInEx/config/ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/config/BepInEx.cfg Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ BepInEx/core/ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/0Harmony.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/0Harmony.xml Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/0Harmony20.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.Harmony.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.Harmony.xml Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.Preloader.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.Preloader.xml Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/BepInEx.xml Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/HarmonyXInterop.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/Mono.Cecil.Mdb.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/Mono.Cecil.Pdb.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/Mono.Cecil.Rocks.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/Mono.Cecil.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/MonoMod.RuntimeDetour.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/MonoMod.RuntimeDetour.xml Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/MonoMod.Utils.dll Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/core/MonoMod.Utils.xml Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ BepInEx/patchers/ Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ BepInEx/plugins/ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ BepInEx/plugins/Valheim.DisplayBepInExInfo.dll Dec 9 01:15:23 supervisord: valheim-updater cd+++++++++ doorstop_libs/ Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ doorstop_libs/libdoorstop_x64.dylib Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ doorstop_libs/libdoorstop_x64.so Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ doorstop_libs/libdoorstop_x86.dylib Dec 9 01:15:23 supervisord: valheim-updater >f+++++++++ doorstop_libs/libdoorstop_x86.so Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Ensuring /config/bepinex/plugins exists Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Storing BepInEx.cfg as /config/bepinex/BepInEx.cfg.default Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Config /config/bepinex/BepInEx.cfg does not exist - copying from archive Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Writing BepInEx config Dec 9 01:15:23 supervisord: valheim-updater INFO - Syncing BepInEx plugins from /config/bepinex/plugins/ -> /opt/valheim/bepinex.tmp/BepInEx/plugins Dec 9 01:15:23 supervisord: valheim-updater .d..t...... ./ Dec 9 01:15:23 supervisord: valheim-updater /opt/valheim/dl/bepinex Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Removing /opt/valheim/bepinex.tmp/BepInEx/config and symlinking from /config/bepinex Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Moving old /opt/valheim/bepinex -> /opt/valheim/bepinex.old Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Moving /opt/valheim/bepinex.tmp -> /opt/valheim/bepinex Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Writing file to restart Valheim server Dec 9 01:15:23 supervisord: valheim-updater DEBUG - [126] - Successfully installed BepInEx mod 2024-12-09 01:15:23,741 INFO spawned: 'valheim-server' with pid 179 Dec 9 01:15:23 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:15:30 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting 2024-12-09 01:15:33,771 INFO success: valheim-server entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) Dec 9 01:15:33 supervisord: valheim-updater valheim-server: started Dec 9 01:15:37 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:15:44 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:15:51 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:15:58 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:05 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:12 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:19 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:26 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:33 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:40 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting Dec 9 01:16:47 supervisord: valheim-server DEBUG - [179] - Valheim Server is not yet downloaded - waiting

@jalfy
Copy link

jalfy commented Jan 2, 2025

I'm having the same issue, I just can't get it to work, I tried creating it from scratch, removing the suggested option.

Docker compose down (Stops & removes the container essentially)
Delete contents of folder mapped to "/opt/valheim"
Docker compose up

I'm still getting the Valheim | Jan 2 17:37:32 supervisord: valheim-server DEBUG - [246] - Valheim Server is not yet downloaded - waiting

@nikolasrist
Copy link

Have you activated valheim plus? I just had a similar situation with a clean container, finally I found in the logs that it states, that the plus version of the client does not fit.

@jalfy
Copy link

jalfy commented Jan 12, 2025

No, I'm using the BepinEx one, I also tried disabling it and I still get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants