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.38k stars 1.54k forks source link

Unable to download any curseforge mods after api switch #2045

Closed KundaPanda closed 1 year ago

KundaPanda commented 1 year ago

Describe the problem

After the switch to the official CF API, mc-image-helper is unable to download any mods.

I have turned on the debug logging and checked that metadata for all mods included in a modpack gets fetched from the API but is deemed unavailable for download here.

I sent requests for multiple mod metadata using the API, and all of them had "isAvailable": true,.

Because of this, no mods are downloaded, and the server fails to start.

Container definition

services:
  mc:
    image: itzg/minecraft-server:java19
    environment:
      EULA: true
      TYPE: AUTO_CURSEFORGE
      DEBUG_HELPER: true
      CF_API_KEY: ...
      CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-of-fabric-6/files/4459487
      MEMORY: 8G
      RCON_PASSWORD: ...
      JVM_OPTS: ...
    ports:
      - 25565:25565
    volumes:
      - ./data:/data
    stdin_open: true
    tty: true
    restart: unless-stopped
volumes:
  data: {}

Container logs

Logs ``` aof6-mc-1 | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 24 1000 1000 4096 Mar 30 09:26 /data' aof6-mc-1 | [mc-image-helper] 09:26:50.729 DEBUG : Getting uri=https://launchermeta.mojang.com/mc/game/version_manifest.json aof6-mc-1 | [mc-image-helper] 09:26:50.733 DEBUG : Executing GET /mc/game/version_manifest.json with headers=[Accept: application/json] aof6-mc-1 | [mc-image-helper] 09:26:50.739 DEBUG : Intercepting request uri=https://launchermeta.mojang.com/mc/game/version_manifest.json aof6-mc-1 | [mc-image-helper] 09:26:51.040 DEBUG : Post-request capturing redirectLocations=[] aof6-mc-1 | [mc-image-helper] 09:26:51.040 DEBUG : Response: status=200, reason=OK, headers=[Cache-Control: public, max-age=120, Transfer-Encoding: chunked, Content-Type: application/json, Last-Modified: Wed, 29 Mar 2023 14:18:00 GMT, ETag: 0x8DB306066BC9F57, X-Cache: TCP_MISS, Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0, x-ms-request-id: 96d7af1c-501e-0003-1de9-627d95000000, x-ms-version: 2009-09-19, x-ms-lease-status: unlocked, x-ms-blob-type: BlockBlob, Access-Control-Allow-Origin: *, X-Azure-Ref: 02lUlZAAAAAA+5CJfYqUeQ7UdeDyR6Vt4QU1TMDRFREdFMTgxNgAyYWJmMmU2Ni1iZGVhLTQ1Y2MtOWEwMy02NGEzYmZjNDcyM2Y=, Date: Thu, 30 Mar 2023 09:26:50 GMT] aof6-mc-1 | [init] Resolved version given LATEST into 1.19.4 and major version 1.19 aof6-mc-1 | [init] Resolving type given AUTO_CURSEFORGE aof6-mc-1 | [mc-image-helper] 09:26:53.515 DEBUG : JSON FETCH: uri=https://raw.githubusercontent.com/itzg/docker-minecraft-server/master/files/cf-exclude-include.json headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=unspecified), x-fetch-session: beb3a32a-44f7-418b-a616-4fe471322d2c, host: raw.githubusercontent.com, accept: */*] aof6-mc-1 | [mc-image-helper] 09:26:53.616 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/categories?gameId=432&classesOnly=true headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:53.654 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/search?gameId=432&slug=all-of-fabric-6&classId=4471 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:53.672 DEBUG : Getting mod file metadata for 695890:4459487 aof6-mc-1 | [mc-image-helper] 09:26:53.675 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/695890/files/4459487 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:53.685 INFO : Processing modpack 'All of Fabric 6 - 1.5.1' (all-of-fabric-6) @ 695890:4459487 aof6-mc-1 | [mc-image-helper] 09:26:54.025 DEBUG : Modpack file retrieval: status=DOWNLOADING uri=https://edge.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip file=/tmp/curseforge-modpack15027053265360719237zip aof6-mc-1 | [mc-image-helper] 09:26:54.025 DEBUG : FILE FETCH: uri=https://edge.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, host: edge.forgecdn.net, accept: */*] aof6-mc-1 | [mc-image-helper] 09:26:54.173 DEBUG : Modpack file retrieval: status=DOWNLOADING uri=https://edge.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip file=/tmp/curseforge-modpack15027053265360719237zip aof6-mc-1 | [mc-image-helper] 09:26:54.173 DEBUG : FILE FETCH: uri=https://mediafilez.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, host: mediafilez.forgecdn.net, accept: */*] aof6-mc-1 | [mc-image-helper] 09:26:54.511 DEBUG : Modpack file retrieval: status=DOWNLOADED uri=https://edge.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip file=/tmp/curseforge-modpack15027053265360719237zip aof6-mc-1 | [mc-image-helper] 09:26:54.514 DEBUG : Download of https://edge.forgecdn.net/files/4459/487/All-of-Fabric-6-1.5.1.zip took 823ms at 22286 KB/s aof6-mc-1 | [mc-image-helper] 09:26:54.515 DEBUG : Reconciling exclude/includes from given ExcludeIncludesContent(globalExcludes=[dynamiclights-reforged, entityculling, extreme-sound-muffler, ignitioncoil, torohealth-damage-indicators, carry-on, entity-texture-features-fabric, defensive-measures, skin-layers-3d, textrues-rubidium-options, not-enough-animations, rubidium-extra, nekos-enchanted-books, rubidium, neat, oculus, magnesium-extras, legendary-tooltips], globalForceIncludes=null, modpacks={all-of-fabric-6=ExcludeIncludesContent.ExcludeIncludes(excludes=null, forceIncludes=[revelationary]), valhelsia-5=ExcludeIncludesContent.ExcludeIncludes(excludes=[modernfix], forceIncludes=null)}) ... aof6-mc-1 | [mc-image-helper] 09:26:54.707 DEBUG : Getting mod metadata for 704113 aof6-mc-1 | [mc-image-helper] 09:26:54.706 DEBUG : Getting mod metadata for 602536 aof6-mc-1 | [mc-image-helper] 09:26:54.710 DEBUG : Getting mod metadata for 487364 aof6-mc-1 | [mc-image-helper] 09:26:54.711 DEBUG : Getting mod metadata for 547434 aof6-mc-1 | [mc-image-helper] 09:26:55.175 DEBUG : Download/confirm mod Decorative Blocks-fabric-1.19.2-3.0.0.jar @ 362528:3941637 aof6-mc-1 | [mc-image-helper] 09:26:55.175 WARN : The file Decorative Blocks-fabric-1.19.2-3.0.0.jar from Decorative Blocks is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.207 DEBUG : Download/confirm mod cleancut-1.19.2-5.1-fabric.jar @ 392805:3950652 aof6-mc-1 | [mc-image-helper] 09:26:55.207 WARN : The file cleancut-1.19.2-5.1-fabric.jar from CleanCut is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.213 DEBUG : Download/confirm mod EffectTooltips-Fabric-1.19.2-5.1.3.jar @ 520367:4019432 aof6-mc-1 | [mc-image-helper] 09:26:55.213 WARN : The file EffectTooltips-Fabric-1.19.2-5.1.3.jar from Effect Tooltips is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.216 DEBUG : Download/confirm mod wolves-with-armor-1.8.0-1.19.jar @ 375969:3853629 aof6-mc-1 | [mc-image-helper] 09:26:55.216 WARN : The file wolves-with-armor-1.8.0-1.19.jar from Wolves With Armor is not available for download, so it will be skipped ... aof6-mc-1 | [mc-image-helper] 09:26:55.470 DEBUG : Getting mod file metadata for 704113:4306550 aof6-mc-1 | [mc-image-helper] 09:26:55.471 DEBUG : Getting mod file metadata for 659274:4102436 aof6-mc-1 | [mc-image-helper] 09:26:55.472 DEBUG : Getting mod file metadata for 547434:4401535 aof6-mc-1 | [mc-image-helper] 09:26:55.473 DEBUG : Getting mod file metadata for 577468:4405625 aof6-mc-1 | [mc-image-helper] 09:26:55.474 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/636540 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.474 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/667245 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.475 DEBUG : Getting mod file metadata for 610492:4034011 aof6-mc-1 | [mc-image-helper] 09:26:55.476 DEBUG : Getting mod file metadata for 623764:4318554 aof6-mc-1 | [mc-image-helper] 09:26:55.477 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/547694 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.477 DEBUG : Getting mod file metadata for 500525:4442592 aof6-mc-1 | [mc-image-helper] 09:26:55.479 DEBUG : Download/confirm mod tempad-fabric-1.19.2-1.4.3.jar @ 514923:3994389 aof6-mc-1 | [mc-image-helper] 09:26:55.479 WARN : The file Tempad 1.4.3 [FABRIC 1.19.2] from Tempad is not available for download, so it will be skipped ... aof6-mc-1 | [mc-image-helper] 09:26:55.787 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/704113/files/4306550 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.788 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/459929 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.788 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/547434/files/4401535 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.788 DEBUG : Download/confirm mod kleeslabs-fabric-1.19.2-12.2.0.jar @ 547695:4440438 aof6-mc-1 | [mc-image-helper] 09:26:55.788 WARN : The file kleeslabs-fabric-1.19.2-12.2.0.jar from KleeSlabs (Fabric Edition) is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.789 DEBUG : Download/confirm mod YungsExtras-1.19.2-Fabric-3.1.0.jar @ 590993:4031232 aof6-mc-1 | [mc-image-helper] 09:26:55.789 WARN : The file [1.19.2] YUNG's Extras v3.1.0 (Fabric) from YUNG's Extras (Fabric) is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.790 DEBUG : Download/confirm mod player-animation-lib-fabric-1.0.2.jar @ 658587:4418150 aof6-mc-1 | [mc-image-helper] 09:26:55.790 WARN : The file player-animation-lib-fabric-1.0.2.jar from playerAnimator is not available for download, so it will be skipped ... aof6-mc-1 | [mc-image-helper] 09:26:55.968 DEBUG : Download/confirm mod botarium-fabric-1.19.2-1.8.2.jar @ 704113:4306550 aof6-mc-1 | [mc-image-helper] 09:26:55.968 WARN : The file botarium-fabric-1.19.2-1.8.2.jar from Botarium is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.968 DEBUG : Download/confirm mod cloth-config-8.2.88-fabric.jar @ 348521:3972420 aof6-mc-1 | [mc-image-helper] 09:26:55.968 WARN : The file [Fabric 1.19-1.19.2] v8.2.88 from Cloth Config API (Fabric/Forge) is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.968 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/577468/files/4405625 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.968 DEBUG : Download/confirm mod ForgeConfigAPIPort-v4.2.11-1.19.2-Fabric.jar @ 547434:4401535 aof6-mc-1 | [mc-image-helper] 09:26:55.968 WARN : The file [FABRIC] [1.19.2] ForgeConfigAPIPort-v4.2.11 from Forge Config API Port [Fabric] is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.969 DEBUG : Getting mod file metadata for 501456:4386684 aof6-mc-1 | [mc-image-helper] 09:26:55.970 DEBUG : Download/confirm mod balm-fabric-1.19.2-4.5.7.jar @ 500525:4442592 aof6-mc-1 | [mc-image-helper] 09:26:55.970 WARN : The file balm-fabric-1.19.2-4.5.7.jar from Balm (Fabric Edition) is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.970 DEBUG : Download/confirm mod patchoulibutton-1.0.2.jar @ 703778:4297608 aof6-mc-1 | [mc-image-helper] 09:26:55.970 WARN : The file patchoulibutton-1.0.2.jar from PatchouliButton is not available for download, so it will be skipped aof6-mc-1 | [mc-image-helper] 09:26:55.970 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/610492/files/4034011 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: PLACEHOLDER, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:26:55.971 DEBUG : Download/confirm mod gag-fabric-2.0.0-build.6.jar @ 694962:4415668 aof6-mc-1 | [mc-image-helper] 09:26:55.971 WARN : The file GAG Fabric 2.0.0-build.6 from Gadgets Against Grind is not available for download, so it will be skipped ... aof6-mc-1 | [mc-image-helper] 09:26:56.830 DEBUG : JSON FETCH: uri=https://meta.fabricmc.net/v2/versions/installer headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=fabric), x-fetch-session: 33a3f2fa-510e-4a58-830a-8b93144fd8ec, accept: application/json, host: meta.fabricmc.net] aof6-mc-1 | [mc-image-helper] 09:26:56.851 INFO : Installing Fabric Versions(game=1.19.2, loader=0.14.18, installer=0.11.2) aof6-mc-1 | [mc-image-helper] 09:26:56.855 DEBUG : FILE HEAD FETCH: uri=https://meta.fabricmc.net/v2/versions/loader/1.19.2/0.14.18/0.11.2/server/jar headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=fabric), x-fetch-session: 33a3f2fa-510e-4a58-830a-8b93144fd8ec, host: meta.fabricmc.net, accept: */*] aof6-mc-1 | [mc-image-helper] 09:26:56.902 DEBUG : FILE FETCH: uri=https://meta.fabricmc.net/v2/versions/loader/1.19.2/0.14.18/0.11.2/server/jar headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=fabric), x-fetch-session: 33a3f2fa-510e-4a58-830a-8b93144fd8ec, host: meta.fabricmc.net, accept: */*] aof6-mc-1 | [mc-image-helper] 09:26:56.942 DEBUG : Writing SERVER=./fabric-server-mc.1.19.2-loader.0.14.18-launcher.0.11.2.jar to results file aof6-mc-1 | [mc-image-helper] 09:26:56.943 DEBUG : Writing FAMILY=FABRIC to results file aof6-mc-1 | [init] Copying any mods from /mods to /data/mods aof6-mc-1 | [mc-image-helper] 09:26:57.708 DEBUG : Configured with SyncAndInterpolate(skipNewerInDestination=true, replaceEnv=ReplaceEnvOptions(prefix=CFG_, excludes=[], excludePaths=[], suffixes=[yml, yaml, txt, cfg, conf, properties, hjson, json, tml, toml]), src=/mods, dest=/data/mods) aof6-mc-1 | [mc-image-helper] 09:26:57.713 DEBUG : ensuring destinationDirectory=/data/mods aof6-mc-1 | [init] Setting initial memory to 8G and max to 8G aof6-mc-1 | [init] Starting the Minecraft server... aof6-mc-1 | Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture aof6-mc-1 | [09:27:07] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.14.18 aof6-mc-1 | [09:27:07] [main/INFO]: Dependencies overridden for fallflyinglib, couplings, crusade, kubejs, incantationem, trinkets, universal-graves, survivalisland, artifice, morevillagers-fabric, loading-timer, riverredux, indrev, impaled, fabric-dimensions-v1, kibe, megane, server_translations_api, addendum, ctm, diggusmaximus, yungsapi, maybe-data, packages, noanglebrackets, structurized, playerabilitylib, fabric-blockrenderlayer-v1, totemmod, terrarianslimes, mo_glass, libblockattributes_items, promenade, respawnablepets, fabric, balm-fabric, dawn, dml-refabricated, flytre_lib, chipped, packet_tweaker, repurposed_structures, bitsandchisels, modmenu, eggtab, toolstats, shulkerutils, blockus, wondrouswilds, fabric-events-interaction-v0, mostructures, charmonium, enchantmentdescriptions, patchouli, mousewheelie, disable_custom_worlds_advice, mocolors, megane-runtime, betterstrongholds, expandedstorage, runelic, cardinal-components-entity, libblockattributes_fluids, architectury, cherishedworlds, authme, adorn, slotlock, cardinal-components-base, blast, golemsgalore, cpas, builtinservers, conjuring, charm, someforgepatchesported, aqupdgrizzly, fabric-item-groups-v0, bettermineshafts, sdrp, geckolib3, darkpaintings, truerooms, fabric-renderer-api-v1, basicaiots, inventorysorter, notes, rhino, owo, ae2wtlib, placeholder-api, lithium, attributefix, harvest_scythes, redbits, waystones, clumps, myron, dual_riders, stoneholm, defaultsettings, wolveswitharmor, entitybanners, go-fish, lazydfu, strawdummy, reach-entity-attributes, lovely_snails, fabric-renderer-registries-v1, deathlog, quickshulker, ftbchunks, goml, artifality, libblockattributes_core, untitledduckmod, polymer, horsestatsvanilla, ktdatataglib, ratsmischief, woods_and_mires, jankson, ftbquests, additionaladditions, static-content, fabric-renderer-indigo, wirelessnetworks, simple-rpc, dark-loading-screen, hologram-api, kyrptconfig, libgui, biome_locator, slight-gui-modifications, xaerominimap, fabric-rendering-v0, croptopia, omega-config, sgui, spruceui, gateofbabylon, winged, ambientenvironment, cardinal-components-world, fabric-biome-api-v1, advanced_runtime_resource_pack, lifts, ferritecore, textile_backup, lakeside, betterf3, extragenerators, carrier, horseinfo, fake-player-api, secretrooms aof6-mc-1 | [09:27:07] [main/INFO]: Loading 3 mods: aof6-mc-1 | - fabricloader 0.14.18 aof6-mc-1 | - java 19 aof6-mc-1 | - minecraft 1.19.2 aof6-mc-1 | [09:27:07] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/data/libraries/net/fabricmc/sponge-mixin/0.12.4+mixin.0.8.5/sponge-mixin-0.12.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER aof6-mc-1 | [09:27:09] [main/INFO]: Building unoptimized datafixer aof6-mc-1 | [09:27:10] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Fabric Mods aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack minecraft/croptop aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Supplementaries Generated Pack aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack compressor aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Better_Desert_Temples_v6.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Better_Dungeons_v4.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Better_Monuments_v4.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Better_Strongholds_v4.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Better_Witch_Huts_v3.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Chef's_Delight_v1.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Farmers_Delight_v5.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-More_Villagers_v8.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Oh_The_Biomes_Youll_Go_v2.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-VillagersPlus_v1.zip aof6-mc-1 | [09:27:10] [main/WARN]: Missing data pack Repurposed_Structures-Wizards_v2.zip aof6-mc-1 | [09:27:11] [main/ERROR]: Exception reading ./world/level.dat aof6-mc-1 | java.lang.IllegalStateException: Trying to access unbound value 'ResourceKey[minecraft:worldgen/noise_settings / ad_astra:orbit]' from registry Registry[ResourceKey[minecraft:root / minecraft:worldgen/noise_settings] (Stable)] aof6-mc-1 | at net.minecraft.class_6880$class_6883.comp_349(class_6880.java:159) ~[server-intermediary.jar:?] ... aof6-mc-1 | 2023-03-30T09:27:11.652Z INFO mc-server-runner Done aof6-mc-1 | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 24 1000 1000 4096 Mar 30 09:26 /data' aof6-mc-1 | [mc-image-helper] 09:27:13.162 DEBUG : Getting uri=https://launchermeta.mojang.com/mc/game/version_manifest.json aof6-mc-1 | [mc-image-helper] 09:27:13.165 DEBUG : Executing GET /mc/game/version_manifest.json with headers=[Accept: application/json] aof6-mc-1 | [mc-image-helper] 09:27:13.170 DEBUG : Intercepting request uri=https://launchermeta.mojang.com/mc/game/version_manifest.json aof6-mc-1 | [mc-image-helper] 09:27:13.364 DEBUG : Post-request capturing redirectLocations=[] aof6-mc-1 | [mc-image-helper] 09:27:13.365 DEBUG : Response: status=200, reason=OK, headers=[Cache-Control: public, max-age=120, Transfer-Encoding: chunked, Content-Type: application/json, Last-Modified: Wed, 29 Mar 2023 14:18:00 GMT, ETag: 0x8DB306066BC9F57, X-Cache: TCP_HIT, Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0, x-ms-request-id: 96d7af1c-501e-0003-1de9-627d95000000, x-ms-version: 2009-09-19, x-ms-lease-status: unlocked, x-ms-blob-type: BlockBlob, Access-Control-Allow-Origin: *, X-Azure-Ref: 08VUlZAAAAAAJXf0810+JRatI1wNE83gpQU1TMDRFREdFMTgxOQAyYWJmMmU2Ni1iZGVhLTQ1Y2MtOWEwMy02NGEzYmZjNDcyM2Y=, Date: Thu, 30 Mar 2023 09:27:12 GMT] aof6-mc-1 | [init] Resolved version given LATEST into 1.19.4 and major version 1.19 aof6-mc-1 | [init] Resolving type given AUTO_CURSEFORGE aof6-mc-1 | [mc-image-helper] 09:27:15.862 DEBUG : JSON FETCH: uri=https://raw.githubusercontent.com/itzg/docker-minecraft-server/master/files/cf-exclude-include.json headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=unspecified), x-fetch-session: 729a128b-272d-4e28-a55d-babab45fd8cf, host: raw.githubusercontent.com, accept: */*] aof6-mc-1 | [mc-image-helper] 09:27:15.991 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/categories?gameId=432&classesOnly=true headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: f5dbb0c0-9a8f-4a58-9e03-811af209608c, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:27:16.029 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/search?gameId=432&slug=all-of-fabric-6&classId=4471 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: f5dbb0c0-9a8f-4a58-9e03-811af209608c, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:27:16.158 DEBUG : Getting mod file metadata for 695890:4459487 aof6-mc-1 | [mc-image-helper] 09:27:16.161 DEBUG : JSON FETCH: uri=https://api.curseforge.com/v1/mods/695890/files/4459487 headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=install-curseforge), x-fetch-session: f5dbb0c0-9a8f-4a58-9e03-811af209608c, x-api-key: PLACEHOLDER, accept: application/json, host: api.curseforge.com] aof6-mc-1 | [mc-image-helper] 09:27:16.178 INFO : Requested CurseForge modpack All of Fabric 6 - 1.5.1 is already installed for All of Fabric 6 - AOF6 aof6-mc-1 | [mc-image-helper] 09:27:16.241 DEBUG : JSON FETCH: uri=https://meta.fabricmc.net/v2/versions/installer headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.20 (cmd=fabric), x-fetch-session: a6b042f7-06af-49d0-9498-c8a6eda52e3f, accept: application/json, host: meta.fabricmc.net] aof6-mc-1 | [init] Copying any mods from /mods to /data/mods aof6-mc-1 | [mc-image-helper] 09:27:16.985 DEBUG : Configured with SyncAndInterpolate(skipNewerInDestination=true, replaceEnv=ReplaceEnvOptions(prefix=CFG_, excludes=[], excludePaths=[], suffixes=[yml, yaml, txt, cfg, conf, properties, hjson, json, tml, toml]), src=/mods, dest=/data/mods) aof6-mc-1 | [mc-image-helper] 09:27:16.990 DEBUG : ensuring destinationDirectory=/data/mods aof6-mc-1 | [init] Setting initial memory to 8G and max to 8G aof6-mc-1 | [init] Starting the Minecraft server... aof6-mc-1 | OpenJDK 64-Bit Server VM warning: -XX:ThreadPriorityPolicy=1 may require system level permission, e.g., being the root user. If the necessary permission is not possessed, changes to priority will be silently ignored. aof6-mc-1 | Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture aof6-mc-1 | [09:27:23] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.14.18 aof6-mc-1 | [09:27:23] [main/INFO]: Dependencies overridden for fallflyinglib, couplings, crusade, kubejs, incantationem, trinkets, universal-graves, survivalisland, artifice, morevillagers-fabric, loading-timer, riverredux, indrev, impaled, fabric-dimensions-v1, kibe, megane, server_translations_api, addendum, ctm, diggusmaximus, yungsapi, maybe-data, packages, noanglebrackets, structurized, playerabilitylib, fabric-blockrenderlayer-v1, totemmod, terrarianslimes, mo_glass, libblockattributes_items, promenade, respawnablepets, fabric, balm-fabric, dawn, dml-refabricated, flytre_lib, chipped, packet_tweaker, repurposed_structures, bitsandchisels, modmenu, eggtab, toolstats, shulkerutils, blockus, wondrouswilds, fabric-events-interaction-v0, mostructures, charmonium, enchantmentdescriptions, patchouli, mousewheelie, disable_custom_worlds_advice, mocolors, megane-runtime, betterstrongholds, expandedstorage, runelic, cardinal-components-entity, libblockattributes_fluids, architectury, cherishedworlds, authme, adorn, slotlock, cardinal-components-base, blast, golemsgalore, cpas, builtinservers, conjuring, charm, someforgepatchesported, aqupdgrizzly, fabric-item-groups-v0, bettermineshafts, sdrp, geckolib3, darkpaintings, truerooms, fabric-renderer-api-v1, basicaiots, inventorysorter, notes, rhino, owo, ae2wtlib, placeholder-api, lithium, attributefix, harvest_scythes, redbits, waystones, clumps, myron, dual_riders, stoneholm, defaultsettings, wolveswitharmor, entitybanners, go-fish, lazydfu, strawdummy, reach-entity-attributes, lovely_snails, fabric-renderer-registries-v1, deathlog, quickshulker, ftbchunks, goml, artifality, libblockattributes_core, untitledduckmod, polymer, horsestatsvanilla, ktdatataglib, ratsmischief, woods_and_mires, jankson, ftbquests, additionaladditions, static-content, fabric-renderer-indigo, wirelessnetworks, simple-rpc, dark-loading-screen, hologram-api, kyrptconfig, libgui, biome_locator, slight-gui-modifications, xaerominimap, fabric-rendering-v0, croptopia, omega-config, sgui, spruceui, gateofbabylon, winged, ambientenvironment, cardinal-components-world, fabric-biome-api-v1, advanced_runtime_resource_pack, lifts, ferritecore, textile_backup, lakeside, betterf3, extragenerators, carrier, horseinfo, fake-player-api, secretrooms aof6-mc-1 | [09:27:23] [main/INFO]: Loading 3 mods: aof6-mc-1 | - fabricloader 0.14.18 aof6-mc-1 | - java 19 aof6-mc-1 | - minecraft 1.19.2 aof6-mc-1 | [09:27:23] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/data/libraries/net/fabricmc/sponge-mixin/0.12.4+mixin.0.8.5/sponge-mixin-0.12.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER aof6-mc-1 | [09:27:25] [main/INFO]: Building unoptimized datafixer aof6-mc-1 | [09:27:27] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Fabric Mods aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack minecraft/croptop aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Supplementaries Generated Pack aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack compressor aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Better_Desert_Temples_v6.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Better_Dungeons_v4.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Better_Monuments_v4.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Better_Strongholds_v4.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Better_Witch_Huts_v3.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Chef's_Delight_v1.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Farmers_Delight_v5.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-More_Villagers_v8.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Oh_The_Biomes_Youll_Go_v2.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-VillagersPlus_v1.zip aof6-mc-1 | [09:27:27] [main/WARN]: Missing data pack Repurposed_Structures-Wizards_v2.zip ```
itzg commented 1 year ago

