itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.18k stars 1.52k forks source link

Could not find or load main class @user_jvm_args.txt #2887

Closed msugenius closed 3 months ago

msugenius commented 3 months ago

Describe the problem

I'm trying to install CurseForge modpack on a server, which leads me to the following error:
Error: Could not find or load main class @user_jvm_args.txt Tried using different images: java8-openj9 java8 java21 all resulted in the same error. Modpack was installed using local .zip file (because without local files using only link it ran into error cause by 403 status response from CurseForge API). All parts of server seems working except user_jvm_args.txt

Container definition

Compose file ```bash networks: minecraft-server-network: external: true services: mc: container_name: mc image: itzg/minecraft-server:java8-openj9 volumes: - ./minecraft-server-data:/data - ./modpacks:/modpacks environment: EULA: true TYPE: AUTO_CURSEFORGE VERSION: 1.20.1 MEMORY: 3G SERVER_NAME: ${MINECRAFT_SERVER_SERVER_NAME} MOTD: ${MINECRAFT_SERVER_MOTD} LEVEL_TYPE: ${MINECRAFT_SERVER_LEVEL_TYPE} LEVEL: ${MINECRAFT_SERVER_LEVEL} MODE: ${MINECRAFT_SERVER_MODE} FORCE_GAMEMODE: ${MINECRAFT_SERVER_FORCE_GAMEMODE} DIFFICULTY: ${MINECRAFT_SERVER_DIFFICULTY} HARDCORE: ${MINECRAFT_SERVER_HARDCORE} ANNOUNCE_PLAYER_ACHIEVEMENTS: ${MINECRAFT_SERVER_ANNOUNCE_PLAYER_ACHIEVEMENTS} MAX_PLAYERS: ${MINECRAFT_SERVER_MAX_PLAYERS} PVP: ${MINECRAFT_SERVER_PVP} ENABLE_RCON: ${MINECRAFT_SERVER_ENABLE_RCON} RCON_PASSWORD: ${MINECRAFT_SERVER_RCON_PASSWORD} RCON_PORT: ${MINECRAFT_SERVER_RCON_PORT} SERVER_PORT: ${MINECRAFT_SERVER_SERVER_PORT} ALLOW_FLIGHT: ${MINECRAFT_SERVER_ALLOW_FLIGHT} MAX_WORLD_SIZE: ${MINECRAFT_SERVER_MAX_WORLD_SIZE} MAX_BUILD_HEIGHT: ${MINECRAFT_SERVER_MAX_BUILD_HEIGHT} SPAWN_ANIMALS: ${MINECRAFT_SERVER_SPAWN_ANIMALS} SPAWN_MONSTERS: ${MINECRAFT_SERVER_SPAWN_MONSTERS} SPAWN_NPCS: ${MINECRAFT_SERVER_SPAWN_NPCS} SPAWN_PROTECTION: ${MINECRAFT_SERVER_SPAWN_PROTECTION} VIEW_DISTANCE: ${MINECRAFT_SERVER_VIEW_DISTANCE} ONLINE_MODE: ${MINECRAFT_SERVER_ONLINE_MODE} SNOOPER_ENABLED: ${MINECRAFT_SERVER_SNOOPER_ENABLED} ENABLE_COMMAND_BLOCK: ${MINECRAFT_SERVER_ENABLE_COMMAND_BLOCK} # CF modpack CF_API_KEY: $$11$$22$$33... CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/galacticraft-4-ad-astra CF_MODPACK_ZIP: /modpacks/Galacticraft.zip TZ: ${MINECRAFT_SERVER_SERVER_TIMEZONE} SEED: ${MINECRAFT_SERVER_SEED} networks: - minecraft-server-network ports: - "${MINECRAFT_SERVER_SERVER_PORT}:${MINECRAFT_SERVER_SERVER_PORT}" restart: unless-stopped backups: image: itzg/mc-backup:latest environment: RCON_HOST: mc RCON_PORT: ${MINECRAFT_SERVER_RCON_PORT} RCON_PASSWORD: ${MINECRAFT_SERVER_RCON_PASSWORD} SERVER_PORT: ${MINECRAFT_SERVER_SERVER_PORT} SRC_DIR: /data BACKUP_METHOD: ${BACKUP_METHOD} BACKUP_INTERVAL: ${MINECRAFT_SERVER_BACKUP_INTERVAL} PRUNE_BACKUPS_DAYS: ${MINECRAFT_SERVER_PRUNE_BACKUPS_DAYS} INITIAL_DELAY: ${MINECRAFT_SERVER_INITIAL_DELAY} TZ: ${MINECRAFT_SERVER_SERVER_TIMEZONE} volumes: - ./minecraft-server-data:/data:ro - ./minecraft-server-data-backups:/backups networks: - minecraft-server-network restart: unless-stopped depends_on: mc: condition: service_healthy restore: image: ${MINECRAFT_SERVER_BACKUP_IMAGE_TAG} entrypoint: restore-tar-backup volumes: - ./minecraft-server-data:/data - ./minecraft-server-data-backups:/backups:ro networks: - minecraft-server-network restart: no depends_on: mc: condition: service_healthy ```

