Page 1 of 1

auto-update and multi-hosting

Posted: 28 Feb 2018, 12:44
by tzaeru
After updating, I get:

Code: Select all

NOTICE   - [SPADS] Initializing SPADS 0.12.4
NOTICE   - [SpadsUpdater] 4 package(s) updated
NOTICE   - [SPADS] AutoHost restart scheduled (reason: auto-update)
ERROR    - [SPADS] [SimpleLog] No log file configured, redirecting to standard output
ERROR    - [SPADS] Configuration file "etc/spads-standard.conf" contains inconsistent values for following global parameter(s): autoManagedSpringVersion
ERROR    - [SPADS] Unable to load main configuration parameters
CRITICAL - [SPADS] Unable to load SPADS configuration at startup
Configuration looks like so:

Code: Select all

# Spring files
springServer:
springServerType:dedicated
springDataDir:/home/tzaeru/.spring/
autoReloadArchivesMinDelay:30
autoLearnMaps:0
springConfig:
autoManagedSpringVersion:maintenance
autoManagedSpringDir:spring
unitsyncDir:
EDIT:

Okay, I tried to start it again. This time it claims it's back to version 0.12.3.

Code: Select all

NOTICE   - [SPADS] Initializing SPADS 0.12.3
NOTICE   - [SPADS] Loading Spring archives using unitsync library version 104.0.1-151-g11de57d maintenance ...
WARNING  - [SPADS] Duplicate archives found for map "Anteer Strait" (Anteer Strait)
WARNING  - [SPADS] Duplicate archives found for map "Anteer-Strait-2-rc" (Anteer-Strait-2-rc)
WARNING  - [SPADS] Duplicate archives found for map "Grts_Gunmetal_Harbor_010" (Grts_Gunmetal_Harbor_010)
WARNING  - [SPADS] Duplicate archives found for map "Gunmetal_Harbor_11" (Gunmetal_Harbor_11)

Re: SPADS doesnt recognise maintenance builds

Posted: 28 Feb 2018, 13:50
by bibim
Do you have several SPADS instances sharing same SPADS installation ?

Re: SPADS doesnt recognise maintenance builds

Posted: 28 Feb 2018, 19:55
by tzaeru
I do, yes.

Re: SPADS doesnt recognise maintenance builds

Posted: 28 Feb 2018, 21:36
by bibim
What is the value of the "autoUpdateRelease" setting used by all your SPADS instances sharing this SPADS installation ?

Re: SPADS doesnt recognise maintenance builds

Posted: 01 Mar 2018, 13:45
by tzaeru
bibim wrote:What is the value of the "autoUpdateRelease" setting used by all your SPADS instances sharing this SPADS installation ?
Ooh.

I had left this as "testing".

I suppose that's what's off here?

Re: SPADS doesnt recognise maintenance builds

Posted: 01 Mar 2018, 14:33
by bibim
Indeed, if you have several SPADS instances running from same SPADS installation directory, then they share the same SPADS binary files. Thus they can't be set to auto-update to different SPADS releases...

I added this recommendation in the "Best practices for multi-hosting" thread.