Jump to content

Linux Server Auto Update Mods


tuvok

Recommended Posts

Hello,

i have a Problem .. i have normal update my Server to 257.X and in the normal situation they update some mods what i have set under GameUserSettings.ini in ActiveMods=

but since few days i can not get updates the server say this

Waiting for license info...OK
Downloading item 776464863 ...
Success. Downloaded item 776464863 to "/home/steam/Steam/steamapps/workshop/content/346110/776464863" (2086190917 bytes) Downloading item 680481868 ...
Success. Downloaded item 680481868 to "/home/steam/Steam/steamapps/workshop/content/346110/680481868" (97538939 bytes) Downloading item 731604991 ...
Success. Downloaded item 731604991 to "/home/steam/Steam/steamapps/workshop/content/346110/731604991" (50110522 bytes) Downloading item 719928795 ...
Success. Downloaded item 719928795 to "/home/steam/Steam/steamapps/workshop/content/346110/719928795" (23826737 bytes) Downloading item 802922362 ...

But they make the MODS not in the arkserver/Contents/Mods no Updates ...  i have install the server new and it will not run ..

can anybody help me?

thx

 

Link to post
Share on other sites

Hey, i have a workaround

1. cd /ARKHOME/Engine/Binaries/ThirdParty/SteamCMD/Linux/
1b. mv steamapps/ steamapps.old (when you have this directory )
2. cp -R /home/YOURUSER/Steam/steamapps/ .
3. then start the Server...
4. Show here  -> cd /ARKVERZEICHNIS/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop/content/346110
if the date change or something changes
5. when the server is with ps x finish amd have no steamcmd commands in the prozess tan
6. check if the mods are on the actualy date ls - lah /home/EUERUSER/ARKVERZEICHNIS/ShooterGame/Content/Mods/

i have test it on one server and all is good

sorry for my bad English

Link to post
Share on other sites

Its still not working.

Redirecting stderr to '/home/27148/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
 
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
Downloading item 693416678 ...
Success. Downloaded item 693416678 to "/home/27148/Steam/steamapps/workshop/content/346110/693416678" (588630 bytes) Downloading item 647457163 ...
Success. Downloaded item 647457163 to "/home/27148/Steam/steamapps/workshop/content/346110/647457163" (490831 bytes) Downloading item 539464369 ...
bash ../../../Engine/Binaries/ThirdParty/SteamCMD/Linux/steamcmd.sh +login anonymous +workshop_download_item 346110 693416678 +workshop_download_item 346110 647457163 +workshop_download_item 346110 539464369 +quit

sh -c ./ShooterGameServer TheIsland?listen?GameModIds=693416678,647457163,539464369?Port=27148?QueryPort=28148?RCONEnabled=True?RCONPort=29148?ServerAdminPassword=XXX?MaxPlayers=20?MultiHome=XXX?ActiveMods=693416678,647457163,539464369 -server -log -automanagedmods

I think the only problem is that the steamcmd.sh command is missing the force_install_dir parameter.

Its still downloading mods to /home folder instead of server/Content/Mods and if you upload mods manually and leave -automanagedmods, it will delete all .mod files from /Content/Mods

 

Please Devs, take a look at this.

Link to post
Share on other sites

I'm not 100% sure, but at least on my Server it looks like Steamcmd silently changed its working dir from "<PathToSteamcmd>/steamapps" to "$HOME/Steam/steamapps". This was causing my own Scripts to think all mods are still uptodate, because it was still comparing with old workdirectory.

If my timestamps are correct this happend on 5th of May.

My Solution was a Symlink ($Home should be the home of the User, which is running the Steamcmd-Updates):
 

rm -rf <PathToSteamcmd>/steamapps/workshop && ln -s $HOME/Steam/steamapps/workshop <PathToSteamcmd>/steamapps/workshop

 

Link to post
Share on other sites

Been having the same issue too, duped the ticket (Didnt see this post)

https://survivetheark.com/index.php?/forums/topic/188269-linux-server-automanagedmods-doesnt-update-mods/

Can confirm that symlinking Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop to where steamcmd is actually downloading the mods works

