pg9182 / northstar-dedicated

Docker image for the Northstar dedicated server.
https://ghcr.io/pg9182/northstar-dedicated
zlib License
101 stars 18 forks source link

Crash when no volume is mounted to /mnt/save_data #62

Closed Legonzaur closed 1 year ago

Legonzaur commented 1 year ago

After d292bf6e80e23e4e39d0ff06a7c0f3dcf7d0021c, when launching a container without mounting any directory to /mnt/save_data, the container cannot start.

Error: Failed to merge game files: merge save data: access "/mnt/save_data": stat /mnt/save_data: no such file or directory.

Minimalistic docker-compose.yml as an example :

version: "3.1"

services:

  northstar:
    image: ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0
    pull_policy: always
    volumes:
      - /opt/Titanfall2:/mnt/titanfall:ro
      # - ./test:/mnt/save_data:rw
    environment:
      - 'NS_SERVER_NAME=your server name'
      - 'NS_SERVER_DESC=your server description'
pg9182 commented 1 year ago

Ah, fuck, sorry.