Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Files causing container crash #25

Open
MartinPezet opened this issue Apr 3, 2023 · 6 comments
Open

Missing Files causing container crash #25

MartinPezet opened this issue Apr 3, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@MartinPezet
Copy link

When started the container will download all the required files from steam cmd, then stop with the below error:

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
exited with code 127

This will not allow for persistent volumes either so I cannot give you what it has downloaded and what it hasn't

Here is my docker-compose:

version: "3"

services:
  squad:
    image: cm2network/squad
    stdin_open: true
    tty: true
    restart: always
    network_mode: "host"
    volumes:
      - /squad/:/home/steam/squad-dedicated/

    environment:
      - PORT=7787
      - QUERYPORT=27165
      - RCONPORT=21114
      - FIXEDMAXPLAYERS=80
      
    ports:
      - 7787:7787/tcp
      - 7788:7788/tcp
      - 27165:27165/tcp
      - 27166:27166/tcp
      - 21114:21114/tcp
      - 7787:7787/udp
      - 7788:7788/udp
      - 27165:27165/udp
      - 27166:27166/udp
      - 21114:21114/udp

Am I missing anything?
@CM2Walki

@CM2Walki CM2Walki self-assigned this Apr 11, 2023
@CM2Walki CM2Walki added the bug Something isn't working label Apr 11, 2023
@CM2Walki
Copy link
Owner

Seems like the developers changed some paths. I'll have to look into it.

@CM2Walki
Copy link
Owner

CM2Walki commented Apr 11, 2023

I wasn't able to replicate the issue on my end. The server went past Clearing Mods... and started up successfully.

For your setup the issue is likely that the installation didn't complete successfully and therefor the path doesn't exist. Could you post your full container startup log (including steamcmd)?

@igorzab
Copy link

igorzab commented Apr 13, 2023

I have the same issue, I get ERROR! Failed to install app '403240' (Requires 64bit operating system) during the installation.

@Cevap05
Copy link

Cevap05 commented May 5, 2023

I wasn't able to replicate the issue on my end. The server went past Clearing Mods... and started up successfully.

For your setup the issue is likely that the installation didn't complete successfully and therefor the path doesn't exist. Could you post your full container startup log (including steamcmd)?

Hey there I am running into the same issue. I would like to ultimately do with with another Unreal Engine game, but wanted a base to work with so chose to use this Squad one. I simply ran the docker-compose file example from Squad template page you have. I receive same error. I will provide the crash (well not even booting) log here. Hoping you can assist as I would like this to work and use as basis for another game. Thanks!

My guess the image data is not actually being pulled in? Not sure why.

-PS: Well thats odd because the image size seems to be fine?

REPOSITORY         TAG       IMAGE ID       CREATED         SIZE
cm2network/squad   latest    2de5dd3851d2   2 hours ago     428MB
[+] Running 6/6
 ✔ squad 5 layers [⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                 11.1s 
   ✔ 9e3ea8720c6d Pull complete                                                                                   4.2s 
   ✔ 21962b6762b9 Pull complete                                                                                  10.5s 
   ✔ 4f4fb700ef54 Pull complete                                                                                  10.6s 
   ✔ b930d3d71017 Pull complete                                                                                  10.7s 
   ✔ 84d696db6b16 Pull complete                                                                                  10.8s 
[+] Running 1/1
 ✔ Container squad  Created                                                                                       0.2s 
Attaching to squad
squad  | Loading Steam Release Branch
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | [  0%] Downloading update...
squad  | [  0%] Checking for available updates...
squad  | [----] Download complete.
squad  | [----] Extracting package...
squad  | [----] Extracting package...
squad  | [----] Extracting package...
squad  | [----] Extracting package...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Installing update...
squad  | [----] Cleaning up...
squad  | [----] Update complete, launching Steamcmd...
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.56 (72573740 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.00 (0 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.56 (72573740 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.56 (72573740 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.00 (0 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.56 (72573740 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
quit
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.56 (72573740 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
squad  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
squad  | [  0%] Checking for available updates...
squad  | [----] Verifying installation...
squad  | Steam Console Client (c) Valve Corporation - version 1682708339
squad  | -- type 'quit' to exit --
squad  | Loading Steam API...OK
squad  | 
squad  | Connecting anonymously to Steam Public...OK
squad  | Waiting for client config...OK
squad  | Waiting for user info...OK
squad  |  Update state (0x11) preallocating, progress: 0.00 (0 / 12861565037)
squad  | Error! App '403240' state is 0x212 after update job.
squad  | sed: can't read /home/steam/squad-dedicated/SquadGame/ServerConfig/Rcon.cfg: No such file or directory
squad  | Clearing Mods...
squad  | find: '/home/steam/squad-dedicated/SquadGame/Plugins/Mods/*': No such file or directory
squad  | bash: /home/steam/squad-dedicated/SquadGameServer.sh: No such file or directory
squad exited with code 127
^CGracefully stopping... (press Ctrl+C again to force)
Aborting on container exit...
[+] Running 1/0
 ✔ Container squad  Stopped                                                                                       0.0s 
canceled

@Cevap05
Copy link

Cevap05 commented May 5, 2023

Error! App '403240' state is 0x212 after update job.

UPDATE: Supposedly this error may have to do with "Low Storage Space". I'm on a very small 10GB VM on AWS just to try this out. I will try out this tomorrow on my actual HOME vm where I have much more storage space. If this is the problem then I will message here.

@Cevap05
Copy link

Cevap05 commented May 7, 2023

So, to update. I created a new VM with 200gb storage. Did not run into that error anymore previously mentioned. Although I did run into the "Code 127" error when I tried to launch the server using the docker-compose example mentioned in the front page. Rather I ran the basic docker run command on the front page being:

docker run -d --net=host -v /home/steam/squad-dedicated/ --name=squad-dedicated cm2network/squad

That seemed to work fine. Using the default ports, just required port forwarding on proper ports on router and good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants