itzg / itzg/docker-minecraft-server

Old Minecraft Forge Versions not working

Open
#2,303 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Shell
Stars
14.3k
Forks
1.9k
Avg merge
2d 10h
Merged PRs (30d)
31

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

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the configuration with Minecraft 1.4.7 and Forge 6.6.1.529, then inspect ForgeInstaller.downloadInstaller at ForgeInstaller.java:398 and the install-forge command path shown in the logs. Done means the image can locate and install this Forge version, or clearly reports that the old installer is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.