docker-minecraft-server: create perfect world 2 fails install due to cleint only mod download forced

Describe the problem

if you use my docker compose file you will immediatly see the error as its a client side only modpack but also its forced to be included.

data/mods/forgeskyboxes-0.0.2-1.20.2-new.jar

this is the culprit file if i am fast while it loads and manually remove it (After its downloaded) everythign works fine but the docker wont restart or recover properly

i have tried various ENV to exclude this mod pack and it causes teh constatn redowloading of the modpack and the server never starts

[mc-image-helper] 17:09:54.174 WARN : Re-installing due to missing files from modpack: [mods/forgeskyboxes-0.0.2-1.20.2-new.jar]

is the result of using the excludes options and i suspect if the exclude removed it before it launches but after its downlaoded that would fix the issue

this is my compose file (usign portainer actually but this is clearer than screenshots)

Container definition

`# Generated by setupmc.com on 2025-04-06T01:43:43.890Z

services: mc: image: itzg/minecraft-server:latest tty: true stdin_open: true ports: - “25595:25565” environment: EULA: “TRUE” TYPE: “AUTO_CURSEFORGE” CF_PAGE_URL: “https://www.curseforge.com/minecraft/modpacks/create-perfect-world-2” MEMORY: “6144M” MAX_PLAYERS: “10” MOTD: “Create-PerfectWorld 2” TZ: “America/Vancouver” DIFFICULTY: “3” LEVEL_TYPE: “large_biomes” SPAWN_PROTECTION: “8” MAX_TICK_TIME: “-1” CF_API_KEY: “[security removed this]” ENABLE_STATUS: “false” HIDE_ONLINE_PLAYERS: “true” ENABLE_ROLLING_LOGS: “true” volumes: - “./data:/data” - “./backup:/backup” - “./downloads:/downloads”`

Container logs

unfortunately my logs were deleted .. but its very obvious. 
and im not ready to reboot eh server to recreate it right now because players are online

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

That does seem to have got it going

THANK YOU!!!

My mind works better with flow charts of processes, and diving into docs for partial bits of the whole process doesn’t always point me to the right places.