LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

Error! App '90' state is 0x406 after update job.

Open KeanePW opened this issue 11 years ago • 22 comments

I couldn't install CS server using server manager on Ubuntu 14.04 due to error:

Error! App '90' state is 0x406 after update job.

I've reported this error to half life:

https://github.com/ValveSoftware/halflife/issues/1583

Is there anything that can be done in the server manager script to resolve this?

KeanePW avatar Jan 01 '15 16:01 KeanePW

This might be one of those "keep hitting it until it works" problems. Try restarting the installation over and over again until it fixes itself.

Scarsz avatar Jan 02 '15 02:01 Scarsz

Thank you for your response. I spent most of the day retrying the installation. However, it stops at exactly the same place every single time. This is a new dedicated server with a fresh install of Ubuntu. The server is being installed as a user csserver as per the CS manager instructions.

Today I'm trying the CS manager install again and can see the following.

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

Connecting anonymously to Steam Public...Logged in OK Waiting for license info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x61) downloading, progress: 5.27 (2228019 / 42294745) Update state (0x61) downloading, progress: 47.36 (20028914 / 42294745) Update state (0x61) downloading, progress: 60.69 (25666967 / 42294745) Update state (0x61) downloading, progress: 90.08 (38100441 / 42294745) Error! App '90' state is 0x6 after update job.

KeanePW avatar Jan 02 '15 11:01 KeanePW

@KeanePW its an issue with SteamCMD im afraid and out of our control. I have however with the next update I have added a loop in to the installer that will retry 10 times before giving up should it fail. There have been quite a few issues with SteamCMD and gold source games like cs 1.6 in the past. Was hoping they have fixed them all now

dgibbs64 avatar Jan 02 '15 11:01 dgibbs64

No worries I understand it's out of your control. That loop in the next update is truly awesome Daniel. I'm a big fan of your work. Thank you very much.

KeanePW avatar Jan 02 '15 11:01 KeanePW

Cheers buddy. Always nice to hear my work is useful. Its one of the main reasons I enjoy working on this project. :D

dgibbs64 avatar Jan 02 '15 12:01 dgibbs64

This feature is now implemented. It wont fix the issue but trying several times might get it to kick in to life.

https://github.com/dgibbs64/linuxgameservers/commit/57789b0c109a723be9250b1f60d9374674d57cdb

dgibbs64 avatar Jan 03 '15 23:01 dgibbs64

It is still asking if you would like to retry. Then you have to enter N, Y, Y then it will start again. Is this intended to work this way?

RAlexander3 avatar Jan 04 '15 03:01 RAlexander3

It should automatically try 10 times before asking to retry. If you haven't already delete the functions dir and try again. If still not trying 10 times its a bug.

dgibbs64 avatar Jan 04 '15 03:01 dgibbs64

Like RAlexander3 wrote, the Script do not recognize Error 0x406 and repeat automatically. After several manual restarts i got the message: "Failure! SteamCMD did not complete the download, too many retrys"

EDIT: After deleting all files and making a clean install i got the Error Code 0x106, after retrying it manually one time, I got 0x406 (I edit the fn_steaminstall, so the script recognize 0x406) and the script looped until SteamCMD say: "Success! App '90' fully installed." but no ./serverfiles/cstrike directory were created and creating config files did not work.

PS: I know the mistake is not on your side, but maybe you/we could find a solution/workaround :) Thanks your great work!

Flake16 avatar Jan 04 '15 15:01 Flake16

Thanks for the update. I recommend logging the issue with Valve on there github to fix the issue. They seemed to fix it for a while. In the mean time I will get the code working as inteanded.

dgibbs64 avatar Jan 04 '15 16:01 dgibbs64

Found the issue i originaly raised https://github.com/ValveSoftware/halflife/issues/1541

dgibbs64 avatar Jan 04 '15 17:01 dgibbs64

I am adding in all the error codes that are being provided. If it sees any of these errors it will retry the download.

dgibbs64 avatar Jan 04 '15 17:01 dgibbs64

I had chased this issue down the rabbit hole a while back and found that it consistently happened ONLY on my Virtualized hosts that had write-through cache enabled. If that applies to your situation, try turning it off for a test. It'd be good to have someone either validate my observation or chime in that it's happening in situations other than VMs with cached disk I/O.

lnxprof avatar Jan 04 '15 19:01 lnxprof

Just want to post and say that I have been trying to install a TFC server a good portion of the day, and has failed every time. It is a vps machine.

I have followed the instructions toa T, and still fails. Then I would wipe the homedir and start again, and fail again. Even retrying the install doesn't seem to help.

tenpin784 avatar Jan 06 '15 01:01 tenpin784

I finally got TFC to install, had to do a bit of manual labor for it to go

In tfcserver home folder:

---Begin Commands--- mkdir steamcmd cd steamcmd wget -N --no-check-certificate /dev/null http://media.steampowered.com/client/steamcmd_linux.tar.gz 2>&1 | grep -F HTTP | cut -c45-| uniq tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz chmod +x steamcmd.sh cd .. mkdir serverfiles steamcmd/steamcmd.sh

--- inside the CLI for steamcmd --- login anonymous app_set_config 90 mod tfc app_update 90 (failed with 0x106) app_update 90 (said installed successfully) app_update 90 validate (this is when it downloaded the big chunk of data) app_update 90 validate (just to make sure) quit

------ back to linux CLI ---

./tfcserver install (finally succeeded).

---End of Commands---

The problem the tfcserver install script was having was, after it installed, under "serverfiles", I never had a "tfc" folder. I would always have "valve" and "cstrike" for folders, but never "tfc". When I did the server installation manually, I finally had a "tfc" folder.

Hope this helps someone, or maybe helps with the script building.

tenpin784 avatar Jan 06 '15 02:01 tenpin784

Some decent suggestions here. I will have to test these out. Of it works I could create an install function just for goldsrc games. At the very least it might improve the chances of there not being an issue.

dgibbs64 avatar Jan 06 '15 15:01 dgibbs64

I think the issue might be with the app ID in the script. I have tried putting it different ways, but couldn't get it to work.

I know I am working with a much older game, but hey, if you're going to provide it (it helps me out now, especially since it's running), should try and make it right. And I would not mind helping any way I can.

Thanks! --John On 01/06/2015 09:21 AM, Daniel Gibbs wrote:

Some decent suggestions here. I will have to test these out. Of it works I could create an install function just for goldsrc games. At the very least it might improve the chances of there not being an issue.

— Reply to this email directly or view it on GitHub https://github.com/dgibbs64/linuxgameservers/issues/252#issuecomment-68878420.

tenpin784 avatar Jan 06 '15 15:01 tenpin784

The other thing you can do is post on the Valve github issue for this as it's Vavles problem. The more people that post about it the better. All I can do is implement a workaround for there problem.

dgibbs64 avatar Jan 06 '15 15:01 dgibbs64

I have implimented a work around for this issue to try and help. However there is nothing else I can do. Closing this issue now

dgibbs64 avatar Jan 11 '15 16:01 dgibbs64

If someone needs the hlds cstrike server I have a zip archive saved from today. The validate process stops and gives a strange error at 98. % but the game server is running.

Link here: http://miez.ro/cstrike/hlds.zip Slow mirror here: https://content.wuala.com/contents/mo0n_sniper/Proiecte/cstrike/server/hlds/linux/hlds.zip/?dl=1&key=server

mo0nsniper avatar Jan 11 '15 19:01 mo0nsniper