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
134 stars 19 forks source link

Can't start the gameserver (wine: '/winedata/WINE64' is not owned by you) #45

Closed dibowz closed 2 months ago

dibowz commented 4 months ago

Have you read the Important information text above

Current behavior

My docker log stated that it might failed to run the dedicated server because it wasn't the owner of winedata/WINE64 and continue on endless looping of updating the game via steamcmd. Here's a snippet of the log:

2024-03-21T07:39:09.365558052Z Loading Steam API...OK
2024-03-21T07:39:09.365590279Z @sSteamCmdForcePlatformType windows
2024-03-21T07:39:09.365594356Z "@sSteamCmdForcePlatformType" = "windows"
2024-03-21T07:39:09.390924757Z force_install_dir /sonsoftheforest
2024-03-21T07:39:09.417013602Z 
2024-03-21T07:39:12.349805987Z Connecting anonymously to Steam Public...OK
2024-03-21T07:39:12.349827765Z Waiting for client config...OK
2024-03-21T07:39:15.459188282Z Waiting for user info...OK
2024-03-21T07:39:15.459229929Z app_update 2465200 validate
2024-03-21T07:39:26.142619548Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:39:26.142645026Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:39:26.142649671Z  Update state (0x5) verifying install, progress: 16.80 (562227313 / 3346478848)
2024-03-21T07:39:26.142653310Z  Update state (0x5) verifying install, progress: 40.19 (1344992728 / 3346478848)
2024-03-21T07:39:26.142656837Z  Update state (0x5) verifying install, progress: 62.80 (2101724404 / 3346478848)
2024-03-21T07:39:26.142660243Z  Update state (0x5) verifying install, progress: 87.06 (2913598851 / 3346478848)
2024-03-21T07:39:26.142663695Z Success! App '2465200' fully installed.
2024-03-21T07:39:26.142667103Z quit
2024-03-21T07:39:26.869934193Z >>> Starting the gameserver
2024-03-21T07:39:26.869989207Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:39:26.883744058Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:39:27.624121080Z >>> Doing an update of the gameserver
2024-03-21T07:39:29.225807361Z tid(12) burning pthread_key_t == 0 so we never use it
2024-03-21T07:39:29.225824080Z WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
2024-03-21T07:39:29.225827800Z Redirecting stderr to '/root/Steam/logs/stderr.txt'
2024-03-21T07:39:29.225831010Z Logging directory: '/root/Steam/logs'
2024-03-21T07:39:29.225833895Z minidumps folder is set to /tmp/dumps
2024-03-21T07:39:29.225836730Z [  0%] Checking for available updates...
2024-03-21T07:39:29.225847748Z [----] Verifying installation...
2024-03-21T07:39:29.225850867Z UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
2024-03-21T07:39:29.225853811Z -- type 'quit' to exit --
2024-03-21T07:39:29.446973547Z Loading Steam API...OK
2024-03-21T07:39:29.446992669Z @sSteamCmdForcePlatformType windows
2024-03-21T07:39:29.446996570Z "@sSteamCmdForcePlatformType" = "windows"
2024-03-21T07:39:29.472323050Z force_install_dir /sonsoftheforest
2024-03-21T07:39:29.498780196Z 
2024-03-21T07:39:32.129047891Z Connecting anonymously to Steam Public...OK
2024-03-21T07:39:32.129097288Z Waiting for client config...OK
2024-03-21T07:39:35.044837474Z Waiting for user info...OK
2024-03-21T07:39:35.044865449Z app_update 2465200 validate
2024-03-21T07:39:45.323406272Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:39:45.323441594Z  Update state (0x5) verifying install, progress: 0.13 (4269795 / 3346478848)
2024-03-21T07:39:45.323448357Z  Update state (0x5) verifying install, progress: 24.21 (810115317 / 3346478848)
2024-03-21T07:39:45.323454111Z  Update state (0x5) verifying install, progress: 47.60 (1592975036 / 3346478848)
2024-03-21T07:39:45.323459483Z  Update state (0x5) verifying install, progress: 71.63 (2397055499 / 3346478848)
2024-03-21T07:39:45.323464726Z  Update state (0x5) verifying install, progress: 96.64 (3233907139 / 3346478848)
2024-03-21T07:39:45.323470088Z Success! App '2465200' fully installed.
2024-03-21T07:39:45.323475326Z quit
2024-03-21T07:39:46.014552495Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:39:46.015396440Z >>> Starting the gameserver
2024-03-21T07:39:46.027644316Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:39:46.722155891Z >>> Doing an update of the gameserver
2024-03-21T07:39:47.575333216Z tid(12) burning pthread_key_t == 0 so we never use it
2024-03-21T07:39:47.575349691Z WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
2024-03-21T07:39:47.575353349Z Redirecting stderr to '/root/Steam/logs/stderr.txt'
2024-03-21T07:39:47.575368769Z Logging directory: '/root/Steam/logs'
2024-03-21T07:39:47.575371608Z minidumps folder is set to /tmp/dumps
2024-03-21T07:39:47.575374439Z [  0%] Checking for available updates...
2024-03-21T07:39:47.575391305Z [----] Verifying installation...
2024-03-21T07:39:47.575394234Z UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
2024-03-21T07:39:47.575397239Z -- type 'quit' to exit --
2024-03-21T07:39:47.794731158Z Loading Steam API...OK
2024-03-21T07:39:47.794753038Z @sSteamCmdForcePlatformType windows
2024-03-21T07:39:47.794767807Z "@sSteamCmdForcePlatformType" = "windows"
2024-03-21T07:39:47.820070139Z force_install_dir /sonsoftheforest
2024-03-21T07:39:47.846083768Z 
2024-03-21T07:39:50.731426102Z Connecting anonymously to Steam Public...OK
2024-03-21T07:39:50.731480204Z Waiting for client config...OK
2024-03-21T07:39:54.317963738Z Waiting for user info...OK
2024-03-21T07:39:54.318019699Z app_update 2465200 validate
2024-03-21T07:40:14.699579550Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699631861Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699642451Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699650558Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699657998Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699665909Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699673382Z  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
2024-03-21T07:40:14.699680927Z  Update state (0x5) verifying install, progress: 19.77 (661687449 / 3346478848)
2024-03-21T07:40:14.699688469Z  Update state (0x5) verifying install, progress: 43.34 (1450205680 / 3346478848)
2024-03-21T07:40:14.699696053Z  Update state (0x5) verifying install, progress: 66.93 (2239855979 / 3346478848)
2024-03-21T07:40:14.699703582Z  Update state (0x5) verifying install, progress: 91.94 (3076763155 / 3346478848)
2024-03-21T07:40:14.699711181Z Success! App '2465200' fully installed.
2024-03-21T07:40:14.699718604Z quit
2024-03-21T07:40:15.396234742Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:40:15.396800965Z >>> Starting the gameserver
2024-03-21T07:40:15.408940431Z wine: '/winedata/WINE64' is not owned by you
2024-03-21T07:40:16.104502442Z >>> Doing an update of the gameserver
2024-03-21T07:40:17.251157708Z tid(12) burning pthread_key_t == 0 so we never use it
2024-03-21T07:40:17.251185592Z WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
2024-03-21T07:40:17.251189138Z Redirecting stderr to '/root/Steam/logs/stderr.txt'
2024-03-21T07:40:17.251192019Z Logging directory: '/root/Steam/logs'
2024-03-21T07:40:17.251194791Z minidumps folder is set to /tmp/dumps
2024-03-21T07:40:17.251197613Z [  0%] Checking for available updates...
2024-03-21T07:40:17.251200391Z [----] Verifying installation...
2024-03-21T07:40:17.251203163Z UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
2024-03-21T07:40:17.251206005Z -- type 'quit' to exit --
2024-03-21T07:40:17.473846985Z Loading Steam API...OK
2024-03-21T07:40:17.473874419Z @sSteamCmdForcePlatformType windows
2024-03-21T07:40:17.473878681Z "@sSteamCmdForcePlatformType" = "windows"
2024-03-21T07:40:17.498998846Z force_install_dir /sonsoftheforest
2024-03-21T07:40:17.526201572Z 

