GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.35k stars 824 forks source link

[BUG] Cannot install hlds for counter-strike 1.6 #4059

Closed mredig closed 1 year ago

mredig commented 1 year ago

User Story

As a user, I want to install Counter strike so that my friends and I can play it.

Basic info

Further Information

When trying to install it, no matter how many times I try (and most online resources just say to keep trying) I end up getting this error on repeat:

[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '90' state is 0x6 after update job.
Error! Installing csserver: SteamCMD: Unknown error occured
Please provide content log to LinuxGSM developers https://linuxgsm.com/steamcmd-errorFailure! Installing csserver: SteamCMD: Did not complete the download, too many retrys

If it helps, here's my content log (only includes the last attempt since GitHub didn't want it too long):

[2022-12-17 06:07:47] Old Steam library detected! Migrating /root/.steam/SteamApps to lowercase.
[2022-12-17 06:07:47] The rename operation failed, please report: /root/.steam/SteamApps Invalid cross-device link
[2022-12-17 06:07:47] Loaded 3 apps from install folder "//serverfiles/steamapps\appmanifest_*.acf".
[2022-12-17 06:07:48] AppID 90 scheduler update : Priority First, not played for 480 seconds, update disabled for 0 seconds
[2022-12-17 06:07:48] AppID 90 state changed : Update Required,Fully Installed,Update Queued, (Update delayed for 297 secs)
[2022-12-17 06:07:48] AppID 90 state changed : Update Required,Fully Installed,Update Queued,Update Running,
[2022-12-17 06:07:48] AppID 70 state changed : Update Required,Shared Only,Update Running,
[2022-12-17 06:07:48] AppID 10 state changed : Update Required,Shared Only,Update Running,
[2022-12-17 06:07:48] AppID 90 update changed : Running Update,
[2022-12-17 06:07:48] AppID 90 update changed : Running Update,Reconfiguring,
[2022-12-17 06:07:48] Got 11 download sources and 0 caching proxies via ContentServerDirectoryService::BYieldingGetServersForSteamPipe (CellID 1 / Launcher 3)
[2022-12-17 06:07:48] Created download interface of type 'SteamCache' (7) to host cache5-ord1.steamcontent.com (cache5-ord1.steamcontent.com)
[2022-12-17 06:07:48] Created download interface of type 'SteamCache' (7) to host cache1-ord1.steamcontent.com (cache1-ord1.steamcontent.com)
[2022-12-17 06:07:48] Created download interface of type 'SteamCache' (7) to host cache7-ord1.steamcontent.com (cache7-ord1.steamcontent.com)
[2022-12-17 06:07:49] HTTP (SteamCache,117) - cache5-ord1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache5-ord1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:49] Created ipv4-only http client
[2022-12-17 06:07:49] HTTP (SteamCache,117) - cache5-ord1.steamcontent.com (162.254.193.13:80 / 162.254.193.13:80, host: cache5-ord1.steamcontent.com): cache5-ord1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:49] HTTP (SteamCache,117) - cache5-ord1.steamcontent.com (162.254.193.13:80 / 162.254.193.13:80, host: cache5-ord1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:49] HTTP (SteamCache,117) - cache5-ord1.steamcontent.com (162.254.193.13:80 / 162.254.193.13:80, host: cache5-ord1.steamcontent.com): Closing connection
[2022-12-17 06:07:49] Created download interface of type 'SteamCache' (7) to host cache1-sea1.steamcontent.com (cache1-sea1.steamcontent.com)
[2022-12-17 06:07:49] HTTP (SteamCache,272) - cache7-ord1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache7-ord1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:49] HTTP (SteamCache,272) - cache7-ord1.steamcontent.com (162.254.193.15:80 / 162.254.193.15:80, host: cache7-ord1.steamcontent.com): cache7-ord1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:49] HTTP (SteamCache,272) - cache7-ord1.steamcontent.com (162.254.193.15:80 / 162.254.193.15:80, host: cache7-ord1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:49] HTTP (SteamCache,272) - cache7-ord1.steamcontent.com (162.254.193.15:80 / 162.254.193.15:80, host: cache7-ord1.steamcontent.com): Closing connection
[2022-12-17 06:07:49] Created download interface of type 'SteamCache' (7) to host cache3-lax1.steamcontent.com (cache3-lax1.steamcontent.com)
[2022-12-17 06:07:49] HTTP (SteamCache,1) - cache1-sea1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache1-sea1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:49] HTTP (SteamCache,1) - cache1-sea1.steamcontent.com (205.196.6.165:80 / 205.196.6.165:80, host: cache1-sea1.steamcontent.com): cache1-sea1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:49] HTTP (SteamCache,1) - cache1-sea1.steamcontent.com (205.196.6.165:80 / 205.196.6.165:80, host: cache1-sea1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:49] HTTP (SteamCache,1) - cache1-sea1.steamcontent.com (205.196.6.165:80 / 205.196.6.165:80, host: cache1-sea1.steamcontent.com): Closing connection
[2022-12-17 06:07:49] Created download interface of type 'SteamCache' (7) to host cache3-sea1.steamcontent.com (cache3-sea1.steamcontent.com)
[2022-12-17 06:07:49] HTTP (SteamCache,276) - cache3-lax1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache3-lax1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:49] HTTP (SteamCache,276) - cache3-lax1.steamcontent.com (162.254.195.13:80 / 162.254.195.13:80, host: cache3-lax1.steamcontent.com): cache3-lax1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:49] HTTP (SteamCache,276) - cache3-lax1.steamcontent.com (162.254.195.13:80 / 162.254.195.13:80, host: cache3-lax1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:49] HTTP (SteamCache,276) - cache3-lax1.steamcontent.com (162.254.195.13:80 / 162.254.195.13:80, host: cache3-lax1.steamcontent.com): Closing connection
[2022-12-17 06:07:49] Created download interface of type 'CDN' (2) to host level3.cdn.steampipe.steamcontent.com (level3.cdn.steampipe.steamcontent.com)
[2022-12-17 06:07:50] HTTP (SteamCache,113) - cache1-ord1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache1-ord1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:50] HTTP (SteamCache,113) - cache1-ord1.steamcontent.com (162.254.193.12:80 / 162.254.193.12:80, host: cache1-ord1.steamcontent.com): cache1-ord1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:50] HTTP (SteamCache,113) - cache1-ord1.steamcontent.com (162.254.193.12:80 / 162.254.193.12:80, host: cache1-ord1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:50] HTTP (SteamCache,113) - cache1-ord1.steamcontent.com (162.254.193.12:80 / 162.254.193.12:80, host: cache1-ord1.steamcontent.com): Closing connection
[2022-12-17 06:07:50] Created download interface of type 'SteamCache' (7) to host cache5-dfw1.steamcontent.com (cache5-dfw1.steamcontent.com)
[2022-12-17 06:07:50] HTTP (SteamCache,8) - cache3-sea1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache3-sea1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:50] HTTP (SteamCache,8) - cache3-sea1.steamcontent.com (205.196.6.171:80 / 205.196.6.171:80, host: cache3-sea1.steamcontent.com): cache3-sea1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:50] HTTP (SteamCache,8) - cache3-sea1.steamcontent.com (205.196.6.171:80 / 205.196.6.171:80, host: cache3-sea1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:50] HTTP (SteamCache,8) - cache3-sea1.steamcontent.com (205.196.6.171:80 / 205.196.6.171:80, host: cache3-sea1.steamcontent.com): Closing connection
[2022-12-17 06:07:50] Created download interface of type 'SteamCache' (7) to host cache1-dfw1.steamcontent.com (cache1-dfw1.steamcontent.com)
[2022-12-17 06:07:50] HTTP (SteamCache,73) - cache5-dfw1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache5-dfw1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:50] HTTP (SteamCache,73) - cache5-dfw1.steamcontent.com (155.133.253.5:80 / 155.133.253.5:80, host: cache5-dfw1.steamcontent.com): cache5-dfw1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:50] HTTP (SteamCache,73) - cache5-dfw1.steamcontent.com (155.133.253.5:80 / 155.133.253.5:80, host: cache5-dfw1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:50] HTTP (SteamCache,73) - cache5-dfw1.steamcontent.com (155.133.253.5:80 / 155.133.253.5:80, host: cache5-dfw1.steamcontent.com): Closing connection
[2022-12-17 06:07:51] Created download interface of type 'SteamCache' (7) to host cache6-iad1.steamcontent.com (cache6-iad1.steamcontent.com)
[2022-12-17 06:07:51] HTTP (CDN,2) - level3.cdn.steampipe.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: level3.cdn.steampipe.steamcontent.com): AuthenticateDepotID (11) - Success!
[2022-12-17 06:07:51] HTTP (CDN,2) - level3.cdn.steampipe.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: level3.cdn.steampipe.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:51] HTTP (CDN,2) - level3.cdn.steampipe.steamcontent.com (8.251.168.250:443 / 8.251.168.250:443, host: level3.cdn.steampipe.steamcontent.com): level3.cdn.steampipe.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:51] HTTP (CDN,2) - level3.cdn.steampipe.steamcontent.com (8.251.168.250:443 / 8.251.168.250:443, host: level3.cdn.steampipe.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:51] HTTP (CDN,2) - level3.cdn.steampipe.steamcontent.com (8.251.168.250:443 / 8.251.168.250:443, host: level3.cdn.steampipe.steamcontent.com): Closing connection
[2022-12-17 06:07:51] Created download interface of type 'SteamCache' (7) to host cache5-atl1.steamcontent.com (cache5-atl1.steamcontent.com)
[2022-12-17 06:07:51] HTTP (SteamCache,36) - cache6-iad1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache6-iad1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:52] HTTP (SteamCache,36) - cache6-iad1.steamcontent.com (162.254.192.37:80 / 162.254.192.37:80, host: cache6-iad1.steamcontent.com): cache6-iad1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:52] HTTP (SteamCache,36) - cache6-iad1.steamcontent.com (162.254.192.37:80 / 162.254.192.37:80, host: cache6-iad1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:52] HTTP (SteamCache,36) - cache6-iad1.steamcontent.com (162.254.192.37:80 / 162.254.192.37:80, host: cache6-iad1.steamcontent.com): Closing connection
[2022-12-17 06:07:52] HTTP (SteamCache,353) - cache1-dfw1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache1-dfw1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:52] HTTP (SteamCache,353) - cache1-dfw1.steamcontent.com (155.133.253.2:80 / 155.133.253.2:80, host: cache1-dfw1.steamcontent.com): cache1-dfw1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:52] HTTP (SteamCache,353) - cache1-dfw1.steamcontent.com (155.133.253.2:80 / 155.133.253.2:80, host: cache1-dfw1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:52] HTTP (SteamCache,353) - cache1-dfw1.steamcontent.com (155.133.253.2:80 / 155.133.253.2:80, host: cache1-dfw1.steamcontent.com): Closing connection
[2022-12-17 06:07:52] HTTP (SteamCache,301) - cache5-atl1.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: cache5-atl1.steamcontent.com): Failed to get manifest request Code for depot 11 manifest 4720911300072406946 - Access Denied (15) - continuing without it
[2022-12-17 06:07:52] HTTP (SteamCache,301) - cache5-atl1.steamcontent.com (162.254.199.132:80 / 162.254.199.132:80, host: cache5-atl1.steamcontent.com): cache5-atl1.steamcontent.com/depot/11/manifest/4720911300072406946/5 - received 401 (Unauthorized) HTTP response
[2022-12-17 06:07:52] HTTP (SteamCache,301) - cache5-atl1.steamcontent.com (162.254.199.132:80 / 162.254.199.132:80, host: cache5-atl1.steamcontent.com): Received 401 (Unauthorized) HTTP response for depot 11
[2022-12-17 06:07:52] HTTP (SteamCache,301) - cache5-atl1.steamcontent.com (162.254.199.132:80 / 162.254.199.132:80, host: cache5-atl1.steamcontent.com): Closing connection
[2022-12-17 06:07:52] AppID 90 update canceled : Failed to download manifest 4720911300072406946 (Not Logged On) (Manifest unavailable)
[2022-12-17 06:07:52] AppID 90 update changed : Running Update,Reconfiguring,Stopping,
[2022-12-17 06:07:52] AppID 90 update changed : Running Update,Stopping,
[2022-12-17 06:07:52] AppID 90 update changed : None
[2022-12-17 06:07:52] AppID 10 state changed : Update Required,Shared Only, (Manifest unavailable)
[2022-12-17 06:07:52] AppID 70 state changed : Update Required,Shared Only, (Manifest unavailable)
[2022-12-17 06:07:52] AppID 90 state changed : Update Required,Fully Installed,Update Queued, (Manifest unavailable)
[2022-12-17 06:07:52] AppID 90 state changed : Update Required,Fully Installed, (Update delayed for 300 secs)
[2022-12-17 06:07:52] AppID 90 scheduler finished : removed from schedule (result Manifest unavailable, state 0xe)

