Native Linux server (with management scripts)

Yeah, the build id detection is still wonky (thanks Valve for not fixing your issues :( ). As you did --force should always work, though theoretically if you only run the updateengine once with at least 10min delay in between you *should* also get the proper data.

If it's not starting it's *probably* due to the changes in the serverconfig as outlined in the release notes of 17.2. Biggest issue should be the removal of BlockDurabilityModifier and ZombiesRun. Added config stuff should just be ignored as it would stay at the default if not overridden in the config. Will have to update the scripts for this to work again. Mabye I can get to that today or tomorrow.

 
Yeah, the build id detection is still wonky (thanks Valve for not fixing your issues :( ). As you did --force should always work, though theoretically if you only run the updateengine once with at least 10min delay in between you *should* also get the proper data.
If it's not starting it's *probably* due to the changes in the serverconfig as outlined in the release notes of 17.2. Biggest issue should be the removal of BlockDurabilityModifier and ZombiesRun. Added config stuff should just be ignored as it would stay at the default if not overridden in the config. Will have to update the scripts for this to work again. Mabye I can get to that today or tomorrow.
Yeah the configfile was indeed the problem :) . Got everything working again now, just wanted to report this because I wasn't sure if you were aware of it already.

Thanks!

 
I am attempting to set up a server on Ubuntu. I get through everything and go through the setting up an instance. However, I then get a bunch of issues with xmlstarlet. I tried to figure it out, but now it is 1 am and I am frustrated, so I am parking this here to see if anyone has a solution.

Screen cap of output https://prnt.sc/nz5da1

Also, I have installed it, though using apt did not work, I had to use snap.

 
Last edited by a moderator:
ok, that's odd. I just install it via apt.

You should run all of these commands under root.

apt-get update

apt-get install xmlstarlet

apt-get install lib32gcc1

apt-get install lib32stdc++6

apt-get install make

apt-get install gcc

That should take care of it nicely

I assume you're using Ubuntu server, and not desktop version though.

 
ok, that's odd. I just install it via apt.
You should run all of these commands under root.

apt-get update

apt-get install xmlstarlet

apt-get install lib32gcc1

apt-get install lib32stdc++6

apt-get install make

apt-get install gcc

That should take care of it nicely

I assume you're using Ubuntu server, and not desktop version though.

I am running Ubuntu server, I have run the above commands. This is what happens when I try to install xmlstarlet - http://prntscr.com/nzcxuz

I have installed it with snap, however, it is in a different place. I did mess around with using 'ln' to link the two locations, but that was not working as the examples I found online.

 
Last edited by a moderator:
Seems like something is messed up with where it's getting the repository from. I've got it set to defaults, and don't have any issues getting it with apt. Just ran it a bit ago, and I get ...

Code:
root@beta:~# apt-get install xmlstarlet
Reading package lists... Done
Building dependency tree
Reading state information... Done
xmlstarlet is already the newest version (1.6.1-2).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
 
Seems like something is messed up with where it's getting the repository from. I've got it set to defaults, and don't have any issues getting it with apt. Just ran it a bit ago, and I get ...

Code:
root@beta:~# apt-get install xmlstarlet
Reading package lists... Done
Building dependency tree
Reading state information... Done
xmlstarlet is already the newest version (1.6.1-2).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
I don't know what to tell you. This has been an issue for a long time across multiple VMs on my end and so far has only impacted my 7 days server. It started as an issue when I made a server for a17 experimental and ended up just needing to use steam cmd as this script did not function properly... Back then I assumed it was because the script was not updated or some such.

 
What version of Ubuntu is this? Maybe you need to enable some of the additional packet sources (universe, multiverse).

 
I've recently used the scripts provided to install a 7dtd server, it's working really well except for when I attempt to shut it down, here's what that looks like: https://i.imgur.com/qMfzaZp.jpg

Just curious as to whether this is normal behavior or not, I feel as though failing a graceful shutdown isn't a good thing but I'm new to all of this.

This is on google cloud using Debian GNU/Linux 9 (stretch).

qMfzaZp.jpg

 
Last edited by a moderator:
I've recently used the scripts provided to install a 7dtd server, it's working really well except for when I attempt to shut it down, here's what that looks like: https://i.imgur.com/qMfzaZp.jpg
Just curious as to whether this is normal behavior or not, I feel as though failing a graceful shutdown isn't a good thing but I'm new to all of this.

This is on google cloud using Debian GNU/Linux 9 (stretch).
Either the server did not shut down fast enough (in that case it *could* be an issue if it was not finishing saving data) or it did not properly end all threads (which would only be not so nice behaviour on the server's end that we should get fixed).

Would be interesting to see the log of such a terminated session. For more information.

Also you can increase the timeout in /etc/7dtd.conf, if it was the first case that should help.

 
Thanks for the response, I'll try increasing the timeout but I've been running into more problems, now I can't connect to the server because I'm receiving the error "server is still initiating, please try again in a minute."

Here's the log: https://pastebin.com/mmYSbwPi

When the server is up and I run status this is the result:

Instance: sha

Status: Running

Open ports:

26902 (udp)

8081 (tcp)

/usr/local/lib/7dtd/common.sh: line 234: nc: command not found

Players:

Game info:

Server name: Shieldme's Humble Abode

Password: ----------

Max players: 6

World: Navezgane

Network info:

Port: 26900

Public:

Control Panel: off

Telnet: Port 8081, Pass

It was running fine until I got stuck with that "creating player" message. I thought it was client side but decided it couldn't hurt to do an instance restart, not sure what's going on now.

 
Looks like your decoration.7dt is borked. It's mostly about trees, so shouldn't hurt a lot to just delete it. Though it would be appreciated if you could first upload it somewhere.

 
Oh stupid me ... Of course it won't properly shutdown for you as the shutdown command is issued to the 7dtd process with the netcat (nc) program and it looks like you don't have that installed. I noticed that before but ignored that as not important right now, but obviously shutdowns won't work without it ;) (that's also the reason why you don't see any mention of "Telnet" connection being established and a console command issued in that log)

Thanks for the deco file though, maybe we can find what is causing it to fail :)

 
Port 25000-25002? It's TCP port 26900 and UDP port 26900-26902 that need to be forwarded for 7DtD, unless someone changed those port settings.

 
Port 25000-25002? It's TCP port 26900 and UDP port 26900-26902 that need to be forwarded for 7DtD, unless someone changed those port settings.
What are you referring to?

 
The path shown in this error refers to the location Valve built this program. It has nothing to do with your system. Also it can be simply ignored, I don't know why it shows up on some systems (did also show on my Debian 6/Squeeze test machine, but neither on my deployment machine with Debian 7/Wheezy nor on my Fedora 20 test machine ...).

Those entries are ok.

What do you mean by "when installing it"?

Sounds like you got a wrong combination of the Steamworks files. Could you pastebin the whole output.log from the instance you were trying to run?

I only have the following ports:

- in: 25000-25002/UDP

- out: 20,21,80,443/TCP

- (and DNS, NTP but that shouldn't matter ;) )

I think it uses HTTP for the server list so port 80 should be enough.

I don't know about a comparison to a Windows based server but I'd suspect it to perform a little bit better as most things perform better on Linux regarding raw CPU / IO power and you obviously don't need graphics power on the server ;)

Also don't have any numbers for required resources for a given player count, only hosting a server for me and two friends.

Regards,

Alloc
Page one. I guess the port numbers changed since 2014? :D

 
Oh my god, that's over 1000 posts old ... who even reads that stuff? :D
Someone looking at a thread for the first time apparently lol.

I might as well ask this here: is there a way to enable additional verbosity/debugging? I have output directed to the console and am running server/headless mode and getting a freeze during 7 day hordes. The output doesn't give me anything useful. While I'm going to wait until A18 to see if this issue still exists and really dig in troubleshooting it (after I release a new A18 compatible version of my mod :D ) I was wanting to be prepared to diagnose it further in case it is still happening.

 
Someone looking at a thread for the first time apparently lol.
But typically only at the first post (if at all :( ) and the last ones ;)

I might as well ask this here: is there a way to enable additional verbosity/debugging?
Suppose you're not talking about my scripts but rather the 7dtd server in general? There's no general verbosity setting, just a few specific ones like networking.

 
Back
Top