Didstopia / 7dtd-server

Provides a dedicated linux server for 7 Days to Die running inside a Docker container.
MIT License
108 stars 45 forks source link

ERROR! Timed out waiting for AppInfo update #24

Closed jhuber-de closed 5 years ago

jhuber-de commented 5 years ago

I'm having issues with starting this container. It seems as that Steam is unable to download the server files.

xxxx@xxxx:~/serverDocker$ docker-compose logs 7dtd
Attaching to 7dtd
7dtd         | Using branch arguments: public
7dtd         | Installing/updating 7 Days to Die.. (this might take a while, be patient)
7dtd         | Redirecting stderr to '/root/Steam/logs/stderr.txt'
7dtd         | [  0%] Checking for available updates...
7dtd         | [----] Verifying installation...
7dtd         | [  0%] Downloading update...
7dtd         | [  0%] Checking for available updates...
7dtd         | [----] Download complete.
7dtd         | [----] Extracting package...
7dtd         | [----] Extracting package...
7dtd         | [----] Extracting package...
7dtd         | [----] Extracting package...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Installing update...
7dtd         | [----] Cleaning up...
7dtd         | [----] Update complete, launching Steamcmd...
7dtd         | Redirecting stderr to '/root/Steam/logs/stderr.txt'
7dtd         | [  0%] Checking for available updates...
7dtd         | [----] Verifying installation...
7dtd         | Steam Console Client (c) Valve Corporation
7dtd         | -- type 'quit' to exit --
7dtd         | Loading Steam API...OK.
7dtd         | @sSteamCmdForcePlatformType linux
7dtd         | "@sSteamCmdForcePlatformType" = "linux"
7dtd         | 
7dtd         | Connecting anonymously to Steam Public...Logged in OK
7dtd         | Waiting for user info...OK
7dtd         | force_install_dir /steamcmd/7dtd
7dtd         | app_update 294420 public validate
7dtd         | ERROR! Timed out waiting for AppInfo update.
7dtd         | quit
7dtd         | CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
7dtd         | CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded.
7dtd         | Starting scheduled task manager..
7dtd         | ERROR: Default server configuration file not found, are you sure the server is up to date?

I run the container using the following entry in my docker-compose file:

    7dtd:
      container_name: 7dtd
      image: didstopia/7dtd-server:latest
      restart: unless-stopped
      ports:
        - "26900:26900"
        - "26901:26901"
        - "26902:26902"
      volumes:
        - ./data:/steamcmd/7dtd
        - ./config:/root/.local/share/7DaysToDie

As I'm quit new to docker setups there might be just a dumb mistake on my part but I'm unable to figure it out. So please any help is appreciated and I hope it is ok to open an issue for this

struppinet commented 5 years ago

Same config, same problem. I tried many things but it started doing again after I execed my way into the container and deleted the /root/.steam and /root/Steam folders. After that the install/update worked again. (This was save as the savegame is in the /root/.local folder)

jhuber-de commented 5 years ago

Thank you! That fixed it. I also removed the "" around the ports and added /udp behind each one. The server tool like 10-20 minutes to completely start but than it worked fine.