Skip to content

[BUG] Valheim Server on Debian 11 #3672

@PhilPhonic

Description

@PhilPhonic

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions