Jump to content

Server crashed, wont load World again.


PyroxHu

Recommended Posts

Hello fellow Players,

 

 

Me and a couple of friends rented a dedicated server, and we had a pretty good time playing but with a couple of server crashes.

This is the last log entry before the crashes:

eac_server.so [x64] :: OnLoad()
mono_fdhandle_insert: duplicate File fd 0
Receiving unhandled NULL exception
#0  0x007fe995d7d42a in abort
#1  0x007fe9936e112c in mono_dl_fallback_unregister
#2  0x007fe9936f14d8 in monoeg_g_logv
#3  0x007fe9936f156b in monoeg_g_log
#4  0x007fe9936d434c in mono_reflection_get_custom_attrs_data
#5  0x007fe993621b6d in mono_unity_jit_cleanup
#6  0x007fe99364cc5e in mono_install_unhandled_exception_hook
#7  0x00000040331165 in (wrapper managed-to-native) System.IO.MonoIO:Open (char*,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&)

 

Its a linux based server (4,5gigs of ram approximately, with a maximum of 6 players.)

 

Usually the server did start right after the crash, but this time it did not start at all.

2020-01-01T18:24:02 85.906 INF Started thread SaveChunks /home/users/***/***/game/7d2d_26905/.local/share/7DaysToDie/Saves/Hizoni Mountains/kotorek/Region
EndOfStreamException: Attempted to read past the end of the stream.
 at PooledBinaryReader.ReadByte () [0x00008] in <5db1b98a7f084ae580ac27893e46e92b>:0 
 at DecoManager.load (System.String _filePath) [0x00020] in <5db1b98a7f084ae580ac27893e46e92b>:0 
 at DecoManager+<OnWorldLoaded>d__34.MoveNext () [0x00271] in <5db1b98a7f084ae580ac27893e46e92b>:0 
 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <316842062a1e4ad6b2fee7b9fe26257b>:0 

(Filename: <5db1b98a7f084ae580ac27893e46e92b> Line: 0) 

I deleted some names from the log because of privacy.

 

This is the log entry every time i try to start it. In my opinion the World files are somehow corrupted because of the crash. I tried to reinstall the server but no luck.

 

Is there any chance that we can play this World again?

Link to comment
Share on other sites

First make a backup of your save game. ( /home/users/***/***/game/7d2d_26905/.local/share/7DaysToDie/Saves/Hizoni Mountains)

 

Delete all your region files (the files in /home/users/***/***/game/7d2d_26905/.local/share/7DaysToDie/Saves/Hizoni Mountains/kotorek/Region) . If you can start the game, it really is a corrupted region file and you can do the following:

 

Copy back the region files from the backup (copy, not move!!)

 

Now delete half the region files. Test if the game starts. If yes, the corrupted file is in the deleted part, if not it is in the part you left undeleted.

 

Restore/Keep the region files with the corrupted file and again delete half of them. Test again to see in which half the corrupted file is

 

Do this so called binary search until you know which region file is corrupted (hopefully it is only one).

 

Restore from backup again and only delete the corrupted file. Your world should be back except for one region that will be reset. If you are unlucky this could be the region with your base in it though

 

----------------

 

If it is a player file that is corrupted you could also try this:

 

https://7daystodie.com/forums/showthread.php?40772-SUPPORT-FAQ-Information-and-Common-Solutions&p=787275&viewfull=1#post787275

 

 

----

 

Long-term tip: Backup often (you only need to backup the save game, anything else is static stuff or can be regenerated as long as you use the same serverconfig.xml).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...