Container logs

Logs ```bash mc | [init] Changing ownership of /data to 1000 ... mc | [init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 2 1000 1000 4096 Jun 10 11:52 /data' mc | [mc-image-helper] 10:53:00.635 INFO : Installing modpack 'Galacticraft 4 (Ad Astra)' version null from provided modpack zip mc | [mc-image-helper] 10:53:01.678 INFO : Excluding mod file 'Mouse Tweaks' (mouse-tweaks) due to configuration mc | [mc-image-helper] 10:53:02.254 INFO : Downloaded mod file mods/SnowRealMagic-1.20.1-forge-9.0.1.jar mc | [mc-image-helper] 10:53:02.262 INFO : Downloaded mod file mods/tlc_forge-1.0.3-R-1.20.X.jar mc | [mc-image-helper] 10:53:02.272 INFO : Downloaded mod file mods/balm-forge-1.20-7.0.7.jar mc | [mc-image-helper] 10:53:02.275 INFO : Downloaded mod file mods/awesomedungeonocean-forge-1.20.1-3.3.0.jar mc | [mc-image-helper] 10:53:02.278 INFO : Downloaded mod file mods/PuzzlesLib-v8.0.24-1.20.1-Forge.jar mc | [mc-image-helper] 10:53:02.331 INFO : Downloaded mod file mods/XaerosWorldMap_1.32.0_Forge_1.20.jar mc | [mc-image-helper] 10:53:02.572 INFO : Downloaded mod file mods/curios-forge-5.2.0-beta.3+1.20.1.jar mc | [mc-image-helper] 10:53:02.581 INFO : Downloaded mod file mods/right-click-harvest-3.2.3+1.20.1-forge.jar mc | [mc-image-helper] 10:53:02.629 INFO : Downloaded mod file mods/Cucumber-1.20.1-7.0.0.jar mc | [mc-image-helper] 10:53:02.640 INFO : Downloaded mod file mods/resourcefullib-forge-1.20.1-2.1.9.jar mc | [mc-image-helper] 10:53:02.657 INFO : Downloaded mod file mods/bushierflowers-0.0.3-1.20.1.jar mc | [mc-image-helper] 10:53:02.705 INFO : Downloaded mod file mods/grappling_hook_mod-1.20.1-1.20.1-v13.jar mc | [mc-image-helper] 10:53:02.717 INFO : Downloaded mod file mods/resourcefulconfig-forge-1.20.1-2.1.0.jar mc | [mc-image-helper] 10:53:02.733 INFO : Downloaded mod file mods/MysticalAgradditions-1.20.1-7.0.1.jar mc | [mc-image-helper] 10:53:02.783 INFO : Downloaded mod file mods/MysticalAgriculture-1.20.1-7.0.2.jar mc | [mc-image-helper] 10:53:02.810 INFO : Downloaded mod file mods/FarmersDelight-1.20.1-1.2.3.jar mc | [mc-image-helper] 10:53:02.814 INFO : Downloaded mod file mods/storagedrawers-1.20.1-12.0.2.jar mc | [mc-image-helper] 10:53:02.826 INFO : Downloaded mod file mods/nyfsspiders-forge-1.20.1-2.1.0.jar mc | [mc-image-helper] 10:53:02.830 INFO : Downloaded mod file mods/supermartijn642corelib-1.1.12a-forge-mc1.20.jar mc | [mc-image-helper] 10:53:02.851 INFO : Downloaded mod file mods/Nullscape_1.20.1_v1.2.2.jar mc | [mc-image-helper] 10:53:02.873 INFO : Downloaded mod file mods/cristellib-1.1.1-forge.jar mc | [mc-image-helper] 10:53:02.888 INFO : Downloaded mod file mods/car-1.20.1-1.0.8.jar mc | [mc-image-helper] 10:53:02.897 INFO : Downloaded mod file mods/libraryferret-forge-1.20.1-4.0.0.jar mc | [mc-image-helper] 10:53:02.939 INFO : Downloaded mod file mods/dynamiclights-1.20.1.0.jar mc | [mc-image-helper] 10:53:02.956 INFO : Downloaded mod file mods/Kiwi-1.20.1-forge-11.1.1.jar mc | [mc-image-helper] 10:53:03.097 INFO : Downloaded mod file mods/refinedstorage-1.12.3.jar mc | [mc-image-helper] 10:53:03.160 INFO : Downloaded mod file mods/supplementaries-1.20-2.5.26.jar mc | [mc-image-helper] 10:53:03.194 INFO : Downloaded mod file mods/simplefarming-1.20.1-2.1.6.jar mc | [mc-image-helper] 10:53:03.205 INFO : Downloaded mod file mods/SereneSeasons-1.20.1-9.0.0.43.jar mc | [mc-image-helper] 10:53:03.241 INFO : Downloaded mod file mods/geckolib-forge-1.20.1-4.2.1.jar mc | [mc-image-helper] 10:53:03.310 INFO : Downloaded mod file mods/Terralith_1.20.1_v2.4.3.jar mc | [mc-image-helper] 10:53:03.354 INFO : Downloaded mod file mods/citadel-2.4.2-1.20.1.jar mc | [mc-image-helper] 10:53:03.382 INFO : Downloaded mod file mods/createaddition-1.20.1-1.0.0b.jar mc | [mc-image-helper] 10:53:03.387 INFO : Downloaded mod file mods/creeperoverhaul-3.0.1-forge.jar mc | [mc-image-helper] 10:53:03.411 INFO : Downloaded mod file mods/inventorysorter-1.20.1-23.0.1.jar mc | [mc-image-helper] 10:53:03.415 INFO : Downloaded mod file mods/moonlight-1.20-2.8.3-forge.jar mc | [mc-image-helper] 10:53:03.424 INFO : Downloaded mod file mods/connectedglass-1.1.7-forge-mc1.20.jar mc | [mc-image-helper] 10:53:03.443 INFO : Downloaded mod file mods/easy_piglins-1.20.1-1.0.1.jar mc | [mc-image-helper] 10:53:03.476 INFO : Downloaded mod file mods/Xaeros_Minimap_23.6.1_Forge_1.20.jar mc | [mc-image-helper] 10:53:03.506 INFO : Downloaded mod file mods/twilightforest-1.20.1-4.3.1750-universal.jar mc | [mc-image-helper] 10:53:03.518 INFO : Downloaded mod file mods/bettervillage-forge-1.20.1-3.2.0.jar mc | [mc-image-helper] 10:53:03.546 INFO : Downloaded mod file mods/sophisticatedbackpacks-1.20.1-3.18.56.890.jar mc | [mc-image-helper] 10:53:03.583 INFO : Downloaded mod file mods/easy_villagers-1.20.1-1.0.12.jar mc | [mc-image-helper] 10:53:03.654 INFO : Downloaded mod file mods/cloth-config-11.1.106-forge.jar mc | [mc-image-helper] 10:53:03.717 INFO : Downloaded mod file mods/alexsmobs-1.22.5.jar mc | [mc-image-helper] 10:53:03.800 INFO : Downloaded mod file mods/NaturesCompass-1.20.1-1.11.1-forge.jar mc | [mc-image-helper] 10:53:03.806 INFO : Downloaded mod file mods/veinmining-forge-1.2.0+1.20.1.jar mc | [mc-image-helper] 10:53:03.807 INFO : Downloaded mod file mods/VisualWorkbench-v8.0.0-1.20.1-Forge.jar mc | [mc-image-helper] 10:53:03.821 INFO : Downloaded mod file mods/BiomesOPlenty-1.20.1-18.0.0.597.jar mc | [mc-image-helper] 10:53:03.853 INFO : Downloaded mod file mods/ad_astra-forge-1.20.1-1.15.3.jar mc | [mc-image-helper] 10:53:03.857 INFO : Downloaded mod file mods/sophisticatedcore-1.20.1-0.5.83.395.jar mc | [mc-image-helper] 10:53:03.879 INFO : Downloaded mod file mods/cookingforblockheads-forge-1.20-16.0.0.jar mc | [mc-image-helper] 10:53:03.887 INFO : Downloaded mod file mods/botarium-forge-1.20.1-2.2.0.jar mc | [mc-image-helper] 10:53:03.889 INFO : Downloaded mod file mods/TerraBlender-forge-1.20.1-3.0.0.169.jar mc | [mc-image-helper] 10:53:03.920 INFO : Downloaded mod file mods/Towns-and-Towers-1.11-Fabric+Forge.jar mc | [mc-image-helper] 10:53:03.941 INFO : Downloaded mod file mods/create-1.20.1-0.5.1.d.jar mc | [mc-image-helper] 10:53:03.965 INFO : Downloaded mod file mods/Incendium_1.20.1_v5.3.1.jar mc | [mc-image-helper] 10:53:03.977 INFO : Downloaded mod file mods/bfendcities-1.0.jar mc | [mc-image-helper] 10:53:03.986 INFO : Downloaded mod file mods/ToolBelt-1.20-1.20.0.jar mc | [mc-image-helper] 10:53:04.119 INFO : Downloaded mod file mods/jei-1.20.1-forge-15.2.0.25.jar mc | [mc-image-helper] 10:53:04.724 INFO : Downloading Forge installer 47.1.0 for Minecraft 1.20.1 mc | [mc-image-helper] 10:53:06.042 INFO : Running Forge 47.1.0 installer for Minecraft 1.20.1. This might take a while... mc | [init] Creating server properties in /data/server.properties mc | [init] Disabling whitelist functionality mc | [init] Setting mode mc | [mc-image-helper] 10:53:32.367 INFO : Created/updated 28 properties in /data/server.properties mc | [init] Setting initial memory to 3G and max to 3G mc | [init] Using Forge supplied run.sh script... mc | Error: Could not find or load main class @user_jvm_args.txt mc | 2024-06-10T11:53:38.016+0300 WARN mc-server-runner Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error. {"exitCode": 1} mc | 2024-06-10T11:53:38.016+0300 INFO mc-server-runner Done dependency failed to start: container mc is unhealthy ```
itzg commented 3 months ago