Desired behavior

  1. It should not constantly updating the game/steamcmd
  2. Wine should be running the dedicated server .exe
  3. How do I know if my server is running normally?

Links to screenshots

No response

To Reproduce

Steps to reproduce the behavior:

  1. Fresh install via docker compose, either from CasaOS installation page or Portainer
    name: sonsoftheforest
    services:
    sons-of-the-forest-dedicated-server:
    cpu_shares: 90
    command: []
    container_name: sons-of-the-forest-dedicated-server
    deploy:
      resources:
        limits:
          memory: 15868M
    environment:
      - ALWAYS_UPDATE_ON_START=1
    image: jammsen/sons-of-the-forest-dedicated-server:latest
    labels:
      icon: https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/apps/1326470/bd28fe592b339cff5a3eef743f31e3166c984c68.jpg
    ports:
      - target: 8766
        published: "8766"
        protocol: udp
      - target: 27016
        published: "27016"
        protocol: udp
      - target: 9700
        published: "9700"
        protocol: udp
    restart: unless-stopped
    volumes:
      - type: bind
        source: /mnt/ntfs4/SERVER/sonsoftheforest/steamcmd
        target: /steamcmd
      - type: bind
        source: /mnt/ntfs4/SERVER/sonsoftheforest/game
        target: /sonsoftheforest
      - type: bind
        source: /mnt/ntfs4/SERVER/sonsoftheforest/winedata
        target: /winedata
    devices: []
    cap_add: []
    network_mode: bridge
    privileged: false
    hostname: sons-of-the-forest-dedicated-server
    x-casaos:
    author: self
    category: self
    hostname: ""
    icon: https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/apps/1326470/bd28fe592b339cff5a3eef743f31e3166c984c68.jpg
    index: /
    port_map: ""
    scheme: http
    store_app_id: sons-of-the-forest-dedicated-server
    title:
    custom: Sons of The Forest Dedicated Server

