Error starting SPADS above spring 103

Error starting SPADS above spring 103

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
Teabag
Posts: 28
Joined: 26 May 2016, 19:11

Error starting SPADS above spring 103

Post by Teabag »

Hi i am having problems starting SPADS with spring version above 103. it was working fine before and no settings have changed

I checked the hosts a few days ago and 3/4 hosts were offline, i attempted to restart but it gives 'Unable to load Spring archives at startup' error
i have switched all hosts over to 103 for the time being as its the only spring version that will start. any ideas?

Code: Select all

20180223061959 - NOTICE   - [SPADS] Initializing SPADS 0.12.2a
20180223061959 - NOTICE   - [SPADS] Loading Spring archives using unitsync library version 104.0.1-151-g11de57d maintenance ...
20180223061959 - CRITICAL - [SPADS] Unable to load Spring archives at startup
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Error starting SPADS above spring 103

Post by abma »

do you have at least 1024MB free disk space?

https://github.com/spring/spring/blob/d ... r.cpp#L465
Teabag
Posts: 28
Joined: 26 May 2016, 19:11

Re: Error starting SPADS above spring 103

Post by Teabag »

had under 200mb disk space, working fine now. Thanks
User avatar
ThinkSome
Posts: 387
Joined: 14 Jun 2015, 13:36

Re: Error starting SPADS above spring 103

Post by ThinkSome »

you can apply this if you have a small server:

Code: Select all

diff --git a/rts/System/FileSystem/DataDirLocater.cpp b/rts/System/FileSystem/DataDirLocater.cpp
index 3ac1d638a..bf43080c3 100644
--- a/rts/System/FileSystem/DataDirLocater.cpp
+++ b/rts/System/FileSystem/DataDirLocater.cpp
@@ -462,7 +462,7 @@ void DataDirLocater::Check()
                throw content_error(errstr);
        }
 
-       if (Platform::FreeDiskSpace(writeDir->path) <= 1024)
+       if (Platform::FreeDiskSpace(writeDir->path) <= 101) // 101 MB
                throw content_error("not enough free space on drive containing writeable data-directory " + writeDir->path);
 
        ChangeCwdToWriteDir();
Post Reply

Return to “SPADS AutoHost”