itzg/docker-minecraft-server

Old Minecraft Forge Versions not working

开放

#2,303 创建于 2023年7月24日

 (3 条评论) (0 个反应) (0 位负责人)Shell (1,858 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (13,694 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the problem

Minecraft 1.4.7 with Forge Version 6.6.1.529 is not working. I get itzg.helpers.errors.GenericException: Failed to locate forge installer Error.

Container definition

Image:  itzg/minecraft-server:java8-multiarch

    environment:
      TYPE: "FORGE"
      OVERRIDE_SERVER_PROPERTIES: "false"
      EULA: "TRUE"
      VERSION: "1.4.7"
      FORGE_VERSION: 6.6.1.529
      GUI: "FALSE"
      INIT_MEMORY: "1G"
      MAX_MEMORY: "12G"
      USE_AIKAR_FLAGS: "true"
      JVM_XX_OPTS: "-XX:+UseG1GC"

Container logs

 mc  | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Jul 24 10:51 /data'

 mc  | [init] Resolved version given 1.4.7 into 1.4.7 and major version 1.4

 mc  | [init] Resolving type given FORGE

 mc  | [ mc-image-helper] 10:51:14.594 INFO  : Downloading Forge installer 6.6.1.529 for Minecraft 1.4.7

 mc  | [ mc-image-helper] 10:51:15.922 ERROR : 'install-forge' command failed. Version is 1.29.0

 mc  | me.itzg.helpers.errors.GenericException: Failed to locate forge installer

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.downloadInstaller(ForgeInstaller.java:398)

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.downloadAndInstall(ForgeInstaller.java:258)

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.install(ForgeInstaller.java:134)

 mc  |    at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:84)

 mc  |    at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:16)

 mc  |    at picocli.CommandLine.executeUserObject(CommandLine.java:2041)

 mc  |    at picocli.CommandLine.access$1500(CommandLine.java:148)

 mc  |    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)

 mc  |    at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)

 mc  |    at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)

 mc  |    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)

 mc  |    at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)

 mc  |    at picocli.CommandLine.execute(CommandLine.java:2170)

 mc  |    at me.itzg.helpers. mcImageHelper.main( mcImageHelper.java:139)

 mc  | [init] ERROR failed to install Forge

 mc exited with code 1
```

贡献者指南