OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
608 stars 141 forks source link

Error on loading factorio version #420

Open sand3rk opened 1 day ago

sand3rk commented 1 day ago

I get this error when starting up a docker compose:

2024/11/13 17:31:18 Loaded Factorio settings from /opt/factorio/config/server-settings.json
2024/11/13 17:31:18 error on loading factorio version: fork/exec /opt/factorio/bin/x64/factorio: no such file or directory
2024/11/13 17:31:18 Error occurred during Server initialization: fork/exec /opt/factorio/bin/x64/factorio: no such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   169  100   169    0     0    518      0 --:--:-- --:--:-- --:--:--   518
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/opt/fsm/mod_packs

This is my docker compose file: I get the same error when not running with user 1000 and PUID/PGID.

services:
  factorio:
    image: ofsm/ofsm:latest
    container_name: factorio
    user: 1000:1000
    ports:
      - 8102:80
      - 34197:34197/udp
    volumes:
      - /home/sander/containers/factorio/fsm-data:/opt/fsm-data
      - /home/sander/containers/factorio/factorio-data/saves:/opt/factorio/saves
      - /home/sander/containers/factorio/factorio-data/mods:/opt/factorio/mods
      - /home/sander/containers/factorio/factorio-data/config:/opt/factorio/config
      - /home/sander/containers/factorio/factorio-data/mod_packs:/opt/fsm/mod_packs
    environment:
      - FACTORIO_VERSION=stable
      - PUID=1000
      - PGID=1000
    restart: unless-stopped

What am I doing wrong?

sand3rk commented 1 day ago

Fixed

sand3rk commented 22 hours ago

close?