Recent Discussions

Stuck on "installing forge"...

Unanswered
Wool sower gall maker posted this in #questions
Messages31 messages
Views0 views
Wool sower gall makerOP
Hi all! I'm attempting to spin up a server with the CABIN modpack but I'm getting stuck on the 'installing Forge' step. Any help here? Here's my logs and docker compose.
... successful messages about startup ...
mc-1  | [mc-image-helper] 22:13:37.415 INFO  : Downloading Forge installer 47.4.0 for Minecraft 1.20.1
mc-1  | [mc-image-helper] 22:13:37.418 INFO  : Running Forge 47.4.0 installer for Minecraft 1.20.1. This might take a while...

it hangs here for an indefinite amount of time. i stopped it at 30 min


services:
  mc:
    image: itzg/minecraft-server:latest
    tty: true
    stdin_open: true
    ports:
      - 25566:25566
    dns:
      - 8.8.8.8
      - 8.8.4.4
    deploy:
      resources:
        limits:
          memory: 8G
    environment:
      EULA: "TRUE"
      TYPE: AUTO_CURSEFORGE
      CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/cabin
      CF_API_KEY: ${CF_API_KEY}
      MEMORY: 6144M
      SERVER_PORT: 25566
      USE_AIKAR_FLAGS: "true"
      ENABLE_COMMAND_BLOCK: "true"
      MAX_TICK_TIME: "-1"
      OPS: tealblue_
      CURSEFORGE_FILES: |-
        936020
        947914
        688768
        1281336
        439890
        869316
        create-mobile-packages
        create-balanced-flight-forked
        create-factory-logistics
        create-steam-n-rails
        create-railways-navigator
        create-extra-gauges
    volumes:
      - ./data:/data
      - /etc/localtime:/etc/localtime:ro
@Tamz have you tried to see if the non docker 47.4.0 installer works or no?
Wool sower gall makerOP
no sorry, i'd really like to keep this inside docker if possible but i can try on the host OS if that would help
it's just running a standard up-to-date installation of fedora server
got it, just seeing if the installer works on the OS itself. if it does then there is another issue
Wool sower gall makerOP
do i have to install minecraft to run the launcher? it's a headless server but if i can still test in that environment then i'll go do so
thanks for the help btw :)
no, you can just wget the installer jar and run it in --no-gui iirc.

Should be a .sh file somewhere for it too :thonk:
Wool sower gall makerOP
brb, doing that lol
Wool sower gall makerOP
having java installation issues 😭 will be back with an update soon
Wool sower gall makerOP
ok yeah it absolutely worked outside docker
java -jar ./forge-1.20.1-47.4.0-installer.jar --installServer produced a successful result
Wool sower gall makerOP
i tried deleting and recreating the docker container and i'm still experiencing the issue. it's been hanging with no update for about an hour
inside the docker container, i'm seeing this:
root@44139499e3fc:/data# java -jar ./forge-installer-1.20.1-47.4.0.jar --installServer
JVM info: Eclipse Adoptium - 25.0.1 - 25.0.1+8-LTS
java.net.preferIPv4Stack=true
Current Time: 15/01/2026 23:24:25
Host: files.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: maven.minecraftforge.net [172.67.161.211, 104.21.58.163]
Host: libraries.minecraft.net [13.107.246.51, 13.107.213.51]
Host: launchermeta.mojang.com [13.107.246.51, 13.107.213.51]
Host: piston-meta.mojang.com [13.107.246.51, 13.107.213.51]
Host: sessionserver.mojang.com [13.107.213.51, 13.107.246.51]
Host: authserver.mojang.com [Unknown]

i wonder if it's having issues looking up the address for the mojang authserver. it shouldn't be being blocked by my pihole since the DNS is set to 8.8.8.8 , but I'm not sure what else the issue could be
from outside the docker container, i can nslookup authserver.mojang.com properly. nslookup is not installed inside the docker container though.

indigo@indiserver:~$ nslookup authserver.mojang.com
Server:         ::1
Address:        ::1#53