Software setup

Hardware setup

Additional context

No response

gitzec commented 4 months ago

Please share your /etc/fstab.

jammsen commented 4 months ago

Wjats your setup? Docker Rootful or Rootless? What user? How dio you call it? What does a "ls -lauR" show on which users die Files are?

dibowz commented 4 months ago

Hi @gitzec and @jammsen, thank you for your prompt reply.

Looks like it's mounting issue. I decided to move the directory from mounted to home, and it worked.

I have another issue, should I create a new issue or can I continue in here?

My issue is from this log looks like I can't make the port forwarding work. I already set up my router to open the port to my local machine's IP address.

Here's the snippet of the log:

2024-03-21T12:59:01.233072926Z 
2024-03-21T12:59:01.233346529Z Setting up stack trace logging...
2024-03-21T12:59:01.233353925Z UnityEngine.Logger:Log(LogType, Object)
2024-03-21T12:59:01.233356936Z UnityEngine.Debug:Log(Object)
2024-03-21T12:59:01.233362121Z Endnight.Utilities.Dedicated.HeadlessLoggingManager:Hook()
2024-03-21T12:59:01.233365438Z 
2024-03-21T12:59:01.247346787Z #DSL [EnvironmentArgs] ...
2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  2024-03-21T12:59:01.247368508Z  -userdatapath=/sonsoftheforest/userdata
2024-03-21T12:59:01.249259545Z #DSL User data path is overriden to: Z:\sonsoftheforest\userdata
2024-03-21T12:59:01.271840335Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C1880, 000000000010E600, 000000000010E5A0
2024-03-21T12:59:01.271861988Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C1880, 000000000010E600, 000000000010E5A0
2024-03-21T12:59:01.271909408Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C1880, 000000000010E600, 000000000010E5A0
2024-03-21T12:59:01.304795613Z ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
2024-03-21T12:59:01.346472625Z UnloadTime: 0.835600 ms
2024-03-21T12:59:01.418170480Z ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
2024-03-21T12:59:01.418192094Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2024-03-21T12:59:01.418197326Z ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2024-03-21T12:59:01.418200436Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2024-03-21T12:59:01.418203307Z ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2024-03-21T12:59:01.418206142Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2024-03-21T12:59:01.418208995Z ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
2024-03-21T12:59:01.418211827Z ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
2024-03-21T12:59:01.418479427Z ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
2024-03-21T12:59:01.418488718Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2024-03-21T12:59:01.418491939Z ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2024-03-21T12:59:01.418494785Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2024-03-21T12:59:01.418497692Z ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2024-03-21T12:59:01.418500545Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2024-03-21T12:59:01.419217519Z ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
2024-03-21T12:59:01.419231295Z ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
2024-03-21T12:59:01.429512631Z 0194:fixme:ver:GetCurrentPackageId (00000000523EFE10 0000000000000000): stub
2024-03-21T12:59:05.499567473Z 0114:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 11.0.1, 256 bits)").
2024-03-21T12:59:05.782623538Z 0114:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000053DED7D0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010EA60, modes 0000000000000000 partial stub!
2024-03-21T12:59:05.782720616Z 0114:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000053DED7D0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010EA60, modes 00007FA550000010 partial stub!
2024-03-21T12:59:05.783307428Z 0114:fixme:system:QueryDisplayConfig (00000002 000000000010EA60 00007FA550000010 000000000010EA68 00007FA550000070 0000000000000000): semi-stub
2024-03-21T12:59:05.795186635Z 0114:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 000000000266A090, 10, 0, (null), 3, 3, 0000000000000000, 0
2024-03-21T12:59:05.795207326Z 0114:fixme:wbemprox:client_security_Release 000000006E7A0E80
2024-03-21T12:59:05.795210969Z 0114:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
2024-03-21T12:59:05.795813911Z 0114:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
2024-03-21T12:59:09.353623303Z #DSL [Self-Tests] Running self tests...
2024-03-21T12:59:09.354620577Z #DSL [Self-Tests] [AppId] App ID is correct.
2024-03-21T12:59:09.354911228Z #DSL [Self-Tests] [Settings] Validating game settings file format...
2024-03-21T12:59:09.355163419Z #DSL [Self-Tests] [Settings] Game settings file is valid.
2024-03-21T12:59:09.355226316Z #DSL [Self-Tests] [Config] Validating server config file and command line arguments...
2024-03-21T12:59:09.359359765Z #DSL Server configuration is valid. More... 
2024-03-21T12:59:09.359411932Z {
2024-03-21T12:59:09.359425144Z   "IpAddress": "0.0.0.0",
2024-03-21T12:59:09.359437086Z   "GamePort": 8766,
2024-03-21T12:59:09.359448303Z   "QueryPort": 27016,
2024-03-21T12:59:09.359459873Z   "BlobSyncPort": 9700,
2024-03-21T12:59:09.359471160Z   "ServerName": "jammsen-docker-generated-11872",
2024-03-21T12:59:09.359482652Z   "MaxPlayers": 8,
2024-03-21T12:59:09.359493466Z   "Password": "",
2024-03-21T12:59:09.359504366Z   "LanOnly": false,
2024-03-21T12:59:09.359515201Z   "SaveSlot": 1,
2024-03-21T12:59:09.359525838Z   "SaveMode": "Continue",
2024-03-21T12:59:09.359536677Z   "GameMode": "Normal",
2024-03-21T12:59:09.359547635Z   "SaveInterval": 600,
2024-03-21T12:59:09.359558500Z   "IdleDayCycleSpeed": 0.0,
2024-03-21T12:59:09.359569494Z   "IdleTargetFramerate": 5,
2024-03-21T12:59:09.359580416Z   "ActiveTargetFramerate": 60,
2024-03-21T12:59:09.359591137Z   "LogFilesEnabled": false,
2024-03-21T12:59:09.359602086Z   "TimestampLogFilenames": true,
2024-03-21T12:59:09.359612928Z   "TimestampLogEntries": true,
2024-03-21T12:59:09.359624030Z   "SkipNetworkAccessibilityTest": false,
2024-03-21T12:59:09.359635202Z   "GameSettings": {},
2024-03-21T12:59:09.359645989Z   "CustomGameModeSettings": {}
2024-03-21T12:59:09.359656825Z }
2024-03-21T12:59:09.359667512Z #DSL [Self-Tests] [Config] Dedicated Server configuration file is valid.
2024-03-21T12:59:09.359778379Z #DSL [Self-Tests] [Networking] Testing public accessibility...
2024-03-21T12:59:09.648571086Z 0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
2024-03-21T12:59:09.650151992Z 0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
2024-03-21T12:59:09.664909406Z 01bc:fixme:iphlpapi:NotifyAddrChange (Handle 0000000058A90218, overlapped 0000000058A90220): stub
2024-03-21T12:59:09.777673424Z 01dc:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
2024-03-21T12:59:09.777693468Z 01dc:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 000000000266C4B0, 10, 0, (null), 3, 3, 0000000000000000, 0
2024-03-21T12:59:09.777704184Z 01dc:fixme:wbemprox:client_security_Release 000000006E7A0E80
2024-03-21T12:59:09.779668327Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T12:59:09.780810070Z Setting breakpad minidump AppID = 1326470
2024-03-21T12:59:09.781212311Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T12:59:09.781490046Z 01dc:fixme:wbemprox:enum_class_object_Next timeout not supported
2024-03-21T12:59:09.782253364Z 0060:fixme:mountmgr:query_property Faking StorageDeviceProperty data
2024-03-21T12:59:09.782609827Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T12:59:09.783177480Z 0060:fixme:mountmgr:query_property Faking StorageDeviceProperty data
2024-03-21T12:59:09.784014972Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T12:59:09.784542004Z 01e4:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000005BB4FE10
2024-03-21T12:59:10.070200118Z 01d0:fixme:cryptnet:check_ocsp_response_info check responder id
2024-03-21T12:59:10.094319355Z 01d0:fixme:cryptnet:check_ocsp_response_info check responder id
2024-03-21T12:59:10.698874662Z 01d0:fixme:cryptnet:check_ocsp_response_info check responder id
2024-03-21T12:59:10.721861110Z 01d0:fixme:cryptnet:check_ocsp_response_info check responder id
2024-03-21T12:59:12.444219549Z src\clientdll\steamengine.cpp (3114) : Assertion Failed: Attempt to call interface with invalid hSteamUser /+/ 1, appid=1326470, hpipe=131073, inprocess, thread=444
2024-03-21T12:59:12.444810831Z src\common\interfacemap.cpp (890) : Assertion Failed: IPC call to IClientHTTP::ReleaseHTTPRequest returned failure code 12
2024-03-21T12:59:12.444849388Z src\clientdll\steamengine.cpp (3114) : Assertion Failed: Attempt to call interface with invalid hSteamUser /+/ 1, appid=1326470, hpipe=131073, inprocess, thread=444
2024-03-21T12:59:12.505696375Z 0114:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0000000058A90220): stub
2024-03-21T12:59:13.195325138Z src\common\interfacemap.cpp (890) : Assertion Failed: IPC call to IClientHTTP::ReleaseHTTPRequest returned failure code 12
2024-03-21T12:59:13.201404384Z #DSL [Self-Tests] [Networking] Testing server ports against public ip 103.***.***.**...
2024-03-21T12:59:15.221591995Z #DSE [Self-Tests] [Networking] UDP GamePort [8766] is closed. Please fix and restart.
2024-03-21T12:59:17.248191328Z #DSE [Self-Tests] [Networking] UDP QueryPort [27016] is closed. Please fix and restart.
2024-03-21T12:59:19.265453508Z #DSE [Self-Tests] [Networking] UDP BlobSyncPort [9700] is closed. Please fix and restart.
2024-03-21T12:59:19.265512583Z #DSE [Self-Tests] [Networking] Some ports are closed or already in use and the game server will not be accessible. You may need to setup port forwarding and open them in your firewall, or change port numbers if they are used by some other software. Alternatively, consider using the LanOnly configuration if you didn't intend to make your server public. Please fix and restart.
2024-03-21T12:59:19.265560020Z #DSE [Self-Tests] Please restart the server.

