vinanrra / Docker-7DaysToDie

7 days to die server using LinuxGSM in Docker with backups, monitor, auto-installable mods and more
GNU General Public License v3.0
209 stars 42 forks source link

Warning: failed to init SDL thread priority manager: SDL not found #193

Closed b5030 closed 9 months ago

b5030 commented 11 months ago

Describe the bug Brand new install of the server to a docker compose image and receive that error message.

To Reproduce Steps to reproduce the behavior:

  1. Following this guide https://containers.fan/posts/setup-7days-game-server-in-docker/
  2. Create a compose.yaml file
  3. And run docker compose up
  4. See error

Expected behavior Server should start without error

Versions:

Docker/Docker-compose version: '3.8'

services: 7dtdserver: image: vinanrra/7dtd-server container_name: 7days-gameserver environment:

documented here

  # https://github.com/vinanrra/Docker-7DaysToDie#parameters
  - START_MODE=1 
  - VERSION=stable 
  - PUID=1000 # your uid of your user
  - PGID=1000 # your gid of your user's group
  - TimeZone=Africa/Johannesburg
  - TEST_ALERT=YES
  #- ALLOC_FIXES=YES #Optional - Install ALLOC FIXES
volumes:
  - ./data/serverfiles:/home/sdtdserver/serverfiles/ #Optional, serverfiles
  - ./data/7daystodie:/home/sdtdserver/.local/share/7DaysToDie/ #Optional, maps files
  - ./data/log:/home/sdtdserver/log/ #Optional, logs
  - ./data/backups:/home/sdtdserver/lgsm/backup/ #Optional, backups
  - ./data/lgsm-config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver # Optional, alerts
ports:
  - 26900:26900/tcp
  - 26900:26900/udp
  - 26901:26901/udp
  - 26902:26902/udp
  - 8080:8080/tcp 
  - 8081:8081/tcp 
  - 8082:8082/tcp
restart: unless-stopped #NEVER USE WITH START_MODE=4 or START_MODE=0
logging:
  driver: "json-file"
  options:
    max-size: "1m"
b5030 commented 11 months ago

It looks like it might be an issue with Linux Game Server Manager (https://github.com/vinanrra/Docker-7DaysToDie/issues/189#issuecomment-1667311876) so I will try using Alpha21 and report back

b5030 commented 11 months ago

Tried setting version to both alpha20.7 and alpha21.0 with no luck. Still receiving

Warning: failed to init SDL thread priority manager: SDL not found