MitchTalmadge / AMP-dockerized

CubeCoders AMP in a Docker Image. Easily create game servers for games like Minecraft, GMod, TF2, Factorio, and StarBound!
https://hub.docker.com/r/mitchtalmadge/amp-dockerized
Other
89 stars 21 forks source link

No Persistent Data #158

Closed theRealBassist closed 1 year ago

theRealBassist commented 1 year ago

Hello!

I am spinning up a new instance of AMP after refreshing my server, and I can't get it to generate any persistent data. Specifically, I have the following volume information in my docker-compose.yml, but the ONLY file that gets generated is .ampdata/instances/AMPCache.2440.zip. No other directories, no game files, no instance data, nothing. I have no idea what's going on as the permissions seem to be fine. It can generate that file absolutely no problem, but no other files are ever generated.

volumes:
      - ${MOUNT_DIR}/ampinstmgr/ampdata:/home/amp/.ampdata

I have no idea what to troubleshoot here as it just seems like AMP is putting the files somewhere else, but i have no idea where they are going. Whenever the container restarts, it's as if it is a completely new install.

MitchTalmadge commented 1 year ago

What do your logs say when you run the container? Maybe it is erroring out before creating the game directories.

theRealBassist commented 1 year ago

@MitchTalmadge Apologies for the extreme delay. I was moving furniture all weekend.

The logs contained no logs relevant to directories. It seemed to think it had created the files correctly.

I ended up reinstalling AMP as a non-dockerized solution in an LXC and that has solved the issue. I just had no way to troubleshoot what was going on here. Apologies for not being able to assist your own troubleshooting further. However, if you have anything you would like me to look into, I can always spin up another container.

MitchTalmadge commented 1 year ago

@theRealBassist No worries! If someone else has the same problem maybe we can debug this further. I'll close it for now :)