lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.92k stars 269 forks source link

Failed to download Valheim server from Steam #566

Closed DaleCavender closed 1 year ago

DaleCavender commented 1 year ago

I'm not sure if it's relevant, but I'm trying run this container in podman, and it is giving the following message: valheim-updater ERROR - Failed to download Valheim server from Steam - retrying later - check your networking and volume access permissions image I'm not all that familiar with podman or docker, so I apologize if I messed something up. Also, ENV variables from PATH to HOME seem to have been automatically added by podman.

DaleCavender commented 1 year ago

I was able to resolve my issue. It seems to have been a couple of different issues. First, I had the volumes pointing to directories that were owned by root, which caused some issues. Second, when running through cockpit-podman, podman seemed to be running it as non-root, which doesn't allow it to connect to outside networks. Third, it's trying to run as what cockpit-podman calls "System" which seems to be breaking things.

My solution was to create the correct directory structure, then if I just run the command "podman run"(i.e. not through the cockpit-podman webgui) with all of my options and ENV variables, it works correctly.

lloesche commented 1 year ago

@DaleCavender glad you were able to figure it out. Consider contributing an update to the README so others can learn from your experience.