#Linux server

1 messages · Page 1 of 1 (latest)

woven umbra
#

Your server guide indicates that you can't run the dedicated server on linux or headless. I currently have a server running on a headless linux miniPC through wine.

It's using bog-standard system wine on Mint 22.3 and the only thing I had to do was add vcrun2022 to the prefix with winetricks. You also have to tell steamcmd to force platform type to windows for the download. I then use a systemd service to keep the server running and use cron entries to update and reboot automatically nightly.

I understand that y'all might not want to support this, but it does work. Maybe update the guide to say that it can work but you don't officially support it? I've attached my scripts and service file so y'all can see exactly how it's done.

languid zephyr
#

Thanks for the detailed info, much appreciated! We'll look into it, but right now we are focused on immediate troubleshooting, so not sure when the dev team will take a look

woven umbra
#

Totally understand. Just wanted to share my success with the team.

crude arrow
woven umbra
crude arrow
woven umbra
#

Pretty good for someone who has a decent idea of what they're doing, but vcrun2022 is not a linux package/dependency. It's something you have to use winetricks to install into the prefix. Anyone familiar with this sort of thing will catch that, those unfamiliar won't. To install it with winetricks, you would use this command for your sample prefix location: WINEPREFIX=/home/steam/windrose/pfx winetricks vcrun2022

#

If you like, I can probably write up a guide when I get some free time.

crude arrow
woven umbra
#

You might have to do a little formatting for the webpage, but I can draft the guide based on the locations you specified with a note that those paths can be changed as desired.

pulsar wigeon
#

I tinkered around with running the gameserver using wine and I used the default wine image from pterodactyl (ghcr.io/ptero-eggs/yolks:wine_latest) and I had no winetricks (no vc2022) and no xvfb and it worked flawlessly. But I see that @dim zodiac uses xvfb in his image and also you said that vc2022 is needed. So I am wondering why^^

dim zodiac
#

^^ (I had also just used xvfb because my previous wine containers needed it, but it can probably be removed then)

crude arrow
#

Any additional input on the guide is greatly appreciated, thank you very much

dim zodiac
woven umbra
woven umbra
#

I used discord-style markups for commands and paste into file contentsNot sure how that needs to look for a webpage.

#

It'd be great if someone could proof that and perhaps even test it independently.

woven umbra
crude arrow
timber hollow
# woven umbra Here's the draft instructions.

great guide! im trying to find ServerDescription.json and WorldDescription.json but can't seem to find them in order to customise my server - it says in the root application directory but isn't that just /home/user/windrose ?

#

or do i create them there?

#

ah it looks like the default app directory is /home/user/steam/windrose/R5

woven umbra
timber hollow
#

thanks so much

restive void
#

@woven umbra Thank you for posting this, I will give this a try and give feedback. I am using LinuxMint 22.3 xfce

restive void
#

@woven umbra I am going though the steps now, I am at step ./update_windrose.sh and got an error

#

I also have no idea what is 'Create wine Prefix', looking into that now.

woven umbra
#

Attach you update script.

restive void
#

I assume its because I am missing wine, I am on new install

woven umbra
#

That script doesn't use wine, just steamcmd.

restive void
#

im confused the instructions am I reading Draft copy of Windrose Linux Dedicated Server Guide, is not what I suppose to use? that has codes for wine

woven umbra
#

Just follow the directions. Wine is needed to run the server, not to update the server.

restive void
#

the message.txt? and you updated it?

woven umbra
#

No, there's been no change.

#

You still haven't attached your script.

#

Honestly, I didn't make this with the intention of providing support.

restive void
#

oh , I miss understood with your typo. I just redid all the scripts and now the update script worked, so I must of missed something before.

restive void
#

feedback: typo in message.txt at Run nano windrose.service, under [Service] you have User=wolfen , need to be User=username
I am almost there, I get error=44 , something about a crash in wine, I post back if I find a fix.

woven umbra
#

Thanks! I tried to get all of those, but there's as lot of places your username ends up!

