Raised This Month: $51 Target: $400
 12% 

Solved CS:GO Autoupdate


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 12-10-2020 , 18:34   CS:GO Autoupdate
Reply With Quote #1

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.
__________________

Last edited by One; 12-14-2020 at 07:08. Reason: Solved
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-10-2020 , 19:07   Re: CS:GO Autoupdate
Reply With Quote #2

Make sure the server instance is getting stopped e.g. by using killall srcds_run
TomL. is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 12-11-2020 , 01:17   Re: CS:GO Autoupdate
Reply With Quote #3

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.

Last edited by sphinx; 12-11-2020 at 01:26.
sphinx is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 12-11-2020 , 09:11   Re: CS:GO Autoupdate
Reply With Quote #4

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...
__________________

Last edited by One; 12-11-2020 at 10:07.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 12-11-2020 , 12:11   Re: CS:GO Autoupdate
Reply With Quote #5

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
TomL. is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 12-11-2020 , 15:40   Re: CS:GO Autoupdate
Reply With Quote #6

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.

Last edited by asdfxD; 12-11-2020 at 15:41.
asdfxD is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 12-14-2020 , 07:07   Re: CS:GO Autoupdate
Reply With Quote #7

thx @ both. solved with lgsm.its much easier to install/monitor and update the servers.

thx TomL. again
__________________

Last edited by One; 12-14-2020 at 07:08.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:26.


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