Update Failure with Valheim - Cant update Valheim

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Decadeus’ v2.4.6.10 (Mainline)
Virtualization None
Application Valheim
Module GenericModule
Running in Container No
Current State Stopped

Problem Description

Issue

Whenever i try to start valheim, it will download the game. Then it tries to update it and fails saying i have no internet connection, which isnt true since it just downloaded the game files. gives the following error…

Redirecting stderr to '/home/amp/Steam/logs/stderr.txt'
Logging directory: '/home/amp/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
src/tier0/threadtools.cpp (3690) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56bf26d0/0x0x2a5ffb'

Edit: Looking further i found this error log.

[2023-12-14 02:08:33] Startup - updater built Dec  8 2023 00:32:28
[2023-12-14 02:08:33] Startup - Steam Client launched with: '/home/amp/.ampdata/instances/Valheim01/Valheim/linux32/steamcmd' '+runscript' 'steamscript.dat'
[2023-12-14 02:08:33] Loading cached metrics from disk (/home/amp/.ampdata/instances/Valheim01/Valheim/package/steam_cmd_metrics.bin)
[2023-12-14 02:08:33] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2023-12-14 02:08:33] Using the following download hosts for Public, Realm steamglobal
[2023-12-14 02:08:33] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-12-14 02:08:33] Checking for update on startup
[2023-12-14 02:08:33] Checking for available updates...
[2023-12-14 02:08:33] Downloading manifest: https://cdn.steamstatic.com/client/steam_cmd_linux
[2023-12-14 02:08:33] Manifest download: send request
[2023-12-14 02:08:33] Manifest download: waiting for download to finish
[2023-12-14 02:08:34] Manifest download: finished
[2023-12-14 02:08:34] Download failed: http error 0 (cdn.steamstatic.com/client/steam_cmd_linux)
[2023-12-14 02:08:34] DownloadManifest - exhausted list of download hosts

Appears that the configuration is trying to get the manifest from
https://cdn.steamstatic.com/client/steam_cmd_linux
which gives an error.

Looking around, i found that the url
https://media.steampowered.com/client/steam_cmd_linux
will correctly download. is there anyway to change the url its trying to download to the working url?

Reproduction Steps

  • Create Valheim Instance
  • Start Instance
  • Instance Downloads Game Files
  • Instance complains about no internet connect when trying to update

This is all handled by SteamCMD, not AMP. Try again, they probably had a temporary outage.

Figured out my issue. Zen Armor on my firewall deemed the action a threat. Just had to setup an exception and things are working fine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.