Jump to content

Recommended Posts

Posted (edited)

Hello fellow Vintage Story player, i have some trouble with setting up a dedicated server on my linux mint PC.
I followed the guide (https://wiki.vintagestory.at/Guide:Dedicated_Server#Dedicated_server_on_Linux) and the .net guide (https://wiki.vintagestory.at/Special:MyLanguage/Installing_the_game_on_Linux#Installing_.NET_manually

Short story, everything was fine until i got to 'Cleanup and convenience'

I could run the server no problem while logged-in as the new user i created, but now after disabling logging (first step) and doing the sudoer thing (2nd step) the server doesn't work anymore.

If i run:

'sudo /home/vintagestory/server/server.sh start'

I get the error 'Fatal! I require dotnet 8.0 but it's not installed. (https://dotnet.microsoft.com/en-us/download/dotnet/8.0)  Aborting'

I checked .Net with 'echo $DOTNET_ROOT' like specified in the guide, and it return: '/home/<MyMainUser>/.dotnet'

What i tried:
running sudo -u vintagestory to start the server (same issue)
Messing with the permission on the .dotnet folder

I have .NET installed with both my Main user account and the vintagestory user, with the .bashrc edited for both.

I have no idea what i did wrong or how to fix it, so help would be appreciated.
Thank you for your time

Edited by Aleide
Posted (edited)

Having same error message about requiring dotnet 8.0 except I can't run the server at all, even before doing 'Cleanup and convenience' steps.

The guide implies that you first install dotnet on main user and then create a second user specifically for running the server, without the need to install dotnet a second time, so that's what I did. Is that not the case?

Edited by rotkudnok
Posted

Ok, so I uninstalled dotnet that was installed with dotnet-install script (removed .dotnet folder from Home directory and deleted export entries from ~/.bashrc), re-logged in, installed dotnet with "sudo pacman -S dotnet-sdk-8.0" and after that the server's launching just fine

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.