[hlds] SteamCMD update failed, but quit with exit 0?

2014-06-30 Thread Jesse Molina


Today the game Fistful of Frags published a server update. I have a 
script which automatically looks for the UpToDateCheck URL and starts a 
SteamCMD update if the version on the steam.inf file does not match the 
version on the UpToDateCheck URL.


My script also does a post-update version check where these versions are 
verified again. If they are still different, SteamCMD will be called 
again, up to three times before it gives up.


That happened today for the first time since I've been using this system.

Either SteamCMD failed to update correctly, or the steam.inf file in the 
depot that I downloaded from the first time was wrong. Maybe the 
publisher (R_Yell) did a quick change after he noticed the version he 
published the first time was wrong?  I don't know.


For the purposes of improving my script, I would be interested in 
knowing from Valve, or someone knowledgeable in this area, what the 
possibilities are here.  Did SteamCMD really fail to update these files, 
or perhaps did the publisher do a quick update on just the steam.inf 
file without rolling the version on the UpToDateCheck URL?




Below is a copy of the relevant portion of my update log.

--

Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit

Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
 Initial App state (0x6) installed
 App state (0x10106) reconfiguring, progress: 0.00 (0 / 0)
 App state (0x300506) downloading, progress: 0.00 (0 / 61688349)
 App state (0x300506) downloading, progress: 37.50 (23132553 / 61688349)
 App state (0x300506) downloading, progress: 69.40 (42813959 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 100.00 (18067200 / 18067200)
Success! App '295230' fully installed.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: FAIL
  Try 1 failed, will try again in 15 seconds.


Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit

Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
Success! App '295230' already up to date.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: Success


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds


Re: [hlds] SteamCMD update failed, but quit with exit 0?

2014-06-30 Thread Ross Bemrose

In my experience, it will exit with 0 unless
@ShutdownOnFailedCommand 1
is specified in the script.

On 6/30/2014 10:38 PM, Jesse Molina wrote:


Today the game Fistful of Frags published a server update. I have a 
script which automatically looks for the UpToDateCheck URL and starts 
a SteamCMD update if the version on the steam.inf file does not match 
the version on the UpToDateCheck URL.


My script also does a post-update version check where these versions 
are verified again. If they are still different, SteamCMD will be 
called again, up to three times before it gives up.


That happened today for the first time since I've been using this system.

Either SteamCMD failed to update correctly, or the steam.inf file in 
the depot that I downloaded from the first time was wrong. Maybe the 
publisher (R_Yell) did a quick change after he noticed the version he 
published the first time was wrong?  I don't know.


For the purposes of improving my script, I would be interested in 
knowing from Valve, or someone knowledgeable in this area, what the 
possibilities are here.  Did SteamCMD really fail to update these 
files, or perhaps did the publisher do a quick update on just the 
steam.inf file without rolling the version on the UpToDateCheck URL?




Below is a copy of the relevant portion of my update log.

--

Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit


Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
 Initial App state (0x6) installed
 App state (0x10106) reconfiguring, progress: 0.00 (0 / 0)
 App state (0x300506) downloading, progress: 0.00 (0 / 61688349)
 App state (0x300506) downloading, progress: 37.50 (23132553 / 61688349)
 App state (0x300506) downloading, progress: 69.40 (42813959 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 100.00 (18067200 / 18067200)
Success! App '295230' fully installed.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: FAIL
  Try 1 failed, will try again in 15 seconds.


Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit


Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
Success! App '295230' already up to date.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: Success


___
To unsubscribe, edit your list preferences, or view the list archives, 
please visit:

https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds


Re: [hlds] SteamCMD update failed, but quit with exit 0?

2014-06-30 Thread Jesse Molina


My original message clearly indicates the use of ShutdownOnFailedCommand.



On 6/30/14, 19:42, Ross Bemrose wrote:

In my experience, it will exit with 0 unless
@ShutdownOnFailedCommand 1
is specified in the script.

On 6/30/2014 10:38 PM, Jesse Molina wrote:


Today the game Fistful of Frags published a server update. I have a 
script which automatically looks for the UpToDateCheck URL and starts 
a SteamCMD update if the version on the steam.inf file does not match 
the version on the UpToDateCheck URL.


My script also does a post-update version check where these versions 
are verified again. If they are still different, SteamCMD will be 
called again, up to three times before it gives up.


That happened today for the first time since I've been using this 
system.


Either SteamCMD failed to update correctly, or the steam.inf file in 
the depot that I downloaded from the first time was wrong. Maybe the 
publisher (R_Yell) did a quick change after he noticed the version he 
published the first time was wrong?  I don't know.


For the purposes of improving my script, I would be interested in 
knowing from Valve, or someone knowledgeable in this area, what the 
possibilities are here.  Did SteamCMD really fail to update these 
files, or perhaps did the publisher do a quick update on just the 
steam.inf file without rolling the version on the UpToDateCheck URL?




Below is a copy of the relevant portion of my update log.

--

Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit


Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
 Initial App state (0x6) installed
 App state (0x10106) reconfiguring, progress: 0.00 (0 / 0)
 App state (0x300506) downloading, progress: 0.00 (0 / 61688349)
 App state (0x300506) downloading, progress: 37.50 (23132553 / 61688349)
 App state (0x300506) downloading, progress: 69.40 (42813959 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 96.60 (59591197 / 61688349)
 App state (0x300506) downloading, progress: 100.00 (18067200 / 
18067200)

Success! App '295230' fully installed.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: FAIL
  Try 1 failed, will try again in 15 seconds.


Updating with SteamCMD

Updating with command:
  nice -n 11 ionice -c 2 -n 6 /home/username/bin/steamcmd/steamcmd.sh 
+@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir 
/home/username/srcds/fof-MASTER/ +app_update 295230 +exit


Redirecting stderr to '/home/username/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
@ShutdownOnFailedCommand = 1

Connecting anonymously to Steam Public...Success.
Success! App '295230' already up to date.

Updater exit code 0.

SteamCMD completed successfully.

Post-update version check result: Success


___
To unsubscribe, edit your list preferences, or view the list 
archives, please visit:

https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds



___
To unsubscribe, edit your list preferences, or view the list archives, 
please visit:

https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds