SPADS unable to restart

SPADS unable to restart

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

SPADS unable to restart

Post by Jools » 01 Feb 2015, 02:51

I found out what is causing spads to not be able to restart, writing it here since someone else may have the same problem.

If I start the program with:

Code: Select all

perl spads.pl ./etc/spads.conf &
It will start but not be able to restart. But if I start it this way instead:

Code: Select all

./spads.pl ./etc/spads.conf & OR perl ./spads.pl ./etc/spads.conf &
Then it will be able to restart using the !restart command.

The only exception to method #1 was that that I have two installations of spads: one normal one which has a subfolder called spads-dev, which contains the other installation. If I cd to this second spads folder and launch the first spads installation with the command:

Code: Select all

perl ../spads.pl ./etc/spads.conf &
It will still work.

Maybe the requirement is just the folder specification before the executable.

Both methods will always launch spads, but they wont make it be restartable...
0 x

User avatar
bibim
Lobby Developer
Posts: 901
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim » 25 Apr 2015, 15:35

this should be fixed in SPADS 0.11.27 (in unstable only for now)
0 x

gajop
Moderator
Posts: 3023
Joined: 05 Aug 2009, 20:42

Re: SPADS unable to restart

Post by gajop » 02 May 2015, 06:56

Slightly related (SPADS fails to restart after updating):
NOTICE - [SPADS] Initializing SPADS
NOTICE - [SPADS] Using dedicated Spring server binary



NOTICE - [SpadsUpdater] 6 package(s) updated
NOTICE - [SPADS] AutoHost restart scheduled (reason: auto-update)
Can't exec "spads.pl": No such file or directory at spads.pl line 13277.
CRITICAL - [SPADS] Unable to restart SPADS
Works fine when simply started again
0 x

User avatar
bibim
Lobby Developer
Posts: 901
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim » 02 May 2015, 10:43

Do you remember with which version of spads.pl it was and how you launched SPADS initially?
0 x

gajop
Moderator
Posts: 3023
Joined: 05 Aug 2009, 20:42

Re: SPADS unable to restart

Post by gajop » 02 May 2015, 10:50

I don't remember the exact version, but it's no older than 19th of March.
I started it with "perl spads.pl etc/spads.conf" I think.
0 x

User avatar
bibim
Lobby Developer
Posts: 901
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim » 02 May 2015, 11:08

The fix is in unstable since 25 apr, and in testing since 22 apr only. I guess your version didn't contain the fix yet.
If your new version of SPADS is >= 0.11.27 it shouldn't happen again (don't hesitate to tell me if it does).
0 x

Post Reply

Return to “SPADS AutoHost”