itzg/docker-minecraft-server

Old Minecraft Forge Versions not working

Open

#2303 opened on Jul 24, 2023

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Shell (13,694 stars) (1,858 forks)batch import
enhancementhelp wanted

Description

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
```

Contributor guide