patrix87 / PowerShellGSM

A Comprehensive PowerShell Tool for Simple Automated Game Server Management.
https://github.com/patrix87/PowerShellGSM/
MIT License
111 stars 19 forks source link

Updating. #78

Open Haidies-AU opened 2 weeks ago

Haidies-AU commented 2 weeks ago

I use this system to run an Ark Survival: Ascended cluster. Every time there is a large update, the system seems to stop functioning. After the first detection of the update the log file will end with "Updating Regular Build." Each successive check results in "PS>TerminatingError(): "System error.""

I have to go and manually delete the lock file and update each server one by one.

Is there a way to use a download cache? Update the first map, then copy the install across to the rest. Or even just use a single install and just run multiple instances?

patrix87 commented 1 week ago

You can use the same server folder for multiple instances.

Replace the value of $Name by a plain text folder name for the following configuration options:

Server Installation Path

Path = ".\servers\$Name"

Server configuration folder

ConfigFolder = ".\servers\$Name\ShooterGame\Saved\Config\WindowsServer"

Server Executable

Exec = ".\servers\$Name\ShooterGame\Binaries\Win64\ArkAscendedServer.exe"

Disable backups and auto-update for all but the main instance. Set UsePID to $false in the main instance in order for the launcher to close all the instances at once before an update.

Haidies-AU commented 1 week ago

Will all servers still receive their server shutdown warnings as usual? Or would only the main server get those?

patrix87 commented 1 week ago

No sadly only the main instance will get the warning.