Jump to content

Server crashed when rollbacking or restarting the Server(bug and solution)


leap_frog
  • Pending

The other day when I was playing DST on server normally, my base accidentally burned, I just rollbacked for one day to the last saving, then everyone was disconnected. I went to the server to see the reason, then i found the server of ground process is off , but this time off after the restart process, the process on ground always hang up, the process would oot up to half way and broke down, but the process of caves is ok, the error code is as follows:

[00:00:08]: [string "scripts/shardindex.lua"]:195: Corrupt Save file [session/49CF7B65E391626D/0000001612]

 

LUA ERROR stack traceback:

 

    =[C]:-1 in (global) assert (C) <-1--1>

 

    scripts/shardindex.lua:195 in (upvalue) OnLoadSaveDataFile (Lua) <181-200>

 

    scripts/shardindex.lua:204 in () ? (Lua) <203-205>

 

    =[C]:-1 in (method) GetPersistentString (C) <-1--1>

 

    scripts/shardindex.lua:203 in (method) GetSaveDataFile (Lua) <202-206>

 

    scripts/shardindex.lua:224 in (method) GetSaveData (Lua) <208-229>

 

    scripts/gamelogic.lua:922 in (upvalue) DoLoadWorld (Lua) <913-923>

 

    scripts/gamelogic.lua:975 in (upvalue) LoadSlot (Lua) <969-981>

 

    scripts/gamelogic.lua:1048 in (upvalue) DoResetAction (Lua) <992-1089>

 

    scripts/gamelogic.lua:1099 in (local) complete_callback (Lua) <1091-1100>

 

    scripts/upsell.lua:13 in (global) UpdateGamePurchasedState (Lua) <11-15>

 

    scripts/gamelogic.lua:1123 in (local) callback (Lua) <1102-1124>

 

[00:00:08]: Check for write access: TRUE

 

[00:00:08]: Check for read access: TRUE

 

[00:00:08]: Available disk space for save files: 99069 MB

 

[00:00:08]: ModIndex: Load sequence finished successfully.

 

[00:00:08]: Reset() returning

 

[00:00:08]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen?

 

[00:00:08]: stack traceback:

 

scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>

 

scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>

 

scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>

 

scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>

 

scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>

 

scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>

 

scripts/update.lua:95 in () ? (Lua) <33-134>

 

This situation has produced a "broken cluster", that is, a short file back (within 5 days) is useless, and additional cluster backups, such as 30 days before 50 days before 200 days before, are needed until a normal cluster is found and can be started normally; Then after a reflection of friends, the cause of the error is reflected in the game that , the boat got stuck in the Sea Sprout, Sea Sprout is in the middle of the ship, and then boat jumped up and down, if that were to rollback or restart the server, it can't even connect the server, not rollbacking not restart can play normal, but the game is always updated, how could that be a retracement, advice often rollback or restart the server, timely find problems and timely replace the broken cluster.

 

Due to the limited personal level, I don't know how to delete the boat in the cluster code(maybe session?), so I can only go to the backup file and execute removeall("boat") to delete all the boats that could be problem boats. I hope that someone can solvethe problem and do me a faver ,thank you!:)

server_log.txt


Steps to Reproduce

Row the boat, then let the boat out of view until the boat gets into the Sea Sprout




User Feedback




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

×
  • Create New...