arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

mod updates don't get picked up or applied #1154

Open uricanezu opened 3 years ago

uricanezu commented 3 years ago

arkmanager update --update-mods only applies the mod update to one instance and then says all the others are up to date this is with staging directory enabled or disabled only way to get new version is to reinstall the mod any help ?

uricanezu commented 3 years ago

arkmanager list-instances The following instances are available: @aberration: /etc/arkmanager/instances/aberration.cfg => /home/steam/aberration @extinction: /etc/arkmanager/instances/extinction.cfg => /home/steam/extinction @genesis: /etc/arkmanager/instances/genesis.cfg => /home/steam/genesis @ragnarok: /etc/arkmanager/instances/ragnarok.cfg => /home/steam/ragnarok @scorched: /etc/arkmanager/instances/scorched.cfg => /home/steam/scorched @testserver: /etc/arkmanager/instances/testserver.cfg => /home/steam/testserver @thecenter: /etc/arkmanager/instances/thecenter.cfg => /home/steam/thecenter @theisland: /etc/arkmanager/instances/theisland.cfg => /home/steam/theisland @valguero: /etc/arkmanager/instances/valguero.cfg => /home/steam/valguero

klightspeed commented 3 years ago

Does the output of arkmanager checkmodupdate @all show mod updates being available?

uricanezu commented 3 years ago

I didn't check at the time, next time an update hits I will check beforehand and post back

EineWelt commented 3 years ago

Try to seperate the staging dir per instance. Aberration: /home/steam/staging/ab Extinction: /home/steam/staging/ext etc. worked fine for me. Edit: Then type "arkmanager update --force @ instancename"

quietMichael commented 3 years ago

I have the same problem is there already a solution?

EineWelt commented 3 years ago

I have the same problem is there already a solution?

I dont have a better way, but it works. I had the same problem, you can try to separate the staging folders.

Dont forget to stop all servers. Force a Update.

arkmanager update --force @ all Make sure all instances using another folders.

So now the Problem should be fixed. If not: 1) Stop all ARK servers.

2) Remove installed files, make sure your SavedArks folder is save.

3) Remove update folders.

4) arkmanager update --force @ all.

klightspeed commented 3 years ago

What does the output of arkmanager checkmodupdate @all show when this occurs?

uricanezu commented 3 years ago

ok i solved this problem by doing adding the mods in the instance cfg like this

ark_GameModIds="842913750,1757776400,1260983937,1404697612,924933745,1609138312,731604991,1814953878,1380777369,2269686093"

make sure you don't have any spaces between them as 842913750, 1757776400 i used to use arkmanager enablemod id and that didn't add the mods in the ark_GameModIds but will add an individual line for each mod like arkmod_842913750=game

klightspeed commented 3 years ago

If arkmod_842913750=game doesn't work, then that suggests that either your version of bash does not understand "${!arkmod_@}", or you have arkmod_842913750=disabled somewhere.

quietMichael commented 3 years ago

Hi I have now the command arkmanager checkmodupdate @all Done the output is this: Running command 'checkmodupdate' for instance 'thecenter' All mods are up to date Running command 'checkmodupdate' for instance 'theisland' All mods are up to date Running command 'checkmodupdate' for instance 'scorchedearth' All mods are up to date Running command 'checkmodupdate' for instance 'ragnarok' All mods are up to date Running command 'checkmodupdate' for instance 'genesis' All mods are up to date Running command 'checkmodupdate' for instance 'extinction' All mods are up to date Running command 'checkmodupdate' for instance 'aberration' All mods are up to date in the staging folder everything is up to date only the center server is kept up to date, all others are not updated.

klightspeed commented 3 years ago

How do you have the server directories set up? Do you have one directory per instance, or do you have all of the instances sharing the same directory?

quietMichael commented 3 years ago

How can I understand that? All servers have their own folder. Share a directory but each server is individually separated from each other and all use the same staging folder?

klightspeed commented 3 years ago

Is each server configured to have a different arkserverroot in their instance configs?

quietMichael commented 3 years ago

Do you mean this?

arkserverroot="/home//ARK-Server-4-Aberration" arkserverroot="/home//ARK-Server-5-Extinction"

quietMichael commented 3 years ago

@klightspeed what do you mean?