View Issue Details

IDProjectCategoryView StatusLast Update
0000036Medieval EngineersBugpublic2023-07-16 21:30
Reportershad Assigned To 
PrioritynormalSeveritymajorReproducibilityrandom
Status newResolutionopen 
OSWindows Server 2016OS Version1607 14393.3930 
Product Version0.7.2 
Target Version0.7.5 (unreleased) 
Summary0000036: [DS] Loads of Errors While Taking Backups on Shutdown
Description

When the server shuts down, it spits out hundreds of the following errors.
"Das Medium ist schreibgeschützt" translates to "The medium / file is read-only".

2020-08-18 08:50:16.979|Main Thread>Session>Backup> Error: There were errors while backing up the save. Deleting corrupted backup data.
2020-08-18 08:50:16.979|Worker Background 0> Error: While serializing temporary file 000000000006D7B8: Das Medium ist schreibgeschützt.
2020-08-18 08:50:16.979|Main Thread>Session>Backup> Error: Can't even delete corrupted backups, what is this world coming to?!

Then, these errors and exception occur:

2020-08-18 08:50:17.090|Main Thread>Session>Saving> Error: While saving current session, restoring last backup.
2020-08-18 08:50:17.090|Main Thread>Session>Saving> Error: While restoring session from backup after save failure: This session contains no backups.
   at Sandbox.Game.World.MySessionBackup.RestoreLatest(String sessionPath, IEnumerable`1 ignoredPaths)
   at Sandbox.Game.World.MySandboxSessionDelta.OnSaved(ExceptionCollector& ex, String destPath)
   at Sandbox.Game.World.MySessionBackup.RestoreLatest(String sessionPath, IEnumerable`1 ignoredPaths)
   at Sandbox.Game.World.MySandboxSessionDelta.OnSaved(ExceptionCollector& ex, String destPath)
2020-08-18 08:50:17.093|Main Thread> Persisting the current session has failed:
2020-08-18 08:50:17.093|Main Thread>     Error: Processing file C:\ProgramData\MedievalEngineersDedicated\ME-Server-1\Saves\Land-of-Endurance\WorldChunks\E5\8_7_-16_3.chunk: Das Medium ist schreibgeschützt.

2020-08-18 08:50:17.093|Main Thread>     Error: Processing file C:\ProgramData\MedievalEngineersDedicated\ME-Server-1\Saves\Land-of-Endurance\world.index: Das Medium ist schreibgeschützt.

At some point, the process just dies and the logging stops. The next time the server boots, 50% or more of the grids are missing.

TagsGrid, Server

Activities

equinox

2022-11-20 20:27

administrator   #~0000358

I don't see how it's possible that this is a game bug setting the files to read only. That said we might be able to make it so the game forces the files back to read/write when saving.

vicman79

2023-07-16 21:30

reporter   #~0000394

I have been running DS 24/7 for over 3 years now and have never experienced this issue or anything like it "just sayin"

Issue History

Date Modified Username Field Change
2020-09-24 14:24 shad New Issue
2020-09-24 14:24 shad Tag Attached: Grid
2020-09-24 14:24 shad Tag Attached: Server
2020-10-24 22:34 equinox Target Version => 0.7.4.3BB0F4
2022-11-20 20:27 equinox Target Version 0.7.4.3BB0F4 => 0.7.5 (unreleased)
2022-11-20 20:27 equinox Description Updated
2022-11-20 20:27 equinox Note Added: 0000358
2023-07-16 21:30 vicman79 Note Added: 0000394