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

Autoupdate issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
olokos
Member
Join Date: Jun 2016
Old 06-09-2017 , 01:19   Autoupdate issue
Reply With Quote #1

Hi,

I've been running my surf server for a while now, but I've never been able to setup its autoupdate correctly.

With this way
https://forums.alliedmods.net/showthread.php?t=269826
https://forums.alliedmods.net/showthread.php?p=2238058
I just get

Code:
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
L 06/09/2017 - 07:05:08: Your server needs to be restarted in order to receive the latest update.
and nothing happens

with steamcmd way
Code:
-autoupdate -steam_dir /home/csgoserver/csgoserver-cksurf/steamcmd/ -steamcmd_script /home/csgoserver/csgoserver-cksurf/steamcmd/skrypt_aktualizujacy.txt
where skrypt_aktualizujacy.txt contains
Code:
@ShutdownOnFailedCommand 0 //set to 0 if updating multiple servers at once
@NoPromptForPassword 1
login anonymous
force_install_dir /home/csgoserver/serverfiles
app_update 740
quit
my server just goes into restart loop
Code:
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
L 06/09/2017 - 07:01:29: Your server needs to be restarted in order to receive the latest update.
quit
L 06/09/2017 - 07:02:49: [META] Loaded 0 plugins (2 already loaded)
L 06/09/2017 - 07:02:49: server_message: "quit"
L 06/09/2017 - 07:02:49: Log file closed
L 06/09/2017 - 07:02:49: server_message: "restart"
L 06/09/2017 - 07:02:49: Log file closed.
Shutdown function NET_Shutdown() not in list!!!
File /home/csgoserver/csgoserver-cksurf/serverfiles/csgo/pak01_057.vpk was never closed
I'm also hosting arena server and it's autoupdating without any issues. surf never gracefully stops, arena stops gracefully no problem.

Code:
sm plugins list
[SM] Listing 35 plugins:
  01 "[UMC] Rock The Vote" (3.4.6-dev) by Steell
  02 "Fix angles" (1.0.1) by Grey83
  03 "Client Preferences" (1.8.0.6002) by AlliedModders LLC
  04 "SourceMod Radio" (1.0.0.22) by dubbeh
  05 "Automatic Steam Update (SteamWorks)" (1.1) by Dr. McKay, Sarabveer(VEER™)
  06 "Simple Chat Processor (Redux)" (2.1.0) by Simple Plugins, Mini
  07 "Reserved Slots" (1.8.0.6002) by AlliedModders LLC
  08 "[UMC] Nominations" (3.4.6-dev) by Steell
  09 "Basic Chat" (1.8.0.6002) by AlliedModders LLC
  10 "Fun Votes" (1.8.0.6002) by AlliedModders LLC
  11 "Basic Comm Control" (1.8.0.6002) by AlliedModders LLC
  12 "Basic Commands" (1.8.0.6002) by AlliedModders LLC
  13 "Admin File Reader" (1.8.0.6002) by AlliedModders LLC
  14 "Basic Votes" (1.8.0.6002) by AlliedModders LLC
  15 "SQL Admins (Threaded)" (1.8.0.5923) by AlliedModders LLC
  16 "Terrible Enable Full Alltalk" (0.02) by Sheepdude
  17 "Basic Ban Commands" (1.8.0.6002) by AlliedModders LLC
  18 "Advertisements" (2.0.2) by Tsunami
  19 "[UMC] Ultimate Mapchooser Core" (3.4.6-dev) by Steell
  20 "SQL Admin Manager" (1.8.0.5923) by AlliedModders LLC
  21 "[UMC] Admin Menu" (3.4.6-dev) by Steell
  22 "Anti-Flood" (1.8.0.6002) by AlliedModders LLC
  23 "Admin Menu" (1.8.0.6002) by AlliedModders LLC
  24 "Sound Commands" (1.8.0.6002) by AlliedModders LLC
  25 "Basic Info Triggers" (1.8.0.6002) by AlliedModders LLC
  26 "Player Commands" (1.8.0.6002) by AlliedModders LLC
  27 "No Spam" (2.0.1.0) by DarthNinja
  28 "ckSurf" (1.19.2) by Elzi
  29 "Admin Help" (1.8.0.6002) by AlliedModders LLC
  30 "[ckSurf] Teleport Destination Finder" (1.00) by Elzi
  31 "[UMC] Echo Nextmap" (3.4.6-dev) by Steell
  32 "[UMC] End of Map Vote" (3.4.6-dev) by Steell
  33 "Fun Commands" (1.8.0.6002) by AlliedModders LLC
  34 "Nextmap" (1.8.0.6002) by AlliedModders LLC
  35 "SteamWorks Update Check" (1.0b) by Kyle Sanderson