Non-authoritative answer:
authserver.mojang.com   canonical name = d1fw3h4w8htlic.cloudfront.net.
Wool sower gall makerOP
verified that no firewall blocking is happening here, but for some reason it still wont work
i was able to manually resolve the authserver issue but its still hanging here...
root@9dad7577070a:/data# cat /etc/hosts
127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::  ip6-localnet
ff00::  ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
13.107.246.51   authserver.mojang.com
172.28.0.2      9dad7577070a
root@9dad7577070a:/data# java -jar ./forge-installer-1.20.1-47.4.0.jar --installServer
JVM info: Eclipse Adoptium - 25.0.1 - 25.0.1+8-LTS
java.net.preferIPv4Stack=true
Current Time: 15/01/2026 23:58:34
Host: files.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: maven.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: libraries.minecraft.net [13.107.213.51, 13.107.246.51]
Host: launchermeta.mojang.com [13.107.213.51, 13.107.246.51]
Host: piston-meta.mojang.com [13.107.213.51, 13.107.246.51]
Host: sessionserver.mojang.com [13.107.246.51, 13.107.213.51]
Host: authserver.mojang.com [13.107.246.51]
outside of the docker container, it progresses past this point just fine
indigo@indiserver:~$ java -jar ./forge-1.20.1-47.4.0-installer.jar --installServer
JVM info: Red Hat, Inc. - 25.0.1 - 25.0.1+8
java.net.preferIPv4Stack=true
Current Time: 15/01/2026 17:59:54
Host: files.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: maven.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: libraries.minecraft.net [13.107.246.51, 13.107.213.51]
Host: launchermeta.mojang.com [13.107.246.51, 13.107.213.51]
Host: piston-meta.mojang.com [13.107.246.51, 13.107.213.51]
Host: sessionserver.mojang.com [13.107.246.51, 13.107.213.51]
Host: authserver.mojang.com [Unknown]
Target Directory: .
Data kindly mirrored by CreeperHost at https://www.creeperhost.net/
Considering minecraft server jar
Downloading libraries
Found 0 additional library directories
Considering library cpw.mods:securejarhandler:2.1.10
  File exists: Checksum validated.
Considering library org.ow2.asm:asm:9.7.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-commons:9.7.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-tree:9.7.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-util:9.7.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-analysis:9.7.1
  File exists: Checksum validated.
Considering library net.minecraftforge:accesstransformers:8.0.4

note that the authserver is still unknown but its working
Wool sower gall makerOP
at this point im kind of stumped, it doesnt seem to be a network issue? but im honestly not sure
Connecticut Warbler
Is this hosted at home or at a provider
@Connecticut Warbler Is this hosted at home or at a provider
Wool sower gall makerOP
hosted at home, docker
Wool sower gall makerOP
tried deleting the entire container and cache as well as its data folder and corresponding cache and using docker compose up -d --force-recreate and it's still experiencing the issue :( here are the logs from today:
root@7e952c157d2b:/data# cat forge-installer-1.20.1-47.4.0.jar.log 
JVM info: Eclipse Adoptium - 25.0.1 - 25.0.1+8-LTS
java.net.preferIPv4Stack=true
Current Time: 16/01/2026 16:37:12
Host: files.minecraftforge.net [172.67.161.211, 104.21.58.163]
Host: maven.minecraftforge.net [172.67.161.211, 104.21.58.163]
Host: libraries.minecraft.net [13.107.213.51, 13.107.246.51]
Host: launchermeta.mojang.com [13.107.213.51, 13.107.246.51]
Host: piston-meta.mojang.com [13.107.246.51, 13.107.213.51]
Host: sessionserver.mojang.com [13.107.246.51, 13.107.213.51]
Host: authserver.mojang.com [Unknown]
root@7e952c157d2b:/data#
it just hangs there
Wool sower gall makerOP
the process is still running, it's not hard crashing, just hangs
root@7e952c157d2b:/data# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
minecra+       1  0.0  0.0   7612  4224 pts/0    Ss+  10:41   0:00 /bin/bash /image/scripts/start-deployA
minecra+      76  9.2  0.8 13688124 276156 pts/0 Sl+  10:41   0:17 /opt/java/openjdk/bin/java --enable-na
minecra+     231  1.1  0.3 11158444 112108 pts/0 Sl+  10:41   0:01 java -jar /data/./forge-installer-1.20
root         272  0.0  0.0   7612  4424 pts/1    Ss   10:41   0:00 bash
root         570  0.0  0.0  10888  4432 pts/1    R+   10:44   0:00 ps aux
root@7e952c157d2b:/data# 
Loading...