its all correct.
gameservers are here:
/home/gameserver/..
steamcmd here:
/home/steamcmd
content of 27015.txt
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/gameserver/csgo27015
app_update 740
quit
as i said it was working fine in the past but after the latest csgo update it doesnt.
steamcmd self works fine (manually updates & new installs)
cd /home/steamcmd
./steamcmd.sh
login anonymous
force_install_dir /home/gameserver/csgo27015
app_update 740
all these commands are working fine.
edit: i installed opengamepanel on second ubuntu server and auto update works with ogp. srsly ...
edit 2: i think the srcds_run file is wrong by default.
PHP Code:
updatesingle() {
# Run the steam update
# exits on failure if STEAMERR is set
if test -n "$AUTO_UPDATE"; then
if test -d "$STEAM_DIR"; then
echo "Updating server using Steam."
echo "----------------------------"
OLDWD=$(pwd)
eval "cd $STEAM_DIR"
eval "STEAMEXE=steamcmd ./steam.sh +runscript $STEAMCMD_SCRIPT"
eval "cd $OLDWD"
echo "----------------------------"
else
if test -n "$STEAMERR"; then
echo "ERROR: Could not locate steam dir:$STEAM_DIR, exiting.";
quit 1
else
echo "WARNING: Could not locate steam dir:$STEAM_DIR, ignoring."
return 0
fi
fi
fi
return 1
}
so i changed this line:
PHP Code:
eval "STEAMEXE=steamcmd ./steam.sh +runscript $STEAMCMD_SCRIPT"
to
PHP Code:
eval "STEAMEXE=steamcmd ./steamcmd.sh +runscript $STEAMCMD_SCRIPT"
and it works now, wtf? dunno why
they use steam.sh when it's
steamcmd.sh .... i can't even start steam with this command "STEAMEXE=steamcmd
./steam.sh" only "STEAMEXE=steamcmd
./steamcmd.sh" or simply "
./steamcmd.sh" works.