GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.32k stars 821 forks source link

[Bug]: Valheim Hildir's Request update server wont start #4289

Closed recon-Mike closed 1 year ago

recon-Mike commented 1 year ago

User story

As a server admin, I want to run the recently updated Valheim Hildir's Request server.

Game

Valheim

Linux distro

Ubuntu 20.04

Command

command: start, command: update

Further information

My valheim server auto-updated when the release came out, but the server failed to start (log below). I've tried a brand new install under a different user account on the server and still no joy, same issue.

I'm not sure if this is a LGSM, Steam, or Valheim issue. Looking through the logs there seems to be server exceptions before and after the update so maybe it isn't a Valheim issue.

Relevant log output

vhserver@linuxgsm:~/serverfiles$ ./valheim_server.x86_64 -name 'Valheim Server' -password redacted -port 2458 -world vhserver -public 1 -savedir '/home/vhserver/.config/unity3d/IronGate/Valheim' -logFile '' -saveinterval 1800 -backups 4 -backupshort 7200 -backuplong 43200
Mono path[0] = '/home/vhserver/serverfiles/valheim_server_Data/Managed'
Mono config path = '/home/vhserver/serverfiles/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
        libparty.so
Initialize engine version: 2020.3.45f1 (660cd1701bd5)
[Subsystems] Discovering subsystems at path /home/vhserver/serverfiles/valheim_server_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in  0.070 seconds
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
UnloadTime: 0.602982 ms
08/22/2023 16:17:55: Fetching PlatformPrefs 'GuiScale' before loading defaults
08/22/2023 16:17:55: Fetching PlatformPrefs 'GuiScale' before loading defaults
08/22/2023 16:17:55: Starting to load scene:start
ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Legacy Shaders/Particles/Additive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Legacy Shaders/Particles/Alpha Blended shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Legacy Shaders/Particles/Alpha Blended Premultiply shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Unlit/Color shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Lux Lit Particles/ Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
Shader 'Lux Lit Particles/ Tess Bumped': fallback shader 'Lux Lit Particles/ Bumped Smoke' not found
WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Lux Lit Particles/ Tess Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader TextMeshPro/Distance Field (Surface) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader TextMeshPro/Mobile/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader TextMeshPro/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 6.937534 ms
Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).
HDR Render Texture not supported, disabling HDR on reflection probe.
08/22/2023 16:18:02: Setting -savedir to: /home/vhserver/.config/unity3d/IronGate/Valheim
08/22/2023 16:18:02: Setting -logfile to:
08/22/2023 16:18:02: Get create world vhserver
08/22/2023 16:18:02: Using steam_appid.txt
08/22/2023 16:18:02: Using steam APPID:892970
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/home/vhserver/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 2 milliseconds to initialize
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
CreateBoundSocket: ::bind couldn't find an open port between 2459 and 2459
[Steamworks.NET] GameServer.Init() failed.
08/22/2023 16:18:02: Steam is not initialized
08/22/2023 16:18:02: Awake of network backend failed
08/22/2023 16:18:03: Loaded localization file #0 - 'localization' language: 'English'
08/22/2023 16:18:03: Loaded localization file #1 - 'localization_extra' language: 'English'
08/22/2023 16:18:03: Loaded localization file #2 - 'heightmap_message' language: 'English'
08/22/2023 16:18:03: Loaded localization file #3 - 'localization_hildir' language: 'English'
08/22/2023 16:18:03: Loaded localization file #4 - 'localization_emotes' language: 'English'
ERROR: Shader TextMeshPro/Sprite shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
08/22/2023 16:18:03: Missing audio clip in music respawn
08/22/2023 16:18:03: Fetching PlatformPrefs 'GuiScale' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'DOF' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'Bloom' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'SSAO' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'SunShafts' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'AntiAliasing' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'ChromaticAberration' before loading defaults
08/22/2023 16:18:03: Fetching PlatformPrefs 'MotionBlur' before loading defaults
08/22/2023 16:18:03: The WorldGenerator instance was null
08/22/2023 16:18:03: Builder started
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: The WorldGenerator instance was null
NullReferenceException: The WorldGenerator instance was null
  at Heightmap.Generate () [0x0001a] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.Regenerate () [0x00007] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at Heightmap.OnEnable () [0x00029] in <093074b9eeb64fd38b114a3b8fa25238>:0

NullReferenceException: Object reference not set to an instance of an object
  at Localization.GetBoundKeyString (System.String bindingName, System.Boolean emptyStringOnMissing) [0x00005] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Translate (System.String word) [0x0003a] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Localize (System.String text) [0x0001e] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Localize (UnityEngine.Transform root) [0x00024] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localize.Start () [0x0000b] in <1cc5e200d8fe4d129ecc905a7d16b102>:0

NullReferenceException: Object reference not set to an instance of an object
  at Localization.GetBoundKeyString (System.String bindingName, System.Boolean emptyStringOnMissing) [0x00005] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Translate (System.String word) [0x0003a] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Localize (System.String text) [0x0001e] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at Localization.Localize (UnityEngine.Transform root) [0x00024] in <1cc5e200d8fe4d129ecc905a7d16b102>:0
  at FejdStartup.SetupGui () [0x000a7] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at FejdStartup.Start () [0x00000] in <093074b9eeb64fd38b114a3b8fa25238>:0

The shader Hidden/Dof/DepthOfFieldHdr (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform.
The shader Hidden/SunShaftsComposite (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The shader Hidden/SimpleClear (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform.
NullReferenceException: Object reference not set to an instance of an object
  at ZInput.GetKeyDown (UnityEngine.KeyCode key) [0x00000] in <41cc7a346313434d80cd9dbe7ae5ecde>:0
  at FejdStartup.UpdateKeyboard () [0x00000] in <093074b9eeb64fd38b114a3b8fa25238>:0
  at FejdStartup.Update () [0x0007b] in <093074b9eeb64fd38b114a3b8fa25238>:0

NullReferenceException: Object reference not set to an instance of an object
  at ZInput.GetKeyDown (UnityEngine.KeyCode key) [0x00000] in <41cc7a346313434d80cd9dbe7ae5ecde>:0
  at FejdStartup.LateUpdate () [0x00000] in <093074b9eeb64fd38b114a3b8fa25238>:0

08/22/2023 16:18:03: Stopping build thread

Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 153162.
Total: 210.025959 ms (FindLiveObjects: 6.634627 ms CreateObjectMapping: 20.192143 ms MarkObjects: 182.897598 ms  DeleteObjects: 0.298844 ms)

Setting up 2 worker threads for Enlighten.
  Thread -> id: 7fa2b55af700 -> priority: 1
  Thread -> id: 7fa2b4dae700 -> priority: 1
08/22/2023 16:18:03: Steam manager on destroy
src/tier1/fileio.cpp (5510) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5510) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited
src/tier1/fileio.cpp (5572) : CFileWriterThread already exited

Steps to reproduce

No response

dgibbs64 commented 1 year ago

The server is unable to bind to the port. An old Valheim process is probably still running for some reason. The quickest fix is going to be to reboot your server.

CreateBoundSocket: ::bind couldn't find an open port between 2459 and 2459
recon-Mike commented 1 year ago

Ahh, I see. I found a tmux session running the vhserver. I attached to it, ctrl-c to end it, wait for the server to shutdown, and then used the vhserver util monitor command. Seems to be fixed.

It seems like the tmux session broke, maybe related to the latest release which merged in Fix(tmux).

dgibbs64 commented 1 year ago

its very possible that pr caused the issue. A reboot does fix it though 👍

github-actions[bot] commented 1 month ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.