Skip to content

ERROR : 'install-curseforge' command failed. Version is 1.41.9 #3435

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

Open
Wordlesschunk opened this issue May 5, 2025 · 1 comment
Open
Labels

Comments

@Wordlesschunk
Copy link

Describe the problem

Morning guys, i seem to be running into this weird issue when trying to start my server
I've been running an all-the-mods-10 server for the past couple days and sometimes when i try and start the server i keep getting:

Image

sometimes a restart fixes it but this time its not helped and the container just wont start, any advice apricated !

Container definition

services:
  game:
    tty: true
    image: itzg/minecraft-server
    ports:
      - '25565:25565'
    volumes:
      - './data:/data'
    stdin_open: true
    environment:
      EULA: true
      CF_SLUG: all-the-mods-10
      CF_API_KEY: 
      ALLOW_FLIGHT: true
      MOD_PLATFORM: AUTO_CURSEFORGE
      CF_EXCLUDE_MODS: |-
        lighty
        dark-mode-everywhere
        iceberg
        just-enough-mekanism-multiblocks
        model-gap-fix
        packmenu
        reeses-sodium-options
        sodium-extra
        sodium-options-api
        toast-control
      CF_FILENAME_MATCHER: '2.41'
      CREATE_CONSOLE_IN_PIPE: true
      CF_OVERRIDES_EXCLUSIONS: 'shaderpacks/**'
      MIN_MEMORY: 5G
      MAX_MEMORY: 16G
    container_name: all-the-mods-10

Container logs

all-the-mods-10  | [init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 16 1000 1000 4096 May  5 09:53 /data'
all-the-mods-10  | [init] Image info: buildtime=2025-05-04T21:49:44.111Z,version=java21,revision=1c0fe6ff1028216bf9d8153f4d61793d96d26ee5
all-the-mods-10  | [mc-image-helper] 09:57:29.494 ERROR : 'install-curseforge' command failed. Version is 1.41.9
all-the-mods-10  | me.itzg.helpers.errors.GenericException: No matching files found for mod 'all-the-mods-10' (925200) using fileMatcher '2.41'
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeApiClient.lambda$resolveModpackFile$4(CurseForgeApiClient.java:188)
all-the-mods-10  |      at java.base/java.util.Optional.orElseThrow(Unknown Source)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeApiClient.resolveModpackFile(CurseForgeApiClient.java:183)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeInstaller.resolveModpackFileAndProcess(CurseForgeInstaller.java:332)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeInstaller.installByRetrievingModpackZip(CurseForgeInstaller.java:257)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeInstaller.lambda$install$3(CurseForgeInstaller.java:182)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeInstaller.install(CurseForgeInstaller.java:228)
all-the-mods-10  |      at me.itzg.helpers.curseforge.CurseForgeInstaller.install(CurseForgeInstaller.java:181)
all-the-mods-10  |      at me.itzg.helpers.curseforge.InstallCurseForgeCommand.call(InstallCurseForgeCommand.java:222)
all-the-mods-10  |      at me.itzg.helpers.curseforge.InstallCurseForgeCommand.call(InstallCurseForgeCommand.java:30)
all-the-mods-10  |      at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
all-the-mods-10  |      at picocli.CommandLine.access$1500(CommandLine.java:148)
all-the-mods-10  |      at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
all-the-mods-10  |      at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
all-the-mods-10  |      at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
all-the-mods-10  |      at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
all-the-mods-10  |      at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
all-the-mods-10  |      at picocli.CommandLine.execute(CommandLine.java:2174)
all-the-mods-10  |      at me.itzg.helpers.McImageHelper.main(McImageHelper.java:178)
all-the-mods-10  | [init] [ERROR] Failed to auto-install CurseForge modpack 
all-the-mods-10 exited with code 1
@itzg
Copy link
Owner

itzg commented May 5, 2025

There seems to be a sporadic problem with CurseForge web API not responding with the file listing. I have been encountering this at times but can't yet reproduce it within a debugger.

In the meantime, can set CF_PAGE_URL to https://www.curseforge.com/minecraft/modpacks/all-the-mods-10/files/6313628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants