CM2Walki / Squad

Dockerfile for automated build of a Squad gameserver: https://hub.docker.com/r/cm2network/squad/

Home Page:https://CM2.Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why,and how fixes it?

milobluebell opened this issue · comments

commented

hi buddy, i have ran:

sudo docker run -d --net=host -v /squad-data:/home/steam/squad-dedicated -e PORT=7787 -e QUERYPORT=27166 -e RCONPORT=21115 --name=squad cm2network/squad

and i'm sure /squad-data directory was created, and modified its accessbility to 777


BUT, i got:

image

Success! App '403240' fully installed.
sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
Clearing Mods...
find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory

I just ran your command and it worked w/o/ any issues.
Does /squad-data exist on your system and does /squad-data/SquadGame/ServerConfig/Rcon.cfg exist?

commented

@TheDelta yup! they exist. BUT SquadGameServer.sh isn', shall i edit this file??

commented

7ad250448233831811e5abd21e5a009

Remove squad-data and try again.
squad-data should contain:

Engine   Manifest_DebugFiles_Linux.txt   SquadGame           steamapps
linux64  Manifest_NonUFSFiles_Linux.txt  SquadGameServer.sh  steamclient.so
commented

sry. you mean that, i delete current squad-data dir,and make a new empty dir located at $(pwd)/squad-data. then , i run docker commands docker run xxx -v $(pwd)/squad-data:xxxx, these files you mentions above will be automatically installed to the new dir.

is that right?

I don't want to turn an issue into a support ticket now.
Simply start completely fresh. A clean run should probably solve this.
(the command you used worked for me w/o/ any issues)

I'm also not sure why you use docker run, when you also have a docker-compose.yml ??

commented

k, i solve the original problem.and got this error logs:

image

These have nothing to do with this image / repository and are normal SQUAD errors.
That's something for the SQUAD devs.

This can be /closed now probably

commented

k, ty