To Reproduce

Steps to reproduce the behaviour:

  1. Using docker with this docker file:
    
    FROM ubuntu:16.04

Insert Steam prompt answers

SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN echo steam steam/question select "I AGREE" | debconf-set-selections \ && echo steam steam/license note '' | debconf-set-selections

Update the repository and install SteamCMD

ARG DEBIAN_FRONTEND=noninteractive

RUN dpkg --add-architecture i386 RUN apt update RUN apt install -y \ curl \ wget \ file \ tar \ bzip2 \ gzip \ cpio \ xz-utils \ unzip \ bsdmainutils \ python3 \ util-linux \ ca-certificates \ binutils \ bc \ jq \ tmux \ netcat \ lib32gcc1 \ lib32stdc++6 \ locales \ libsdl2-2.0-0:i386 \ steamcmd

RUN rm -rf /var/lib/apt/lists/*

Add unicode support

RUN locale-gen en_US.UTF-8 ENV LANG 'en_US.UTF-8' ENV LANGUAGE 'en_US:en'

RUN wget -O linuxgsm.sh https://linuxgsm.sh

RUN chmod +x linuxgsm.sh

RUN bash linuxgsm.sh csserver

Create symlink for executable

RUN ln -s /usr/games/steamcmd /usr/bin/steamcmd

Update SteamCMD and verify latest version

RUN steamcmd +quit

RUN ./csserver auto-install

Set default command

ENTRYPOINT ["steamcmd"]

CMD ["+help", "+quit"]


2. build the image: `docker build -t cstrike-server:latest .`
1. run the image: `docker run -it --rm --name cstrike wotv-wan-cstrike bash`
    * I realize this is not a correctly formed Dockerfile nor set of commands. The bug was present when trying to install in an automated fashion, so I tried this more manual method for troubleshooting with the intent to bring a fix back to the automated version, but ultimately it just still didn't work.
1. in the container, run the following:
    1. `wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csserver`
    1. `./csserver install`

## Expected behaviour
install counter strike dedicated server
Bz-odin commented 1 year ago

3707 # have installed 3 cs1.6 Server last week without any Problems !

And now ?

me 2:

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Error! App '90' state is 0x6 after update job. Error! Installing csserver: SteamCMD: Unknown error occured Please provide content log to LinuxGSM developers https://linuxgsm.com/steamcmd- errorFailure! Installing csserver: SteamCMD: Did not complete the download, too many retrys multimod@Ubuntu-2204-jammy-amd64-base:~$

script.log

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Error! App '90' state is 0x6 after update job. Dec 19 11:18:26.652 csserver: INSTALL: ERROR: Installing csserver: SteamCMD: Unknown error occured Redirecting stderr to '/home/multimod/.local/share/Steam/logs/stderr.txt' /tmp/dumps is not owned by us - delete and recreate Unable to delete /tmp/dumps. Continuing anyway. [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation - version 1669935972 -- type 'quit' to exit -- Loading Steam API...OK

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Error! App '90' state is 0x6 after update job. Dec 19 11:18:50.698 csserver: INSTALL: ERROR: Installing csserver: SteamCMD: Unknown error occured Redirecting stderr to '/home/multimod/.local/share/Steam/logs/stderr.txt' /tmp/dumps is not owned by us - delete and recreate Unable to delete /tmp/dumps. Continuing anyway. [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation - version 1669935972 -- type 'quit' to exit -- Loading Steam API...OK

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Error! App '90' state is 0x6 after update job. Dec 19 11:19:19.067 csserver: INSTALL: ERROR: Installing csserver: SteamCMD: Unknown error occured Dec 19 11:19:19.569 csserver: INSTALL: FATAL: Installing csserver: SteamCMD: Did not complete the download, too many retrys Dec 19 11:19:20.660 csserver: INSTALL: PASS: Downloading core_exit.sh Dec 19 11:19:20.665 csserver: INSTALL: INFO: LinuxGSM version: v22.2.1 Dec 19 11:19:20.666 csserver: INSTALL: PASS: core_exit.sh exiting with code: 0

MrMightyNighty commented 1 year ago

Try it with a user. I have a account just for SteamCMD with no games on it. After logging in I could download TF Classic. They share the same appid.

gazsoimi commented 1 year ago

With login anonnymous The download fails with http 401 error.

With a user, it can be downloaded no problem.

My guess is that valve disable the anonnymous option for the hlds files.

dgibbs64 commented 1 year ago

https://docs.linuxgsm.com/steamcmd/errors#error-0x6

also might be related to this fix I am merging https://github.com/GameServerManagers/LinuxGSM/pull/4297

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.