woven umbra
stone fjord
#

@woven umbra Do you have a ny tips to installing on a linux server that has no display or GUI? I get through most of the guide but fail on the step that requires the windows style popup. Also appreciate the guide you put out to help push this to linux. Thanks again

woven umbra
#

Does the prefix get generated? If it does, there's no need to worry about a pop-up. You can just keep going.

#

I did test on an SSH connection, but my server does have a DE. I still got the pop-up anyway.

finite aspen
#

I can send you my notes on how I got mine running if that'd help

stone fjord
#

I will check the error i get again and paste here. Im trying to get to run on ubuntu live server.

stone fjord
finite aspen
#

I'm on ubuntu server so my stuff may definitely help lol

#

sec

stone fjord
#

all the errors i get are because its text based enviroment and its looking for display drivers and such

finite aspen
#

these are my notes on how I got it installed

#

tabbed stuff is inside the file mentioned above, rest are notes or commands

#

I always take detailed notes when setting stuff up because I WILL forget a month later when something needs fixed rofl

stone fjord
#

awesome, i will give it a go on a fresh enviroment shortly here. Thank You! I will let you know how i make out

finite aspen
#

I'll keep this thread on watched but if I don't reply to any questions, feel free to add and poke me

#

also I can send my start/stop/update/backup scripts too

#

ESPECIALLY the backup one, you'll want this being EA and having some corruption issues lol

#

in fact. sec

#

that

#

saves hourly, daily, weekly and monthly, keeping the last 24/8/8/12

stone fjord
#

sounds good, yeah ill take it. I have it running on windows for my group. think it wont be a problem bringing those server files over to the linux server once i get it figured out?

finite aspen
#

nope, world files can be transferred freely between single player and any server

stone fjord
#

awesome news, wasnt sure if the files would be written differently between OS

finite aspen
#

even if they were, there IS no linux build

#

why we need wine to make it run. but even if we did I would be shocked if the saves weren't compatible

pure geode
#

You're likely to get into a networking assert error eventually, upgrade wine past 9.18,
ASSERTION FAILED: result.bytes_transferred == buffer_->Length()

Here's the bug report and resolution:
Google: winehq bug 10648

And how to update to the latest by skipping your distro's version, at least a guide I used. Note, make /sure/ you get rid of all pieces parts of wine from your distro before upgrading.
Google: omgubuntu How to Install Wine on Ubuntu (The Right Way)

pure geode
finite aspen
pure geode
#

Apologies, I legit posted and then just read one up lol

finite aspen
#

interestingly enough I did run into an issue with running it through wine, where the world crashes on join if you place too many structures

pure geode
#

Yeah, it worked for days then just stopped working.

finite aspen
#

but that's not a save issue, though it is related to saves

#

it almost looks like the program tries to do something past a certain point structure-wise that wine can't handle?

pure geode
#

I moved my save over to windows and it worked; I too thought it was a save issue and started making 30 minute backups, ALL were "corrupt" even when it was running.

finite aspen
#

they aren't corrupt, they still work fine when you transfer them back

pure geode
#

Correct.

#

Upgrading let me load previously "corrupted" saves fine.

stone fjord
#

I’m waiting for that fix as well Fade, have a running Linux server now but can’t bring the save over for this reason

finite aspen
#

if it takes too long I'll spin it up as a dedi windows server

#

but hoping for a fast fix

pure geode
#

Try upgrading Wine past 9.18; I'm running 11

#

ubuntu LTS was 9.0~

finite aspen
#

seems to be working - didn't expect that. thank you!

pure geode
#

Glad to hear it! It was a lot of googling, but once I realized the save worked on Windows but not Linux I stopped assuming it was bad programming haha.

finite aspen
#

now I have to go through and check my other servers still work with 11.0 lol

finite aspen
#

ngl that has almost never worked to fix issues in the past for me, but obvious I should have tried in retrospect.

pure geode
#

The bug report was the only reason I did, and it was a lot of digging to find it.