Valheim Docker powered by Odin. The Valheim dedicated gameserver manager which is designed with resiliency in mind by providing automatic updates, world backup support, and a user friendly cli interface.
Originally posted by **hathalud** March 18, 2024
Yesterday I moved my server to a different piece of hardware, fresh install of Debian and all of that... got the image running beautifully. Trying to resolve a dumb issue on the new hardware had me reboot the server (using an old laptop as the new server, and closing the lid forces it to suspend, which I can't do anything about apparently, but didn't know that it can't be disabled in bios until I looked.)
After bringing the host server back online, the container hangs trying to connect to "Steam Public" and I don't know what to do about it.
Also, why does the container constantly rebuild itself instead of there there being a flag to rebuild/start? Seems like overkill to me.
`Logging directory: '/home/steam/Steam/logs'
/tmp/dumps: is not owned by us - delete and recreate.
/tmp/dumps: could not delete, skipping.
minidumps folder is set to /tmp/dumps01
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...Retrying. . .
Retrying. . .
Retrying. . .
Retrying. . .
America/Chicago
2024-03-18 08:06:23 - #[INFO]: ###########################################################################
2024-03-18 08:06:23 - [Valheim][INFO]: Valheim Server - Mon Mar 18 08:06:23 AM CDT 2024
2024-03-18 08:06:23 - [Valheim][INFO]: Initializing your container...
2024-03-18 08:06:23 - [Valheim][INFO]: Total memory: 11GB
2024-03-18 08:06:23 - #[INFO]: ###########################################################################
Configuring Preset Env
Preset Env Configured
2024-03-18 08:06:23 - [Valheim][INFO]: Auto Backup Enabled...
2024-03-18 08:06:23 - [Valheim][INFO]: Auto Backup Schedule: 2 7 * * *
2 7 * * * BASH_ENV=/env.sh /bin/bash /home/steam/scripts/auto_backup.sh >> /home/steam/valheim/logs/auto-backup.out 2>&1
2024-03-18 08:06:24 - [Valheim][INFO]: Setting up file systems
usermod: no changes
2024-03-18 08:06:25 - [Valheim][INFO]: Navigating to steam home...
2024-03-18 08:06:25 - [Valheim][INFO]: Launching as server...
2024-03-18 08:06:25 - #[INFO]: ###########################################################################
2024-03-18 08:06:25 - [Valheim][INFO]: Valheim Server - Mon Mar 18 08:06:25 AM CDT 2024
2024-03-18 08:06:25 - [Valheim][INFO]: STEAM_UID 1000 - STEAM_GUID 1000
2024-03-18 08:06:25 - [Valheim][INFO]: Installing Valheim via odin 2.1.0...
2024-03-18 08:06:25 - #[INFO]: ###########################################################################
2024-03-18 08:06:25 - [Valheim][INFO]: Variables loaded.....
2024-03-18 08:06:25 - [Valheim][INFO]: Port: 2456
2024-03-18 08:06:25 - [Valheim][INFO]: Name: Dia's Server
2024-03-18 08:06:25 - [Valheim][INFO]: World: TheMystsOfHel
2024-03-18 08:06:25 - [Valheim][INFO]: Public: 1
2024-03-18 08:06:25 - [Valheim][INFO]: With Crossplay: 0
2024-03-18 08:06:25 - [Valheim][INFO]: Password: (REDACTED)
2024-03-18 08:06:25 - [Valheim][INFO]: Preset: Normal
2024-03-18 08:06:25 - [Valheim][INFO]: Modifiers: DeathPenalty=casual,Resources=more
2024-03-18 08:06:25 - [Valheim][INFO]: Set Key:
2024-03-18 08:06:25 - [Valheim][INFO]: Has Webhook: false
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Update: 0
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup: 1
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup On Update: 1
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup On Shutdown: 1
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup Pause With No Players: 0
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup Pause With Players:
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup Remove Old: 1
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup Days To Live: 7
2024-03-18 08:06:25 - [Valheim][INFO]: Auto Backup Nice Level:
2024-03-18 08:06:25 - [Valheim][INFO]: Update On Startup: 1
2024-03-18 08:06:25 - [Valheim][INFO]: Mods: https://thunderstore.io/package/download/Grantapher/ValheimPlus_Grantapher_Temporary/9.12.0/.
2024-03-18 08:06:25 - #[INFO]: ###########################################################################
2024-03-18 08:06:25 - [Valheim][INFO]: Running Install...
2024-03-18 08:06:25 - [Valheim][INFO]: Attempting to update before launching the server!
[Valheim][steam]: ###########################################################################
[Valheim][steam]: Valheim Server - Mon Mar 18 08:06:25 AM CDT 2024 Backup Process
[Valheim][steam]: Starting auto backup process...
[Valheim][steam]: Removing old backups...
[Valheim][steam]: Creating backup...
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/BepInEx to backup file, with path /BepInEx
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/BepInEx/plugins to backup file, with path /BepInEx/plugins
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/adminlist.txt to backup file, with path /adminlist.txt
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/bannedlist.txt to backup file, with path /bannedlist.txt
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/permittedlist.txt to backup file, with path /permittedlist.txt
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/prefs to backup file, with path /prefs
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/worlds_local to backup file, with path /worlds_local
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/worlds_local/TheMystsOfHel.db to backup file, with path /worlds_local/TheMystsOfHel.db
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/worlds_local/TheMystsOfHel.db.old to backup file, with path /worlds_local/TheMystsOfHel.db.old
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/worlds_local/TheMystsOfHel.fwl to backup file, with path /worlds_local/TheMystsOfHel.fwl
[ODIN][INFO] - Adding /home/steam/.config/unity3d/IronGate/Valheim/worlds_local/TheMystsOfHel.fwl.old to backup file, with path /worlds_local/TheMystsOfHel.fwl.old
[Valheim][steam]: Backup process complete! Created 20240318-080626-pre-update-backup.tar.gz
[Valheim][steam]: ###########################################################################
2024-03-18 08:06:35 - [Valheim][INFO]: Installing Updates...
[ODIN][INFO] - Installing 896660 to /home/steam/valheim
[ODIN][INFO] - steamcmd found in path
ln: failed to create symbolic link '/home/steam/.steam/root': No such file or directory
ln: failed to create symbolic link '/home/steam/.steam/steam': No such file or directory
tid(165) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
/tmp/dumps: is not owned by us - delete and recreate.
/tmp/dumps: could not delete, skipping.
minidumps folder is set to /tmp/dumps01
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...Retrying. . .
Retrying. . .
Retrying. . .
Retrying. . .
`
Discussed in https://github.com/mbround18/valheim-docker/discussions/797