Skip to content

Failed to auto-install auto_forge JAVA 21 GRAALVM and JAVA 17 GRAALVM #3770

@JuanesxP

Description

@JuanesxP

Hi itzg, So I've been having these problem in a new machine. Where i wrote the docker-compose in an old machine and after 3 days trying to figure it out i have the conclusions of:

  1. It my new machine where is lack of permissions to wrote jar files
  2. Modpack authos (ATM9) change the game versions
  3. Api_key doesnt recognize auto_curseforge

So the server work in the image minecraft-server:latest but none of the minecraft-server:java17-graalvm and java21-graalvm ( in the old machine they work fine)

Services:
  minecraft:
    image: itzg/minecraft-server:java21-graalvm
    tty: true
    stdin_open: true
    ports:
    - "25565:25565"
    - "19565:19565"
    environment:
      EULA: "TRUE"
      MEMORY: "8G"
      MAX_MEMORY: "24G"
      MOTD: "JuanesxP"
      ENABLE_JMX: "true"
      JMZ_HOST: "7091"
      DIFFICULTY: "normal"
      MAX_PLAYERS: "6"
      VIEW_DISTANCE: "12"
      ONLINE_MODE: "false"
      NETWORK_COMPRESSION_THRESHOLD: "-1"
      USE_MODPACK_START_SCRIPT: "true"
      SIMULATION_DISTANCE: "12"
      TYPE: "AUTO_CURSEFORGE"
      CF_API_KEY: '$$2a$$10$$m8YYBri0xzG21Do/tFMODOe0dC8MzkZJnTQfZ6RZdoGv79k/diVFe'
      CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/all-the-mods-9/files/7097953"
      ##CURSEFOGE_FILES:| CF_EXLUDE_MODS: | PLUGINS: 
      CF_FORGE_REINSTALL_MODLOADER: true
      CF_FORGE_SYNCHRONIZE: true
      USE_MEOWICE_FLAGS: true
      USE_MEOWICE_GRAALVM_FLAGS: true
      JVM_OPTS: | ## Let me know if you want to know JVM they are too much but they are the same as USE_MEOWICE_GRAALVM
     volumes:
      # attach the relative directory 'data' to the container's /data path
      - ./data:/data
     restart: on-failure:3
     networks:
      minecraft:
        aliases:
          - minecraft
 networks:
  minecraft:
    name: minecraft
Data  version.json
  Processor failed, invalid outputs:
    /data/./libraries/net/minecraft/server/1.20.1-20230612.114412/server-1.20.1-20230612.114412-slim.jar
      Expected: 9e06bdd77ca6d95b2cced0bf372245f753eeb16a
      Actual:   549ed8cdd7186746f9499593675b4b265ceca7db
    /data/./libraries/net/minecraft/server/1.20.1-20230612.114412/server-1.20.1-20230612.114412-extra.jar
      Expected: 13522e3278befd103064d91a199451df4cd2633f
      Actual:   333b063513556432950a93407f1ba4453e8176f3
There was an error during installation
[mc-image-helper] 10:52:45.860 ERROR : 'install-curseforge' command failed. Version is 1.50.6
me.itzg.helpers.errors.GenericException: Forge installer failed with exit code 1
        at me.itzg.helpers.forge.ForgeLikeInstaller.install(ForgeLikeInstaller.java:208)
        at me.itzg.helpers.forge.ForgeLikeInstaller.install(ForgeLikeInstaller.java:96)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.prepareForge(CurseForgeInstaller.java:1015)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.prepareModLoader(CurseForgeInstaller.java:981)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.processModpack(CurseForgeInstaller.java:604)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.resolveModpackFileAndProcess(CurseForgeInstaller.java:414)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.installByRetrievingModpackZip(CurseForgeInstaller.java:274)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.lambda$install$3(CurseForgeInstaller.java:196)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.install(CurseForgeInstaller.java:242)
        at me.itzg.helpers.curseforge.CurseForgeInstaller.install(CurseForgeInstaller.java:195)
        at me.itzg.helpers.curseforge.InstallCurseForgeCommand.call(InstallCurseForgeCommand.java:252)
        at me.itzg.helpers.curseforge.InstallCurseForgeCommand.call(InstallCurseForgeCommand.java:33)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at me.itzg.helpers.McImageHelper.main(McImageHelper.java:176)
[init] [ERROR] Failed to auto-install CurseForge modpack 

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions