Server Reset On Its Own


HaxorHayZeus
  • Pending

 We were playing as usual on a caves server I created and the world randomly reset itself.The server received a world reset request somehow acc to the log.

I did check the server log and found this :

[03:15:05]: Spawning player at: [Load] (-139.84, 0.00, -104.91)    
[03:15:10]: PREFAB SWAP TRIGGER:    none    
[03:19:53]: Serializing user: session/4B9755AEA320D264/KU_uNc8Pz2b_/0000000413
[03:19:53]: Serializing user: session/4B9755AEA320D264/KU_j7WnSxhi_/0000000413
[03:19:53]: Serializing user: session/4B9755AEA320D264/KU_4T75gh7v_/0000000413
[03:19:54]: Serializing world: session/4B9755AEA320D264/0000000413
[03:20:19]: Received world reset request    

As it stands now, the server is back to day 1 on a whole new world.Is there a way to revert back to my old world? I cant rollback either since its just day 1.

 

 


Steps to Reproduce
The last thing we were doing was - we were hiding using the bush hat and making the bushes dance by spamming the inspect/examine command on a firepit and whispering.


User Feedback


Hey @HaxorHayZeus, welcome to the forums. I've never seen that situation occur before but the only instance a server would reset are as follows (as far as I know):

  • Everyone is a ghost, on a server with Survival Mode and the reset timer runs out.
  • An admin/host entered c_regenerateworld() in their console.

Lastly, if you can confirm that none of that happened. Including the fact that you're the ONLY admin on the server since you're the host, correct? The last culprit would probably due one of your mods, if any. Can you attach the server_log.txt files under Documents\Klei\DoNotStarveTogether\Cluster_1\Master and Documents\Klei\DoNotStarveTogether\Cluster_1\Caves? If you're running the server from the first slot in the Host Game screen, the server_log.txt files would be under Cluster_1. It'll be under Cluster_2, if it's from the second slot. Cluster_3 for 3rd, etc. 

To answer you last question, Is there a way to revert back to my old world? Sadly I do not believe there is unless you backed up your server files before it happened.

For now report back with the server_log.txt files when you can so we can determine what caused it in the first place. Good luck, cheers.

Share this comment


Link to comment
Share on other sites
2 hours ago, Zillvr said:

Hey @HaxorHayZeus, welcome to the forums. I've never seen that situation occur before but the only instance a server would reset are as follows (as far as I know):

  • Everyone is a ghost, on a server with Survival Mode and the reset timer runs out.
  • An admin/host entered c_regenerateworld() in their console.

Lastly, if you can confirm that none of that happened. Including the fact that you're the ONLY admin on the server since you're the host, correct? The last culprit would probably due one of your mods, if any. Can you attach the server_log.txt files under Documents\Klei\DoNotStarveTogether\Cluster_1\Master and Documents\Klei\DoNotStarveTogether\Cluster_1\Caves? If you're running the server from the first slot in the Host Game screen, the server_log.txt files would be under Cluster_1. It'll be under Cluster_2, if it's from the second slot. Cluster_3 for 3rd, etc. 

To answer you last question, Is there a way to revert back to my old world? Sadly I do not believe there is unless you backed up your server files before it happened.

For now report back with the server_log.txt files when you can so we can determine what caused it in the first place. Good luck, cheers.

Thanks for getting back to me @Zillvr .

  • Firstly as I stated, we were infact alive at the moment and none of us were ghosts.Also the server was on endless mode.
  • And since I was the admin/host,No commands were entered. 
     

Though I would like you to know that we did run the same (and more) mods on a non cave server before this,and had no issues there reaching day 971 or something around that.

Well its really sad I cant get back the old server but I would still like to know what might have caused it so it wouldnt happen again :?

server_log_2016-05-22-12-30-47.txt

server_log_2016-05-22-12-30-47.txt

Share this comment


Link to comment
Share on other sites

@HaxorHayZeus I noticed after posting that you did specify in your steps to reproduce that everyone was alive when it happened, sorry about that. Still though it's odd that the world randomly resets itself. You seem be running a lot of mods but even if it didn't occur when you have had more mods active (in a caveless server) I still honestly think this is a mod related issue conflicting with the dual-server setup (big maybe). Although I really can't be certain, the logs don't reflect any probable cause. Then again, I'm not knowledgeable enough to see anything that could point to the cause. Sorry. Hopefully someone else can see something I don't.

On the same vein as it not happening when it's a caveless server, was everyone in the caves when it happened? That's probably all I can ask for now. Sorry for not being much help. Cheers.

Share this comment


Link to comment
Share on other sites
2 hours ago, Zillvr said:

@HaxorHayZeus I noticed after posting that you did specify in your steps to reproduce that everyone was alive when it happened, sorry about that. Still though it's odd that the world randomly resets itself. You seem be running a lot of mods but even if it didn't occur when you have had more mods active (in a caveless server) I still honestly think this is a mod related issue conflicting with the dual-server setup (big maybe). Although I really can't be certain, the logs don't reflect any probable cause. Then again, I'm not knowledgeable enough to see anything that could point to the cause. Sorry. Hopefully someone else can see something I don't.

On the same vein as it not happening when it's a caveless server, was everyone in the caves when it happened? That's probably all I can ask for now. Sorry for not being much help. Cheers.

@Zillvr Hello again, to answer  your question, no, we were not in the caves,everyone was at the camp up top.Also wouldn't a mod just crash the server and not restart it, and there were no new mods added we played up to day 390 something so if it would've been a mod wouldn't it have happened earlier and not so late, that too when we were not really doing or using anything in relation to any of the mods. :?  Also no worries, right now opinions and suggestions matter since I really would like to know what actually caused the issue so if we create another server we can prevent it from happening again plus ruining the game experience and wasting our time. :) 

Share this comment


Link to comment
Share on other sites

@HaxorHayZeus my line of thinking as to why the probable cause is a mod is due to the fact that I haven't seen this occur before (random resets), and the only different variable here is the mods you have. Cause afaik a modless endless servers would not reset itself unless the c_regenerateworld() or c_regenerateshard() command was entered by an admin/host, which you confirm did not happen at all. I could also just be entirely wrong about this being mod related.

After inspecting the logs further I noticed that the Caves server was being disconnected and reconnecting a few times to the Master server. In the spoiler below is a snippet from your Caves log with arrows pointing at the moment the Caves server gets disconnected and attempts reconnecting then upon finally reconnecting again it sent out a world reset request(probably).

Spoiler

