[GH-ISSUE #3672] [BUG] Valheim Server on Debian 11 #2435

Closed
opened 2026-02-27 03:02:56 +03:00 by kerem · 5 comments
Owner

Originally created by @PhilPhonic on GitHub (Nov 6, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3672

User Story

As a server admin, I want the vhserver not to crash while starting so that users can play.

Basic info

  • Distro: [Debian 11.1]
  • Game: [Valheim]
  • Command: [start]
  • LinuxGSM version: [v21.4.1]

Further Information

When I start the server, it immediately crashes.
What I found out:
If I start the server from /home/valheim/ (where vhserver is located) using this command (taken from ./vhserver details): ./serverfiles/valheim_server.x86_64 -name 'Valheim Server' -password -port 2456 -world vhserver -public 1 -savedir '/home/valheim/.config/unity3d/IronGate/Valheim' the server also immediately crashes.
If I change directory to serverfiles and start the server after that by using ./valheim_server.x86_64 -name 'Valheim Server' -password -port 2456 -world vhserver -public 1 -savedir '/home/valheim/.config/unity3d/IronGate/Valheim' it works just fine.

console.log

Set current directory to /home/valheim/serverfiles
Found path: /home/valheim/serverfiles/valheim_server.x86_64
Mono path[0] = '/home/valheim/serverfiles/valheim_server_Data/Managed'
Mono config path = '/home/valheim/serverfiles/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Initialize engine version: 2019.4.24f1 (5da6f0345e82)
[Subsystems] Discovering subsystems at path /home/valheim/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.052 seconds
UnloadTime: 0.453871 ms
11/06/2021 16:06:27: Starting to load scene:start

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

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.
(Filename:  Line: 91)

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.
(Filename:  Line: 91)

HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename:  Line: 277)

HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename:  Line: 277)

Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 4.089780 ms
Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).
(Filename:  Line: 516)

HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename:  Line: 277)

11/06/2021 16:06:29: Valheim version:0.203.11

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Render threading mode:SingleThreaded

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Get create world vhserver

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Loaded localization CSV:localization language:English

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Loaded localization CSV:localization_extra language:English

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Error bad password:The password is too short

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Missing audio clip in music respawn

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:29: Builder started

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

11/06/2021 16:06:30: UI Group status changed Menu = True

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)


Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 96514.
Total: 40.868533 ms (FindLiveObjects: 3.404375 ms CreateObjectMapping: 6.513395 ms MarkObjects: 30.472517 ms  DeleteObjects: 0.477856 ms)

Setting up 6 worker threads for Enlighten.
  Thread -> id: 7feafe70e700 -> priority: 1
  Thread -> id: 7feafdf0d700 -> priority: 1
  Thread -> id: 7feafd70c700 -> priority: 1
  Thread -> id: 7feafcf0b700 -> priority: 1
  Thread -> id: 7feaf7fff700 -> priority: 1
  Thread -> id: 7feaf77fe700 -> priority: 1

To Reproduce

Steps to reproduce the behaviour:

  1. ./vhserver start
  2. ./vhserver details -> Status: STOPPED

Expected behaviour

Status: RUNNING

