Renegade-Master / zomboid-dedicated-server

Linux based Docker image containing a Dedicated Server for Project Zomboid.
https://hub.docker.com/r/renegademaster/zomboid-dedicated-server
Other
166 stars 57 forks source link

timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory (Should be running as rootless) #74

Open remingtonreed opened 8 months ago

remingtonreed commented 8 months ago

I am trying to follow the guide to use with docker-compose, and it seems like I'm running into file permissions issues. I should be using podman with rootless as my local user. I'm definitely new to running it rootless though, so have just been following guides online, and the problem could definitely be there. Could someone possibly point me in the right direction? I'm getting the following when running docker-compose logs.


sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory

### Post Install Configuration applied.

### Starting Project Zomboid Server...
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory

### Project Zomboid Server stopped.

### Setting variables...
/home/steam/run_server.sh: line 178: /home/steam/Zomboid/ip.txt: Permission denied

### Applying Pre Install Configuration...
sed: couldn't open temporary file /home/steam/sedyiq9TN: Permission denied

### Pre Install Configuration applied.

### Updating Project Zomboid Server...
/home/steam/run_server.sh: line 136: /usr/bin/steamcmd.sh: Permission denied

### Project Zomboid Server updated.

### Checking if this is the first run...

### This is the first run.
Starting server for 60 seconds

### Starting Project Zomboid Server...
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory

### Project Zomboid Server stopped.

### First run check complete.

### Applying Post Install Configuration...
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
/home/steam/Zomboid/Server/HouseOfSolis.ini not found!
sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory
sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory

### Post Install Configuration applied.

### Starting Project Zomboid Server...
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory```
siriondb commented 7 months ago

Hello, the answer is hidden in another thread.

zomboid-dedicated-server.Dockerfile In ARG BASE_IMAGE="docker.io/renegademaster/steamcmd-minimal:1.1.2" you need to replace the content. ARG BASE_IMAGE="docker.io/renegademaster/steamcmd-minimal:2.0.0-root" If you replace it with the contents and create a Docker container, you can use it normally.

https://github.com/Renegade-Master/zomboid-dedicated-server/issues/68