xR4YM0ND / Aged

Aged is a challenging medieval based modpack where realism & wisdom rule your life.
https://modrinth.com/modpack/aged
MIT License
11 stars 1 forks source link

[BUG] Server wont start due to mod resolution failure #45

Closed NuarkNoir closed 1 month ago

NuarkNoir commented 4 months ago

I am creating server using Docker image itzg/minecraft-server. My docker-compose.yml configured as such:

docker-compose.yml ```yaml version: "3.8" services: aged-mc: image: itzg/minecraft-server tty: true stdin_open: true ports: - "25565:25565" - "24454:24454/udp" - "3876:3876" environment: EULA: "TRUE" MOD_PLATFORM: MODRINTH MODRINTH_MODPACK: https://modrinth.com/modpack/aged/version/2.2.2 MOTD: "Aged like fine milk (TM)" MEMORY: "10G" MAX_PLAYERS: 10 MAX_TICK_TIME: 120000 MAX_WORLD_SIZE: 80000 restart: unless-stopped volumes: - ./data:/data ```

Container crashes during mod resolution due to failure:

Container crash log ```log aged-mc-1 | [init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 11 1000 1000 4096 Apr 19 17:11 /data' aged-mc-1 | [mc-image-helper] 07:23:45.794 INFO : Modpack aged version 2.2.2 is already installed aged-mc-1 | [mc-image-helper] 07:23:49.111 INFO : Created/updated 1 property in /data/server.properties aged-mc-1 | [init] Setting initial memory to 10G and max to 10G aged-mc-1 | [init] Starting the Minecraft server... aged-mc-1 | Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture aged-mc-1 | [07:23:57] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.15.5 aged-mc-1 | [07:23:57] [ForkJoinPool-1-worker-5/WARN]: Mod sleepwarp uses the version 2.2.0_rc1+1.20.1 which isn't compatible with Loader's extended semantic version format (Could not parse version number component '0_rc1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version aged-mc-1 | [07:23:57] [ForkJoinPool-1-worker-4/WARN]: Mod deeper_oceans uses the version 1.0.1a which isn't compatible with Loader's extended semantic version format (Could not parse version number component '1a'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version aged-mc-1 | [07:23:57] [ForkJoinPool-1-worker-6/WARN]: Mod trowel uses the version 1.2.1@1.20 which isn't compatible with Loader's extended semantic version format (Could not parse version number component '1@1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version aged-mc-1 | [07:23:57] [ForkJoinPool-1-worker-1/WARN]: Mod geophilic uses the version v2.1.0-mc1.20u1.20.2 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'v2'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version aged-mc-1 | [07:23:58] [main/WARN]: Mod resolution failed aged-mc-1 | [07:23:58] [main/INFO]: Immediate reason: [HARD_DEP archers 1.0.7+1.20.1 {depends spell_engine @ [>=0.12.3+1.20.1]}, HARD_DEP_NO_CANDIDATE spell_engine 0.12.5+1.20.1 {depends player-animator @ [>=0.9.9]}, ROOT_FORCELOAD_SINGLE archers 1.0.7+1.20.1] aged-mc-1 | [07:23:58] [main/INFO]: Reason: [HARD_DEP spell_engine 0.12.5+1.20.1 {depends player-animator @ [>=0.9.9]}, HARD_DEP bettercombat 1.8.3+1.20.1 {depends player-animator @ [>=1.0.0]}, HARD_DEP combatroll 1.3.1+1.20.1 {depends player-animator @ [>=1.0.0]}, HARD_DEP extendeddrawersaddon 1.0.2 {depends modelfix @ [*]}] aged-mc-1 | [07:23:58] [main/INFO]: SERVER environment disabled: [fabric-renderer-api-v1, spyglass-improvements, fabric-keybindings-v0, roughlyenoughprofessions, satin, amecsapi, completeconfig-gui-cloth, fabric-screen-api-v1, fabric-renderer-indigo, fabric-rendering-v0, fabric-sound-api-v1, dyed, fabric-key-binding-api-v1, fabric-rendering-v1, kmodlib-overlay, fabric-model-loading-api-v1, menulogue, fabric-client-tags-api-v1, completeconfig-gui-yacl, fabric-blockrenderlayer-v1, fabric-renderer-registries-v1, wakes, fabric-models-v0, spyglass_astronomy, loadmyresources, noindium, rsls] aged-mc-1 | [07:23:58] [main/INFO]: Fix: add [add:player-animator 1.0.0 ([[1.0.0,∞)]), add:modelfix 1 ([(-∞,∞)])], remove [], replace [] aged-mc-1 | [07:23:58] [main/ERROR]: Incompatible mods found! aged-mc-1 | net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other! aged-mc-1 | A potential solution has been determined, this may resolve your problem: aged-mc-1 | - Install player-animator, version 1.0.0 or later. aged-mc-1 | - Install modelfix, any version. aged-mc-1 | More details: aged-mc-1 | - Mod 'Spell Engine' (spell_engine) 0.12.5+1.20.1 requires version 0.9.9 or later of player-animator, which is missing! aged-mc-1 | - Mod 'Better Combat' (bettercombat) 1.8.3+1.20.1 requires version 1.0.0 or later of player-animator, which is missing! aged-mc-1 | - Mod 'Combat Roll' (combatroll) 1.3.1+1.20.1 requires version 1.0.0 or later of player-animator, which is missing! aged-mc-1 | - Mod 'ExtendedDrawersAddon' (extendeddrawersaddon) 1.0.2 requires any version of modelfix, which is missing! aged-mc-1 | at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.15.5.jar:?] aged-mc-1 | at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[fabric-server-mc.1.20.1-loader.0.15.5-launcher.1.0.1.jar:1.0.1] ```

Here is [latest.log](https://pastes.dev/jT6BYM855J]

NuarkNoir commented 4 months ago

Manually adding Model Gap Fix 1.15 and playerAnimator 1.0.2-rc1+1.20-fabric seems to fix issue

AlexvZyl commented 4 months ago

I have this same issue, but I am using https://github.com/itzg/docker-minecraft-server to download the modpack from modrinth, so not really sure how to fix this.

NuarkNoir commented 4 months ago

I have this same issue, but I am using https://github.com/itzg/docker-minecraft-server to download the modpack from modrinth, so not really sure how to fix this.

If you look into my docker-compose, you'll see I use the same docker container (it is called itzg/minecraft-server)

If you aren't using docker compose (you should tho) you still have to mount /data dir somewhere, be it directory or volume - doesn't matter. You can find location where data is stored and put needed jars here.

Or you can get into shell of container, using docker exec -it <container-name> bash. Wget is available inside so you can just cd mods and wget both mods from modrinth (open links I provided, then RMB on download button and copy links, then wget <copied-link>)

Either way, afterwards just restart container and all should be good. If you still have questions, I can help you resolve them

AlexvZyl commented 4 months ago

I am not using aged atm, but using CF_FORCE_INCLUDE_MODS in the container environment to include those mods you mentioned should solve the issue.

Edit: I see Aged is not on curseforge, maybe MODRINTH_FORCE_INCLUDE_FILES should work as well.

xR4YM0ND commented 1 month ago

3.0.0 is still bugged for multiplayer , will fix this in 3.0.1

Pls reopen if the issue then (in 3.0.1) still excists