Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CS2 install script is getting stuck #4498

Closed
Nuc1eoN opened this issue Feb 14, 2024 · 7 comments
Closed

[Bug]: CS2 install script is getting stuck #4498

Nuc1eoN opened this issue Feb 14, 2024 · 7 comments

Comments

@Nuc1eoN
Copy link

Nuc1eoN commented Feb 14, 2024

User story

As a server admin, I want to set up a CS2 server

Game

CS2

Linux distro

AlmaLinux 9.3

Command

command: install

Further information

I am trying to install CS2 following the instructions from the website: https://linuxgsm.com/servers/cs2server/

I have put the username and pw inside lgsm/config-lgsm/cs2server/common.cfg.
My account is secured by SteamGuard with e-mail verification.

I am typing ./cs2server install according to the instructions.

The script checks all deps, which are OK, and then gets stuck on

[ START ] Installing cs2server: SteamCMD

This is stuck indefinitely.
I have found out that when I press enter I will get more output however:

[ START ] Installing cs2server: SteamCMD

tid(13313) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/cs2server/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/cs2server/.local/share/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Logging in user 'myusername' to Steam Public...
This computer has not been authenticated for your account using Steam Guard.
Please check your email for the message from Steam, and enter the Steam Guard
 code from that message.
You can also enter this code at any time using 'set_steam_guard_code'
 at the console.
Steam Guard code:FAILED (Account Logon Denied)
Complete! Installing cs2server: SteamCMD
[ ERROR ] Installing cs2server: No appmanifest_730.acf found
[ INFO ] Installing cs2server: Forcing update to correct issue
[ START ] Installing cs2server: SteamCMD

Since nothing happens, and the script is stuck indefinitely I am pressing ENTER again and get:

tid(13355) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/cs2server/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/cs2server/.local/share/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Logging in user 'myusername' to Steam Public...
This computer has not been authenticated for your account using Steam Guard.
Please check your email for the message from Steam, and enter the Steam Guard
 code from that message.
You can also enter this code at any time using 'set_steam_guard_code'
 at the console.
Steam Guard code:FAILED (Account Logon Denied)
Complete! Installing cs2server: SteamCMD
[ FAIL ] Installing cs2server: Still no appmanifest_730.acf found

At that point the script exits.

The script makes me aware that I should use set_steam_guard_code to enter my email verification code, but that command does not seem to exist on my system or the information on how to use this command is unclear.

I assume the script is not supposed to get stuck in the first place? It seems to be a bug unless I am mistaken. At least I followed the instructions exactly but cannot get it up and running.

Relevant log output

No response

Steps to reproduce

No response

@SatyamBansal
Copy link

i am also facing same issue

@dgibbs64
Copy link
Member

CS2 us anonymous login and no login details are required

@Nuc1eoN
Copy link
Author

Nuc1eoN commented Mar 30, 2024

I thought anonimous login for CS2 is not possible anymore?

@dgibbs64
Copy link
Member

it was changed to anonymous not long after release. No logins are required

@Nuc1eoN
Copy link
Author

Nuc1eoN commented Mar 30, 2024

Ok? I didn't know. Then documentation on https://linuxgsm.com/servers/cs2server/ install section should be updated to reflect that.

@dgibbs64
Copy link
Member

Good spot. Thanks I will update it 😄

@h3o66
Copy link
Member

h3o66 commented Sep 30, 2024

That seems to be a old ticket what should not be anymore.
closed, please reopen in case thie is still the case.

@h3o66 h3o66 closed this as completed Sep 30, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New Issues to ✅ Done in LinuxGSM Backlog Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants