can someone tell my why my server always needs the "steam.sh" file for auto updating? When i download steamcmd for linux and setup -autoupdate correctly it tells me always at server start/restart (steam.sh) not found. my steamcmd wants a steam.sh. i found an old steam.sh file which i add to the steamcmd folder and with this autoupdating works fine. if i remove the steam.sh file, autoupdate stopped working.
here is an output
without the steam.sh file:
PHP Code:
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
Server will auto-restart if there is a crash.
Updating server using Steam.
----------------------------
./srcds_run: 1: eval: ./steam.sh: not found
----------------------------
LD_LIBRARY_PATH=/home/gameserver/csgoserver/bin:/home/gameserver/csgoserver:/home/gameserver/csgoserver/bin:
#
#Console initialized.
Her is a output
with the steam.sh file:
PHP Code:
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
Server will auto-restart if there is a crash.
Updating server using Steam.
----------------------------
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/game/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1666144101
-- type 'quit' to exit --
Loading Steam API...OK
[1m@ShutdownOnFailedCommand 1
[0m"@ShutdownOnFailedCommand" = "1"
[0m[1m@NoPromptForPassword 1
[0m"@NoPromptForPassword" = "1"
[0m[1mforce_install_dir /home/gameserver/csgoserver
[0m
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
[1mapp_update 740
[0mSuccess! App '740' already up to date.
[1mquit
[0m----------------------------
LD_LIBRARY_PATH=/home/gameserver/csgoserver/bin:/home/gameserver/csgoserver:/home/gameserver/csgoserver/bin:
#
#Console initialized.
Why do i need this file????? This file is 10 years old and needed for autoupdating at all my servers i had in history, i don't understand. i use steamcmd directly from steam website.
Edit: When i look at the original srcds_run file, it says on line 301.
PHP Code:
eval "STEAMEXE=steamcmd ./steam.sh +runscript $STEAMCMD_SCRIPT"
but steamcmd comes without steam.sh, just with steamcmd.sh
Edit 2: it works when i edit the srcds_run file and replace line 301 steam.sh with steamcmd.sh. but that can't be a solution while it works for others without these changes....