[00:00:38]: [Shard] Connecting to master...
[00:00:38]: Telling Client our new session identifier: 5EC13A91647B2F6B
[00:00:38]: ModIndex: Load sequence finished successfully.	
[00:00:38]: Reset() returning
[00:00:38]: [Steam] SteamGameServer_Init(8767, 10998, 27017)
[00:00:39]: [Steam] SteamGameServer_Init success
[00:00:40]: Validating portal[10] <-> 1[10] (inactive)	
[00:00:40]: Validating portal[2] <-> 1[2] (inactive)	
[00:00:40]: Validating portal[6] <-> 1[6] (inactive)	
[00:00:40]: Validating portal[4] <-> 1[4] (inactive)	
[00:00:40]: Validating portal[3] <-> 1[3] (inactive)	
[00:00:40]: Validating portal[8] <-> 1[8] (inactive)	
[00:00:40]: Validating portal[9] <-> 1[9] (inactive)	
[00:00:40]: Validating portal[1] <-> 1[1] (inactive)	
[00:00:40]: Validating portal[7] <-> 1[7] (inactive)	
[00:00:40]: Validating portal[5] <-> 1[5] (inactive)	
[00:00:48]: [Shard] Connection to master failed. Waiting to reconnect... 	<------------
[00:00:53]: About to start a shard with these settings:
[00:00:53]:   ShardName: Caves
[00:00:53]:   ShardID: 1041701654
[00:00:53]:   ShardRole: SLAVE
[00:00:53]:   MasterHost: 127.0.0.1
[00:00:53]:   MasterBind: (null)
[00:00:53]:   MasterPort: 10888
[00:00:53]: [Shard] Connecting to master...
[00:00:53]: [Shard] Sending slave information to master...
[00:00:56]: [Shard] Registering in lobby as a slave server...
[00:00:57]: [Shard] Slave is now ready! 					<------------
[00:00:57]: World 1 is now connected	
[00:00:57]: Validating portal[10] <-> 1[10] (active)	
[00:00:57]: Validating portal[2] <-> 1[2] (active)	
[00:00:57]: Validating portal[6] <-> 1[6] (active)	
[00:00:57]: Validating portal[4] <-> 1[4] (active)	
[00:00:57]: Validating portal[3] <-> 1[3] (active)	
[00:00:57]: Validating portal[8] <-> 1[8] (active)	
[00:00:57]: Validating portal[9] <-> 1[9] (active)	
[00:00:57]: Validating portal[1] <-> 1[1] (active)	
[00:00:57]: Validating portal[7] <-> 1[7] (active)	
[00:00:57]: Validating portal[5] <-> 1[5] (active)	
[00:00:57]: [Shard] Slave LUA is now ready!
[00:00:57]: [IPC] Signal 'DST_Slave_Ready' opened  #000004C4
[00:00:57]: [IPC] Sending signal... #000004C4
[00:00:57]: Sim paused
[00:01:15]: Sim unpaused
[00:07:26]: Serializing world: session/5EC13A91647B2F6B/0000000389
[00:07:26]: Truncating to snapshot #389...
[00:07:26]:  - session/5EC13A91647B2F6B/0000000383
[00:07:26]:    1 file(s) removed
[00:09:18]: PREFAB SWAP TRIGGER:	rain	
[00:15:26]: PREFAB SWAP TRIGGER:	winter	
[00:15:27]: Serializing world: session/5EC13A91647B2F6B/0000000390
[00:15:27]: Truncating to snapshot #390...
[00:15:27]:  - session/5EC13A91647B2F6B/0000000384
[00:15:27]:    1 file(s) removed
[00:23:31]: Serializing world: session/5EC13A91647B2F6B/0000000391
[00:23:31]: Truncating to snapshot #391...
[00:23:31]:  - session/5EC13A91647B2F6B/0000000385
[00:23:31]:    1 file(s) removed
[00:30:10]: [200] Account Communication Success (6)
[00:30:10]: Received (KU_uNc8Pz2b) from TokenPurpose
[00:31:32]: Serializing world: session/5EC13A91647B2F6B/0000000392
[00:31:32]: Truncating to snapshot #392...
[00:31:32]:  - session/5EC13A91647B2F6B/0000000386
[00:31:32]:    1 file(s) removed
[00:39:33]: Serializing world: session/5EC13A91647B2F6B/0000000393
[00:39:33]: Truncating to snapshot #393...
[00:39:33]:  - session/5EC13A91647B2F6B/0000000387
[00:39:33]:    1 file(s) removed
[00:47:30]: PREFAB SWAP TRIGGER:	none	
[00:47:30]: PREFAB SWAP TRIGGER:	rain	
[00:47:34]: Serializing world: session/5EC13A91647B2F6B/0000000394
[00:47:34]: Truncating to snapshot #394...
[00:47:34]:  - session/5EC13A91647B2F6B/0000000388
[00:47:34]:    1 file(s) removed
[00:53:27]: PREFAB SWAP TRIGGER:	none	
[00:55:35]: Serializing world: session/5EC13A91647B2F6B/0000000395
[00:55:35]: Truncating to snapshot #395...
[00:55:35]:  - session/5EC13A91647B2F6B/0000000389
[00:55:35]:    1 file(s) removed
[01:00:09]: [200] Account Communication Success (6)
[01:00:09]: Received (KU_uNc8Pz2b) from TokenPurpose
[01:03:35]: Serializing world: session/5EC13A91647B2F6B/0000000396
[01:03:35]: Truncating to snapshot #396...
[01:03:35]:  - session/5EC13A91647B2F6B/0000000390
[01:03:35]:    1 file(s) removed
[01:11:36]: Serializing world: session/5EC13A91647B2F6B/0000000397
[01:11:36]: Truncating to snapshot #397...
[01:11:36]:  - session/5EC13A91647B2F6B/0000000391
[01:11:36]:    1 file(s) removed
[01:19:37]: Serializing world: session/5EC13A91647B2F6B/0000000398
[01:19:37]: Truncating to snapshot #398...
[01:19:37]:  - session/5EC13A91647B2F6B/0000000392
[01:19:37]:    1 file(s) removed
[01:27:38]: Serializing world: session/5EC13A91647B2F6B/0000000399
[01:27:38]: Truncating to snapshot #399...
[01:27:38]:  - session/5EC13A91647B2F6B/0000000393
[01:27:38]:    1 file(s) removed
[01:30:10]: [200] Account Communication Success (6)
[01:30:10]: Received (KU_uNc8Pz2b) from TokenPurpose
[01:35:39]: Serializing world: session/5EC13A91647B2F6B/0000000400
[01:35:39]: Truncating to snapshot #400...
[01:35:39]:  - session/5EC13A91647B2F6B/0000000394
[01:35:39]:    1 file(s) removed
[01:43:40]: Serializing world: session/5EC13A91647B2F6B/0000000401
[01:43:40]: Truncating to snapshot #401...
[01:43:40]:  - session/5EC13A91647B2F6B/0000000395
[01:43:40]:    1 file(s) removed
[01:51:41]: Serializing world: session/5EC13A91647B2F6B/0000000402
[01:51:41]: Truncating to snapshot #402...
[01:51:41]:  - session/5EC13A91647B2F6B/0000000396
[01:51:41]:    1 file(s) removed
[01:59:41]: Serializing world: session/5EC13A91647B2F6B/0000000403
[01:59:41]: Truncating to snapshot #403...
[01:59:41]:  - session/5EC13A91647B2F6B/0000000397
[01:59:41]:    1 file(s) removed
[02:00:10]: [200] Account Communication Success (6)
[02:00:10]: Received (KU_uNc8Pz2b) from TokenPurpose
[02:07:42]: Serializing world: session/5EC13A91647B2F6B/0000000404
[02:07:42]: Truncating to snapshot #404...
[02:07:42]:  - session/5EC13A91647B2F6B/0000000398
[02:07:42]:    1 file(s) removed
[02:15:42]: PREFAB SWAP TRIGGER:	spring	
[02:15:43]: Serializing world: session/5EC13A91647B2F6B/0000000405
[02:15:43]: Truncating to snapshot #405...
[02:15:43]:  - session/5EC13A91647B2F6B/0000000399
[02:15:43]:    1 file(s) removed
[02:16:22]: PREFAB SWAP TRIGGER:	rain	
[02:23:44]: Serializing world: session/5EC13A91647B2F6B/0000000406
[02:23:44]: Truncating to snapshot #406...
[02:23:44]:  - session/5EC13A91647B2F6B/0000000400
[02:23:44]:    1 file(s) removed
[02:24:59]: PREFAB SWAP TRIGGER:	none	
[02:30:10]: [200] Account Communication Success (6)
[02:30:10]: Received (KU_uNc8Pz2b) from TokenPurpose
[02:31:45]: Serializing world: session/5EC13A91647B2F6B/0000000407
[02:31:45]: Truncating to snapshot #407...
[02:31:45]:  - session/5EC13A91647B2F6B/0000000401
[02:31:45]:    1 file(s) removed
[02:39:49]: Serializing world: session/5EC13A91647B2F6B/0000000408
[02:39:49]: Truncating to snapshot #408...
[02:39:49]:  - session/5EC13A91647B2F6B/0000000402
[02:39:49]:    1 file(s) removed
[02:43:54]: PREFAB SWAP TRIGGER:	rain	
[02:47:50]: Serializing world: session/5EC13A91647B2F6B/0000000409
[02:47:50]: Truncating to snapshot #409...
[02:47:50]:  - session/5EC13A91647B2F6B/0000000403
[02:47:50]:    1 file(s) removed
[02:55:51]: Serializing world: session/5EC13A91647B2F6B/0000000410
[02:55:51]: Truncating to snapshot #410...
[02:55:51]:  - session/5EC13A91647B2F6B/0000000404
[02:55:51]:    1 file(s) removed
[02:57:59]: PREFAB SWAP TRIGGER:	none	
[03:00:10]: [200] Account Communication Success (6)
[03:00:10]: Received (KU_uNc8Pz2b) from TokenPurpose
[03:03:51]: Serializing world: session/5EC13A91647B2F6B/0000000411
[03:03:51]: Truncating to snapshot #411...
[03:03:51]:  - session/5EC13A91647B2F6B/0000000405
[03:03:51]:    1 file(s) removed
[03:08:47]: PREFAB SWAP TRIGGER:	rain	
[03:11:52]: Serializing world: session/5EC13A91647B2F6B/0000000412
[03:11:52]: Truncating to snapshot #412...
[03:11:52]:  - session/5EC13A91647B2F6B/0000000406
[03:11:52]:    1 file(s) removed
[03:17:13]: PREFAB SWAP TRIGGER:	none	
[03:19:53]: Serializing world: session/5EC13A91647B2F6B/0000000413
[03:19:53]: Truncating to snapshot #413...
[03:19:53]:  - session/5EC13A91647B2F6B/0000000407
[03:19:53]:    1 file(s) removed
[03:20:19]: World 1 is now disconnected	 					<------------
[03:20:19]: Validating portal[10] <-> 1[10] (inactive)	
[03:20:19]: Validating portal[2] <-> 1[2] (inactive)	
[03:20:19]: Validating portal[6] <-> 1[6] (inactive)	
[03:20:19]: Validating portal[4] <-> 1[4] (inactive)	
[03:20:19]: Validating portal[3] <-> 1[3] (inactive)	
[03:20:19]: Validating portal[8] <-> 1[8] (inactive)	
[03:20:19]: Validating portal[9] <-> 1[9] (inactive)	
[03:20:19]: Validating portal[1] <-> 1[1] (inactive)	
[03:20:19]: Validating portal[7] <-> 1[7] (inactive)	
[03:20:19]: Validating portal[5] <-> 1[5] (inactive)	
[03:20:19]: Sim paused
[03:20:19]: Received world reset request					<------------

 