Java 21 should have worked, but something wasn't applied correctly. Did you run docker compose up -d again?

Switch image to itzg/minecraft-server:java17, apply the compose file changes, and if it still doesn't work, provide the logs with that Java version.

msugenius commented 3 months ago

Thank you! With itzg/minecraft-server:java17 image server started successfully with type vanilla. But after switch back to CurseForge it crashed, I I'm sure this is due to modifications, or rather the wrong Forge version, so I tried to add to my compose file following variable FORGE_VERSION: 47.1.3 but it didn't work as expected(logs attached) . I would be very grateful if you tell me what I can do in this situation.. Anyway, thanks for your help!

Logs ```bash mc | [init] Changing ownership of /data to 1000 ... mc | [init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 2 1000 1000 4096 Jun 10 19:48 /data' mc | [mc-image-helper] 19:48:41.627 INFO : Installing modpack 'Galacticraft 4 (Ad Astra)' version null from provided modpack zip mc | [mc-image-helper] 19:48:42.609 INFO : Excluding mod file 'Mouse Tweaks' (mouse-tweaks) due to configuration mc | [mc-image-helper] 19:48:43.075 INFO : Downloaded mod file mods/PuzzlesLib-v8.0.24-1.20.1-Forge.jar mc | [mc-image-helper] 19:48:43.089 INFO : Downloaded mod file mods/bushierflowers-0.0.3-1.20.1.jar mc | [mc-image-helper] 19:48:43.099 INFO : Downloaded mod file mods/awesomedungeonocean-forge-1.20.1-3.3.0.jar mc | [mc-image-helper] 19:48:43.107 INFO : Downloaded mod file mods/curios-forge-5.2.0-beta.3+1.20.1.jar mc | [mc-image-helper] 19:48:43.442 INFO : Downloaded mod file mods/SnowRealMagic-1.20.1-forge-9.0.1.jar mc | [mc-image-helper] 19:48:43.575 INFO : Downloaded mod file mods/Cucumber-1.20.1-7.0.0.jar mc | [mc-image-helper] 19:48:43.586 INFO : Downloaded mod file mods/ToolBelt-1.20-1.20.0.jar mc | [mc-image-helper] 19:48:43.602 INFO : Downloaded mod file mods/tlc_forge-1.0.3-R-1.20.X.jar mc | [mc-image-helper] 19:48:43.607 INFO : Downloaded mod file mods/XaerosWorldMap_1.32.0_Forge_1.20.jar mc | [mc-image-helper] 19:48:43.710 INFO : Downloaded mod file mods/balm-forge-1.20-7.0.7.jar mc | [mc-image-helper] 19:48:43.738 INFO : Downloaded mod file mods/FarmersDelight-1.20.1-1.2.3.jar mc | [mc-image-helper] 19:48:43.748 INFO : Downloaded mod file mods/resourcefulconfig-forge-1.20.1-2.1.0.jar mc | [mc-image-helper] 19:48:43.749 INFO : Downloaded mod file mods/sophisticatedbackpacks-1.20.1-3.18.56.890.jar mc | [mc-image-helper] 19:48:43.790 INFO : Downloaded mod file mods/car-1.20.1-1.0.8.jar mc | [mc-image-helper] 19:48:43.791 INFO : Downloaded mod file mods/jei-1.20.1-forge-15.2.0.25.jar mc | [mc-image-helper] 19:48:43.811 INFO : Downloaded mod file mods/veinmining-forge-1.2.0+1.20.1.jarmc | [mc-image-helper] 19:48:43.838 INFO : Downloaded mod file mods/libraryferret-forge-1.20.1-4.0.0.jar mc | [mc-image-helper] 19:48:43.838 INFO : Downloaded mod file mods/MysticalAgriculture-1.20.1-7.0.2.jar mc | [mc-image-helper] 19:48:43.858 INFO : Downloaded mod file mods/supermartijn642corelib-1.1.12a-forge-mc1.20.jar mc | [mc-image-helper] 19:48:43.864 INFO : Downloaded mod file mods/right-click-harvest-3.2.3+1.20.1-forge.jar mc | [mc-image-helper] 19:48:43.882 INFO : Downloaded mod file mods/Kiwi-1.20.1-forge-11.1.1.jar mc | [mc-image-helper] 19:48:43.963 INFO : Downloaded mod file mods/creeperoverhaul-3.0.1-forge.jar mc | [mc-image-helper] 19:48:43.975 INFO : Downloaded mod file mods/grappling_hook_mod-1.20.1-1.20.1-v13.jar mc | [mc-image-helper] 19:48:44.011 INFO : Downloaded mod file mods/geckolib-forge-1.20.1-4.2.1.jar mc | [mc-image-helper] 19:48:44.027 INFO : Downloaded mod file mods/MysticalAgradditions-1.20.1-7.0.1.jar mc | [mc-image-helper] 19:48:44.033 INFO : Downloaded mod file mods/SereneSeasons-1.20.1-9.0.0.43.jarmc | [mc-image-helper] 19:48:44.076 INFO : Downloaded mod file mods/refinedstorage-1.12.3.jar mc | [mc-image-helper] 19:48:44.077 INFO : Downloaded mod file mods/cloth-config-11.1.106-forge.jar mc | [mc-image-helper] 19:48:44.091 INFO : Downloaded mod file mods/Nullscape_1.20.1_v1.2.2.jar mc | [mc-image-helper] 19:48:44.139 INFO : Downloaded mod file mods/NaturesCompass-1.20.1-1.11.1-forge.jar mc | [mc-image-helper] 19:48:44.334 INFO : Downloaded mod file mods/moonlight-1.20-2.8.3-forge.jar mc | [mc-image-helper] 19:48:44.338 INFO : Downloaded mod file mods/nyfsspiders-forge-1.20.1-2.1.0.jar mc | [mc-image-helper] 19:48:44.359 INFO : Downloaded mod file mods/citadel-2.4.2-1.20.1.jar mc | [mc-image-helper] 19:48:44.380 INFO : Downloaded mod file mods/create-1.20.1-0.5.1.d.jar mc | [mc-image-helper] 19:48:44.381 INFO : Downloaded mod file mods/VisualWorkbench-v8.0.0-1.20.1-Forge.jar mc | [mc-image-helper] 19:48:44.452 INFO : Downloaded mod file mods/cristellib-1.1.1-forge.jar mc | [mc-image-helper] 19:48:44.478 INFO : Downloaded mod file mods/alexsmobs-1.22.5.jar mc | [mc-image-helper] 19:48:44.516 INFO : Downloaded mod file mods/bettervillage-forge-1.20.1-3.2.0.jar mc | [mc-image-helper] 19:48:44.525 INFO : Downloaded mod file mods/resourcefullib-forge-1.20.1-2.1.9.jar mc | [mc-image-helper] 19:48:44.528 INFO : Downloaded mod file mods/easy_piglins-1.20.1-1.0.1.jar mc | [mc-image-helper] 19:48:44.529 INFO : Downloaded mod file mods/ad_astra-forge-1.20.1-1.15.3.jar mc | [mc-image-helper] 19:48:44.544 INFO : Downloaded mod file mods/Terralith_1.20.1_v2.4.3.jar mc | [mc-image-helper] 19:48:44.558 INFO : Downloaded mod file mods/createaddition-1.20.1-1.0.0b.jar mc | [mc-image-helper] 19:48:44.559 INFO : Downloaded mod file mods/TerraBlender-forge-1.20.1-3.0.0.169.jar mc | [mc-image-helper] 19:48:44.574 INFO : Downloaded mod file mods/sophisticatedcore-1.20.1-0.5.83.395.jar mc | [mc-image-helper] 19:48:44.579 INFO : Downloaded mod file mods/simplefarming-1.20.1-2.1.6.jar mc | [mc-image-helper] 19:48:44.586 INFO : Downloaded mod file mods/botarium-forge-1.20.1-2.2.0.jar mc | [mc-image-helper] 19:48:44.590 INFO : Downloaded mod file mods/Incendium_1.20.1_v5.3.1.jar mc | [mc-image-helper] 19:48:44.598 INFO : Downloaded mod file mods/bfendcities-1.0.jar mc | [mc-image-helper] 19:48:44.599 INFO : Downloaded mod file mods/inventorysorter-1.20.1-23.0.1.jarmc | [mc-image-helper] 19:48:44.603 INFO : Downloaded mod file mods/storagedrawers-1.20.1-12.0.2.jar mc | [mc-image-helper] 19:48:44.615 INFO : Downloaded mod file mods/Towns-and-Towers-1.11-Fabric+Forge.jar mc | [mc-image-helper] 19:48:44.622 INFO : Downloaded mod file mods/easy_villagers-1.20.1-1.0.12.jar mc | [mc-image-helper] 19:48:44.625 INFO : Downloaded mod file mods/supplementaries-1.20-2.5.26.jar mc | [mc-image-helper] 19:48:44.660 INFO : Downloaded mod file mods/cookingforblockheads-forge-1.20-16.0.0.jar mc | [mc-image-helper] 19:48:44.714 INFO : Downloaded mod file mods/BiomesOPlenty-1.20.1-18.0.0.597.jar mc | [mc-image-helper] 19:48:44.780 INFO : Downloaded mod file mods/twilightforest-1.20.1-4.3.1750-universal.jar mc | [mc-image-helper] 19:48:44.905 INFO : Downloaded mod file mods/dynamiclights-1.20.1.0.jar mc | [mc-image-helper] 19:48:44.995 INFO : Downloaded mod file mods/connectedglass-1.1.7-forge-mc1.20.jar mc | [mc-image-helper] 19:48:45.064 INFO : Downloaded mod file mods/Xaeros_Minimap_23.6.1_Forge_1.20.jar mc | [mc-image-helper] 19:48:45.681 INFO : Downloading Forge installer 47.1.0 for Minecraft 1.20.1 mc | [mc-image-helper] 19:48:46.177 INFO : Running Forge 47.1.0 installer for Minecraft 1.20.1. This might take a while... mc | [init] Creating server properties in /data/server.properties mc | [init] Disabling whitelist functionality mc | [init] Setting mode mc | [mc-image-helper] 19:49:13.722 INFO : Created/updated 28 properties in /data/server.properties mc | [init] Setting initial memory to 3G and max to 3G mc | [init] Using Forge supplied run.sh script... mc | 2024-06-10 19:49:20,803 main WARN Advanced terminal features are not available in this environment mc | [19:49:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.1.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] mc | [19:49:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.11 by Eclipse Adoptium; OS Linux arch amd64 version 5.15.0-112-generic mc | [19:49:21] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver mc | [19:49:21] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/data/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2365!/ Service=ModLauncher Env=SERVER mc | [19:49:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/fmlcore/1.20.1-47.1.0/fmlcore-1.20.1-47.1.0.jar is missing mods.toml file mc | [19:49:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.1.0/javafmllanguage-1.20.1-47.1.0.jar is missing mods.toml file mc | [19:49:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.1.0/lowcodelanguage-1.20.1-47.1.0.jar is missing mods.toml file mc | [19:49:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/mclanguage/1.20.1-47.1.0/mclanguage-1.20.1-47.1.0.jar is missing mods.toml file mc | [19:49:22] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /data/mods/resourcefullib-forge-1.20.1-2.1.9.jar mc | [19:49:22] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 8 dependencies adding them to mods collection mc | [19:49:25] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 mc | [19:49:25] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [de.maxhenkel.car.MixinConnector] mc | [19:49:25] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] mc | [19:49:25] [main/WARN] [mixin/]: Reference map 'grapplemod.refmap.json' for grapplemod.mixins.json could not be read. If this is a development environment you can ignore this message mc | [19:49:25] [main/WARN] [mixin/]: Reference map 'cookingforblockheads.refmap.json' for cookingforblockheads.mixins.json could not be read. If this is a development environment you can ignore this message mc | [19:49:25] [main/WARN] [mixin/]: Reference map 'cristellib-common-refmap.json' for cristellib-common.mixins.json could not be read. If this is a development environment you can ignore this message mc | [19:49:25] [main/WARN] [mixin/]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message mc | [19:49:26] [main/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class vectorwing/farmersdelight/client/renderer/CanvasSignRenderer for invalid dist DEDICATED_SERVER mc | [19:49:26] [main/WARN] [mixin/]: Error loading class: vectorwing/farmersdelight/client/renderer/CanvasSignRenderer (java.lang.RuntimeException: Attempted to load class vectorwing/farmersdelight/client/renderer/CanvasSignRenderer for invalid dist DEDICATED_SERVER) mc | [19:49:27] [main/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/gui/Gui for invalid dist DEDICATED_SERVER mc | [19:49:27] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/gui/Gui (java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/Gui for invalid dist DEDICATED_SERVER) mc | [19:49:27] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.gui.Gui was not found assets/car/car.mixins.json:GuiMixin mc | [19:49:27] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/gui/screens/SoundOptionsScreen (java.lang.ClassNotFoundException: net.minecraft.client.gui.screens.SoundOptionsScreen) mc | [19:49:27] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.gui.screens.SoundOptionsScreen was not found assets/car/car.mixins.json:SoundOptionsScreenMixin mc | [19:49:27] [main/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class vectorwing/farmersdelight/client/renderer/CanvasSignRenderer for invalid dist DEDICATED_SERVER mc | [19:49:27] [main/WARN] [mixin/]: Error loading class: vectorwing/farmersdelight/client/renderer/CanvasSignRenderer (java.lang.RuntimeException: Attempted to load class vectorwing/farmersdelight/client/renderer/CanvasSignRenderer for invalid dist DEDICATED_SERVER) mc | [19:49:27] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/renderer/blockentity/SignRenderer (java.lang.ClassNotFoundException: net.minecraft.client.renderer.blockentity.SignRenderer) mc | [19:49:27] [main/ERROR] [mixin/]: Cannot invoke "org.spongepowered.asm.mixin.transformer.ClassInfo.isMixin()" because "superClass" is null mc | java.lang.NullPointerException: Cannot invoke "org.spongepowered.asm.mixin.transformer.ClassInfo.isMixin()" because "superClass" is null mc | at org.spongepowered.asm.mixin.transformer.MixinInfo$SubType$Standard.validate(MixinInfo.java:581) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinInfo$State.validate(MixinInfo.java:327) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinInfo.validate(MixinInfo.java:913) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinConfig.postInitialise(MixinConfig.java:801) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:567) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {} mc | at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.9.jar%2355!/:10.0.9+10.0.9+main.dcd20f30] {} mc | at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?] {} mc | at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {} mc | at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?] {} mc | at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {} mc | at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?] {} mc | at java.lang.Class.forName(Unknown Source) ~[?:?] {} mc | at net.minecraftforge.fml.loading.ImmediateWindowHandler$DummyProvider.lambda$updateModuleReads$1(ImmediateWindowHandler.java:145) ~[fmlloader-1.20.1-47.1.0.jar%2369!/:1.0] {} mc | at java.util.Optional.map(Unknown Source) ~[?:?] {} mc | at net.minecraftforge.fml.loading.ImmediateWindowHandler$DummyProvider.updateModuleReads(ImmediateWindowHandler.java:145) ~[fmlloader-1.20.1-47.1.0.jar%2369!/:1.0] {} mc | at net.minecraftforge.fml.loading.ImmediateWindowHandler.acceptGameLayer(ImmediateWindowHandler.java:71) ~[fmlloader-1.20.1-47.1.0.jar%2369!/:1.0] {} mc | at net.minecraftforge.fml.loading.FMLLoader.beforeStart(FMLLoader.java:207) ~[fmlloader-1.20.1-47.1.0.jar%2369!/:1.0] {} mc | at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.launchService(CommonLaunchHandler.java:92) ~[fmlloader-1.20.1-47.1.0.jar%2369!/:?] {} mc | at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar%2355!/:?] {} mc | at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} mc | [Serene Seasons Transformer]: Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Patched 1 calls mc | [Serene Seasons Transformer]: Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Successfully patched shouldSnow mc | [Serene Seasons Transformer]: Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Patched 1 calls mc | [Serene Seasons Transformer]: Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Successfully patched shouldSnow mc | [Serene Seasons Transformer]: Transforming m_47480_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Patched 1 calls mc | [Serene Seasons Transformer]: Transforming m_47519_ (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z in net/minecraft/world/level/biome/Biome mc | [Serene Seasons Transformer]: Successfully patched shouldSnow mc | [19:49:36] [modloading-worker-0/INFO] [sn.ki.Kiwi/INIT]: Processing 3 KiwiModule annotations mc | [19:49:36] [modloading-worker-0/INFO] [co.jt.li.LibraryFerret/]: Initialize mod Library Ferret mc | [19:49:36] [modloading-worker-0/INFO] [co.jt.li.LibraryFerret/]: Initialized mod Library Ferret mc | [19:49:36] [modloading-worker-0/INFO] [Puzzles Lib/]: Constructing common components for visualworkbench:main mc | [19:49:36] [modloading-worker-0/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Forge mod loading, version 47.1.0, for MC 1.20.1 with MCP 20230612.114412 mc | [19:49:36] [modloading-worker-0/INFO] [ne.mi.co.MinecraftForge/FORGE]: MinecraftForge v47.1.0 Initialized mc | [19:49:37] [modloading-worker-0/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file /data/config/supplementaries-common.toml is not correct. Correcting mc | [19:49:37] [modloading-worker-0/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key tools.quiver.quiver_skeleton_spawn_chance was corrected from null to its default, 0.03. mc | [19:49:37] [modloading-worker-0/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key tools.quiver.quiver_skeleton_chance was corrected from 0.2 to its default, null. mc | [19:49:37] [modloading-worker-0/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key tweaks.bottle_xp.target_block was corrected from null to its default, . mc | [19:49:37] [modloading-worker-0/INFO] [co.re.re.ap.API/]: Found 0 RS API injection points mc | [19:49:39] [modloading-worker-0/INFO] [Mystical Agriculture/]: Registered plugin: com.blakebr0.mysticalagriculture.lib.ModCorePlugin mc | [19:49:39] [modloading-worker-0/INFO] [Mystical Agriculture/]: Registered plugin: com.blakebr0.mysticalagradditions.lib.ModCorePlugin mc | [19:49:40] [modloading-worker-0/INFO] [de.en.si.co.SimpleFarming/]: Simple Farming setup complete! ```
itzg commented 3 months ago

Now you're probably running into this common problem with modpacks

https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/#exclude-client-mods

msugenius commented 3 months ago

Thanks a lot, man, I'll try to figure it out!