Code:
sm exts list
[SM] Displaying 14 extensions:
[01] Automatic Updater (1.8.0.6002): Updates SourceMod gamedata files
[02] Webternet (1.8.0.6002): Extension for interacting with URLs
[03] Equinox Console Cleaner (1.8.0-manual): Bite me alien boi
[04] CS Tools (1.8.0.6002): CS extended functionality
[05] BinTools (1.8.0.6002): Low-level C/C++ Calling API
[06] SDK Tools (1.8.0.6002): Source SDK Tools
[07] Regex (1.8.0.6002): Provides regex natives for plugins
[08] Client Preferences (1.8.0.6002): Saves client preference settings
[09] SQLite (1.8.0.6002): SQLite Driver
[10] SteamWorks Extension (1.2.1): Exposes SteamWorks functions to Developers
[11] Top Menus (1.8.0.6002): Creates sorted nested menus
[12] DHooks (2.0.4): Dynamic Hooks
[13] SDK Hooks (1.8.0.6002): Source SDK Hooks
[14] GeoIP (1.8.0.6002): Geographical IP information
I'm just out of ideas, I tried those plugins separately with and without steamcmd way of updating and nothing seems to work properly. I've been manually updating my server each csgo update, but this is just horrible.
olokos is offline
olokos
Member
Join Date: Jun 2016
Old 06-09-2017 , 01:21   Re: Autoupdate issue
Reply With Quote #2

BTW. If I'm using any outdated plugins/extensions, please let me know of better alternatives as those are the best I could find

I forgot to mention, I'm using LGSM and I do have a cronjob which does ./csgoserver-cksurf update on every 00 minute, but it just doesnt do anything at all...

Last edited by olokos; 06-09-2017 at 01:22.
olokos is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 06-09-2017 , 04:27   Re: Autoupdate issue
Reply With Quote #3

try this https://forums.alliedmods.net/showthread.php?p=2447317
and my windows guide (just install the plugin and the extention).
__________________
ambn is offline
olokos
Member
Join Date: Jun 2016
Old 06-09-2017 , 13:04   Re: Autoupdate issue
Reply With Quote #4

Code:
[SM] An Update Detected ! Restarting Server In 5 Seconds!
MasterRequestRestart
Your server is out of date and will be shutdown during hibernation or changelevel, whichever comes first.
L 06/09/2017 - 19:02:29: Your server is out of date and will be shutdown during hibernation or changelevel, whichever comes first.
Host state 5 at Fri Jun  9 19:02:30 2017
 -- sv_shutdown hibernating server right now.
L 06/09/2017 - 19:02:30: [META] Loaded 0 plugins (2 already loaded)
L 06/09/2017 - 19:02:30: server_message: "quit"
L 06/09/2017 - 19:02:30: Log file closed
L 06/09/2017 - 19:02:30: server_message: "restart"
Segmentation fault (core dumped)
cat: hlds.17985.pid: No such file or directory
email debug.log to [email protected]
pią, 9 cze 2017, 19:02:30 CEST: Server restart in 10 seconds
pią, 9 cze 2017, 19:02:32 CEST: Server Quit
Eternal loop
olokos is offline
Divin12
Senior Member
Join Date: Nov 2011
Old 06-09-2017 , 14:17   Re: Autoupdate issue
Reply With Quote #5

I have same issue with "pack was never closed" my host use GameCP and I cant find steamcmd.sh. If someone use some site to manage site and he have autoupdate trick please let us know
__________________
Divin12 is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 06-09-2017 , 22:13   Re: Autoupdate issue
Reply With Quote #6

Quote:
Originally Posted by olokos View Post
Code:
[SM] An Update Detected ! Restarting Server In 5 Seconds!
MasterRequestRestart
Your server is out of date and will be shutdown during hibernation or changelevel, whichever comes first.
L 06/09/2017 - 19:02:29: Your server is out of date and will be shutdown during hibernation or changelevel, whichever comes first.
Host state 5 at Fri Jun  9 19:02:30 2017
 -- sv_shutdown hibernating server right now.
L 06/09/2017 - 19:02:30: [META] Loaded 0 plugins (2 already loaded)
L 06/09/2017 - 19:02:30: server_message: "quit"
L 06/09/2017 - 19:02:30: Log file closed
L 06/09/2017 - 19:02:30: server_message: "restart"
Segmentation fault (core dumped)
cat: hlds.17985.pid: No such file or directory
email debug.log to [email protected]
pią, 9 cze 2017, 19:02:30 CEST: Server restart in 10 seconds
pią, 9 cze 2017, 19:02:32 CEST: Server Quit
Eternal loop
Maybe posting your update script?
__________________
ambn is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 06-10-2017 , 03:02   Re: Autoupdate issue
Reply With Quote #7