Take notice of the timestamps in the Master log of the line:

[03:20:19]: Received world reset request

Before 3:20:19, the Caves was attempting to reconnect with the Master and failed. You could possibly set the following .exe files in Steam\SteamApps\common\Don't Starve Together Beta\bin:

  • dontstarve_steam.exe
  • dontstarve_dedicated_server_nullrenderer, (since you're running the server from the ingame host screen, correct?)

Open their Properties and under Compatibility, set them to run program as administrator. Just to be safe so we can rule out any permissions issue of the server not finding each other.

Then again, I'm stumped. If I do come across this myself I'll let you know. Cheers.

Share this comment


Link to comment
Share on other sites
7 hours ago, Zillvr said:

. After inspecting the logs further I noticed that the Caves server was being disconnected and reconnecting a few times to the Master server. In the spoiler below is a snippet from your Caves log with arrows pointing at the moment the Caves server gets disconnected and attempts reconnecting then upon finally reconnecting again it sent out a world reset request(probably).

Could it possibly be due to the fact that the servers were not able to connect to each other and  it just went into full reboot mode so it could make a new world and try to re establish connection between both the servers? :shock: That'd be quite weird,especially since I do not have the best internet and maybe due to some reason that could've caused it(since there have been sometimes where I would lag and get the disconnection symbol in the top corner on my own server).But then again I don't really know how it'd work that way.

Also I will try what you said.

Once again thank you for the suggestions. Cheers :D

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now