GithubHelp home page GithubHelp logo

snickch / insurgencysandstormdedicatedserver Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 3.0 193 KB

A fully customisable insurgency dedicated server (vanilla) that you can use for your coop or pvp servers.

License: GNU General Public License v3.0

Dockerfile 100.00%

insurgencysandstormdedicatedserver's People

Contributors

n0rimaki avatar snickch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

insurgencysandstormdedicatedserver's Issues

unable to open mods folder for writing

I have tried setting user name with --user but that just gives error user does not exist
the problem appears to be container trying to write back to volumes with steam user

have you suggestions on how to fix these errors


[2022.03.22-02.35.10:029][  0]LogNetVersion: Insurgency 1.0.0, NetCL: 193393, EngineNetVer: 14, GameNetVer: 0 (Checksum: 3120452150)


[2022.03.22-02.35.10:047][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Game.ini', Flags=0x00080041) failed: errno=30 (Read-only file system)


[2022.03.22-02.35.10:047][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Game.ini', Flags=0x00080041) failed: errno=30 (Read-only file system)


[2022.03.22-02.35.10:051][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Input.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:051][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Input.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:053][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Compat.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:053][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Compat.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Scalability.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Scalability.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Hardware.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Hardware.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/RuntimeOptions.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:055][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/RuntimeOptions.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/DeviceProfiles.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/DeviceProfiles.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/GameUserSettings.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/GameUserSettings.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Niagara.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Niagara.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/EditorScriptingUtilities.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/EditorScriptingUtilities.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/TraceDataFilters.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:057][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/TraceDataFilters.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/TraceSourceFilters.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/TraceSourceFilters.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/ControlRig.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/ControlRig.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/PhysXVehicles.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/PhysXVehicles.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/VariantManagerContent.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/VariantManagerContent.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Synthesis.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:058][  0]LogUnixPlatformFile: Warning: open('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Synthesis.ini', Flags=0x00080041) failed: errno=13 (Permission denied)


[2022.03.22-02.35.10:060][  0]LogStreaming: Error: Couldn't find file for package /StatsCollector/BP_DebugStatCollectorMenu requested by async loading code. NameToLoad: /StatsCollector/BP_DebugStatCollectorMenu


[2022.03.22-02.35.10:060][  0]LogStreaming: Error: Found 0 dependent packages...


[2022.03.22-02.35.10:060][  0]LogStreaming: Error: Couldn't find file for package /StatsCollector/FPSCounter requested by async loading code. NameToLoad: /StatsCollector/FPSCounter


[2022.03.22-02.35.10:060][  0]LogStreaming: Error: Found 0 dependent packages...


[2022.03.22-02.35.10:062][  0]LogGameStatsServer: Display: GameStatsServer INIT: Ready to issue login


[2022.

error loading mods

Describe the bug
log errors on loading mods except vampirism

[2022.03.24-01.43.09:613][ 0]LogGameMode: Display: Attempting to initialize mutators from list: Medic, ImprovedAI, ScaleSurvival, Vampirism, sBomber, PrintCount, JoinLeaveMessage, MoreAmmo [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'Medic' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'ImprovedAI' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'ScaleSurvival' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'sBomber' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'PrintCount' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'JoinLeaveMessage' is invalid (). [2022.03.24-01.43.09:613][ 0]LogGameMode: Warning: Mutator path 'MoreAmmo' is invalid (). [2022.03.24-01.43.09:628][ 0]LogSession: ----- Register Server (SteamNWI) ----- [2022.03.24-01.43.09:628][ 0]LogSession: ----- Register Server (EOS) ----- [2022.03.24-01.43.09:629][ 0]LogOnlineSession: OSS: EOS_SessionModification_SetHostAddress(172.17.0.4:7777) returned (EOS_Success)

To Reproduce
Steps to reproduce the behavior:
start server

Expected behavior
A clear and concise description of what you expected to happen.
full set of mods shown on client connect

Screenshots
If applicable, add screenshots to help explain your problem.

Logfiles / error messages
If you have logfiles or outputs from the container with the error, please add it.

System running the container (please complete the following information):

  • OS: [e.g. Debian Buster x.x.x]
  • Container platform: [e.g. docker version x.x.x]
  • Plase add your docker run command or docker-compose.yml
  • Mainpath with config files: [e.g. /debian/insurgency/]
  • Path for mods (volume): [e.g. /debian/insurgency/Mods/]
  • Container image date: [e.g. 26.11.2021]
  • Did this hapen after a new image or is this the first time you (try) to run the container on this server?: [eg. first time / since update to the image]

`#Set the container Name, every Container need an unique name (not the GameServer Name)
CNAME=afterdark3

#Optional: if a container with the name sandstorm exist, it will be stopped and deleted
echo docker container will be stopped
docker stop $CNAME
echo docker container will be removed
docker rm $CNAME

#Path to folder where the configs are stored
CONFDIR=/home/steam/insurgency/survival

#Path to folder where the mods should be stored
MODS=/home/steam/insurgency/Mods

#The image that should be used. Don't change it ;)
IMAGE=snickch/insurgencysandstormdedicatedserver:latest

#Set your tokens you get from the next two Pages
#https://gamestats.sandstorm.game/
#https://steamcommunity.com/dev/managegameservers
GSLTTOKEN="F9849FEA31F3347EDE437C2D2A******"
GAMESTATSTOKEN="50816131894D4B7A90C827D328B******"

#Set your mutators for the server you will get it from https://mod.io
#You need an API-Key from https://mod.io/apikey/ which goes to the Engine.ini
MUTATORS="Medic,ImprovedAI,ScaleSurvival,Vampirism,sBomber,PrintCount,JoinLeaveMessage,MoreAmmo"

#Set the map which should be used on start (ModDownloadTravelTo makes sure your mods are started with the first map and the MaxPlayer you want)
MODTRAVEL="Gap?Scenario=Scenario_Gap_Survival?lighting=day?Password=PASSWORD

#RCON Config
RCONPORT=27015

#Here you can adjust the game ports (Multiple Server need own distinct Ports)
GAMEPORT=7777
QUERRYPORT=27131

#Here starts the script, you shouldn't change anything here, you can all do with the variables above
echo start docker container
docker run -d --restart=always --name $CNAME -p $GAMEPORT:$GAMEPORT/tcp -p $GAMEPORT:$GAMEPORT/udp -p $QUERRYPORT:$QUERRYPORT/tcp -p $QUERRYPORT:$QUERRYPORT/udp -p $RCONPORT:$RCONPORT -p $RCONPORT:$RCONPORT/udp
--volume $CONFDIR/Game.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Game.ini:ro
--volume $CONFDIR/Engine.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Engine.ini:ro
--volume $CONFDIR/Admins.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/Admins.txt:ro
--volume $CONFDIR/Mods.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/Mods.txt:ro
--volume $CONFDIR/MapCycle.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/MapCycle.txt:ro
--volume $MODS/:/home/steam/steamcmd/sandstorm/Insurgency/Mods
$IMAGE ./InsurgencyServer-Linux-Shipping -Port=$GAMEPORT -QueryPort=$QUERRYPORT
-Mods
-Rcon
-Mutators=$MUTATORS
-ModDownloadTravelTo=$MODTRAVEL
-GSLTToken=$GSLTTOKEN -GameStatsToken=$GAMESTATSTOKEN`

Additional context
Add any other context about the problem here.

README Incorrect

The path for Admins.txt, MapCycle.txt, and Mods.txt in the example docker run command is incorrect. It should be

/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/

instead of

/home/steam/steamcmd/sandstorm/Insurgency/Config/LinuxServer/

[BUG] Docker images not building daily

This issue is opened for transparency reasons. At the moment we have a problem with our automated image building (CI/CD) since 1-2 weeks. Therefore sometimes the images are not build on a daily base (like today).

I have to check if the problem is on the infratructure side (gitlab runner) or if there is a download problem from steamcmd. I will check the issue during the next week.

Thank you very much for your understanding.

[CF] crash report dir, permission error

Starting the container brings this Message in the container logs.. relevant in any way?

LogUnixPlatformFile: Warning: create dir('/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/CrashReportClient/UE4CC-Linux-470495B34CB94AA0BB0F7D74C43B16F0/CrashReportClient.ini') failed: errno=13 (Permission denied)

[Enhancement] - docker-compose example

The readme said if someone had a working docker-compose config to drop it here as an example so here is my working config edited to remove personal information.

  sandstorm:
    image: snickch/insurgencysandstormdedicatedserver:latest
    container_name: sandstorm
    restart: always
    ports:
      - 27103:27103/tcp
      - 27103:27103/udp
      - 27133:27133/tcp
      - 27133:27133/udp
      - 29093:29093/tcp
      - 29093:29093/udp
    volumes:
      - /path/to/config/data/Game.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Game.ini:ro
      - /path/to/config/data/GameUserSettings.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/GameUserSettings.ini:ro
      - /path/to/config/data/Admins.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/Admins.txt:ro
      - /path/to/config/data/Mods.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/Mods.txt:ro
      - /path/to/config/data/MapCycle.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/MapCycle.txt:ro
      - /path/to/mod/data/Mods/:/home/steam/steamcmd/sandstorm/Insurgency/Mods
    entrypoint: ./InsurgencyServer-Linux-Shipping
    command:
      -Port=27103
      -QueryPort=27133
      -Mods
      -Rcon
      -Mutators="Medic,ImprovedAI,ScaleSurvival,Vampirism,sBomber,PrintCount,JoinLeaveMessage,MoreAmmo"
      -ModDownloadTravelTo="Gap?Scenario=Scenario_Gap_Survival?lighting=day"
      -GSLTToken=YOURGSLTTOKEN
      -GameStatsToken=YOURGAMESTATSTOKEN

You should just have to drop your GSLT and GameStats tokens in, set up the paths the way you want, and make sure you create the .txt and .ini files on your host before creating the container so docker-compose doesn't create directories instead and it should all be working. You can also of course adjust which mutators you want active and what scenario to start the server on as well.

Also, kudos to being the only one of the 4 or so different sandstorm containers I tried that was documented well enough that I was able to set up a working compose configuration. Thanks for the hard work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.