#Starting Dedicated Servers Wipes the `options.ini` file

8 messages · Page 1 of 1 (latest)

drifting cloak
#

I have a dedicated server running on a separate machine. It currently runs inside a container in Docker. It boots up fine and players can join and interact, but the problem is that the options.ini file seems to be resetting every time the server starts up. I'm running this on Ubuntu Server 22.04 LTS. I've checked the console and here is a snipped output:

LOG  : Network     , 1681316319331> 9,136,321> [12-04-23 16:18:39.331] > ZNet: SetLogLevel 2
LOG  : Network     , 1681316319333> 9,136,323> [12-04-23 16:18:39.333] > ZNet: SteamAPI initialised successfully
LOG  : General     , 1681316319334> 9,136,324> SteamUtils initialised successfully
LOG  : General     , 1681316320156> 9,137,146> translator: language is EN
LOG  : General     , 1681316320408> 9,137,398> LightingFPS set to 15
LOG  : General     , 1681316320440> 9,137,430> reading /home/steam/Zomboid/Server/<server name>.ini
LOG  : General     , 1681316320446> 9,137,436> /home/steam/Zomboid/Server/<server name>.ini:1 [ServerConfig]
LOG  : General     , 1681316320449> 9,137,439> ERROR IntegerConfigOption.parse() "RCONPort" string=""
LOG  : General     , 1681316320450> 9,137,440> writing /home/steam/Zomboid/Server/<server name>.ini
LOG  : Network     , 1681316320472> 9,137,462> [12-04-23 16:18:40.472] > ZNet: SZombienet -> SZombienet: Init
LOG  : Network     , 1681316320565> 9,137,555> [12-04-23 16:18:40.564] > ZNet: SteamGameServer seems to be initialized

What seems to be the problem is that on startup the server reads the ini file, then the error is thrown and it overwrites it immediately.

I've tried changing the permissions of the file and even just adding a comment but still completely reverts the file.

I'm using this image: https://hub.docker.com/r/renegademaster/zomboid-dedicated-server.

Thank you.

sterile fern
#

That would sound like a docker specific issue, not a game issue

#

Meaning I can only direct you to whatever support the docker image has

drifting cloak
# sterile fern Meaning I can only direct you to whatever support the docker image has

Ok, thank you. Looking more into it though, I found that running the server on my windows machine, fresh install using steamcmd and just running the bat file that the same behaviour is happening.

LOG  : General     , 1681320600134> 17,230,804> LightingFPS set to 60
LOG  : General     , 1681320600147> 17,230,816> reading C:\Users\David\Zomboid\Server\servertest.ini
LOG  : General     , 1681320600148> 17,230,818> writing C:\Users\David\Zomboid\Server\servertest.ini
LOG  : Network     , 1681320600156> 17,230,826> [12-04-23 18:30:00.156] > ZNet: SZombienet -> SZombienet: Init
Setting breakpad minidump AppID = 108600

Could it be something to do with steamcmd or is it just how the server starts?

sterile fern
#

Not really, I have tested several steamCMD installs

#

The first start just creates the servertest.ini

#

After that its just being read, unless the file is broken somehow

#

So, are you sure your changes done to the server settings file are valid?