kus / cs2-modded-server

Modded Counter Strike 2 (CS2) Dedicated Server with Metamod and CounterStrikeSharp for Windows and Linux that can automatically be setup on Google Cloud.
GNU Lesser General Public License v3.0
339 stars 71 forks source link

[Bug]: Install hangs due to EULA #64

Open snctfd opened 6 months ago

snctfd commented 6 months ago

Server is up to date

I've followed the instructions

Game Server Login Token

Operating System

Linux Ubuntu 20.04

Which mod are you playing

No mod

Are you trying to host online or on LAN?

Online off a machine on my local network

Metamod:Source Version

-

Metamod:Source Plugins loaded

-

CounterStrikeSharp Version

-

CounterStrikeSharp Plugins loaded

-

What is the bug

The install script seems to never finish when running on my Ubuntu 20.04 server, getting stuck on installing packages. This seems to be due to steamcmd requiring the user to manually accept a EULA; when the install script hangs, there is a background process asking for this: whiptail --backtitle Package configuration --title Configuring steamcmd --output-fd 11 --nocancel --msgbox STEAM LICENSE AGREEMENT (ARROW keys scroll, TAB key to move to[...]

Strangely, when I changed the script to not pipe the output of the apt install command to /dev/null in hope that it would allow me to accept, the install script seemed to run fine without manual input.

Game console output

No response

Server log output

No response

Steps to reproduce

No response

Anon-Exploiter commented 5 months ago

OS: Ubuntu 22.04 Provider: AWS

Same here, the install.sh file was stuck for some time on the package installation, hovering over to htop, it shows the Steam agreement is presented to user (I guess on install) and isn't being accepted/skipped.

Almost been 4-5 minutes and it didn't proceed.

image