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

failing to boot brand new image #1

Open
eedori opened this issue Jan 19, 2023 · 1 comment
Open

failing to boot brand new image #1

eedori opened this issue Jan 19, 2023 · 1 comment

Comments

@eedori
Copy link

eedori commented Jan 19, 2023

On first boot I am presented with the following...

svencoop-server | SteamCMD not found!
svencoop-server | /serverdata/steamcmd/steamcmd_linux.tar.gz: Permission denied
svencoop-server | tar (child): /serverdata/steamcmd/steamcmd_linux.tar.gz: Cannot open: No such file or directory
svencoop-server | tar (child): Error is not recoverable: exiting now
svencoop-server | tar: Child returned status 2
svencoop-server | tar: Error is not recoverable: exiting now
svencoop-server | rm: cannot remove '/serverdata/steamcmd/steamcmd_linux.tar.gz': No such file or directory
svencoop-server | ---Update SteamCMD---
svencoop-server | /opt/scripts/start-server.sh: line 12: /serverdata/steamcmd/steamcmd.sh: No such file or directory
svencoop-server | ---Update Server---
svencoop-server | ---Validating installation---
svencoop-server | /opt/scripts/start-server.sh: line 25: /serverdata/steamcmd/steamcmd.sh: No such file or directory
svencoop-server | ---Server ready---
svencoop-server | ---Start Server---
svencoop-server | /opt/scripts/start-server.sh: line 69: /serverdata/serverfiles/svends_run: No such file or directory

I booted the image with the following docker-compose:
version: '3.3'
services:
svencoop-server:
container_name: svencoop-server
ports:
- '3075:3075'
- '3075:3075/udp'
environment:
- GAME_PORT=3075
- 'GAME_PARAMS=+maxplayers 12 +map osprey +log on -num_edicts 8192'
- VALIDATE=true
- UID=99
- GID=100
volumes:
- './steamcmd:/serverdata/steamcmd'
- './serverfiles:/serverdata/serverfiles'
image: 'skylord123/svencoop-server:latest'

@ComputersWithTimo
Copy link

Hi sorry for the late reponse.

Since you are forwarding /serverdata/steamcmd please check that you have set the correct permission on the file system.
The same thing for /serverdata/serverfiles

This container creates a different user with another uid and gid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants