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.