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 » 23 Feb 2018, 07:32

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
0 x

abma
Spring Developer
Posts: 3540
Joined: 01 Jun 2009, 00:08

Re: Error starting SPADS above spring 103

Post by abma » 23 Feb 2018, 10:35

do you have at least 1024MB free disk space?

https://github.com/spring/spring/blob/d ... r.cpp#L465
1 x

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

Re: Error starting SPADS above spring 103

Post by Teabag » 23 Feb 2018, 10:56

had under 200mb disk space, working fine now. Thanks
0 x

User avatar
ThinkSome
Posts: 277
Joined: 14 Jun 2015, 13:36

Re: Error starting SPADS above spring 103

Post by ThinkSome » 23 Feb 2018, 17:20

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();
0 x

Post Reply

Return to “SPADS AutoHost”