Sign in to follow this  

How do I force dedicated server to auto-update?

Recommended Posts

MrNaxeros    486

This is basicaly a continuation of Starting a server on friend's physical server thread, but I figured making another one with more specific question would attract more attention.

So here's the issue. I have a dedicated server on a physical server. I don't really have access to it outside of in-game console and the physical server is in friend's place. This means that I have to constantly pester my friend whenever server updates or stops showing up in server browser.

We tried the typical script lines to force the auto-update but they don't work. They were used separately:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit
steamcmd +login anonymous +force_install_dir D:\Servers\DST\ +app_update 343050 validate +quit

Of course, the directories are different since the server doesn't have a Documents folder.

Any idea on what we could do to force the server to auto-update?

Share this post

Link to post
Share on other sites
CarlZalph    3525

If you have a watchdog script running to ensure the server restarts after crashing, then that could work for your startup parameters.

As it stands there's nothing really for automagically updating the bins from steamcmd without using external utilities to manage it.

Share this post

Link to post
Share on other sites
MrNaxeros    486

Watchdog is there, although the server never really crashed, so I can't say if it's working.

Also what do you mean that there isn't a way for Steamcmd to update without external utilities? Does that mean that every admin needs to manualy update their servers? I am confused. :(

I am also running mods on this server. Is it possible that one of them could prevent the server from updating?



Edited by MrNaxeros

Share this post

Link to post
Share on other sites
Daniel86268    383

The mods don't do anything with the update of the server itself. Make sure your steamcmd call is pointing to a correct location of steamcmd.

(aka, make sure that this exists: "c:\steamcmd\steamcmd.exe")

Share this post

Link to post
Share on other sites
MrNaxeros    486

It should be pointing to the right location. Every time the script is launched manualy the server updates without an issue.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this