zomboid-dedicated-server
zomboid-dedicated-server copied to clipboard
No such file or directory
Hello, I am relatively new to docker and have been banging my head trying to get this image to work on my Debian 11.4 proxmox vm. Anytime I compose up I keep getting the following output:
snurf@snurfvm01:~/zomboid/zomboid-dedicated-server$ docker-compose up
Starting zomboid-dedicated-server ... done
Attaching to zomboid-dedicated-server
zomboid-dedicated-server |
zomboid-dedicated-server | ### Setting variables...
zomboid-dedicated-server |
zomboid-dedicated-server | ### Applying Pre Install Configuration...
zomboid-dedicated-server | sed: couldn't open temporary file /home/steam/sedbZkShs: Permission denied
zomboid-dedicated-server |
zomboid-dedicated-server | ### Pre Install Configuration applied.
zomboid-dedicated-server |
zomboid-dedicated-server | ### Updating Project Zomboid Server...
zomboid-dedicated-server | /home/steam/run_server.sh: line 136: /usr/bin/steamcmd.sh: Permission denied
zomboid-dedicated-server |
zomboid-dedicated-server | ### Project Zomboid Server updated.
zomboid-dedicated-server |
zomboid-dedicated-server | ### Checking if this is the first run...
zomboid-dedicated-server |
zomboid-dedicated-server | ### This is the first run.
zomboid-dedicated-server | Starting server for 60 seconds
zomboid-dedicated-server |
zomboid-dedicated-server | ### Starting Project Zomboid Server...
zomboid-dedicated-server | timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory
zomboid-dedicated-server |
zomboid-dedicated-server | ### Project Zomboid Server stopped.
zomboid-dedicated-server |
zomboid-dedicated-server | ### First run check complete.
zomboid-dedicated-server |
zomboid-dedicated-server | ### Applying Post Install Configuration...
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | /home/steam/Zomboid/Server/CoBZomboid.ini not found!
zomboid-dedicated-server | sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory
zomboid-dedicated-server | sed: can't read /home/steam/ZomboidDedicatedServer/ProjectZomboid64.json: No such file or directory
zomboid-dedicated-server |
zomboid-dedicated-server | ### Post Install Configuration applied.
zomboid-dedicated-server |
zomboid-dedicated-server | ### Starting Project Zomboid Server...
zomboid-dedicated-server | timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory
zomboid-dedicated-server |
zomboid-dedicated-server | ### Project Zomboid Server stopped.
zomboid-dedicated-server exited with code 0
I have made sure that I never used root when creating any of the directories, when installing steamcmd like steam recommends and I have made sure to create the config and the dedicated server folders prior to building the image. everything has been installed using my "snurf" ID.
my docker-compose file looks like the following:
version: "3.8"
services:
zomboid-dedicated-server:
build:
context: .
dockerfile: docker/zomboid-dedicated-server.Dockerfile
image: "docker.io/renegademaster/zomboid-dedicated-server:latest"
container_name: zomboid-dedicated-server
restart: "no"
user: "1000:1000"
environment:
- "ADMIN_PASSWORD=redacted"
- "ADMIN_USERNAME=superuser"
- "AUTOSAVE_INTERVAL=15"
- "BIND_IP=0.0.0.0"
- "DEFAULT_PORT=16261"
- "GAME_VERSION=public"
- "GC_CONFIG=ZGC"
- "MAP_NAMES=Muldraugh, KY"
- "MAX_PLAYERS=16"
- "MAX_RAM=4096m"
- "MOD_NAMES=vino125;28ss100;49powerWagon;59meteor;ECTO1;67commando;69mini;69mini_ItalianJob;69mini_MrBean;69mini_PitbullSpecial;70dodge;70barracuda;74amgeneralM151A2;78amgeneralM35A2;78amgeneralM49A2C;78amgeneralM50A3;80kz1000;82jeepJ10;82jeepJ10t;82oshkoshM911;83amgeneralM923;84merc;85merc;86fordE150;86fordE150dnd;86fordE150mm;86fordE150pd;86oshkoshP19A;87cruiser;88chevyS10;88golfMk2;88jettaMk2;89fordBronco;89trooper;89def110;89def90;90fordF350ambulance;90niva;CytU1550L;90pierceArrow;91range;92amgeneralM998;92fordCVPI;92nissanGTR;93townCar;97bushmaster;ADRENALINE_MOD;1904952813;TSW_ScreamsOfPain;Arsenal(26)GunFighter[MAIN MOD 2.0];Authentic Z - Current;AuthenticZBackpacks+;AuthenticZStudderFix;amclub;autotsartrailers;ATA_Bus;ATA_DeLorean;VISIBLE_BACKPACK_BACKGROUND;BarricadeHurtZombies;BarricadedWorld;Barricades41;Basements;BecomeBrave;BecomeDesensitized;BetterFlashlights;BetterSortCC;Blackwood;BoredomTweaks;BB_Utils;BritaArmorInsulationFix;BritaModelTweak;Brita_2;Brita;DJ_BritaPatch;BrutalHandwork;BCGRareWeapons;BCGTools;CanRepairDoors;CapacityVestAndAmmoStraps;Checkpoint_1;Checkpoint_2;Checkpoint_3;Checkpoint_4;Checkpoint_5;Checkpoint_6;CleanDirt;cleanashes;ClothesBoxRedux;CombatText;BB_CommonSense;isoContainers;CraftHelperContinued;CraftHelper41;CrashedCarsMod;CustomizableWoodWeight;Diederiks Tile Palooza;diveThroughWindows;DRAW_ON_MAP;DylansTiles;DynamicTraits;EasyConfigChucked;EQUIPMENT_UI;ExpandedHelicopterEvents;expandedhotwire;ExtraMapSymbols;ExtraMapSymbolsUI;FWOFitnessWorkoutOverhaul;FWOBenchPress&Treadmill;FancyHandwork;FRUsedCarsNLF;FixFloor;FixTooltipLag;FH;ForagingZ;BetterContainers;Grapeseed;Gun Stock Attack;HandCrankFlashlights;P4HasBeenRead;HerbalMedicinePlus;HowStrongIsThatWall;NoLighterNeeded;ImmersiveOverlaysRetexture;ISA_41;improvedhairmenu;ImprovisedGlass;RiskyInspectWeapon;ItemTweakerAPI;katanasandmachetesonbackorbelt;LargeProgressIndicator;MaintenanceImprovesRepair;MapLegendUI;MapSymbolSizeSlider;MiniHealthPanel;ModManager;ModManagerELO;modoptions;MonkeysLib;moodle_quarters;MoreDescriptionForTraits4166;MoreMaps;MoreZombieDeathSounds;NewEkron;Nopanicsound;NoVanillaVehicles;nattachments;noirrsling;NotUselessThings;OutTheWindow;myclothinguimod;PertsPartyTiles;Pitstop;ProfessionFramework;RV_Interior_MP;radialmenuapi;RainCleansBlood;RainWash;RavenCreek;ReadFasterWhenSitting;SimpleReadWhileWalking41;ReloadAllMagazines;RemoveDebris;REORDER_THE_HOTBAR;RepairAnyClothes;RepairAnyMod;ScrapArmor(new version);ScrapWeapons(new version);ScrapWeaponsMagazineFix;SearchModeAPI41;SecretZ_v3;ShowSkillXpGain;SimpleFuelStorage;SimpleOverhaulBladesAndSpears;Skizots Visible Boxes and Garbage2;SlowConsumption;ExploringTime;SpnCloth;SpnHair;DropRollMod;StrongerFurnitureBarricades;SBM;SwapIt;Tariq's Beards;TheEngineer;TWOTB;TheWorkshop(new version);P4TidyUpMeister;TMC_TrueActions;TrueActionsDancing;tsarslib;UndeadSuvivor;VehicleRepairOverhaul;mrnvsbhltr;WaterDispenser;WaterDispenserDisabler;wringclothes;ArsenalOpenAmmoWalk;addSoundMecanic;addDismentleObjectSound;addPickupDropCorpsesSounds;ezDirt;tkTiles_01;zReBandagedStatusInfobykERHUS;TheStar"
- "MOD_WORKSHOP_IDS=2694448564;2945221351;2392709985;2169435993;2735579575;2851764922;2850135071;1343686691;2529746725;2842158398;566115016;2927691080;2337452747;2384329562;2837923608;2599752664;2536865912;2463499011;2712480036;2597946327;2864652763;2696986935;2790397567;2849247394;2903771337;2808679062;2313387159;2685168362;2857584360;2710167561;2701170568;2734705913;2804531012;2854030563;2926455909;2920899878;2619072426;2787291513;2950902979;2948824747;2915430406;1904952813;2544353492;2729427093;2732662310;2313633950;2866258937;2931041223;2487022075;2648779556;2845952197;2904920097;2934621024;2908614026;2921029369;2687798127;2875848298;2757712197;2736032294;2906633595;2680473910;2658619264;2122265954;2793992511;2891494114;2905027525;2857548524;2244879881;2458631365;2800412098;2366717227;2807001835;2809204984;2627877543;2940354599;2335368829;2911197660;2913137598;2945474081;2589234033;2297098490;2200148440;2898603426;2916562978;2432621382;2423906082;2889856261;2959142530;2460154811;2931233550;2684285534;2847911733;2447729538;2463184726;2962908954;2901552077;2955906945;2754567348;2786499395;2016648690;2766033079;2897115343;2725360009;2657661246;2956146279;2659216714;2941368238;2711057211;2816646537;2927744729;2756490460;2785453858;2769706949;2891779083;2905030677;2714198296;2864231031;2696083206;2142622992;2907607479;2948810285;2920089312;1938484133;2934985376;2932679836;2932632173;2459400130;2925666054;2902192016;2738293620;2811441212;2802234947;2535461640;1510950729;2778576730;2282429356;2592358528;2963237571;2878374713;2913634132;2900580391;2772575623;2937786633;2873290424;2913633066;2785549133;2799152995;2818847163;2886832257;2811383142;2805630347;2469388752;2870394916;2489148104;2886832936;2516123638;2522173579;2886833398;2932549988;2441990998;2443275640;2952802178;2422681177;2843855721;2942793445;2409333430;2642541073;2962175696;2846036306;2932547723;2897390033;1539281445;2822286426;2566953935;2618213077;2478247379;2713921292"
- "PAUSE_ON_EMPTY=true"
- "PUBLIC_SERVER=true"
- "RCON_PASSWORD=redacted_rcon"
- "RCON_PORT=27015"
- "SERVER_NAME=CoBZomboid"
- "SERVER_PASSWORD=redacted"
- "STEAM_VAC=true"
- "UDP_PORT=16262"
- "USE_STEAM=true"
- "TZ=UTC"
ports:
- target: 16261
published: 16261
protocol: udp
- target: 16262
published: 16262
protocol: udp
- target: 27015
published: 27015
protocol: tcp
volumes:
- ./ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- ./ZomboidConfig:/home/steam/Zomboid/
any help would be greatly appreciated!
same issue here.
Same here
same
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.
Since it's already defined as a build arg, you can simply pass the value at buildtime:
$ docker build -f ./docker/zomboid-dedicated-server.Dockerfile --build-arg BASE_IMAGE=docker.io/renegademaster/steamcmd-minimal:2.0.0-root .
It's better not to have to edit the file directly since it's just technical debt you have to remember to fix every time you pull latest.
I am working on improving the situation here in general still (on another repo). I have no idea when I'll be done though.
Luckily the other helpful users here can help people with problems in the meantime.
Thank you guys for stepping in 👏
@copejon
when trying to build im getting this error:
same issue here..
if i change to docker.io/renegademaster/steamcmd-minimal:2.0.0, then i get "Permission denied":
Just add this to the docker file and build it
# Copy the source files
COPY src /home/steam/
+RUN sed -i -re 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
# Install Python, and take ownership of rcon binary
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-minimal iputils-ping tzdata \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
apt-get update is failing because the base image's distro version lost its lts
Hi all, very new to programming, docker and all. Im experiencing a similar issue, not entirely sure if im even doing things correctly,
This is my code, largely copied from OP,
version: "3.8"
services:
zomboid-dedicated-server:
build:
context: .
dockerfile: docker/zomboid-dedicated-server.Dockerfile --build-arg BASE_IMAGE=docker.io/renegademaster/steamcmd-minimal:2.0.0-root
image: "docker.io/renegademaster/zomboid-dedicated-server:latest"
container_name: zomboid-dedicated-server
restart: "no"
user: "1026:100"
environment:
- "ADMIN_PASSWORD=mehs"
- "ADMIN_USERNAME=mehs"
- "AUTOSAVE_INTERVAL=15"
- "BIND_IP=0.0.0.0"
- "DEFAULT_PORT=16261"
- "GAME_VERSION=public"
- "GC_CONFIG=ZGC"
- "MAP_NAMES=Muldraugh, KY"
- "MAX_PLAYERS=16"
- "MAX_RAM=4096m"
- "MOD_NAMES="
- "MOD_WORKSHOP_IDS="
- "PAUSE_ON_EMPTY=true"
- "PUBLIC_SERVER=true"
- "RCON_PASSWORD=mehs"
- "RCON_PORT=27015"
- "SERVER_NAME=mehs"
- "SERVER_PASSWORD=mehs"
- "STEAM_VAC=true"
- "UDP_PORT=16262"
- "USE_STEAM=true"
- "TZ=UTC"
ports:
- target: 16261
published: 16261
protocol: udp
- target: 16262
published: 16262
protocol: udp
- target: 27015
published: 27015
protocol: tcp
volumes:
- /volume1/docker/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /volume1/docker/zomboid/ZomboidConfig:/home/steam/Zomboid/
And im getting this:
Setting variables...
Applying Pre Install Configuration...
sed: couldn't open temporary file /home/steam/sed9ZEhim: 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/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.ini not found! /home/steam/Zomboid/Server/dongboid.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...
Project Zomboid Server stopped.
timeout: failed to run command '/home/steam/ZomboidDedicatedServer/start-server.sh': No such file or directory
How can i solve this senpais