AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Solved CS:GO Autoupdate (https://forums.alliedmods.net/showthread.php?t=329151)

One 12-10-2020 18:34

CS:GO Autoupdate
 
Hi there,

i know there are so many Threads for this problem but my problem is still not solved :(

Update Server (with or without validate...)
Code:

Success! App '740' already up to date.
Code:

Error : Server is running an older version, client version 13774, server version 13773
Code:

MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.

What i tried:
  • deleted steamapps folder
  • update 740 with root
  • changed steam_appid.txt to 730
  • login with account and update + validate
  • login anonymous, update + validate
  • used Scripts like: https://forums.alliedmods.net/showthread.php?t=197696 and more Threads....
  • changed more times the Map
  • restarted 1000000 times the servers
  • deleted any files in csgo folder
  • ufw is inactive/disabled

it dont wanna get any updates...... anyone any ideas?

thanks in advance.

Regs.

TomL. 12-10-2020 19:07

Re: CS:GO Autoupdate
 
Make sure the server instance is getting stopped e.g. by using killall srcds_run

sphinx 12-11-2020 01:17

Re: CS:GO Autoupdate
 
Updated files are not located only in the csgo folder.
It may be a file permission problem, just check if all csgo server files and folders (bin, csgo, platform etc) have the same owner and run the update script as that owner.
Advice: install, update & run the csgo server as a user, not as root.

L.E.
steam_appid for csgo server it is 730 indeed.

One 12-11-2020 09:11

Re: CS:GO Autoupdate
 
Thx. but still not working.
  • All folders and Files are 777 Chmod.
  • for sure installed and updated as user for first...sofar it not worked, tried with root because of permissions
  • steam_appid.txt is 730 :(
  • killed all deattached and attached screens... Same issue.

here is the link how i installed the servers : https://medium.com/@oritromax/instal...u-ed37377b06d1
maybe is there anything wrong or missing which causes my problem?

my updatescript:
Code:

steamcmd +login anonymous +app_update 740 validate +quit
my runscript:
Code:

screen ./srcds_run -game csgo -net_port_try 1 +game_type 0 -tickrate 128 +game_mode 0 +mapgroup mg_active +map de_dust2 -nobots +maxplayers 20 +sv_setsteamaccount XXXXXX

But what i cant fix :
Owner and Chmod for /home/csgo is my csgo user and all folders and files on 777
Code:

./update.sh
Redirecting stderr to '/home/csgo/.steam/logs/stderr.txt'
/tmp/dumps is not owned by us - delete and recreate
Unable to delete /tmp/dumps. Continuing anyway.
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[  0%] Checking for available updates...


EDIT:

i think i could fix it:
  • reinstalled steamcmd as steam user
  • run steamcmd as steam user
  • selected update/install DIR with force_install_dir
  • and updated with app_update 740 validate


i tried to write a mini script... i know its not perfect but i hope it works for first...

Code:

cd /home/steam/

bash su - steam

echo updating : /home/csgo/csgo-ds/.........
steamcmd +login anonymous +force_install_dir /home/csgo/csgo-ds/ +app_update 740 validate +quit
echo Funserver updated!

echo updating : /home/csgo/server1/.........
steamcmd +login anonymous +force_install_dir /home/csgo/server1/ +app_update 740 validate +quit
echo Server1 updated!

echo updating : /home/csgo/server2/.........
steamcmd +login anonymous +force_install_dir /home/csgo/server2/ +app_update 740 validate +quit
echo Server2 updated!

echo updating : /home/csgo/server3/.........
steamcmd +login anonymous +force_install_dir /home/csgo/server3/ +app_update 740 validate +quit
echo Server3 updated!

echo updating : /home/csgo/server4/.........
steamcmd +login anonymous +force_install_dir /home/csgo/server4/ +app_update 740 validate +quit
echo Server4 updated!

echo updating : /home/csgo/server5/.........
steamcmd +login anonymous +force_install_dir /home/csgo/server5/ +app_update 740 validate +quit
echo Server5 updated!

echo updating : /home/csgo/training/.........
steamcmd +login anonymous +force_install_dir /home/csgo/training/ +app_update 740 validate +quit
echo Trainingsserver updated!

echo starting servers:

bash su csgo

echo Starting Funserver:......
bash /home/csgo/csgo-ds/run.sh

echo Starting Server1:......
bash /home/csgo/server1/run.sh

echo Starting Server2:......
bash /home/csgo/server2/run.sh


echo Starting Server3:......
bash /home/csgo/server3/run.sh


echo Starting Server4:......
bash /home/csgo/server4/run.sh


echo Starting Server5:......
bash /home/csgo/server5/run.sh


echo Starting trainingsserver:......
bash /home/csgo/training/run.sh

ill attach the logs when the script is done...

TomL. 12-11-2020 12:11

Re: CS:GO Autoupdate
 
If you still need help feel free to send me your contact details via pm so I can take a closer look at your problem

asdfxD 12-11-2020 15:40

Re: CS:GO Autoupdate
 
Best way to Autoupdate is.

add a update.txt file in your steamcmd folder.

Code:

@ShutdownOnFailedCommand 0
@NoPromptForPassword 0
login anonymous
force_install_dir /home/gs/csgoserver
app_update 740
quit

add to your server run.sh

Code:

-autoupdate -steam_dir /home/steamcmd -steamcmd_script /home/steamcmd/update.txt
it updates at every srcds update and check on each start/restart.

One 12-14-2020 07:07

Re: CS:GO Autoupdate
 
thx @ both. solved with lgsm.its much easier to install/monitor and update the servers.

thx TomL. again


All times are GMT -4. The time now is 18:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.