TuRz4m / Ark-docker

Docker for ARK: Survival Evolved
168 stars 184 forks source link

Mods do not install with current version of arkamanger #28

Open TheInternetIsReal opened 7 years ago

TheInternetIsReal commented 7 years ago

This docker is stuck to version 1.5 of arkmanager and cannot be updated, per the author's details in another ticket. This is the output of any mod I try to install with this docker arkmanager version:

sudo docker exec ark arkmanager installmod 655581765
Running command 'installmod' for instance 'main'
Downloading mod 655581765 ... Mod 655581765 was not successfully downloaded

I've asked for the ability to manually update ark server tools in another issue. I understand the need for making a docker stable, but anyone who wants to manually update pieces should be able to. I think it's inherently understood that updating or changing things may make the build unstable.

While I love this docker for its ease of use, the hand rails are proving to be more of a pain than what the docker eases for admins.

namlehong commented 7 years ago

I have the same issue, any help?

Oylex commented 6 years ago

I've found a workaround, I subscribe to the mods on Steam and play the game at least once for the mods to download, then I upload them to the mod directory on the server, here are my paths:

Game client mod directory: C:\Program Files (x86)\Steam\SteamApps\common\ARK\ShooterGame\Content\Mods Game server mod directory: /your-volume-path/server/ShooterGame/Content/Mods

shotah commented 6 years ago

Should probably just do a pull request on line 21 and bump the version. https://github.com/TuRz4m/Ark-docker/blob/master/Dockerfile#L21

patricker commented 5 years ago

Here is how to update the arkmanager version by hand, inside the running docker instance:

Connect to a bash shell on your docker image

docker exec -it ark /bin/bash

Navigate to existing ark manager location

cd /home/steam/ark-server-tools

Update it to the latest version from git

git fetch --all git checkout v1.6.42

Reinstall Ark Manager

cd /home/steam/ark-server-tools/tools ./install.sh steam

To return back to your home shell, exit

exit

This will download and install the latest version.

Install the mods:

docker exec ark arkmanager update --update-mods

barttjer commented 5 years ago

I've looked at this problem a while back, forgot the exact details, but basically the current version of arkmanager looks at the wrong location after steamcmd downloaded the mod.

You can simply bypass this by running the following command before you run the installmod command.

docker exec ark ln -s ../Steam/steamapps /home/steam/steamcmd/steamapps

It symlinks the path of steamcmd to the path arkmanager is looking. Then run your installmod command and it should work.