Here's my router configuration: image

gitzec commented 4 months ago

you can execute binaries from shares if your fstab is set up to allow it. this is what i tried to find out in my last post...


regarding your packet translation issue:

inet <-> zyxel <-> docker host <-> sotf container

related to all your docker-compose labelled published ports:

dibowz commented 4 months ago

regarding your packet translation issue:

you must skip network detection since your server is behind double nat: inet <-> zyxel <-> docker host <-> sotf container

I tried to get rid of port forwarding in my router (remove it from port forwarding list), still no luck. I still got this:

2024-03-21T17:42:14.479238473Z 
2024-03-21T17:42:14.479241234Z 
2024-03-21T17:42:14.479339086Z HeadlessLoggingManager: Hooking
2024-03-21T17:42:14.479358092Z UnityEngine.Logger:Log(LogType, Object)
2024-03-21T17:42:14.479361884Z UnityEngine.Debug:Log(Object)
2024-03-21T17:42:14.479364738Z Endnight.Utilities.Dedicated.HeadlessLoggingManager:Hook()
2024-03-21T17:42:14.479367606Z 
2024-03-21T17:42:14.479507153Z Setting up stack trace logging...
2024-03-21T17:42:14.479516793Z UnityEngine.Logger:Log(LogType, Object)
2024-03-21T17:42:14.479520315Z UnityEngine.Debug:Log(Object)
2024-03-21T17:42:14.479523253Z Endnight.Utilities.Dedicated.HeadlessLoggingManager:Hook()
2024-03-21T17:42:14.479526174Z 
2024-03-21T17:42:14.487912246Z #DSL [EnvironmentArgs] ...
2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  2024-03-21T17:42:14.487937648Z  -userdatapath=/sonsoftheforest/userdata
2024-03-21T17:42:14.489512046Z #DSL User data path is overriden to: Z:\sonsoftheforest\userdata
2024-03-21T17:42:14.505191426Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C34C0, 000000000010E600, 000000000010E5A0
2024-03-21T17:42:14.505227504Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C34C0, 000000000010E600, 000000000010E5A0
2024-03-21T17:42:14.505231771Z 0114:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000010E608, 00000000504C34C0, 000000000010E600, 000000000010E5A0
2024-03-21T17:42:14.528612793Z ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
2024-03-21T17:42:14.559736841Z UnloadTime: 0.505800 ms
2024-03-21T17:42:14.605315167Z ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
2024-03-21T17:42:14.605346473Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2024-03-21T17:42:14.605353949Z ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2024-03-21T17:42:14.605359913Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2024-03-21T17:42:14.605366153Z ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2024-03-21T17:42:14.605375125Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2024-03-21T17:42:14.605381754Z ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
2024-03-21T17:42:14.605387714Z ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
2024-03-21T17:42:14.606055729Z ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
2024-03-21T17:42:14.606077400Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2024-03-21T17:42:14.606084916Z ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2024-03-21T17:42:14.606091096Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2024-03-21T17:42:14.606113102Z ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2024-03-21T17:42:14.606119922Z ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2024-03-21T17:42:14.606126030Z ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory
2024-03-21T17:42:14.606132152Z ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
2024-03-21T17:42:14.612276925Z 0194:fixme:ver:GetCurrentPackageId (00000000523EFE10 0000000000000000): stub
2024-03-21T17:42:18.598156508Z 0114:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 11.0.1, 256 bits)").
2024-03-21T17:42:18.676298974Z 0114:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000053E3EC50, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010EA60, modes 0000000000000000 partial stub!
2024-03-21T17:42:18.676355792Z 0114:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0000000053E3EC50, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 000000000010EA60, modes 00007FE140000010 partial stub!
2024-03-21T17:42:18.676777407Z 0114:fixme:system:QueryDisplayConfig (00000002 000000000010EA60 00007FE140000010 000000000010EA68 00007FE140000070 0000000000000000): semi-stub
2024-03-21T17:42:18.686281241Z 0114:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 000000000266A090, 10, 0, (null), 3, 3, 0000000000000000, 0
2024-03-21T17:42:18.686296689Z 0114:fixme:wbemprox:client_security_Release 000000006E7A0E80
2024-03-21T17:42:18.686300431Z 0114:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
2024-03-21T17:42:18.686872688Z 0114:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
2024-03-21T17:42:22.235690768Z #DSL [Self-Tests] Running self tests...
2024-03-21T17:42:22.236722654Z #DSL [Self-Tests] [AppId] App ID is correct.
2024-03-21T17:42:22.237061223Z #DSL [Self-Tests] [Settings] Validating game settings file format...
2024-03-21T17:42:22.237184430Z #DSL [Self-Tests] [Settings] Game settings file is valid.
2024-03-21T17:42:22.237223659Z #DSL [Self-Tests] [Config] Validating server config file and command line arguments...
2024-03-21T17:42:22.240851849Z #DSL Server configuration is valid. More... 
2024-03-21T17:42:22.240892078Z {
2024-03-21T17:42:22.240905398Z   "IpAddress": "0.0.0.0",
2024-03-21T17:42:22.240917560Z   "GamePort": 8766,
2024-03-21T17:42:22.240929203Z   "QueryPort": 27016,
2024-03-21T17:42:22.240940374Z   "BlobSyncPort": 9700,
2024-03-21T17:42:22.240951265Z   "ServerName": "jammsen-docker-generated-11872",
2024-03-21T17:42:22.240962528Z   "MaxPlayers": 8,
2024-03-21T17:42:22.240973306Z   "Password": "",
2024-03-21T17:42:22.240984518Z   "LanOnly": false,
2024-03-21T17:42:22.240995574Z   "SaveSlot": 1,
2024-03-21T17:42:22.241034160Z   "SaveMode": "Continue",
2024-03-21T17:42:22.241046296Z   "GameMode": "Normal",
2024-03-21T17:42:22.241057069Z   "SaveInterval": 600,
2024-03-21T17:42:22.241067966Z   "IdleDayCycleSpeed": 0.0,
2024-03-21T17:42:22.241078772Z   "IdleTargetFramerate": 5,
2024-03-21T17:42:22.241089528Z   "ActiveTargetFramerate": 60,
2024-03-21T17:42:22.241100784Z   "LogFilesEnabled": false,
2024-03-21T17:42:22.241111522Z   "TimestampLogFilenames": true,
2024-03-21T17:42:22.241122171Z   "TimestampLogEntries": true,
2024-03-21T17:42:22.241132915Z   "SkipNetworkAccessibilityTest": false,
2024-03-21T17:42:22.241143776Z   "GameSettings": {},
2024-03-21T17:42:22.241154367Z   "CustomGameModeSettings": {}
2024-03-21T17:42:22.241165023Z }
2024-03-21T17:42:22.241175579Z #DSL [Self-Tests] [Config] Dedicated Server configuration file is valid.
2024-03-21T17:42:22.241198862Z #DSL [Self-Tests] [Networking] Testing public accessibility...
2024-03-21T17:42:22.386431800Z 0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
2024-03-21T17:42:22.387742080Z 0060:fixme:nsi:ipv6_forward_enumerate_all not implemented
2024-03-21T17:42:22.398816638Z 01bc:fixme:iphlpapi:NotifyAddrChange (Handle 0000000058A90218, overlapped 0000000058A90220): stub
2024-03-21T17:42:22.444234020Z 01dc:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
2024-03-21T17:42:22.444253492Z 01dc:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E80, 000000000266C310, 10, 0, (null), 3, 3, 0000000000000000, 0
2024-03-21T17:42:22.444257158Z 01dc:fixme:wbemprox:client_security_Release 000000006E7A0E80
2024-03-21T17:42:22.445434082Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T17:42:22.447045496Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T17:42:22.447633829Z 01dc:fixme:wbemprox:enum_class_object_Next timeout not supported
2024-03-21T17:42:22.448730889Z 0060:fixme:mountmgr:query_property Faking StorageDeviceProperty data
2024-03-21T17:42:22.449222753Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T17:42:22.449797506Z 0060:fixme:mountmgr:query_property Faking StorageDeviceProperty data
2024-03-21T17:42:22.449861518Z Setting breakpad minidump AppID = 1326470
2024-03-21T17:42:22.450158869Z 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
2024-03-21T17:42:22.454217184Z 01ec:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000005B34FE10
2024-03-21T17:42:24.472603109Z src\clientdll\steamengine.cpp (3114) : Assertion Failed: Attempt to call interface with invalid hSteamUser /+/ 1, appid=1326470, hpipe=131073, inprocess, thread=444
2024-03-21T17:42:24.473037559Z src\common\interfacemap.cpp (890) : Assertion Failed: IPC call to IClientHTTP::ReleaseHTTPRequest returned failure code 12
2024-03-21T17:42:24.473038131Z src\clientdll\steamengine.cpp (3114) : Assertion Failed: Attempt to call interface with invalid hSteamUser /+/ 1, appid=1326470, hpipe=131073, inprocess, thread=444
2024-03-21T17:42:24.511308680Z 0114:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0000000058A90220): stub
2024-03-21T17:42:24.532822304Z src\common\interfacemap.cpp (890) : Assertion Failed: IPC call to IClientHTTP::ReleaseHTTPRequest returned failure code 12
2024-03-21T17:42:24.538630079Z #DSL [Self-Tests] [Networking] Testing server ports against public ip 103.***.***.**...
2024-03-21T17:42:26.566683096Z #DSE [Self-Tests] [Networking] UDP GamePort [8766] is closed. Please fix and restart.
2024-03-21T17:42:28.586574853Z #DSE [Self-Tests] [Networking] UDP QueryPort [27016] is closed. Please fix and restart.
2024-03-21T17:42:28.586882125Z wineserver: server/fd.c:1644: set_fd_events: Assertion `poll_users[user] == fd' failed.

But notice that the UDP BlobSyncPort is not returned error.

  • to get packets from inet to lan through zyxel, forward ports to the docker host. your sshot shows a WAN ip of a bogus range. this is wrong. use nothing, * or maybe 0.0.0.0 as WAN ip. lan ip is your docker host. please check your router's manual for details about setting up port forwarding.
  • to get the packets into your container your docker-compose file is setup correctly already

The settings for WAN in my screenshot was blank, and I tried to fill it with the host IP. Both got no luck regarding this issue, though.

edit: i just checked my setting which is very similar to yours... i do not even have SkipNetworkAccessibilityTest turned off. so the port forwardings in your router seem to cause the issue.

I don't change anything, it just straight from fresh install, maybe that's the reason we have similar settings. And also I thought the same about my router, but I don't know how to make the port forwarding work on this one.

jammsen commented 3 months ago

Sometimes the ports cant be really detected, if everything what @gitzec wrote isnt working try the "SkipNetworkAccessibilityTest" true option and see if it still works.