[GH-ISSUE #3385] [BUG] Rust server map wiped during daily auto restart #2310

Open
opened 2026-02-27 03:02:09 +03:00 by kerem · 9 comments
Owner

Originally created by @wrecktify on GitHub (Mar 16, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3385

I run a daily auto restart script and after updating to the most recent LGSM, the server wiped the map with a seed of 1337 during a normal restart.

Basic info

  • Distro: Centos 7
  • Game: Rust
  • Command: rustserver start
  • LinuxGSM version: v21.2.2

Further Information

After updating to the latest lgsm, the config is no longer injecting +server.seed into the server command line or the +server.salt.

./RustDedicated -batchmode +server.ip 104.129.133.251 +server.port 28015 +server.tickrate 30 +server.hostname "BattleZone | Solo Only | 2X Vanilla | Wiped 3/11" +server.identity "rustserver" +server.maxplayers 100 +server.worldsize 3500 +server.saveinterval 600 +rcon.web 1 +rcon.ip 104.129.133.251 +rcon.port 28016 +rcon.password "" -logfile "/home/solo/log/server/rustserver-game-2021-03-16-07:16:20.log"

To fix, I went into my lgsm rustserver.cfg and manually added +server.seed to the command line and removed the conditional variables

To Reproduce

Steps to reproduce the behaviour:

  1. Updated LGSM to latest version
  2. Stopped rust server
  3. Started rust server
  4. +server.seed is now missing from the server command line

Expected behaviour

+server.seed being added to the command line so the server doesn't wipe to seed 1337 when no seed variable is passed over.

Originally created by @wrecktify on GitHub (Mar 16, 2021). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3385 I run a daily auto restart script and after updating to the most recent LGSM, the server wiped the map with a seed of 1337 during a normal restart. ## Basic info * **Distro:** Centos 7 * **Game:** Rust * **Command:** rustserver start * **LinuxGSM version:** v21.2.2 ## Further Information After updating to the latest lgsm, the config is no longer injecting +server.seed into the server command line or the +server.salt. ./RustDedicated -batchmode +server.ip 104.129.133.251 +server.port 28015 +server.tickrate 30 +server.hostname "BattleZone | Solo Only | 2X Vanilla | Wiped 3/11" +server.identity "rustserver" +server.maxplayers 100 +server.worldsize 3500 +server.saveinterval 600 +rcon.web 1 +rcon.ip 104.129.133.251 +rcon.port 28016 +rcon.password "" -logfile "/home/solo/log/server/rustserver-game-2021-03-16-07:16:20.log" To fix, I went into my lgsm rustserver.cfg and manually added +server.seed to the command line and removed the conditional variables ## To Reproduce Steps to reproduce the behaviour: 1. Updated LGSM to latest version 2. Stopped rust server 3. Started rust server 4. +server.seed is now missing from the server command line ## Expected behaviour +server.seed being added to the command line so the server doesn't wipe to seed 1337 when no seed variable is passed over.
Author
Owner

@wrecktify commented on GitHub (Mar 16, 2021):

Also getting this message when starting the server

/home/solo/lgsm/functions/info_parms.sh: line 147: /home/solo/lgsm/data/rustserver-seed.txt: No such file or directory
cat: /home/solo/lgsm/data/rustserver-seed.txt: No such file or directory

<!-- gh-comment-id:800315505 --> @wrecktify commented on GitHub (Mar 16, 2021): Also getting this message when starting the server /home/solo/lgsm/functions/info_parms.sh: line 147: /home/solo/lgsm/data/rustserver-seed.txt: No such file or directory cat: /home/solo/lgsm/data/rustserver-seed.txt: No such file or directory
Author
Owner

@includes08 commented on GitHub (Mar 19, 2021):

mine has a seed file but doesn't seem to use the seed, instead it uses seednumber 1. While the textfile has a full random seed number.

<!-- gh-comment-id:803037356 --> @includes08 commented on GitHub (Mar 19, 2021): mine has a seed file but doesn't seem to use the seed, instead it uses seednumber 1. While the textfile has a full random seed number.
Author
Owner

@includes08 commented on GitHub (Mar 22, 2021):

Duplicate of #3398
Just mentioning it here as it seems that our problems match in some ways.

@wrecktify could you post your /config-lgsm/rustserver/rustserver.cfg
and ./rustserver postdetails

<!-- gh-comment-id:803967227 --> @includes08 commented on GitHub (Mar 22, 2021): Duplicate of #3398 Just mentioning it here as it seems that our problems match in some ways. @wrecktify could you post your /config-lgsm/rustserver/rustserver.cfg and ./rustserver postdetails
Author
Owner

@includes08 commented on GitHub (Mar 22, 2021):

v21.1.3 seems to work fine, latest version isn't.

<!-- gh-comment-id:803971039 --> @includes08 commented on GitHub (Mar 22, 2021): v21.1.3 seems to work fine, latest version isn't.
Author
Owner

@wrecktify commented on GitHub (Mar 23, 2021):

Is there going to be any fix for this? I'm almost certain this was a result of the constant start parameter variable issues that plagued LGSM last week. I'll set up a new test server and confirm its still an issue.

<!-- gh-comment-id:805043346 --> @wrecktify commented on GitHub (Mar 23, 2021): Is there going to be any fix for this? I'm almost certain this was a result of the constant start parameter variable issues that plagued LGSM last week. I'll set up a new test server and confirm its still an issue.
Author
Owner

@includes08 commented on GitHub (Mar 23, 2021):

@wrecktify seeds seem to be broken in general, i guess we have to wait for another update again. Last one took a good few months, lets hope this one will be fixed soon.

<!-- gh-comment-id:805062883 --> @includes08 commented on GitHub (Mar 23, 2021): @wrecktify seeds seem to be broken in general, i guess we have to wait for another update again. Last one took a good few months, lets hope this one will be fixed soon.
Author
Owner

@dgibbs64 commented on GitHub (Mar 23, 2021):

I will be prioritising Rust wipe and seed related issues. I may also release a hotfix for it. Standby 😃

<!-- gh-comment-id:805238478 --> @dgibbs64 commented on GitHub (Mar 23, 2021): I will be prioritising Rust wipe and seed related issues. I may also release a hotfix for it. Standby 😃
Author
Owner

@TheShellshock67 commented on GitHub (May 12, 2021):

Still is an issue in LinuxGSM - Rust - Version v21.2.3

Seedfile is there.... 1337 is used.

Wiping the server (Full Wipe) starts generating a new map... but again it is 1337.

<!-- gh-comment-id:840107272 --> @TheShellshock67 commented on GitHub (May 12, 2021): Still is an issue in LinuxGSM - Rust - Version v21.2.3 Seedfile is there.... 1337 is used. Wiping the server (Full Wipe) starts generating a new map... but again it is 1337.
Author
Owner

@sroland commented on GitHub (Oct 17, 2021):

I am also still having issues with the server.seed command in my config file. All my other custom commands produce the desired results but I am unable to set a custom seed because the command doesn't work.

<!-- gh-comment-id:945151184 --> @sroland commented on GitHub (Oct 17, 2021): I am also still having issues with the server.seed command in my config file. All my other custom commands produce the desired results but I am unable to set a custom seed because the command doesn't work.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2310
No description provided.