Originally created by @PhilPhonic on GitHub (Nov 6, 2021). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3672 ## User Story As a server admin, I want the vhserver not to crash while starting so that users can play. ## Basic info * **Distro:** [Debian 11.1] * **Game:** [Valheim] * **Command:** [start] * **LinuxGSM version:** [v21.4.1] ## Further Information When I start the server, it immediately crashes. What I found out: If I start the server from `/home/valheim/` (where `vhserver` is located) using this command (taken from `./vhserver details`): `./serverfiles/valheim_server.x86_64 -name 'Valheim Server' -password -port 2456 -world vhserver -public 1 -savedir '/home/valheim/.config/unity3d/IronGate/Valheim'` the server also immediately crashes. If I change directory to `serverfiles` and start the server after that by using `./valheim_server.x86_64 -name 'Valheim Server' -password -port 2456 -world vhserver -public 1 -savedir '/home/valheim/.config/unity3d/IronGate/Valheim'` it works just fine. console.log ``` Set current directory to /home/valheim/serverfiles Found path: /home/valheim/serverfiles/valheim_server.x86_64 Mono path[0] = '/home/valheim/serverfiles/valheim_server_Data/Managed' Mono config path = '/home/valheim/serverfiles/valheim_server_Data/MonoBleedingEdge/etc' Preloaded 'libsteam_api.so' Initialize engine version: 2019.4.24f1 (5da6f0345e82) [Subsystems] Discovering subsystems at path /home/valheim/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.052 seconds UnloadTime: 0.453871 ms 11/06/2021 16:06:27: Starting to load scene:start (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 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. (Filename: Line: 91) 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. (Filename: Line: 91) HDR Render Texture not supported, disabling HDR on reflection probe. (Filename: Line: 277) HDR Render Texture not supported, disabling HDR on reflection probe. (Filename: Line: 277) Unloading 6 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 4.089780 ms Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu). (Filename: Line: 516) HDR Render Texture not supported, disabling HDR on reflection probe. (Filename: Line: 277) 11/06/2021 16:06:29: Valheim version:0.203.11 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Render threading mode:SingleThreaded (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Get create world vhserver (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Loaded localization CSV:localization language:English (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Loaded localization CSV:localization_extra language:English (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Error bad password:The password is too short (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Missing audio clip in music respawn (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:29: Builder started (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 11/06/2021 16:06:30: UI Group status changed Menu = True (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 96514. Total: 40.868533 ms (FindLiveObjects: 3.404375 ms CreateObjectMapping: 6.513395 ms MarkObjects: 30.472517 ms DeleteObjects: 0.477856 ms) Setting up 6 worker threads for Enlighten. Thread -> id: 7feafe70e700 -> priority: 1 Thread -> id: 7feafdf0d700 -> priority: 1 Thread -> id: 7feafd70c700 -> priority: 1 Thread -> id: 7feafcf0b700 -> priority: 1 Thread -> id: 7feaf7fff700 -> priority: 1 Thread -> id: 7feaf77fe700 -> priority: 1 ``` ## To Reproduce Steps to reproduce the behaviour: 1. `./vhserver start` 2. `./vhserver details` -> Status: STOPPED ## Expected behaviour Status: RUNNING
Author
Owner

@PhilPhonic commented on GitHub (Nov 7, 2021):

Just ignore this. Seems I was a little tired trying this out.

<!-- gh-comment-id:962663359 --> @PhilPhonic commented on GitHub (Nov 7, 2021): Just ignore this. Seems I was a little tired trying this out.
Author
Owner

@fs86 commented on GitHub (Dec 31, 2021):

I have exactly the same behavior. How did you fix the problem?

<!-- gh-comment-id:1003360038 --> @fs86 commented on GitHub (Dec 31, 2021): I have exactly the same behavior. How did you fix the problem?
Author
Owner

@PhilPhonic commented on GitHub (Dec 31, 2021):

I have exactly the same behavior. How did you fix the problem?

I had no password / a too short password set. Dunno which it was, but you have to set a password of min. 5 characters length.

<!-- gh-comment-id:1003361750 --> @PhilPhonic commented on GitHub (Dec 31, 2021): > I have exactly the same behavior. How did you fix the problem? I had no password / a too short password set. Dunno which it was, but you **have to** set a password of min. 5 characters length.
Author
Owner

@fs86 commented on GitHub (Dec 31, 2021):

I have exactly the same behavior. How did you fix the problem?

I had no password / a too short password set. Dunno which it was, but you have to set a password of min. 5 characters length.

Thank you! That solved the problem. My password had only 4 characters.

<!-- gh-comment-id:1003363364 --> @fs86 commented on GitHub (Dec 31, 2021): > > I have exactly the same behavior. How did you fix the problem? > > I had no password / a too short password set. Dunno which it was, but you **have to** set a password of min. 5 characters length. Thank you! That solved the problem. My password had only 4 characters.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2023):

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.

<!-- gh-comment-id:1368296507 --> @github-actions[bot] commented on GitHub (Jan 1, 2023): 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.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2435
No description provided.