I'll change it to check the downloadUrl which is really what mattered. I made a bad assumption that isAvailable would be false when the downloadUrl was null.

itzg commented 1 year ago

Some of the modpack files are still reporting a null downloadUrl, such as

[mc-image-helper] 07:44:02.788 WARN  : The file It Takes A Pillage v1.0.4 [1.19.2] from It Takes a Pillage (Fabric) did not provide a download URL, so it will be skipped. Metadata retrieved from https://api.curseforge.com/v1/mods/694605/files/4098018

There's an API endpoint, such as https://api.curseforge.com/v1/mods/694605/files/4098018/download-url, however, I just get a 403 forbidden even with a valid API key.

itzg commented 1 year ago

The image from this build will help,

https://github.com/itzg/docker-minecraft-server/actions/runs/4564700516

but some mod file metadata is still reporting null downloadUrl when the web page for it works.

itzg commented 1 year ago

I have emailed the Eternal support at Overwolf, so hopefully they will have a fix/answer.

LodSb-2 commented 1 year ago

I'm having a similar problem, but I'm not sure if it's fully related or not. My server was working fine before, so if there's a way to force it to just not check for mods, and use the ones already in the mods folder I'll appreciate that too.

Compose File:

version: "3"

services:
  mc:
    container_name: "mc"
    image: itzg/minecraft-server:java8-jdk
    ports:
      - 25565:25565
    environment:
      CF_API_KEY: "----"
      CF_EXCLUDE_MODS: 606159,379768,401648,435044,511733,250398,297038,257814,232131,511770,502561,422719,815304,367706,513769,270441,240630,410295,532127,558905,60089,513857,581495,529754,574856,222789,271740
      EXEC_DIRECTLY: "TRUE"
      EULA: "TRUE"
      TYPE: "AUTO_CURSEFORGE"
      DIFFICULTY: "NORMAL"
      ENABLE_WHITELIST: "TRUE"
      ENFORCE_WHITELIST: "TRUE"
      OPS: "----"
      SPAWN_PROTECTION: "0"
      MEMORY: "10G"
      CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/roguelike-adventures-and-dungeons-2"
      VIEW_DISTANCE: "10"
      ALLOW_FLIGHT: "TRUE"
      WHITELIST: ----
      RCON_CMDS_STARTUP:  |-
        gamerule doFireTick false 
      VANILLATWEAKS_SHARECODE: XjWEwC
      DEBUG: "TRUE"
    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      - ./minecraft-data:/data

And logs:

_mc_logs.txt

The excluded mods are all client side as I was having an issue with some of them ending up in the server files, so I just removed all client side mods and that fixed the issue a while ago.

itzg commented 1 year ago

@AsiPanda @LodSb-2 , both of you need to re-pull the latest image and then can debug any remaining issues from there.

itzg commented 1 year ago

so if there's a way to force it to just not check for mods

Ah, that might actually be a bug that I can fix. The ones that don't provide a downloadUrl can/should still be treated as if they were downloaded...unless the metadata doesn't even provide a resulting filename.

LodSb-2 commented 1 year ago

@AsiPanda @LodSb-2 , both of you need to re-pull the latest image and then can debug any remaining issues from there.

Re-pulling fixed the issue! I was under the misconception that using --build with docker compose automatically pulls latest, but I had to use docker compose pull first. Thank you for the help!

itzg commented 1 year ago

Current image build includes usage of /downloads (or other path of your choosing) to use for mods and modpacks that can't be automatically downloaded. More info in the paragraph that starts here.