Skip to content

[Bug]: can't install/update and start server #4285

Description

@maximalmax90

User story

Error occurs during installation/update/start

Game

Vintagestory

Linux distro

Other

Command

command: update, command: install, command: start

Install/Update

Further information

The developers have changed the json structure in the latest updates. Fix: replace 'server' to 'linuxserver' in update_vintagestory.sh

Relevant log output

fetching  null...curl: (6) Could not resolve host: null

Steps to reproduce

./vintsserver update or ./vintsserver install

Start after install/update fix

Further information

Fix: Now the server requires dotnet 7 runtime, and changing some vars:

startparameters="--dataPath ${servercfgdir}"
executable="./VintagestoryServer"
preexecutable=""

Relevant log output

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Vintagestory.API.Config.RuntimeEnv' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 010000d6 from typeref (expected class 'System.AppDomain' in assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Vintagestory.Server.ServerProgram.Main (System.String[] args) [0x00078] in <9f274c476aca4155adbb348bb301b88b>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Vintagestory.API.Config.RuntimeEnv' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 010000d6 from typeref (expected class 'System.AppDomain' in assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Vintagestory.Server.ServerProgram.Main (System.String[] args) [0x00078] in <9f274c476aca4155adbb348bb301b88b>:0

Steps to reproduce

./vintsserver start

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions