#Linux Help
1 messages · Page 2 of 1
but its for Ubuntu
you have to fix the repos
sudo add-apt-repository multiverse; is Ubuntu.
I mean on Debian its non-free
Ah my bad I used my command for the steamcmd install it was like this :
apt update; apt install software-properties-common; apt-add-repository non-free; dpkg --add-architecture i386; apt update
apt install steamcmd
i copied his guide starting step 4
steamcmd works out of the box
For me the errors that might cause the problem are these 2 that stand out for me :
[E 00:00:00,206] [steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,206] [steam] Message from Steam: No SteamClient020
Should I simply install the steam client via apt install steam -y ?
I had the same error on a ubuntu 22 that's why I did a fresh install
Until now I used wine, but that is not possible anymore because every person who joins after the 3rd one gets 10k ping the first 3 have a normal 20 ping but everyone after laggs like crazy, so strange
should be enough, when steamclient.so is in the correct path
steamclient itself is not needed
I did an ln link from the linx63/steamclient.so to the enshrouded server file no?
try it. idk atm the correct path, where to put the .so
No I dont need to try it cause I did it already ^^
found it. I saw the error allready:
I but the linux64 client in the enshrouded folder in the user folder and in the Steam folder nothing helps
I think I just need to know what id the steamworks program has in steamcmd to install it
app_id 1007
yeah tried didnt help sadly i put up a widows vm now 🤢
Hey guys, can someone maybe give me some info if there is a fix for the network problems (high latency) when using wine?
use proton
this is showing up in the logs today "src/steamnetworkingsockets/clientlib/steamnetworkingsockets_lowlevel.cpp (2427) : Assertion Failed: SteamnetworkingSockets service thread waited 101ms for lock! This directly adds to network latency! It could be a bug, but it's usually caused by general performance problem such as thread starvation or a debug output handler taking too long." proton egg, server rubberbanding slightly with just one player on it
anyone know the cause?
with two players its closed to unplayable, server has been restarted a few times
base load today on the server after building some is 250 % of 800 %, yesterday with a smaller buildings it had a base of 80-100 % when no one was logged in...
Lecssl Could not add component e3b96393 for enti
ty 611270
[ecss] Could not add component e3b96393 for enti
ty 611314
[ecss] Could not add component e3b96393 for enti
ty 611394
Anyone know why server load warning occurs with 3 ppl in server?
Big building?
Make sure the ports are assigned to the egg server
hey everyone, I tried out the pterodactyl egg for enshrouded today and the server never starts:
[app] start creation step Init
[app] start creation step Init_Steamworks
[steam] Failed to initialize Steamworks system...Generic Error
[steam] Message from Steam: No SteamClient020
[app] Failed to create Steamworks.
[app] start destruction step Init
[enshrouded] Close Log file
is anyone having luck with th eegg?
medium sized, like enough for 6 players, a crafting npc area etc, spacious but not castle like. think it was like 26x58m (in-game meters)... tore it down, problem still persisted, even after multiple restarts etc
So it didn’t matter after all?
Kind of surprised there arent any native linux binaries for dedicated server
Hey guys, I am currently hosting a serveur for friends, we are playing at 6, but when we are 6 one of us start lagging really really hard. We have no problem at 5 everything run somethly. You can find my server config below. What surprise me is that nothing seems over top when we are 6, the load average is aroung 7 (close to the top but got no cpu at 100%), the ram usage is really low, same for io (both disk and network). So my supposition is the cpu but not totally sure about it, do you some feedback/help to give ? I am running the server on linux with wine64 directly.
SYS-5-SSD-32
Intel Xeon E3-1270v6 - 4 c / 8 t - 3,8 GHz / 4,2 GHz
32 Go DDR4 ECC
500 Mbit/s
Wine has been known for latency issues. Proton has been better
thanks for your answer, if i may ask, do you know how i can install with debian ?
You can follow the JSON file for the goover egg on the GitHub
Find and download GE-Proton-8-27, extract the binary somewhere and then use that to run the enshrouded_server.exe: proton run enshrouded_server.exe.
You'll also need to set the following variables:
``
set path to steam installation
STEAM_COMPAT_CLIENT_INSTALL_PATH=
set path to an empty directory otherwise proton won't run
STEAM_COMPAT_DATA_PATH=
``
Same for me
Thanks a lot
they have allready 8.28 released. fyi
anyone have any VPS/dedi machine recommendations? been looking into hosting and I have a tendency to be too cheap. So would appreciate any advice/recommendations anyone has. Looking to run pterodactyl over linux with the proton egg.
Google Cloud with your first time free credit OR the cheapest alternative.
Being cheap is fine as long as you meet the requirements for the number of players you have.
I personally went with Vultr hosting then moved to Google Cloud because 300$ free credit
Their interface is more complicated however and I wouldn't recommend it for people not confident in troubleshooting
Try Hetzner, I run an AX51 and like 4 servers on it without any problem.
What kind of specs are you running and about how much credit is it costing you per day?
6 Cores (12 vCPU)
16 GB RAM
50 GB SSD
$331/Month
Which is too expensive but I'm using free credit and I'm not planning on running it for that much longer
appreciate the insight
On Vultr when I was paying out of pocket it was between 80-100$ per month but lower stats
I did basically the same thing with azure a couple years ago hosting valheim on credit. not sure if I want to go through the effort of setting it up though haha
The plan never was to play for an entire month so the costs made sense just for the convenience of a dedicated server
Azure would be a great option as well I imagine, because of free credit
Actually I don't know why I didn't think of Azure from the start 😂 I use it every day at work
eh free money is free money
Switched from the Wine based egg to the Proton based one... much better performance (less CPU usage, and no occasional short lag spikes for remote players). Nice! Running it on old Dell Optiplex i5 (with Proxmox, Plex and many other tasks)
Hi, i'm looking for a guide to install Proton on an Ubuntu 22.04 server, does anyone know one please ?
Has anyone figured out if there's anyway to make server announcements? I'd like to set up server restarts and would prefer to have a warning in game for a heads up
Steal your users login, force them to use ssh, send xdialog popups! ^^ ðŸ¤
Not possible yet
Just schedule overnight when ppl not likely to be playing, and just tell your friends the time server will be restarting for 5 minutes max
I have mine restarting 4:30 am
Pretty much what I ended up doing at 5am
There you go
Thinking about adding another to catch the update window during the week.
I was going to check on api possibly for getting a trigger off new version available
Had that thought too. Figured there might be a steamcmd command to check but haven't had time to look into it.
Hello everyone, i ran into a strange issue. I'm using a dedi linux server for enshrouded that worked fine since the release. I'm using the PR3SIDENT solution (big thanks to them) for the server. But today i'm noticing an issue where the server can't be found in the server list when using filter by name. The server is running fine when i check it on my linux service and i can ping it just fine using the server window of steam. Does anyone ran into the same issue?
Thanks for any answers 🙂
did you check: #server-faq
yes i did , the problem was a wrong config in my service where a restart didn't update the game.
Has anyone set up a server on proxmox? I can't get it to show up on the server list despite it being in my steam favorites and I can see that networking is fine and packets are coming in and answered correctly if I monitor it with tcpdump.
where is the problem to setup a VM in proxmox and install the server via steamcmd? Check your firewall settingsd and network settings. Not really anny issue with proxmox or enshrouded. I use proxmox and run a server without issues.
btw; dont use LXC 😉
Care to elaborate on why I shouldn’t use LXC? Do you use ufw?
No, i never use UFW
Me neither, I manage security with iptables and the server is not showing up despite seeing network traffic incoming and outgoing. This is why I was wondering if anyone else has done it and if there were any ‘special’ actions needed to get it to work. The strange thing is that I can query the server using steam but it does not show up in-game.
are you hosting at home?
iptables +1
No I host it on a dedi but on a separate VLAN that has WAN access and the traffic goes through a separate gateway and from there it gets routed out to the internet. You could say there are 2 chokepoints for traffic and neither of these points show any dropped packets. I must be forgetting something though, I am just not sure what it could be.
i would check your network configuration. Not really the default way
Yeah so what I thought I would do is just check if packets are coming in and if they are going out. So for the query port they do, I can see the traffic but I am not seeing anything for the game port. I also host palworld on it and that works fine but it uses Epic Games servers for their matchmaking, which also makes me believe that I am missing something to make iptables work with steamworks here (just speculating)
I'm hosting it in Pteradactyl->LXC->Proxmox without issue
What is pterodactyl exactly? I still haven’t got it to work. Forwarding the query and game port doesn’t seem to be adequate.
bloat ontop of some more bloat ^^
You're not wrong but sometimes we need fancy things 😛
Sometimes, but i try to live without them as far as i can ^^ less areas to troubleshoot and headache about ^^
I just wait for a proper linux executsble with a working console command interface to setup things over ssh ^^
Not feeling the website gui thingie ^^
I hope Enshrouded will get a linux executable, that would be nice.
Yeah ^^
A game server management system basically, that allows me to easily spin up a server for games (particularly for my son, but also for myself and a few friends). Once setup it's fairly easy to import "eggs" (JSON file definitions) for new games and get them up and running pretty quickly.
Our current list of servers (running in an LXC on Proxmox, which is also hosting other stuff like Plex.... on a 6yr old i5 small form factor Dell Optiplex PC)
any good solution for the Session failed for peer #0 with error 4.? error?
I found in my setup the problem, somehow i blocked in my network outbound communication and only allowed http/https protocol when I opend all ports to the outside it worked without a problem.
Hello, trying to setup Enshrouded on my ubuntu server (22.04, heztner) with Docker (mornedhels image). I'm having trouble connection to it (good old Session failed for peer #0 with error 4)
But I can connect when Tailscale is running on my client. So i'm guessing it's a firewall issue or network interface issue but can't seems to find what is causing it.
I don't have ufw enabled and iptables is cleaned and flushed (input, output, forward at ACCEPT). And on the Hetzner side, I believe I didn't fail to set up the firewall 🤔
Do you have any idea for further debugging this ?
What's the ip address in your server json file?
0.0.0.0
Weird, everything looks in order, I've used that image myself to host with docker compose so I'll say it's an issue on your end. Has to do with firewall or something
Use tcpdump to capture traffic on your game port and see what’s going wrong. Perhaps packets are being dropped.
Alright, I found something, on Hetzner's firewall, port 32768-65535 was only accepting TCP ACK, when I removed the filter on TCP flags, I was able to go further in the connecting process but end up crashing the server
2024-02-08 16:38:04.494 supervisord: enshrouded-server STEAMPS3 - TCPPort::OnAcceptEvent (tcpport=0x7f6562d72e20), (socket=0x7f6562d730b8), (incoming.addr=<my_ip>:40209)(incoming_=0)
2024-02-08 16:38:04.494 supervisord: enshrouded-server STEAMPS3 - AsyncTCPSocket created
2024-02-08 16:38:04.767 supervisord: message repeated 36 times: [ enshrouded-server STEAMPS3 - AsyncTCPSocket created]
2024-02-08 16:38:04.774 supervisord: enshrouded-server *** buffer overflow detected ***: terminated
2024-02-08 16:38:05,479 INFO reaped unknown pid 73 (exit status 0)
2024-02-08 16:38:05,479 INFO reaped unknown pid 77 (exit status 0)
2024-02-08 16:38:05,479 INFO reaped unknown pid 80 (exit status 0)
2024-02-08 16:38:05,480 INFO reaped unknown pid 97 (exit status 0)
2024-02-08 16:38:05,480 INFO reaped unknown pid 108 (exit status 0)
2024-02-08 16:38:05,480 INFO reaped unknown pid 114 (exit status 0)
2024-02-08 16:38:05,481 INFO reaped unknown pid 122 (terminated by SIGSEGV (core dumped))
2024-02-08 16:38:05,481 INFO reaped unknown pid 124 (exit status 0)
2024-02-08 16:38:05,481 INFO reaped unknown pid 129 (exit status 0)
What are your server specs?
And which image tag of mornedhels/enshrouded-server are you using?
I recommend mornedhels/enshrouded-server:stable-proton if you're not using it already
Forgot to update, got it working, it was the port range 32768-65535 needed to be open in UDP as well.
Spec wise, it's a i7 8700, 64GB, it's running perfectly. I built the image myself using the proton version yes.
Thanks both of you for your help 
Feels a bit overkill to open thousands of ports, kinda defeats the idea of having a firewall 🤔
Well I agree but I have no idea why without this range of port being open (UDP/TCP) it couldn't work 🤔
Hetzner's FW is weird, pretty much just that. You could also just disable it / allow everything and then use iptables.
Errything is better to manually/not in a frontend imo, to have a clear view of what goes on ^^
tbh, that's true, it wouldn't take 1min to update as well
I have a bash script here that automatically downloads the latest version of Proton-GE and then extracts the files into the specified folder.
You could use this to automatically update proton without any kind of manual actions 🙂
Requires jq and curl packages
#!/bin/bash
# Set the target directory where you want to extract Proton-GE
TARGET_DIR="/proton/bin"
# Create the target directory if it does not exist
mkdir -p "$TARGET_DIR"
# Use GitHub API to get the download URL of the latest Proton-GE release
# that ends with .tar.gz
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | jq -r '.assets[] | select(.name | endswith(".tar.gz")) | .browser_download_url')
# Extract the filename from the URL
FILENAME=$(basename "$LATEST_RELEASE_URL")
# Check if we got a valid URL
if [[ $LATEST_RELEASE_URL == null ]] || [[ $LATEST_RELEASE_URL == "" ]]; then
echo "Failed to find the latest Proton-GE release with a .tar.gz extension."
exit 1
fi
# Download the latest release
echo "Downloading Proton-GE from $LATEST_RELEASE_URL..."
curl -L $LATEST_RELEASE_URL -o "/tmp/$FILENAME"
# Determine the directory name inside the tar.gz (without the .tar.gz extension)
DIR_NAME="${FILENAME%.*.*}"
# Extract the specific directory from the tar.gz into the target directory
echo "Extracting the contents of $DIR_NAME to $TARGET_DIR..."
tar -xzf "/tmp/$FILENAME" --directory "$TARGET_DIR" --strip-components=1 "$DIR_NAME/"
echo "Proton-GE has been successfully updated."
Looks solid at a look-over ^^
Any word on ever getting native Linux binaries for dedicated server?
Started playing again with some other friends but looks like nothing yet
No word on that sadly
No but I use mornedhel's proton based container for the server and it works very well, and very stable
has a lot of quality of life built in
I have it set up right now with podman+quadlet(systemd) and it self-runs, self-updates, self-restarts
completely hands off
pretty good performance too
That's the one I'm using
😢
Everything else is great
But the performance is so bad. We have issues with only 3 people and 5 it is painful
I don't have problems with 3 people
I used to have server load notifications in-game with just the WINE based image
but when I switched to proton, even before release 1.0 of the image, it was all fixed
Maybe its a resource/hardware problem?
or network problem
I host from a fiber 1g/1g up/down connection
Started having htop open when I played and whenever the server was getting really bad I noticed one core is at 100% while the rest are fine
I have mine running on a 12900K so maybe my CPU is just able to handle it
I suspect being able to leverage more cores would obvs improve your experience though
ok for now, but nobody is logged into game atm
Well I mean, wine isn't going to help distribute the process load across the cores
I'm running it with proton
the 2650 is a very old Xeon nowadays
you can get better perf out of a lot of mini-NUC Atom/Celeron dies
from 2022+
2650 is from 2014/2015 era and it's low clock
Hmmm
the 12900K is literally like 4x core efficient over the 2650
Is this like, old homelab gear?
Yeah I figured having more cores might help but it just fixates in the one core
Dell R720
yeah at most you're gonna be running off of one core
yeah I used to have an R720 based homelab... 4 years ago
it's almost a decade old
they're power hungry, heat-heavy boys
not really worth running anymore
It is heat heavy lol
I do have an unused 4690k machine you think that would give better performance?
That NUC is 4x as powerful CPU wise and takes maybe a quarter of the TDP
Minisforum makes it, highly recommend
they are releasing the MS-01 machines with 13th gen intel chips if you are interested
I was looking at some of the Intel NUCs
LOL
Intel NUCs are overpriced imo
I used to have a fairly sizeable rolling 24U cabinet with R720, Unifi stack, multiple R620s
got rid of it all
went to NUCs - quiet, doesn't destroy my electricity bill, and plenty fast
I think your perf issue is because of that E5 2650 😉
def recommend moving on from it
they are costly to run
I guess I'll try the 4690k since I have it on hand
I will look into some NUCs for the future though
https://store.minisforum.com/products/minisforum-un1265?variant=44340318830837 This is what im actually running
not 12900K, that's in my desktop, but the server is on 12700H
Oh nice
I just got the barebones and slapped in a 64GB DIMM kit in there
What do you run on it? A hypervisor?
It's just running fedora server 39, I have 3 Minisforum MS-01's on the way since they're shipping the first batch today actually
that will be a 3-node bare metal Openshift cluster
i'll run Kubevirt on there
and migrate this game server to it later after migrating the PV
Oh wow neat
I'll have the option of running a headless windows nano VM on kubevirt when I get my cluster set up
I have a single node openshift cluster on this UN1270 NUC before
but it was just too clunky
No PCIe slot looks like tho
not the UN1270, but the MS-01's do
I kind of want something for NAS options
the MS-01's also have 2x 10gbit, 2x 2.5gbit, U2 NVMe slot, 40gbps Thunderbolt as well
can do literally anything with that kind of setup
I am going to be doing Ceph across 3 nodes
with the triple MS-01's
put a 2TB NVMe in each
full redundancy
any compute node can go down and still have full parity
I used to have ZFS on linux with my R720 since my 720 was one of those 16 bay SFF drive chassis
I did a flashed HBA to just JBOD+ZFS
but the SPOF is still the server running it, as well as the HBA
Good food for thought, the MS-01 looks interesting
But I'm in the middle of upgrading my desktop so that will be a later solution
Did linux server help die out? ^^