Quote:
Originally Posted by olokos View Post

with steamcmd way
Code:
-autoupdate -steam_dir /home/csgoserver/csgoserver-cksurf/steamcmd/ -steamcmd_script /home/csgoserver/csgoserver-cksurf/steamcmd/skrypt_aktualizujacy.txt
where skrypt_aktualizujacy.txt contains
Code:
@ShutdownOnFailedCommand 0 //set to 0 if updating multiple servers at once
@NoPromptForPassword 1
login anonymous
force_install_dir /home/csgoserver/serverfiles
app_update 740
quit
my server just goes into restart loop
Remove the .txt from skrypt_aktualizujacy.txt
I don't know if that will actually solve anything but none of my update scripts have .txt

Also remove the first two lines from the script. Again, no idea if it will fix anything. I'm just throwing what works on my servers out here for you to use.
__________________
Phaiz is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 06-10-2017 , 03:23   Re: Autoupdate issue
Reply With Quote #8

i use the same method and it works fine. on each server restart it will check for updates.

ur line:

-steam_dir /home/csgoserver/csgoserver-cksurf/steamcmd/ -steamcmd_script /home/csgoserver/csgoserver-cksurf/steamcmd/skrypt_aktualizujacy.txt

my line:

-autoupdate -steam_dir /home/steamcmd -steamcmd_script /home/steamcmd/update27015.txt

my script:

@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/gameserver/servers/csgo27015
app_update 740
quit

just remove your / after steamcmd and try it again and add -autorestart to the srcds commandline.

Last edited by asdfxD; 06-10-2017 at 03:28.
asdfxD is offline
Divin12
Senior Member
Join Date: Nov 2011
Old 06-10-2017 , 05:12   Re: Autoupdate issue
Reply With Quote #9

PHP Code:
GC Connection established for server version 513instance idx 1
MasterRequestRestart
Your server is out of date 
and will be shutdown during hibernation or changelevelwhichever comes first.
Host state 5 at Sat Jun 10 12:10:58 2017
-- sv_shutdown hibernating server right now.
Shutdown function NET_Shutdown() not in list!!!
File /home/client48/service86/csgo/csgo/pak01_057.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_057.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_000.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_000.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_003.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_003.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_001.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_001.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_048.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_048.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_052.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_052.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_067.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_067.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_080.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_080.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_004.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_004.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_039.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_039.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_055.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_055.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_051.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_051.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_050.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_050.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_043.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_043.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_032.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_032.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_045.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_045.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_054.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_054.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_041.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_041.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_033.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_033.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_042.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_042.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_040.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_040.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_010.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_010.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_006.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_006.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_038.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_038.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_061.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_061.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_005.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_005.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_077.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_077.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_047.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_047.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_079.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_079.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_070.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_070.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_056.vpk was never closed
File 
/home/client48/service86/csgo/csgo/pak01_056.vpk was never closed
Sat Jun 10 12
:10:58 EEST 2017Server restart in 10 seconds 
Is restarting again and again with same message.
__________________
Divin12 is offline
olokos
Member
Join Date: Jun 2016
Old 06-11-2017 , 21:16   Re: Autoupdate issue
Reply With Quote #10

Quote:
Originally Posted by ambn View Post
Maybe posting your update script?
It is
Code:
@ShutdownOnFailedCommand 0 //set to 0 if updating multiple servers at once
@NoPromptForPassword 1
login anonymous
force_install_dir /home/csgoserver/serverfiles
app_update 740
quit
removing first 2 lines in it = segmentation fault
2 first lines staying = segmentation fault.
Quote:
Originally Posted by asdfxD View Post
i use the same method and it works fine. on each server restart it will check for updates.

ur line:

-steam_dir /home/csgoserver/csgoserver-cksurf/steamcmd/ -steamcmd_script /home/csgoserver/csgoserver-cksurf/steamcmd/skrypt_aktualizujacy.txt

my line:

-autoupdate -steam_dir /home/steamcmd -steamcmd_script /home/steamcmd/update27015.txt

my script:

@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/gameserver/servers/csgo27015
app_update 740
quit

just remove your / after steamcmd and try it again and add -autorestart to the srcds commandline.
I just did that and it's still segfaulting.

Last edited by olokos; 06-11-2017 at 21:18.
olokos is offline
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 19:34.


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