jammsen / docker-sons-of-the-forest-dedicated-server

Docker container to easily provision and manage Sons of the Forest Dedicated Server with Wine
https://hub.docker.com/r/jammsen/sons-of-the-forest-dedicated-server
136 stars 20 forks source link

SteamCMD can't load gameserver files #42

Closed elec2 closed 7 months ago

elec2 commented 7 months ago

Have you read the Important information text above

Current behavior

On startup with the following docker-compose

version: '3.9'
services:
  sons-of-the-forest:
    container_name: sons-of-the-forest
    image: jammsen/sons-of-the-forest-dedicated-server:latest
    restart: unless-stopped
    environment:
      ALWAYS_UPDATE_ON_START: 1

    ports:
      - 8766:8766/udp
      - 27016:27016/udp
      - 9700:9700/udp
    volumes:
      - /docker/sondoftheforest/steamcmd:/steamcmd
      - /docker/sondoftheforest/game:/sonsoftheforest
      - /docker/sondoftheforest/winedata:/winedata

the logview is showing the following:

>>> Starting the gameserver
wine: failed to open "/sonsoftheforest/SonsOfTheForestDS.exe": c0000135
>>> Doing a fresh install of the gameserver
tid(17) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/root/Steam/logs/stderr.txt'
Logging directory: '/root/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1708986792
-- type 'quit' to exit --
Loading Steam API...OK
@sSteamCmdForcePlatformType windows
"@sSteamCmdForcePlatformType" = "windows"
force_install_dir /sonsoftheforest
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
app_update 2465200 validate
 Update state (0x0) : Timed out waiting for update to start, bailing.
Error! App '2465200' state is 0x202 after update job.
quit
>>> Doing an update of the gameserver
tid(41) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/root/Steam/logs/stderr.txt'
Logging directory: '/root/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1708986792
-- type 'quit' to exit --
Loading Steam API...      ,>>> Doing a fresh install of the gameserver
tid(15) burning pthread_key_t == 0 so we never use it
[...]

Desired behavior

SteamCMD should load gameserver files without timeout and the gameserver should start after installation.

Links to screenshots

No response

To Reproduce

Steps to reproduce the behavior:

  1. Run image with my docker-compose
  2. view logs

Software setup

Hardware setup

Additional context

The vhost has full internet access.

jammsen commented 7 months ago

Error! App '2465200' state is 0x202 after update job.

This message means out of space, check for disk-free or quota on your directory/user.

Downloading works just fine:

$:~/development/docker-sons-of-the-forest-dedicated-server$ docker-compose up
[+] Running 7/7
 ✔ sons-of-the-forest-dedicated-server 6 layers [⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                             82.5s
   ✔ 14726c8f7834 Pull complete                                                                                                              7.0s
   ✔ de31072dd8ca Pull complete                                                                                                              1.1s
   ✔ 3c857d002e62 Pull complete                                                                                                             54.5s
   ✔ e3e68e494c0a Pull complete                                                                                                             26.3s
   ✔ 89bc418282e1 Pull complete                                                                                                              7.6s
   ✔ 06478f6f4421 Pull complete                                                                                                              8.1s
[+] Running 2/2
 ✔ Network docker-sons-of-the-forest-dedicated-server_default  Created                                                                       0.2s
 ✔ Container sons-of-the-forest-dedicated-server               Created                                                                       0.4s
Attaching to sons-of-the-forest-dedicated-server
sons-of-the-forest-dedicated-server  | >>> Doing a fresh install of the gameserver
sons-of-the-forest-dedicated-server  | >>> Checking if Wine is set in bashrc
sons-of-the-forest-dedicated-server  | >>> Setting up Wine in bashrc
sons-of-the-forest-dedicated-server  | >>> Setting up WineConfig and waiting 15 seconds
sons-of-the-forest-dedicated-server  | linux32/
sons-of-the-forest-dedicated-server  | linux32/libstdc++.so.6
sons-of-the-forest-dedicated-server  | linux32/steamcmd
sons-of-the-forest-dedicated-server  | steamcmd.sh
sons-of-the-forest-dedicated-server  | steam.sh
sons-of-the-forest-dedicated-server  | Redirecting stderr to '/root/Steam/logs/stderr.txt'
sons-of-the-forest-dedicated-server  | ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
sons-of-the-forest-dedicated-server  | [  0%] Checking for available update...
sons-of-the-forest-dedicated-server  | [  0%] Downloading update (0 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [  0%] Downloading update (1275 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [  1%] Downloading update (3265 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [  3%] Downloading update (6916 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [  7%] Downloading update (10160 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [ 11%] Downloading update (11903 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [ 13%] Downloading update (13681 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [ 15%] Downloading update (16283 of 90172 KB)...
sons-of-the-forest-dedicated-server  | [ 18%] Downloading update (19499 of 90172 KB)...
elec2 commented 7 months ago

Oh ofc 10GB drivespace is a bit small, sorry and thank you for the hint and the container!!!