Skip to content

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

Closed

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

Activity

  1. changed the title [-][Bug]: can't install/update server[/-] [+][Bug]: can't install/update and start server[/+] on Aug 12, 2023
  2. moved this from 🆕 New Issues to 🏗 In Progress in LinuxGSM Backlogon Aug 27, 2023
  3. added this to the v23.5.0 milestone on Aug 27, 2023
  4. linked a pull request that will close this issueUpdate update_vintagestory.sh #4286on Aug 31, 2023
  5. moved this from 🏗 In Progress to 👀 In Review in LinuxGSM Backlogon Aug 31, 2023
  6. moved this from 👀 In Review to ✅ Done in LinuxGSM Backlogon Sep 11, 2023
  7. github-actions commented on Sep 16, 2024

    @github-actions
    Contributor

    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.

  8. locked as resolved and limited conversation to collaborators on Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions