Linux server issues

Anyone have any luck setting up a Linux server for this game since the last update?

I followed this guide and the server runs just fine but it doesn't show up in the server list.

My config here

Ports:
ConnectionPort=7777
QueryPort=27015

ufw is enabled and ports are allowed.

citadel@hades:~/citadel$ sudo ufw status
Status: active
7777 ALLOW Anywhere
27015 ALLOW Anywhere

I can see the server in top:
16500 citadel 20 0 7165788 4.772g 70316 S 7.0 15.2 0:41.96 CitadelServer-L

Server Log here

It seems like a firewall issue, but ufw is definitely enabled and allowing the ports set. Anyone have any clue what's up?

Iptables rules here - tested with ufw disabled. No change.

edit After some testing, I added a shortcut to connect to my server with steam://connect/myserver/27015 and I can see my server console spit out this every time I tried to join the server. the redacted IP is mine, but Steam refuses to connect.

[2018.08.06-15.10.56:199][448]LogNet: NotifyAcceptingConnection accepted from: XXX.XXX.XXX.XXX:53402

So it looks like the server can accept incoming connections, but the server itself doesn't seem to actually show in the server list OR let anyone play on it.

Posted Aug 6, 2018, 1:52 PM UTC · edited

23
wtfcolt•

How much memory is the server using? it its not configured properly, it will not load right, but won't give any error messages in console afaik. You can tell its not loaded right if its not sucking up about 4gb or so

2
TheAmazingFailureOP•

I got it running. It was a mishmash of issues with the guides formatting and info.

The config that worked was from here so props to Survival Servers. The difference in configs is Survival Servers removed the newline after WorldCreationSettings=

The other problem I was having was with steamclient.so needing to be updated for the install. I found this blog post, and translated with chrome pointed me at

/Citadel/Plugins/UWorks/Source/ThirdParty/Linux/steamclient.so  

I copied the steamclient.so file in /home/steam/.steam/ to Citadel root install folder, and into linux64, as well as the UWorks plugin directory above. It was the most up to date version, and fixed the issue of not connecting to Steamworks.

So if your logs show this

LogUWorks: Error: Steamworks Server (GameServer) not initialized  

you need to copy the updated steamclient.so file into one or all 3 of those directories it resides in for the server install

If the logs show an error about importing WorldCreationSettings failed, the config format is wrong.

I hope this helps anyone else wanting to set up a Linux server. Frustrating few hours working on this and it feels good to get around it.

3
wtfcolt•

I completely forgot about that .so file. Thanks for updating the post with the solution for other people to see!

2
[deleted]•

[deleted]

1