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.94k stars 272 forks source link

Fatal Error: Steamcmd needs 250MB of free disk space to update #263

Closed MWestenberg closed 3 years ago

MWestenberg commented 3 years ago

Appearently there is no space left in the steamcmd directory.

lloesche commented 3 years ago

How is that related to the container? Just give it more space?! 🤔

Edit: also it'll use 3+ GB in total when downloading the server from Steam and installing. So just provision 10GB or something like that to be sure.

MWestenberg commented 3 years ago

Thank you for this quick response! Appreciate it! I gave the container 10GB so that cannot be the issue. When I check on the container I see 0 space free on /opt. Also I never got the server working with /opt/valheim mounted on my host. It tries to update steamcmd itself and that isn’t working somehow. Any ideas?

2021-03-23T17:15:17.637302100Z Mar 23 17:15:17 /supervisord: valheim-updater [----] Verifying installation... 2021-03-23T17:15:17.637310203Z Mar 23 17:15:17 /supervisord: valheim-updater [ 0%] Downloading update... 2021-03-23T17:15:17.637313128Z Mar 23 17:15:17 /supervisord: valheim-updater [ 0%] !!! Fatal Error: Steamcmd needs 250MB of free disk space to update. 2021-03-23T17:15:17.646118689Z Mar 23 17:15:17 crash_20210323171517_4.dmp[66]: Uploading dump (out-of-process) /tmp/dumps/crash_20210323171517_4.dmp 2021-03-23T17:15:17.647392297Z Mar 23 17:15:17 /supervisord: valheim-updater src/tier0/threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x56cc48f0/0x0xf7785b' 2021-03-23T17:15:17.648999800Z Mar 23 17:15:17 /supervisord: valheim-updater ERROR - Failed to download Valheim server from Steam - retrying later - check your networking and volume access permissions

lloesche commented 3 years ago

Sounds either like a disk space or permission issue. The container itself has no disk-space like a VM would have. Whatever space is free on the host fs can be used by the container unless explicitly restricted. Can you paste your config?

MWestenberg commented 3 years ago

Im am using Docker desktop on a Macbook. So the global settings are set to use 60Gb as diskspace for all docker containers (only 1 available that is valheim) and 10Gb for memory. Config is simple: { "features": { "buildkit": true }, "experimental": false }

MWestenberg commented 3 years ago

Ok i reinstalled the desktop version of Docker and adjusted the settings like above and started the server. Now it is working....I don't understand what happened here.