Page 1 of 1

Error starting SPADS above spring 103

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

Re: Error starting SPADS above spring 103

Posted: 23 Feb 2018, 10:35
by abma
do you have at least 1024MB free disk space?

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

Re: Error starting SPADS above spring 103

Posted: 23 Feb 2018, 10:56
by Teabag
had under 200mb disk space, working fine now. Thanks

Re: Error starting SPADS above spring 103

Posted: 23 Feb 2018, 17:20
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();