mschnitzer / ark-survival-ascended-linux-container-image

A docker/podman container that is able to run an ARK: Survival Ascended on a Linux host.
69 stars 13 forks source link

docker-compose up -d rebuilds the entire container #40

Closed thomasmcrowe closed 6 months ago

thomasmcrowe commented 6 months ago

I often run docker-compose up -d because I change the starting parameters often (usually adding and removing mods). About 1 out of every 4 or 5 times instead of just doing a quick "updating settings" it instead rebuilds a whole new docker instances with its only files and server and all. It puts it under /var/snapd instead of /var/lib/docker and I am forced to move over my saved games and ini's. This is pretty annoying and I'd like to figure out why it keeps doing a whole new rebuild. Any logs I can run or something I should check next time I run docker-compose up?

mschnitzer commented 6 months ago

Could you please share your docker-compose.yml file and censor all passwords that you might have placed there?

What distribution are you using?

thomasmcrowe commented 6 months ago

https://pastebin.pl/view/af8678d2

Ubuntu 22.04

On Wed, Jan 3, 2024 at 1:58 AM Manuel Schnitzer @.***> wrote:

Could you please share your docker-compose.yml file and censor all passwords that you might have placed there?

What distribution are you using?

— Reply to this email directly, view it on GitHub https://github.com/mschnitzer/ark-survival-ascended-linux-container-image/issues/40#issuecomment-1874926081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFQOA2HZQDF2ATDX3CZFMLYMT6PZAVCNFSM6AAAAABBKFOEQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUHEZDMMBYGE . You are receiving this because you authored the thread.Message ID: <mschnitzer/ark-survival-ascended-linux-container-image/issues/40/1874926081 @github.com>

mschnitzer commented 6 months ago

So it is an expected behavior of docker-compose that the container rebuilds if you change the docker-compose.yml file, but this does not have any effect on docker volumes where your server files are stored.

I'm actually not sure what you mean by "It puts under /var/snapd". The ASA files are stored in docker volumes and those can be found at /var/lib/docker/volumes. Could you please show me what files are stored at /var/snapd. This is the first time I hear about this.

thomasmcrowe commented 6 months ago

Yes, the original install built the container in /var/lib/docker as expected. However after running docker-compose up -d several times over a week, it didn't do its normal 20 second rebuild, it downloaded the data again and rebuilt a new container and put it under /var/snapd.

It does not recognize the original build and no longer uses those volumes.

On Thu, Jan 4, 2024, 10:37 AM Manuel Schnitzer @.***> wrote:

So it is an expected behavior of docker-compose that the container rebuilds if you change the docker-compose.yml file, but this does not have any effect on docker volumes where your server files are stored.

I'm actually not sure what you mean by "It puts under /var/snapd". The ASA files are stored in docker volumes and those can be found at /var/lib/docker/volumes. Could you please show me what files are stored at /var/snapd. This is the first time I hear about this.

— Reply to this email directly, view it on GitHub https://github.com/mschnitzer/ark-survival-ascended-linux-container-image/issues/40#issuecomment-1877303590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFQOAYYDFRJSV7KM3LPVK3YM3ECFAVCNFSM6AAAAABBKFOEQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGMYDGNJZGA . You are receiving this because you authored the thread.Message ID: <mschnitzer/ark-survival-ascended-linux-container-image/issues/40/1877303590 @github.com>

mschnitzer commented 6 months ago

Could you please show me what files exist in /var/snapd ?

mschnitzer commented 6 months ago

Please reopen if you still need help.