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
171 stars 57 forks source link

Start server failure #62

Open chompy158 opened 1 year ago

chompy158 commented 1 year ago

Sorry to break the bug format but im kinda new to docker so i couldnt answer most of the questions fully.

Been tryint to run using the "bare minimum" instructions for starting a server and running into a issue straight away:

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/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.ini not found! /home/steam/Zomboid/Server/ZomboidServer.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

Project Zomboid Server stopped.

chompy158 commented 1 year ago

i ran these exact instructions before starting:

Pull the latest image:

docker pull renegademaster/zomboid-dedicated-server:latest

Make two folders

mkdir ZomboidConfig ZomboidDedicatedServer

Run the server (with bare minimum options):

docker run --detach \ --mount type=bind,source="$(pwd)/ZomboidDedicatedServer",target=/home/steam/ZomboidDedicatedServer \ --mount type=bind,source="$(pwd)/ZomboidConfig",target=/home/steam/Zomboid \ --publish 16261:16261/udp --publish 16262:16262/udp \ --name zomboid-server \ docker.io/renegademaster/zomboid-dedicated-server:latest

Renegade-Master commented 1 year ago

Hello! Thanks for trying with the template at least 🙂

I think your issue is probably the same as #59. Hopefully what I am working on in #60 might fix it.

chompy158 commented 1 year ago

Thanks for letting me know.

Once you've applied a fix could you give me some instructions on what to try?

Much appreciated

mr-gosh commented 1 year ago

Same here - let us know if we should try something for verification.

Voroxpete commented 1 year ago

Just want to add that I'm experiencing exactly the same issue as Chompy. I've reproduced their steps to the letter, and I get precisely the same error message (minus the difference in server name). I created both needed folders before deploying, I pulled the image first, and I made sure to invoke the docker command as a non-root user.

If it helps I'm running Fedora Server 37, with docker running from the docker repo, all fully updated. Let me know if there's any other information I can provide.