[ark@games 1]# ls -l Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
total 0
lrwxrwxrwx 1 ogp_agent ogp_agent 40 May 16 09:58 workshop -> /home/ogp_agent/Steam/steamapps/workshop

In theory, would probably be better to symlink Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps to the steamcmd location (In my case /home/ogp_agent/Steam/steamapps)

EDIT: Updated my symlink to be steamapps instead of workshop, and seems to work OK

Link to post
Share on other sites
On 2017-5-16 at 1:10 AM, PrimusNZ said:

Been having the same issue too, duped the ticket (Didnt see this post)

https://survivetheark.com/index.php?/forums/topic/188269-linux-server-automanagedmods-doesnt-update-mods/

Can confirm that symlinking Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop to where steamcmd is actually downloading the mods works


[ark@games 1]# ls -l Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
total 0
lrwxrwxrwx 1 ogp_agent ogp_agent 40 May 16 09:58 workshop -> /home/ogp_agent/Steam/steamapps/workshop

In theory, would probably be better to symlink Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps to the steamcmd location (In my case /home/ogp_agent/Steam/steamapps)

EDIT: Updated my symlink to be steamapps instead of workshop, and seems to work OK

Jesus! Didn't read your post edition.

Now is working for me! The mods are automatically copied to the 'ShooterGame/Content/Mods'.

 

Love for you. Will be this solution temporal? Definitive?

Thank you @PrimusNZ

Link to post
Share on other sites

Any update on this?

My Linux servers are still not automatically updating mods

Waiting for license info...OK
Downloading item 680481868 ...
Success. Downloaded item 680481868 to "/home/steam/Steam/steamapps/workshop/content/346110/680481868" (97446297 bytes) Downloading item 845855498 ...
Success. Downloaded item 845855498 to "/home/steam/Steam/steamapps/workshop/content/346110/845855498" (117922555 bytes) Downloading item 554678442 ...
Success. Downloaded item 554678442 to "/home/steam/Steam/steamapps/workshop/content/346110/554678442" (25667505 bytes) Downloading item 566887000 ...
Success. Downloaded item 566887000 to "/home/steam/Steam/steamapps/workshop/content/346110/566887000" (3230698 bytes) Downloading item 557147187 ...
Success. Downloaded item 557147187 to "/home/steam/Steam/steamapps/workshop/content/346110/557147187" (1569479 bytes) Downloading item 731604991 ...
Success. Downloaded item 731604991 to "/home/steam/Steam/steamapps/workshop/content/346110/731604991" (44595616 bytes) Downloading item 725398419 ...
Success. Downloaded item 725398419 to "/home/steam/Steam/steamapps/workshop/content/346110/725398419" (20177390 bytes) Downloading item 566885854 ...
Success. Downloaded item 566885854 to "/home/steam/Steam/steamapps/workshop/content/346110/566885854" (4564857 bytes) Downloading item 813463849 ...
Success. Downloaded item 813463849 to "/home/steam/Steam/steamapps/workshop/content/346110/813463849" (219938087 bytes) Downloading item 877596905 ...
Success. Downloaded item 877596905 to "/home/steam/Steam/steamapps/workshop/content/346110/877596905" (290326 bytes) Downloading item 677673057 ...
Success. Downloaded item 677673057 to "/home/steam/Steam/steamapps/workshop/content/346110/677673057" (4404834 bytes)
 ls -al /home/steam/Steam/steamapps/workshop/content/346110/
total 8
drwxrwxr-x 2 steam steam 4096 May 23 18:39 .
drwxrwxr-x 3 steam steam 4096 May  5 20:43 ..

 

Link to post
Share on other sites
10 minutes ago, ONEadmin said:

ARK Server Tools is your friend for Linux https://github.com/FezVrasta/ark-server-tools
 

Yeah, no. I am not going to install third party software on my server adding another layer of complexity and requiring me to reconfigure all my existing servers. Having to reconfigure everything to get my clustered servers running does not seem all that appealing.

By the looks of it, the server tools also uses steamcmd which seems broken at the moment.

For now I'll just FTP the mods to my server like some sort of savage. 

 

Link to post
Share on other sites
On 16.5.2017 at 1:10 AM, PrimusNZ said:

Been having the same issue too, duped the ticket (Didnt see this post)

https://survivetheark.com/index.php?/forums/topic/188269-linux-server-automanagedmods-doesnt-update-mods/

Can confirm that symlinking Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop to where steamcmd is actually downloading the mods works


[ark@games 1]# ls -l Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
total 0
lrwxrwxrwx 1 ogp_agent ogp_agent 40 May 16 09:58 workshop -> /home/ogp_agent/Steam/steamapps/workshop

In theory, would probably be better to symlink Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps to the steamcmd location (In my case /home/ogp_agent/Steam/steamapps)

EDIT: Updated my symlink to be steamapps instead of workshop, and seems to work OK

For my Linux server I can confirm that the solution with the symlink pointing to ....\steamapps is working as well! Mods are updating once server is starting up.

Thanks PrimusNZ!

 

On 23.5.2017 at 8:19 PM, Plofkat said:

Yeah, no. I am not going to install third party software on my server adding another layer of complexity and requiring me to reconfigure all my existing servers. Having to reconfigure everything to get my clustered servers running does not seem all that appealing.

By the looks of it, the server tools also uses steamcmd which seems broken at the moment.

For now I'll just FTP the mods to my server like some sort of savage. 

 

@Plofkat

I understand if you don't want to install third party apps, but adding symlinks is neither a thirdparty tool nor a complex thing to do for a server admin. Maybe give it a try :)

Link to post
Share on other sites
  • 1 month later...
On 5/23/2017 at 11:19 AM, Plofkat said:

Yeah, no. I am not going to install third party software on my server adding another layer of complexity and requiring me to reconfigure all my existing servers. Having to reconfigure everything to get my clustered servers running does not seem all that appealing.

By the looks of it, the server tools also uses steamcmd which seems broken at the moment.

For now I'll just FTP the mods to my server like some sort of savage. 

 

So you're trying to re-invent the wheel.  Good luck with that.    Wouldn't your custom script be a 3rd party app by definition?

While you manually uploading all your mod updates through FTP, we will be doing an "arkmanger update --update-mods @all" and be done updating not only any pending ark updates but all 3 clustered servers and mods in 2 to 3 minutes.  

Link to post
Share on other sites
  • 2 weeks later...
On 7/3/2017 at 9:59 AM, Morggin said:

So you're trying to re-invent the wheel.  Good luck with that.    Wouldn't your custom script be a 3rd party app by definition?

While you manually uploading all your mod updates through FTP, we will be doing an "arkmanger update --update-mods @all" and be done updating not only any pending ark updates but all 3 clustered servers and mods in 2 to 3 minutes.  

How easy is this to set up for an inexperienced linux user? just need an "its easy" or "its not that simple" for now ... then ill google

Link to post
Share on other sites
  • 3 weeks later...
On 5/16/2017 at 1:10 AM, PrimusNZ said:

Been having the same issue too, duped the ticket (Didnt see this post)

https://survivetheark.com/index.php?/forums/topic/188269-linux-server-automanagedmods-doesnt-update-mods/

Can confirm that symlinking Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop to where steamcmd is actually downloading the mods works


[ark@games 1]# ls -l Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
total 0
lrwxrwxrwx 1 ogp_agent ogp_agent 40 May 16 09:58 workshop -> /home/ogp_agent/Steam/steamapps/workshop

In theory, would probably be better to symlink Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps to the steamcmd location (In my case /home/ogp_agent/Steam/steamapps)

EDIT: Updated my symlink to be steamapps instead of workshop, and seems to work OK

Thank you, thank you, thank you.

I've been trying to figure this out for 2 days now and there are many many many pieces of advice about mods on ARK servers, but a lot of it is outdated, but it takes a while to figure that out. I was completely stumped that when I thought I had everything correct, I still got errors that my mod versions didn't match the server version.

This needs to be a sticky in this forum until things get fixed.

Link to post
Share on other sites
  • 5 months later...

Same issue, fixed with

 rm -rf /home/ogp_agent/OGP_User_Files/18/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps

mkdir /home/ogp_agent/OGP_User_Files/18/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps

ln -s /home/ogp_agent/Steam/steamapps/* /home/ogp_agent/OGP_User_Files/18/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/

now downloads mods.

Link to post
Share on other sites
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...